Guest Raz_Lobo Posted June 21, 2006 Share Posted June 21, 2006 Hello all, Here other ppc user. I have a powerbook G4 1,67 GHz with Debian SID GNU/Linux. I'm not have the knowledge level of Frostwork and I don't know about gdb or valgrind stuff. I'm trying to play BG1 from a Windows DVD version and I received the, supposed, Endian error loop, but Endian entry in .cfg do nothing. Here are a little extract from exit: ------ cut from console --------- ESC[0mESC[37m[ESC[1mESC[37mKEYImporterESC[0mESC[37m]: ESC[0mESC[37mOpening /home/razer/Baldur_gate/Spanish/chitin.key...ESC[0mESC[37m[ESC[1mESC[32mOKESC[0mESC[37m] ESC[0mESC[37m[ESC[1mESC[37mKEYImporterESC[0mESC[37m]: ESC[0mESC[37mChecking file type...ESC[0mESC[37m[ESC[1mESC[32mOKESC[0mESC[37m] ESC[0mESC[37m[ESC[1mESC[37mKEYImporterESC[0mESC[37m]: ESC[0mESC[37mReading Resources... ESC[0mESC[37m[ESC[1mESC[37mKEYImporterESC[0mESC[37m]: ESC[0mESC[37m BIF Files Count: -1929379840 (Starting at 402653184 Bytes) ESC[0mESC[37m[ESC[1mESC[37mKEYImporterESC[0mESC[37m]: ESC[0mESC[37m RES Count: -2059730944 (Starting at -1861222400 Bytes) [streams]: Invalid seek position: 402653184 (limit: 217559) [streams]: Invalid seek position: 402653184 (limit: 217559) [streams]: Invalid seek position: 2145269280 (limit: 217559) [streams]: Invalid seek position: 402653196 (limit: 217559) [streams]: Invalid seek position: 2145269280 (limit: 217559) [streams]: Invalid seek position: 402653208 (limit: 217559) [streams]: Invalid seek position: 2145269280 (limit: 217559) [streams]: Invalid seek position: 402653220 (limit: 217559) [streams]: Invalid seek position: 2145269280 (limit: 217559) ------ End of cut -------------- My gemrb has built from CVS about last mont, i think. I try to rebuild gemrb from actualized CVS, but it crash: ----- Console ----------- if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -DSYSCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share/gemrb\" -DPLUGINDIR=\"/usr/local/lib/gemrb\" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror -Wall -W -Wpointer-arith -Wcast-align -ansi -pedantic -Wno-format-y2k -Wno-long-long -MT Actions.lo -MD -MP -MF ".deps/Actions.Tpo" -c -o Actions.lo Actions.cpp; \ then mv -f ".deps/Actions.Tpo" ".deps/Actions.Plo"; else rm -f ".deps/Actions.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -DSYSCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share/gemrb\" -DPLUGINDIR=\"/usr/local/lib/gemrb\" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror -Wall -W -Wpointer-arith -Wcast-align -ansi -pedantic -Wno-format-y2k -Wno-long-long -MT Actions.lo -MD -MP -MF .deps/Actions.Tpo -c Actions.cpp -fPIC -DPIC -o .libs/Actions.o cc1plus: warnings being treated as errors Actions.cpp: In static member function 'static void GameScript::SaveLocation(Scriptable*, Action*)': Actions.cpp:703: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp:704: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp: In static member function 'static void GameScript::SaveObjectLocation(Scriptable*, Action*)': Actions.cpp:762: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp:763: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp: In static member function 'static void GameScript::MoveToSavedLocation(Scriptable*, Action*)': Actions.cpp:906: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp:907: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp: In static member function 'static void GameScript::StorePartyLocation(Scriptable*, Action*)': Actions.cpp:1004: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp:1005: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp: In static member function 'static void GameScript::RestorePartyLocation(Scriptable*, Action*)': Actions.cpp:1021: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp:1022: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp: In static member function 'static void GameScript::FaceSavedLocation(Scriptable*, Action*)': Actions.cpp:1264: warning: dereferencing type-punned pointer will break strict-aliasing rules Actions.cpp:1264: warning: dereferencing type-punned pointer will break strict-aliasing rules make[2]: *** [Actions.lo] Error 1 make[2]: se sale del directorio `/home/razer/Fuentes/Gemrb/Cvs/gemrb/gemrb/plugins/Core' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/razer/Fuentes/Gemrb/Cvs/gemrb/gemrb/plugins' make: *** [all-recursive] Error 1 ----------- End of cut ---------------- It crash until yesterday. Other data: razer@mac-lobo:~/Fuentes/Gemrb/Cvs/gemrb/gemrb$ gcc --version gcc (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) razer@mac-lobo:~/Fuentes/Gemrb/Cvs/gemrb/gemrb$ make -v GNU Make 3.81 razer@mac-lobo:~/Fuentes/Gemrb/Cvs/gemrb/gemrb$ python -V Python 2.4.4c0 razer@mac-lobo:~/Fuentes/Gemrb/Cvs/gemrb/gemrb$ valgrind --version valgrind-3.2.0-Debian razer@mac-lobo:~/Fuentes/Gemrb/Cvs/gemrb/gemrb$ dpkg -l |grep -i sdl ii libsdl-gfx1.2-4 2.0.13-2 drawing and graphical effects extension for ii libsdl-image1.2 1.2.5-1 image loading library for Simple DirectMedia ii libsdl-image1.2-dev 1.2.5-1 development files for SDL 1.2 image loading ii libsdl-mixer1.2 1.2.6-1.1+b1 mixer library for Simple DirectMedia Layer 1 ii libsdl-mixer1.2-dev 1.2.6-1.1+b1 development files for SDL1.2 mixer library ii libsdl-net1.2 1.2.5-7 network library for Simple DirectMedia Layer ii libsdl-ttf2.0-0 2.0.8-2 ttf library for Simple DirectMedia Layer wit ii libsdl1.2-dev 1.2.10-3 Simple DirectMedia Layer development files ii libsdl1.2debian 1.2.10-3 Simple DirectMedia Layer ii libsdl1.2debian-all 1.2.10-3 Simple DirectMedia Layer (with all available rc libsdl1.2debian-oss 1.2.9-0.0 Simple DirectMedia Layer (with X11 and OSS o ii libsmpeg-dev 0.4.5+cvs20030824-1.8 SDL MPEG Player Library - development files ii libsmpeg0 0.4.5+cvs20030824-1.8 SDL MPEG Player Library - shared libraries ii python2.4-pygame 1.7.1release-2 SDL bindings for games development in Python razer@mac-lobo:~/Fuentes/Gemrb/Cvs/gemrb/gemrb$ dpkg -l |grep -i openal ii libalut-dev 1.0.1-1 OpenAL Utility Toolkit development files ii libalut0 1.0.1-1 OpenAL Utility Toolkit ii libopenal-dev 0.0.8-1 OpenAL is a portable library for 3D spatiali rc libopenal0 0.2005080600-2.1+b1 OpenAL is a portable library for 3D spatiali ii libopenal0a 0.0.8-1 OpenAL is a portable library for 3D spatiali ii libopenalpp-cvs-dev 20060405-2 Object Oriented version of OpenAL ii libopenalpp-cvs1 20060405-2 Object Oriented version of OpenAL I hope that it helps to gemrb and help me too. Sorry for the large post. Regards. Salud y Revolución. Lobo. Link to comment
Guest frostwork Posted June 21, 2006 Share Posted June 21, 2006 Hi, Lobo! My knownledge isn't as big as it might seem, I'm just only (very) busy with playing with sources... . That's why maybe my following reply might eventually be improved by experts comments >cc1plus: warnings being treated as errors You should remove "-Werror" from your configure script & ./configure again! This should be enough to built this baby... I lost debian out of sight the last 1-2 years, but regarding the version-numbers of your packages they should be useable...(?) >gcc (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) Mmmh, for my tasted it's a bit too brandnew - at least gcc is an important "part" to compile sources & maybe shouldn't be in a prerelease state...(?) Maybe fall back to more stabe 4.1.1 or even 3.4.4 could help compiling sources... Here's my Baldur's Gate cfg, maybe it can help somehow: ##################################################### # # # This is the GemRB Configuration file. # # Here are defined some default parameters for # # basic configuration and paths definition. # # # # Parameters are defined as a Name=Value pair # # The Value can be of two types: # # - String # # - Integer # # # # The String value is represented as follows # # i.e. H:\GemRB\plugins # # Integers are defined as follows # # i.e. 12723 # # # # Lines starting with # are ingored # # # ##################################################### # Video Parameters # ##################################################### EndianSwitch=1 Width=640 Height=480 Bpp=32 Fullscreen=0 TooltipDelay=500 ##################################################### # Audio Parameters # ##################################################### # # # All volume options are in percents, with 100 # # being the normal and default volume # # # ##################################################### # Volume of ambient sounds VolumeAmbients = 100 # Volume during movie playback VolumeMovie = 100 # Volume of background music VolumeMusic = 100 # Volume of sound effects VolumeSFX = 100 # Volume of PC or NPC voices VolumeVoices = 100 ##################################################### # Paths # ##################################################### CaseSensitive=1 SkipIntroVideos=1 GemRBPath=./ SavePath=./save GameType=bg1 GameName=Baldur's Gate CachePath=./Cache/ GamePath=/mnt/media/gemrb/bg1/bg-mac/ CD1=/mnt/media/gemrb/bg1/cd1 CD2=/mnt/media/gemrb/bg1/cd2 CD3=/mnt/media/gemrb/bg1/cd3 CD4=/mnt/media/gemrb/bg1/cd4 CD5=/mnt/media/gemrb/bg1/cd5 FogOfWar=1 ScriptDebugMode=4 ##################################################### # END # ##################################################### Good luck so far!!! Cheers Frostwork Link to comment
Guest Raz_Lobo Posted June 22, 2006 Share Posted June 22, 2006 Hi, Lobo! My knownledge isn't as big as it might seem, I'm just only (very) busy with playing with sources... . That's why maybe my following reply might eventually be improved by experts comments <{POST_SNAPBACK}> I don't believe you >cc1plus: warnings being treated as errors You should remove "-Werror" from your configure script & ./configure again! This should be enough to built this baby... I lost debian out of sight the last 1-2 years, but regarding the version-numbers of your packages they should be useable...(?) <{POST_SNAPBACK}> Yes, removing "-Werror", gemrb compile with sucess. Thanks for it. >gcc (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) Mmmh, for my tasted it's a bit too brandnew - at least gcc is an important "part" to compile sources & maybe shouldn't be in a prerelease state...(?) Maybe fall back to more stabe 4.1.1 or even 3.4.4 could help compiling sources... <{POST_SNAPBACK}> O.k., I change Makefile to use gcc 3.4. Here's my Baldur's Gate cfg, maybe it can help somehow: <{POST_SNAPBACK}> [...] Good luck so far!!!Cheers Frostwork <{POST_SNAPBACK}> No luck here, I get same error. I cut all output: ---------- output ----------- [1m [37mGemRB Core Version v0.2.6 Loading... [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mInitializing Variables Dictionary... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mLoading Configuration File...Loaded config file Baldur.cfg [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mStarting Plugin Manager... [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Plugins... [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mSearching for plugins in: /usr/local/lib/gemrb/ [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libGUIScript.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mGUI Script Engine (Python) [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libAREImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mARE File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libKEYImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mKEY File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libSDLVideo.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mSDL Video Driver [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libDLGImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mDLG File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libTLKImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mTLK File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libEFFImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mEFF File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libGAMImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mGAM File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/lib2DAImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37m2DA File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libZLibMgr.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mZLib Compression Manager [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libNullSound.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mNull Sound Driver [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libACMImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mACM File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [33mSKIPPING [0m [37m] Duplicate Plug-in [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libMOSImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mMOS File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libBMPImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mBMP File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libITMImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mITM File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libCHUImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mCHU File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libSPLImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mSPL File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libCREImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mCRE File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libIWDOpcodes.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mEffect opcodes for the icewind branch of the games [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libINIImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mINI File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libBAMImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mBAM File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libIDSImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mIDS File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libFXOpcodes.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mEffect opcodes for core games [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libWMPImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mWMP File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libMUSImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mMUS File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libPLTImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mPLT File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libBIFImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mBIF File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libMVEPlayer.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mMVE Video Player [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libSTOImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mSTO File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libTISImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mTIS File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: Loading: [1m [37m/usr/local/lib/gemrb/libWEDImporter.so [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mChecking Plugin Version... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mPluginMgr [0m [37m]: [0m [37mLoading Exports for [1m [37mWED File Importer [0m [37m... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mPlugin Loading Complete... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mCreating Object Factory... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mGemRB Core Initialization... [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mSearching for Video Driver... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mInitializing Video Plugin... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mSearching for KEY Importer... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mCore [0m [37m]: [0m [37mInitializing Resource Manager... [0m [37m[ [1m [37mKEYImporter [0m [37m]: [0m [37mOpening /home/razer/Baldur_gate/Spanish/chitin.key... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mKEYImporter [0m [37m]: [0m [37mChecking file type... [0m [37m[ [1m [32mOK [0m [37m] [0m [37m[ [1m [37mKEYImporter [0m [37m]: [0m [37mReading Resources... [0m [37m[ [1m [37mKEYImporter [0m [37m]: [0m [37m BIF Files Count: -1929379840 (Starting at 402653184 Bytes) [0m [37m[ [1m [37mKEYImporter [0m [37m]: [0m [37m RES Count: -2059730944 (Starting at -1861222400 Bytes) [streams]: Invalid seek position: 402653184 (limit: 217559) [streams]: Invalid seek position: 402653184 (limit: 217559) [streams]: Invalid seek position: 2144990352 (limit: 217559) [streams]: Invalid seek position: 402653196 (limit: 217559) [streams]: Invalid seek position: 2144990352 (limit: 217559) [streams]: Invalid seek position: 402653208 (limit: 217559) --------- End of cut ----------- I execute gemrb with: gemrb -c Baldur.cfg I note another issue: If I run gemrb, see: ---------- console --------- razer@mac-lobo:~/Baldur_gate$ gemrb GemRB Core Version v0.2.6 Loading... [Core]: Initializing Variables Dictionary...[OK] [Core]: Loading Configuration File...[ERROR] [Core]: Cannot Load Config File. Termination in Progress... Press enter to continue... razer@mac-lobo:~/Baldur_gate$ ------- End of cut ----------- But mi gemrb.cfg is in /usr/local/etc/, why gemrb don't find it? Another issue, I can't see movies from Baldur's gate DVD with videolan or Kaffeine, remember I use a Windows DVD Baldur's gate, Are you using a Windows game too? Another question, have you installed some endian stuff in your system? And "apt-cache search" about endian doesn't reveal nothing for me. Here are mi Baldur.cfg, I can't see anything on it, but... razer@mac-lobo:~/Baldur_gate$ grep '^[^#]' Baldur.cfg GameType=bg1 GameName=Baldur's Gate EndianSwitch = 1 Width=640 Height=480 Bpp=32 Fullscreen=0 TooltipDelay=500 VolumeAmbients = 100 VolumeMovie = 100 VolumeMusic = 100 VolumeSFX = 100 VolumeVoices = 100 CaseSensitive=1 SkipIntroVideos=1 ScriptDebugMode=4 GamePath=/home/razer/Baldur_gate/Spanish CD1=/home/razer/Baldur_gate/Cd1 CD2=/media/cdrom/cd2 CD3=/media/cdrom/cd3 CD4=/media/cdrom/cd4 CD5=/media/cdrom/cd5 GemRBPath=/usr/local/bin/ CachePath=./Cache/ GUIScriptsPath=/usr/local/share/gemrb/GUIScripts/ SavePath=/home/razer/Baldur_gate/Salvados/ At first I trying to not copy cd data to my hard disk, but I try with cd1 with no sucess. Need more information? Tell me how to obtain and I give us. A large post again, sorry for it. Regards and thanks for all. Salud y Revolución. Lobo. Link to comment
Guest frostwork Posted June 22, 2006 Share Posted June 22, 2006 Hi! >I don't believe you But it's true! > Yes, removing "-Werror", gemrb compile with sucess. Thanks for it. At least a beginning I've noticed 2 spaces in your Endian Line: maybe it helps to use "EndianSwitch=1" instead of "Endian Switch = 1" (?) >But mi gemrb.cfg is in /usr/local/etc/, why gemrb don't find it? Please try this: - ./autogen.sh - edit ./configure (-Werror stuff + maybe add some ppc cflags) - find the line from autogen.sh where it prints the options from configure & use exactly those - > this will install gemrb completely into your home dir/GemRB (just to be sure, better remove all other copies on your sys...) >Another issue, I can't see movies from Baldur's gate DVD with videolan or Kaffeine, remember I use a >Windows DVD Baldur's gate, Are you using a Windows game too? I have both the windoze & the mac version, but I guess there's no prob...(?) Are you sure the movies are playable via vlc, player,xine...? >Another question, have you installed some endian stuff in your system? And "apt-cache search" about >endian doesn't reveal nothing for me. I don't think so (at least nothing, what can help here...) Good luck so far again! cheers Marcel Link to comment
Guest _Avenger_no_psw_ Posted June 22, 2006 Share Posted June 22, 2006 I think gemrb -c Baldur.cfg doesn't work because it expects a gemrb config file there Though, i never used it this way. Link to comment
Guest Raz_Lobo Posted June 22, 2006 Share Posted June 22, 2006 Hi all, >Hi! >>I don't believe you >But it's true! Well, I believe >> Yes, removing "-Werror", gemrb compile with sucess. Thanks for it. >At least a beginning >I've noticed 2 spaces in your Endian Line: >maybe it helps to use "EndianSwitch=1" instead of "Endian Switch = 1" (?) It's my fault, removing these spaces, game runs. >>But mi gemrb.cfg is in /usr/local/etc/, why gemrb don't find it? >Please try this: >- ./autogen.sh >- edit ./configure (-Werror stuff + maybe add some ppc cflags) >- find the line from autogen.sh where it prints the options from configure & > use exactly those - > this will install gemrb completely into your home dir/GemRB > (just to be sure, better remove all other copies on your sys...) I try, it runs now like a charm. >>Another issue, I can't see movies from Baldur's gate DVD with videolan or >>Kaffeine, remember I use a >Windows DVD Baldur's gate, Are you using a >>Windows game too? >I have both the windoze & the mac version, but I guess there's no prob...(?) >Are you sure the movies are playable via vlc, player,xine...? At least on my last Dell Inspiron system, it could play the videos. >>Another question, have you installed some endian stuff in your system? >>And "apt-cache search" about >endian doesn't reveal nothing for me. >I don't think so (at least nothing, what can help here...) Yes, you are in true. >Good luck so far again! >cheers >Marcel Well, good luck here this morning. I rebuild gemrb and install in my home directory, editing Baldur.cfg for the new gemrb configuration and, yes I can play to BG1, I can see the Videos (SkipVideos=0), and I can enter to generate new player. Three issues here now: 1· I can't get a higher resolution than 640x480. I try to put to 1024x768 and gemrb gives me the 640x480 game and a window of 1024x768. My system runs at 1400x900. 2· When I enter to generate player, in habilities entry, I have 4 points to assing, but only show me 8 (Oh, how it says in english? ) options, but three assignable categories. I believe to remember that there are some more categories. In this point, I can't continue generating my caracter because I can't assing all my points. 3· No sound in this system too. Well, now I need to go to study, on 30 june I have a exam (I hope my last exam for finish my career), but I'll become this evening/night with some more data. Thanks too much Frostwork, now I can finish Baldur's gate on my PPC machine, and thanks too much to gemrb team for do it possible. Cheers. Salud y Revolución. Lobo. Link to comment
Guest Raz_Lobo Posted June 22, 2006 Share Posted June 22, 2006 Hi Avenger, I think gemrb -c Baldur.cfg doesn't work because it expects a gemrb config file there Though, i never used it this way. <{POST_SNAPBACK}> I continue using this method, and now It runs. I supposed that Frostwork had true, my older gemrb installation do these stuff. Now, a "make uninstall" and "autogen & configure & make & make install" have finish the problem. Regards. Salud y Revolución. Lobo. Link to comment
Guest frostwork Posted June 22, 2006 Share Posted June 22, 2006 Hi, Lobo! Congrats you got it working! cheers frostwork Link to comment
Avenger Posted June 22, 2006 Share Posted June 22, 2006 I have to disappoint you, GemRB is incomplete, even if you manage to run it. Combat and spells are only about 5% implemented. Link to comment
Guest Raz_Lobo Posted June 22, 2006 Share Posted June 22, 2006 Hi all, Hi, Lobo! Congrats you got it working! biggrin.gif cheers frostwork Thanks to you, you do all the work. I have to disappoint you, GemRB is incomplete, even if you manage to run it.Combat and spells are only about 5% implemented. <{POST_SNAPBACK}> Well, I know, but in a happyness extasis I wrote these words. I know that gemrb is a pieze of alpha software, but I hope that in a near future I can play BG and other Infinity engine based with gemrb. About game resolution: In generation player and load screen I have 640x480 resolution, but when I go to "game" screen I get the configured resolution. I tested 1024x768 and 800x600. Is it default issue? >>2· When I enter to generate player, in habilities entry, I have 4 points to assing, but only show me 8 (Oh, how it says in english? cringe.gif ) options, but three assignable categories. >>I believe to remember that there are some more categories. In this point, I can't continue generating my caracter because I can't assing all my points. In this point, Is this normal or Is a still incomplete issue? Another question, In "game" screen I don't have player selection, map, inventary... well, I don't have interface to do something, only I can move the caracter. Is this the state of gemrb? If the answer to this question is yes, What are to do to improve these interface? Is the engine or python scripts? When I finish exams I'll study python and I should to help... I hope. Regards. Salud y Revolución. Lobo. Link to comment
Avenger Posted June 22, 2006 Share Posted June 22, 2006 I think you ran into some guiscript bug. Normally you can select characters, view inventory, map, etc. You should check the console and maybe even try to fix the guiscript yourself Link to comment
Guest frostwork Posted June 22, 2006 Share Posted June 22, 2006 Hi again! >Thanks to you, you do all the work. I'd say Avenger did all the work! But at least we're "crazy enough" to built it on our ppcs As of your probs, I better let experts answer , before I tell s.th totally stupid... >When I finish exams I'll study python and I should to help... I hope. Very cool! Good luck with both exams & pythoning Have a nice evening (here's evening at least ) frostwork Link to comment
Guest Raz_Lobo Posted June 23, 2006 Share Posted June 23, 2006 Hi again! >Thanks to you, you do all the work. I'd say Avenger did all the work! But at least we're "crazy enough" to built it on our ppcs Ja, ja, you all right, Avenger did the work and these crazy guys test it on his linux/ppc machines. As of your probs, I better let experts answer , before I tell s.th totally stupid... >When I finish exams I'll study python and I should to help... I hope. Very cool! Good luck with both exams & pythoning Have a nice evening (here's evening at least ) frostwork <{POST_SNAPBACK}> Thanks so much Frostwork I think you ran into some guiscript bug.Normally you can select characters, view inventory, map, etc. You should check the console and maybe even try to fix the guiscript yourself smile.gif I do other test, I downgrade resolution to 640x480 and, well, Interface is here, and dialog box. Character spells, weapons and habilities (down bar) isn't. I can see in console output in higher resolution a error, see it: --------- console output --------- Traceback (most recent call last): File "/home/razer/GemRB/GUIScripts/bg1/MessageWindow.py", line 47, in OnLoad GemRB.LoadWindowPack(GetWindowPack()) RuntimeError: Can't find resource Traceback (most recent call last): File "/home/razer/GemRB/GUIScripts/bg1/MessageWindow.py", line 106, in UpdateControlStatus GemRB.LoadWindowPack(GetWindowPack()) RuntimeError: Can't find resource Traceback (most recent call last): File "/home/razer/GemRB/GUIScripts/bg1/GUICommonWindows.py", line 386, in SelectionChanged if (ActionsWindow!=-1): NameError: global name 'ActionsWindow' is not defined ------------ End of console output --------------- In these lines (47,106) there are a... call to function? razer@mac-lobo:~/GemRB$ grep -n LoadWindowPack GUIScripts/bg1/MessageWindow.py 47: GemRB.LoadWindowPack(GetWindowPack()) 106: GemRB.LoadWindowPack(GetWindowPack()) And in GUICommonWindows.py: --------- cut of file --------------- # Run by Game class when selection was changed def SelectionChanged (): global ActionsWindow # FIXME: hack. If defined, display single selection if (not SelectionChangeHandler): if (ActionsWindow!=-1): <--------- Line 386 UpdateActionsWindow () for i in range (PARTY_SIZE): Button = GemRB.GetControl (PortraitWindow, i) GemRB.EnableButtonBorder (PortraitWindow, Button, FRAME_PC_SELECTED, GemRB.GameIsPCSelected (i + 1)) else: sel = GemRB.GameGetSelectedPCSingle () for i in range (PARTY_SIZE): Button = GemRB.GetControl (PortraitWindow, i) GemRB.EnableButtonBorder (PortraitWindow, Button, FRAME_PC_SELECTED, i + 1 == sel) -------------- end of cut ------------ I get this error in this way: ----------- console cut ---------- razer@mac-lobo:~/GemRB$ ./gemrb -c Baldur.cfg > salida_640.txt total buffer underruns: 0 dropped frames: 0 total buffer underruns: 0 dropped frames: 0 total buffer underruns: 0 dropped frames: 0 total buffer underruns: 0 dropped frames: 0 total buffer underruns: 0 dropped frames: 0 ---------- end of console cut ----------------- These are the output for 640x480 resolution, and for higher I get the errors showed upper. "Main" output is rediriged to a file, how you can see. I saw some more error in output file, but I think that "resolution error" is showed in console output. What you think about? I hope this helps. Salud y Revolución. Lobo. Link to comment
Avenger Posted June 23, 2006 Share Posted June 23, 2006 It works for me in 640x480 If i set higher resolution it doesn't work, because the original game didn't support higher resolution, there are missing guiw<xx>.chu files. Are you sure, you set it to 640x480? Another question: do you use the CVS version or some earlier package? Link to comment
Guest Raz_Lobo Posted June 23, 2006 Share Posted June 23, 2006 It works for me in 640x480 <{POST_SNAPBACK}> For me too, at 640x480. It is possible that my earlier explanation doesn't well explained, my english... If i set higher resolution it doesn't work, because the original game didn't support higher resolution, there are missing guiw<xx>.chu files. Are you sure, you set it to 640x480? Another question: do you use the CVS version or some earlier package? <{POST_SNAPBACK}> Now, resolution is set to 640x480 and interface goes well, except bottom bar (Weapon selection, spell, fast buttons....) And, yes, I use CVS version, exactly 21/Jun/2006 version. I get this error about .chu when I run to higher resolution than 640x480: --------- error --------- [KEYImporter]: Searching for GUIW08.chu...[ERROR] [interface]: Error: Cannot find GUIW08.chu [GameControl]: Dialog aborted???[KEYImporter]: Searching for GUIW08.chu...[ERROR] [interface]: Error: Cannot find GUIW08.chu [KEYImporter]: Searching for GUIW08.chu...[ERROR] [interface]: Error: Cannot find GUIW08.chu ------------ end of error --------- Same of you? Original game not runs at higher 640x480? I believe to remember that I play at higher resolution, they used some other tecnic to get it? Cheers, Salud y Revolución. Lobo. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.