Author Topic: Linux CVS - What am I screwing up?  (Read 1205 times)

nelliott

  • Traveller
  • *
  • Posts: 20
    • View Profile
Linux CVS - What am I screwing up?
« on: March 11, 2005, 06:11:56 am »
I have the Linux binary of PS installed and working OK - no opengl issues or severe errors, it just runs choppier than if I boot the exact same PC into Windoze and use the win client.

So I wanted to build from CVS to see if it would help things at all.  I followed the instructions on laanx:  cal3d, CS, cel, then PS.

cal3d, CS and cel all build fine.  I can run the CS walktest and it looks beautiful and running around the little demo room is very smooth.

PS builds fine, with a few warnings:
---------------------------------------------------------
src/common/paws/pawsmanager.cpp: In member function `int PAWSData::GetInt()\':
src/common/paws/pawsmanager.cpp:928: warning: converting to `int\' from `float\'
src/common/paws/pawsobjectview.cpp: In constructor `pawsObjectView::pawsObjectView(PawsManager*)\':
src/common/paws/pawsobjectview.cpp:41: warning: converting to `int\' from `float\'
src/server/combatmanager.cpp: In member function `void psCombatManager::ApplyCombatEvent(psCombatGameEvent*, int)\':
src/server/combatmanager.cpp:534: warning: passing negative value `-0x000000001\' for converting 8 of `psCombatEventMessage::psCombatEventMessage(ui
nt32_t, int, uint32_t, uint32_t, int, float, csStringID, csStringID)\'
src/server/combatmanager.cpp:553: warning: passing negative value `-0x000000001\' for converting 8 of `psCombatEventMessage::psCombatEventMessage(ui
nt32_t, int, uint32_t, uint32_t, int, float, csStringID, csStringID)\'
src/server/combatmanager.cpp:572: warning: passing negative value `-0x000000001\' for converting 8 of `psCombatEventMessage::psCombatEventMessage(ui
nt32_t, int, uint32_t, uint32_t, int, float, csStringID, csStringID)\'
src/server/combatmanager.cpp: In member function `void psCombatManager::HandleDeathEvent(MsgEntry*)\':
src/server/combatmanager.cpp:764: warning: passing negative value `-0x000000001\' for converting 7 of `psCombatEventMessage::psCombatEventMessage(ui
nt32_t, int, uint32_t, uint32_t, int, float, csStringID, csStringID)\'
./src/common/net/netbase.h:174: warning: inline function `int NetBase::SendTo(sockaddr_in*, const void*, unsigned int)\' used but never defined
src/server/bulkobjects/pscharacter.cpp: In member function `unsigned int StatSet::GetStat(PSITEMSTATS_STAT, bool)\':
src/server/bulkobjects/pscharacter.cpp:3220: warning: comparison is always false due to limited range of data type
src/server/bulkobjects/pscharacter.cpp: In member function `void StatSet::BuffStat(PSITEMSTATS_STAT, int)\':
src/server/bulkobjects/pscharacter.cpp:3231: warning: comparison is always false due to limited range of data type
src/server/bulkobjects/pscharacter.cpp: In member function `void StatSet::SetStat(PSITEMSTATS_STAT, unsigned int)\':
src/server/bulkobjects/pscharacter.cpp:3245: warning: comparison is always false due to limited range of data type
src/server/bulkobjects/pscharacter.cpp: In member function `void StatSet::AddToStat(PSITEMSTATS_STAT, unsigned int)\':
src/server/bulkobjects/pscharacter.cpp:3256: warning: comparison is always false due to limited range of data type
src/server/bulkobjects/psraceinfo.cpp: In member function `float psRaceInfo::GetBaseAttribute(PSITEMSTATS_STAT)\':
src/server/bulkobjects/psraceinfo.cpp:150: warning: comparison is always false due to limited range of data type
src/server/bulkobjects/psraceinfo.cpp: In member function `void psRaceInfo::SetBaseAttribute(PSITEMSTATS_STAT, float)\':
src/server/bulkobjects/psraceinfo.cpp:158: warning: comparison is always false due to limited range of data type
------------------------------------------------------------
None of these seemed like critical errors to me, but I consider myself still very green linux-wise.

My problem:  When I run pssetup or psclient  the graphics are missing.

pssetup loads, and I can see all of the text, but there are no \"check boxes\" and the mouse cursor disappears when I move my mouse into the window.

psclient behaves simliarily - the loading bar progresses along the bottom of a dark screen.  Once I get to the login screen I can see text on a black background.  Agian no mouse.

psclient spits out some possibly usefull stuff:

--------------------------------
WARNING: could not load plugin \'crystalspace.sound.render.openal\'
NOTIFY: Could not get sound driver
NOTIFY: Could not get model converter
NOTIFY: Could not get model crossbuilder
---------------------------------
and later...
---------------------------------
  Failed to load image list \'/planeshift/data/gui/releaselist.xml\'
Couldn\'t create Resource \'sound.standardButtonClick\'
Couldn\'t create Resource \'gui.toolbar\'
Couldn\'t create Resource \'gui.cancel\'
Couldn\'t create Resource \'gui.ok\'
Couldn\'t create Resource \'gui.scrolldown\'
Couldn\'t create Resource \'gui.scrollup\'
Couldn\'t create Resource \'gui.shortcut\'
Couldn\'t create Resource \'gui.quit\'
LoadAttributes
:
  GUI image \'Splash Background\' not found.
  GUI image \'YesNo\' not found.
  GUI image \'YesNo\' not found.
----------------------

Any ideas?  I\'ve re-run configure and jam for CS, cel and PS looking for any other errors, but can\'t find any...

Thanks.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #1 on: March 11, 2005, 09:30:37 am »
Did you copy the art over or did you run the updater? Otherwise, you will just have parts of the old MB art ;)


Back to Planeshift again \\o/

nelliott

  • Traveller
  • *
  • Posts: 20
    • View Profile
(No subject)
« Reply #2 on: March 11, 2005, 09:54:52 am »
I ran the updater (edited to only download the art files) and it downloaded a ton of art.  I re-ran the updater again, just to be sure it didn\'t miss anything the first time.

Would the little check boxes and the mouse cursor be considered \"art\"??

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #3 on: March 11, 2005, 11:49:38 pm »
Quote
Originally posted by nelliott

psclient spits out some possibly usefull stuff:

--------------------------------
WARNING: could not load plugin \'crystalspace.sound.render.openal\'
NOTIFY: Could not get sound driver
NOTIFY: Could not get model converter
NOTIFY: Could not get model crossbuilder

----------------------



Most of your compile warnings ( which are probably of negligable importance to the correct operation of the software ) are for the server component, src/server/, so will have no influence on how well the client builds or runs.

As well as that, the thing that stands out most to me is the openal plugin loading error. If you dont have openal installed, run pssetup and disable the openal sound driver, or alternatively install openal and recompile everything.

nelliott

  • Traveller
  • *
  • Posts: 20
    • View Profile
(No subject)
« Reply #4 on: March 12, 2005, 04:58:59 am »
I fixed it!!!  I ran psclient again and logged all the output, there are more errors, see this one in particular:

  Failed to load image list \'/planeshift/data/gui/releaselist.xml\'

I copied the releaselist.xml from the linux binary directory, and this fixed  the problem.  Apparently the instructions on Laanx instructing us to use this file don\'t apply in this situation.

Tyrine

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #5 on: March 12, 2005, 05:39:00 am »
I also installed from CVS, I don\'t have a \"psclient\", I have a psnpcclient, put that is the closest thing, does \"psclient\" show up after update? or should i wait and try CVS update+compile again?

Tyrine

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #6 on: March 12, 2005, 05:43:14 am »
Wow, I\'m fast. It\'s due to cal3d not being found and the client fails to build. i just need to figure out how to tell it where to look, which should only take like 5 mins of hacking about with ./configure options. Thanks anyway.
« Last Edit: March 12, 2005, 05:48:54 am by Tyrine »

kmare

  • Traveller
  • *
  • Posts: 10
    • View Profile
(No subject)
« Reply #7 on: March 12, 2005, 02:03:24 pm »
./configure --with-libcal3d=/path/to/cal3d