Jump to content

Startup errors


devSin

Recommended Posts

I got a free moment to finally give GemRB a look. Compiles fine.

 

I assume I set cfg properly, I didn't pay much attention to it. Startup GemRB, can't load libGUIScript:

[0m[37m[[1m[37mPluginMgr[0m[37m]: Loading: [1m[37m/usr/local/lib/gemrb/libGUIScript.0.0.0.so[0m[37m...[0m[37m[[1m[31mERROR[0m[37m]
Cannot Load Module, Skipping...
dlopen(/usr/local/lib/gemrb/libGUIScript.0.0.0.so, 2): Library not loaded: /usr/local/lib/libpython.2.4.2.dylib
 Referenced from: /usr/local/lib/gemrb/libGUIScript.0.0.0.so
 Reason: image not found
[0m[37m[[1m[37mPluginMgr[0m[37m]: Loading: [1m[37m/usr/local/lib/gemrb/libGUIScript.0.so[0m[37m...[0m[37m[[1m[31mERROR[0m[37m]
Cannot Load Module, Skipping...
dlopen(/usr/local/lib/gemrb/libGUIScript.0.so, 2): Library not loaded: /usr/local/lib/libpython.2.4.2.dylib
 Referenced from: /usr/local/lib/gemrb/libGUIScript.0.0.0.so
 Reason: image not found
[0m[37m[[1m[37mPluginMgr[0m[37m]: Loading: [1m[37m/usr/local/lib/gemrb/libGUIScript.so[0m[37m...[0m[37m[[1m[31mERROR[0m[37m]
Cannot Load Module, Skipping...
dlopen(/usr/local/lib/gemrb/libGUIScript.so, 2): Library not loaded: /usr/local/lib/libpython.2.4.2.dylib
 Referenced from: /usr/local/lib/gemrb/libGUIScript.0.0.0.so
 Reason: image not found

It could be something on my end; I didn't really want to look into it.

 

Everything else appears to load successfully, but it's hard to tell: GemRB picks up bad values for the biff/resource counts and offsets from the key file, and then proceeds to dump an endless number of bad seek errs to the console (it fills up the buffer too quickly to really look at the initial plugin loading and startup; redirecting to file usually dumps 50MB to disk before I can kill, and I have to read through stupid control codes):

[0m[37m[[1m[37mKEYImporter[0m[37m]: [0m[37mOpening /Volumes/Equinox/Tales of the Sword Coast/Game Data/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: -1627389952 (Starting at 402653184 Bytes)
[0m[37m[[1m[37mKEYImporter[0m[37m]: [0m[37m RES Count: 910229504 (Starting at -1408106496 Bytes)
[Streams]: Invalid seek position: 402653184 (limit: 238496)
[Streams]: Invalid seek position: 402653184 (limit: 238496)
[Streams]: Invalid seek position: 402653196 (limit: 238496) (and on, and on, and on)

Without looking too closely, I'd want to say you're not byte-swapping the KEY values, but the tasks page says somebody somewhere got it to launch, and the release notes say it compiles and runs, so it could be something on my end. Any ideas?

 

I just compiled from the latest source tarball (I didn't pull from CVS, as I'm sure I'd have to update some of the auto* tools to get configure). Python is 2.4.2, SDL is 1.2.something, and OpenAL is whatever the hell version they decide is the flavor of the day.

 

So, yeah, it compiles, and technically runs. Huzzah.

Link to comment

Yeah, it's libpython2.4.2; oops. GUIScript, KEY read works fine now.

 

It's dumping out here

[KEYImporter]: Resources Loaded...[OK]
[KEYImporter]: Searching for gemrb.INI...[ERROR]
[ERROR]
Cannot Load INI
Termination in Progress...
[KEYImporter]: Searching for defsound.2DA...[ERROR]
Press enter to continue...

GUIScripts and override are in /usr/local/share/gemrb. I switched game type to bg2; override/bg2/defsound.2da and override/bg2/gemrb.ini both exist. Correcting this, it now bails here (after a procession of similar, boring, non-fatal errors)

[KEYImporter]: Searching for GAMETEXT.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[Core]: Fonts Loaded...[OK]
[Core]: Initializing Tooltips...[KEYImporter]: Searching for TOOLSCRL.BAM...[ERROR]
Cannot find data:GUIBam.bif... Resource unavailable.
[ERROR]
[KEYImporter]: Searching for defsound.2DA...[Found in GemRB Override]
Press enter to continue...

TOOLSCRL.BAM does exist in GUIBAM.bif (as do most of the other get rsrc errors). Switching to BG and its barebones resources. I finally get to SDL, where it dumps for good

(a bunch of generic mem errs similar to:)
2006-01-19 16:04:45.010 gemrb[292] *** _NSAutoreleaseNoPool(): Object 0x3cf4e0 of class NSImage autoreleased with no pool in place - just leaking
2006-01-19 16:04:45.011 gemrb[292] *** _NSAutoreleaseNoPool(): Object 0x3cf420 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2006-01-19 16:04:45.014 gemrb[292] *** _NSAutoreleaseNoPool(): Object 0x3ce7e0 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-19 16:04:45.015 gemrb[292] *** _NSAutoreleaseNoPool(): Object 0x3a9440 of class NSException autoreleased with no pool in place - just leaking
2006-01-19 16:04:45.017 gemrb[292] *** Uncaught exception: <NSInternalInconsistencyException> Error (1002) creating CGSWindow
Trace/BPT trap

Error caused by SDL. It's possible I built SDL wrong (maybe I should have specified some uber build flag). Switching to fullscreen nets the standard BG window, with a non-functional cursor (actually, the GemRB cursor gets lost and the standard system cursor takes over) and unusable interface buttons.

 

A lot further than I honestly expected to get. Obviously not really usable, but it compiles and runs with a minimal amount of effort. Huzzah! If there's anything you want me to try, feel free to ask. Otherwise, I think I'm satiated for now.

Link to comment

Mac OS X 10.4.4 (PPC) with very little customization.

 

The INI issue was a configuration error (the cfg says full path to gemrb, but the resource get path checks in core want the directory where gemrb is located, which is /usr/local/bin here). I couldn't see that it ever checks /usr/local/share/gemrb for the overrides (even though that's where install puts it), so I just made a symlink of override in /usr/local/bin.

 

The resource errors shouldn't occur (the BIFs exist in /Volumes/Equinox/Baldur's Gate II/data -- everything is in data/ on my install). The KEY file is complete and the resources are accessible with NearInfinity and WeiDU, so I'm not sure why it's bailing on those files. Both volumes here use non-case-sensitive HFS+ (as opposed to case-sensitive HFS+ or UFS), and the CaseSensitive option was already set to 0.

 

The _NSAutoReleasePool() and exception are Cocoa errors caused by SDL. SDL uses the Cocoa frameworks on Mac OS X (it could be how you interface with SDL, but I doubt it, and fullscreen does get the window up, albeit unusable). I think I may have compiled SDL from CVS, so it could be junk errors from the dev sources.

 

Getting GemRB up and running wasn't difficult. SDL is easy to get and compile (autogen, configure, and make all run with the default tools on Mac OS X 10.4). I should have tried linking with the default Python on Mac OS X (I think v2.3.5; it creates symlinks from the framework libraries and headers to the standard search paths), but I'd already pulled, compiled, and installed 2.4.2. The version of zlib installed with Mac OS X works fine. OpenAL is easy to get (I pulled from Creative, but I probably should have tried creating symlinks from the framework installed with Mac OS X to the standard search paths, or building Apple's own version). Since the Mac OS X version doesn't use make, you have to manually rename openal.dylib to libopenal.dylib, move it to a standard search path, and then move the headers to al/ (somewhere in the standard search path). It may also have been worthwhile to try Ryan Gordon's heavily customized, far superior OpenAL implementation (now defunct), but I don't have a svn client installed on this machine.

Link to comment

The sdl errors are just leak messages, most likely we don't free up some memory on error exit.

The error messages before 'press a key to continue' are the relevant messages.

My other guess would be that it isn't a full install.

GemRB cannot ask for CD's yet.

Link to comment

Definitely a full install. All data is present and accounted for. data/GUIFont.bif and data/GUIBam.bif exist and contain almost all (if not all of) the files GemRB can't find. Switching GameType to bg1 and updating the paths to point to TotSC does get GemRB running (until either it needs to be killed (fullscreen) or crashes (windowed)).

 

The exception is a fatal error, so you might be right that GemRB holds on to memory while slowly dying. The leaks and exception disappear with FullScreen=1, but it nets the Baldur's Gate startup screen with an unmovable cursor and inoperable buttons (if you could actually move the game cursor, it's likely the buttons might work).

Link to comment

To me it seems it cannot find any resource in bifs.

Probably this happens because the version you pulled still cannot handle bifs under MacOSX. (swapped bytes).

But i'm sure a MacOSX user already compiled and runned gemrb.

So, if you got a little more time, you might want to try the CVS version.

Link to comment

I'm not sure it's a problem with getting the resources from the BIFs:

 

Here's the full list of errors when trying to startup GemRB with GameType=bg2

[KEYImporter]: Opening /Volumes/Equinox/Baldur's Gate II/chitin.key...[OK]
[KEYImporter]: Checking file type...[OK]
[KEYImporter]: Reading Resources...
[KEYImporter]:  BIF Files Count: 182 (Starting at 24 Bytes)
[KEYImporter]:  RES Count: 41794 (Starting at 5449 Bytes)
[KEYImporter]: Resources Loaded...[OK]
[KEYImporter]: Searching for gemrb.INI...[Found in GemRB Override]
[Core]: 
Loading game type-specific GemRB setup...[OK]
[Core]: Checking for Dialogue Manager...[OK]
[KEYImporter]: Searching for months.2DA...[ERROR]
Cannot find data:Default.bif... Resource unavailable.
[Core]: Loading Dialog.tlk file...[OK]
[Core]: Loading Palettes...
[KEYImporter]: Searching for MPALETTE.BMP...[ERROR]
Cannot find data:Default.bif... Resource unavailable.
[KEYImporter]: Searching for MPALETTE.BMP...[ERROR]
Cannot find data:Default.bif... Resource unavailable.
[KEYImporter]: Searching for MPAL256.BMP...[ERROR]
Cannot find data:Default.bif... Resource unavailable.
[Core]: Palettes Loaded
[Core]: Initializing stock sounds...[KEYImporter]: Searching for defsound.2DA...[Found in GemRB Override]
[Core]: Loading Fonts...
[KEYImporter]: Searching for fonts.2DA...[Found in GemRB Override]
[KEYImporter]: Searching for NORMAL.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for FLOATTXT.BAM...[ERROR]
Cannot find data:GUIBam.bif... Resource unavailable.
[KEYImporter]: Searching for NUMBER.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for INITIALS.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for NUMBER2.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for NUMBER3.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for REALMS.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for STONEBIG.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for STONESML.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for TOOLFONT.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for STONESM2.BAM...[ERROR]
[KEYImporter]: Searching for TOOLTIP.BAM...[ERROR]
Cannot find data:GUIBam.bif... Resource unavailable.
[KEYImporter]: Searching for STONSML.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[KEYImporter]: Searching for GAMETEXT.BAM...[ERROR]
Cannot find data:GUIFont.bif... Resource unavailable.
[Core]: Fonts Loaded...[OK]
[Core]: Initializing Tooltips...[KEYImporter]: Searching for TOOLSCRL.BAM...[ERROR]
Cannot find data:GUIBam.bif... Resource unavailable.
[ERROR]
[KEYImporter]: Searching for defsound.2DA...[Found in GemRB Override]
Press enter to continue...

 

Contrasted when launching with GameType=bg1, GemRB successfully finds the BIF contents:

[KEYImporter]: Opening /Volumes/Equinox/Tales of the Sword Coast/Game Data/chitin.key...[OK]
[KEYImporter]: Checking file type...[OK]
[KEYImporter]: Reading Resources...
[KEYImporter]:  BIF Files Count: 159 (Starting at 24 Bytes)
[KEYImporter]:  RES Count: 16694 (Starting at 4780 Bytes)
[KEYImporter]: Resources Loaded...[OK]
[KEYImporter]: Searching for gemrb.INI...[Found in GemRB Override]
[Core]: 
Loading game type-specific GemRB setup...[OK]
[Core]: Checking for Dialogue Manager...[OK]
[KEYImporter]: Searching for months.2DA...[FOUND]
[Core]: Loading Dialog.tlk file...[OK]
[Core]: Loading Palettes...
[KEYImporter]: Searching for MPALETTE.BMP...[FOUND]
[KEYImporter]: Searching for MPALETTE.BMP...[FOUND]
[KEYImporter]: Searching for MPAL256.BMP...[Found in GemRB Override]
[Core]: Palettes Loaded
[Core]: Initializing stock sounds...[KEYImporter]: Searching for defsound.2DA...[Found in GemRB Override]
[Core]: Loading Fonts...
[KEYImporter]: Searching for fonts.2DA...[Found in GemRB Override]
[KEYImporter]: Searching for NORMAL.BAM...[FOUND]
[KEYImporter]: Searching for TOOLFONT.BAM...[FOUND]
[KEYImporter]: Searching for NUMBER.BAM...[FOUND]
[KEYImporter]: Searching for INITIALS.BAM...[FOUND]
[KEYImporter]: Searching for NUMBER2.BAM...[FOUND]
[KEYImporter]: Searching for NUMBER3.BAM...[FOUND]
[KEYImporter]: Searching for REALMS.BAM...[FOUND]
[KEYImporter]: Searching for STONEBIG.BAM...[FOUND]
[KEYImporter]: Searching for STONESML.BAM...[FOUND]
[Core]: Fonts Loaded...[OK]
[Core]: Initializing Tooltips...[KEYImporter]: Searching for TOOLTIP.BAM...[FOUND]
[OK]
[Core]: Initializing the Event Manager...[OK]
[Core]: BroadCasting Event Manager...[OK]
[Core]: Initializing Window Manager...[OK]
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
[Core]: Initializing GUI Script Engine...[OK]
[Core]: Setting up the Console...[KEYImporter]: Searching for CAROT.BAM...[FOUND]
[OK]
[Core]: Starting up the Sound Manager...[OK]
[Core]: Allocating SaveGameIterator...[OK]
[Core]: Initializing Variables Dictionary...[OK]
[Core]: Initializing Token Dictionary...[OK]
[Core]: Initializing Music Manager...[OK]
[Core]: Loading Cursors...[KEYImporter]: Searching for CURSORS.BAM...[FOUND]
[OK]
[KEYImporter]: Searching for FOGOWAR.BAM...[FOUND]
[Core]: Loading Fog-Of-War bitmaps...[OK]
[Core]: Bringing up the Global Timer...[OK]
[Core]: Initializing effect opcodes...[OK]
[Core]: Initializing effects...[KEYImporter]: Searching for EFFTEXT.2DA...[FOUND]
[KEYImporter]: Searching for EFFECTS.IDS...[Found in GemRB Override]
Warning: Couldn't assign effect: color:colorglowsolid
Warning: Couldn't assign effect: color:colorglowpulsate
Warning: Couldn't assign effect: graphics:sparkle
Warning: Couldn't assign effect: charactercolorglowtimed
Warning: Couldn't assign effect: charactercolorglowinstant1
Warning: Couldn't assign effect: charactercolorglowinstant2
Warning: Couldn't assign effect: protectionfromprojectile
Warning: Couldn't assign effect: trackingskillmodifier
Warning: Couldn't assign effect: levelchange
Warning: Couldn't assign effect: state:regeneration
Warning: Couldn't assign effect: protectionfromcreaturetype
Warning: Couldn't assign effect: protection:fromopcode
Warning: Couldn't assign effect: protection:fromspelllevels
Warning: Couldn't assign effect: helplessnesssetincreaturetype
Warning: Couldn't assign effect: runaway
Warning: Couldn't assign effect: removeitem
Warning: Couldn't assign effect: equipweapon
Warning: Couldn't assign effect: graphics:dither
Warning: Couldn't assign effect: detect:alignment
Warning: Couldn't assign effect: clairvoyance
Warning: Couldn't assign effect: showcreatures
Warning: Couldn't assign effect: mirrorimage
Warning: Couldn't assign effect: protection:frommeleeweapons
Warning: Couldn't assign effect: visualanimationeffect-unknown
Warning: Couldn't assign effect: createinventoryitem
Warning: Couldn't assign effect: removeinventoryitem
Warning: Couldn't assign effect: teleporttogivenpoint
Warning: Couldn't assign effect: spelleffect:unlock
Warning: Couldn't assign effect: walkrundistancemodifier
Warning: Couldn't assign effect: summon:monstersummoning
Warning: Couldn't assign effect: state:confusion
Warning: Couldn't assign effect: aidnoncumulative
Warning: Couldn't assign effect: blessnoncumulative
Warning: Couldn't assign effect: spelleffect:lucknoncumulative
Warning: Couldn't assign effect: polymorph
Warning: Couldn't assign effect: forcevisible
Warning: Couldn't assign effect: animationstatechange
Warning: Couldn't assign effect: castingglow
Warning: Couldn't assign effect: visualspellhit
Warning: Couldn't assign effect: replaceitem
Warning: Couldn't assign effect: spell:disablespellcastingabilities
Warning: Couldn't assign effect: castspell
Warning: Couldn't assign effect: spell:castspellasscroll
Warning: Couldn't assign effect: identify
Warning: Couldn't assign effect: spelleffect:findtraps
Warning: Couldn't assign effect: creaturesummoningreplace
Warning: Couldn't assign effect: sanctuarymodifier
Warning: Couldn't assign effect: entanglemodifier
Warning: Couldn't assign effect: minorglobemodifier
Warning: Couldn't assign effect: overlay:protectionfromprojectile
Warning: Couldn't assign effect: state:webeffect
Warning: Couldn't assign effect: overlay:grease
Warning: Couldn't assign effect: mirrorimagerun
Warning: Couldn't assign effect: cure:helpless
Warning: Couldn't assign effect: cure:slowed
Warning: Couldn't assign effect: slowpoisondamagerate
Warning: Couldn't assign effect: missilethac0bonus
Warning: Couldn't assign effect: destroytarget
Warning: Couldn't assign effect: spell:addinnateability
Warning: Couldn't assign effect: spell:removespell
Warning: Couldn't assign effect: poisonresistancemodifier
Warning: Couldn't assign effect: state:hold
Warning: Couldn't assign effect: movementrate
Warning: Couldn't assign effect: applyeffect
Warning: Couldn't assign effect: thac0bonuscreature
Warning: Couldn't assign effect: damagebonuscreature
Warning: Couldn't assign effect: cantuseitem
Warning: Couldn't assign effect: restrictitemtype
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: applyeffectitemtype
Warning: Couldn't assign effect: dontjump
Warning: Couldn't assign effect: helplessnesssetincreaturetype
Warning: Couldn't assign effect: auracleansing
Warning: Couldn't assign effect: castingspeed
Warning: Couldn't assign effect: attackspeed
Warning: Couldn't assign effect: castinglevel
Warning: Couldn't assign effect: spelleffect:findfamiliar
Warning: Couldn't assign effect: invisibledetection
Warning: Couldn't assign effect: ignoredialogpause
Warning: Couldn't assign effect: familiarbond
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: bounceprojectile
Warning: Couldn't assign effect: bounceeffect
Warning: Couldn't assign effect: bouncespelllevel
Warning: Couldn't assign effect: decrementingbouncespelllevel
Warning: Couldn't assign effect: decrementingspellimmunity
Warning: Couldn't assign effect: bounceschool
Warning: Couldn't assign effect: bouncesecondarytype
Warning: Couldn't assign effect: protectionschool
Warning: Couldn't assign effect: protectionsecondarytype
Warning: Couldn't assign effect: protectionspell
Warning: Couldn't assign effect: bouncespell
Warning: Couldn't assign effect: powerwordkill
Warning: Couldn't assign effect: powerwordstun
Warning: Couldn't assign effect: state:imprisonment
Warning: Couldn't assign effect: cure:imprisonment
Warning: Couldn't assign effect: maze
Warning: Couldn't assign effect: castfromlist
Warning: Couldn't assign effect: state:leveldrain
Warning: Couldn't assign effect: powerwordsleep
Warning: Couldn't assign effect: stoneskin
Warning: Couldn't assign effect: protectionfromcreature
Warning: Couldn't assign effect: dispelschool
Warning: Couldn't assign effect: dispelsecondarytype
Warning: Couldn't assign effect: randomteleport
Warning: Couldn't assign effect: decrementingschoolimmunity
Warning: Couldn't assign effect: cure:leveldrain
Warning: Couldn't assign effect: revealmagic
Warning: Couldn't assign effect: decrementingsecondarytypeimmunity
Warning: Couldn't assign effect: decrementingschoolbounce
Warning: Couldn't assign effect: decrementingsecondarytypebounce
Warning: Couldn't assign effect: dispelschoolone
Warning: Couldn't assign effect: dispelsecondarytypeone
Warning: Couldn't assign effect: timestop
Warning: Couldn't assign effect: castspelloncondition
Warning: Couldn't assign effect: createcontingency
Warning: Couldn't assign effect: wingbuffet
Warning: Couldn't assign effect: projectimage
Warning: Couldn't assign effect: puppetid
Warning: Couldn't assign effect: disintegrate
Warning: Couldn't assign effect: farsight
Warning: Couldn't assign effect: removestateicon
Warning: Couldn't assign effect: controlcreature
Warning: Couldn't assign effect: cure:horror
Warning: Couldn't assign effect: drainmagic
Warning: Couldn't assign effect: drainspells
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: berserking
Warning: Couldn't assign effect: attacknearest
Warning: Couldn't assign effect: setmeleeeffect
Warning: Couldn't assign effect: setrangedeffect
Warning: Couldn't assign effect: damagemodifier
Warning: Couldn't assign effect: changebardsong
Warning: Couldn't assign effect: settrap
Warning: Couldn't assign effect: setmapmarker-need-research
Warning: Couldn't assign effect: setmapmarker-need-research
Warning: Couldn't assign effect: createitemdays
Warning: Couldn't assign effect: spellsequencer
Warning: Couldn't assign effect: createspellsequencer
Warning: Couldn't assign effect: activatespellsequencer
Warning: Couldn't assign effect: spelltrap
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: restorespells
Warning: Couldn't assign effect: visualrange
Warning: Couldn't assign effect: backstabmultiplier
Warning: Couldn't assign effect: dropweapon
Warning: Couldn't assign effect: setglobal
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: protectionstring
Warning: Couldn't assign effect: explorer
Warning: Couldn't assign effect: screenshake
Warning: Couldn't assign effect: cure:casterhold
Warning: Couldn't assign effect: avatarremoval
Warning: Couldn't assign effect: applyeffectrepeat
Warning: Couldn't assign effect: removeprojectile
Warning: Couldn't assign effect: teleporttotarget
Warning: Couldn't assign effect: hideinshadows
Warning: Couldn't assign effect: detectillusions
Warning: Couldn't assign effect: settraps
Warning: Couldn't assign effect: thac0
Warning: Couldn't assign effect: renablebutton
Warning: Couldn't assign effect: triggerwildmagic
Warning: Couldn't assign effect: wildsurge
Warning: Couldn't assign effect: useeffect
Warning: Couldn't assign effect: meleethac0
Warning: Couldn't assign effect: meleedamage
Warning: Couldn't assign effect: missiledamage
Warning: Couldn't assign effect: removecircle
Warning: Couldn't assign effect: fistthac0
Warning: Couldn't assign effect: fistdamage
Warning: Couldn't assign effect: changetitle
Warning: Couldn't assign effect: disablevisualeffect
Warning: Couldn't assign effect: protectionbackstab
Warning: Couldn't assign effect: enableoffscreenai
Warning: Couldn't assign effect: soundmn-need-research
Warning: Couldn't assign effect: disablechunkingdeath
Warning: Couldn't assign effect: protection:fromanimation
Warning: Couldn't assign effect: creaturenoninterruptable
Warning: Couldn't assign effect: areaswitch
Warning: Couldn't assign effect: chaosshield
Warning: Couldn't assign effect: deactivatecreature
Warning: Couldn't assign effect: criticalhitmodifier
Warning: Couldn't assign effect: canuseanyitem
Warning: Couldn't assign effect: backstabeveryhit
Warning: Couldn't assign effect: massraisedead
Warning: Couldn't assign effect: offhandthac0
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: unknown
Warning: Couldn't assign effect: modifyvariable
Warning: Couldn't assign effect: timeless
Warning: Couldn't assign effect: wish-need-research
Warning: Couldn't assign effect: unknown-crash
Warning: Couldn't assign effect: hla
Warning: Couldn't assign effect: stoneskin2
Warning: Couldn't assign effect: animationremoval
Warning: Couldn't assign effect: magicalrest
Warning: Couldn't assign effect: doubleattack
[OK]
[Core]: Initializing Inventory Management...
[KEYImporter]: Searching for itemtype.2DA...[Found in GemRB Override]
[KEYImporter]: Searching for slottype.2DA...[Found in GemRB Override]
[OK]
[Core]: Initializing Spellbook Management...
[OK]
[Core]: Initializing string constants...
[KEYImporter]: Searching for strings.2DA...[Found in GemRB Override]
[OK]
[Core]: Initializing random treasure...
[KEYImporter]: Searching for randitem.2DA...[Found in GemRB Override]
[KEYImporter]: Searching for RNDTREAS.2DA...[FOUND]
[KEYImporter]: Searching for RNDSCROL.2DA...[FOUND]
[KEYImporter]: Searching for RNDMAGIC.2DA...[FOUND]
[KEYImporter]: Searching for RNDEQUIP.2DA...[FOUND]
[OK]
[Core]: Initializing ability tables...
[KEYImporter]: Searching for strmod.2DA...[FOUND]
[KEYImporter]: Searching for strmodex.2DA...[FOUND]
[KEYImporter]: Searching for intmod.2DA...[Found in Override]
[2DAImporter]: Bad signature!
[KEYImporter]: Searching for dexmod.2DA...[FOUND]
[KEYImporter]: Searching for hpconbon.2DA...[FOUND]
[KEYImporter]: Searching for chrmodst.2DA...[FOUND]
[OK]
[Core]: Core Initialization Complete!
[SDLVideo]: Creating display
2006-01-20 16:28:25.717 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b16f0 of class NSMutableParagraphStyle autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.718 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b1740 of class NSCFDictionary autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.724 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b48d0 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.725 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4dd0 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.725 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4de0 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.725 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4e90 of class NSCFDictionary autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.726 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4e60 of class NSIdEnumerator autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.726 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694ca4 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.726 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4f20 of class NSCFArray autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.733 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694bf4 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.733 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3af360 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.734 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694b74 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.734 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b0660 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.734 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c24 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.734 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4f90 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.735 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c34 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.735 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b4f90 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.735 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c24 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.735 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c34 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.736 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c24 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.736 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c34 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.736 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c24 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.736 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c24 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.737 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa3694c24 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.737 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x30bfb0 of class NSCFNumber autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.738 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b00f0 of class NSCFArray autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.871 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3af320 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.872 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ccb10 of class NSAffineTransform autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.873 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cccc0 of class NSFont autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.874 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cd0d0 of class NSFont autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.876 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa369082c of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.885 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cd9f0 of class _NSCachedBitmapImageRep autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.892 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ce1b0 of class NSImage autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.893 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ce900 of class _NSCachedBitmapImageRep autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.895 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ce7c0 of class NSImage autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.896 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3b39e0 of class _NSThemeCloseWidget autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.898 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cd0d0 of class NSFont autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.910 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa369082c of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.912 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cf070 of class _NSCachedBitmapImageRep autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.913 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ceee0 of class NSImage autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.914 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cf1f0 of class _NSCachedBitmapImageRep autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.915 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cef40 of class NSImage autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.916 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cec00 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.919 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cd0d0 of class NSFont autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.920 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0xa369082c of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.921 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cd560 of class _NSCachedBitmapImageRep autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.922 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ad890 of class NSImage autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.923 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ce940 of class _NSCachedBitmapImageRep autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.924 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cf5d0 of class NSImage autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.925 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3cf510 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.928 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3ce8d0 of class NSCFString autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.930 gemrb[268] *** _NSAutoreleaseNoPool(): Object 0x3a9530 of class NSException autoreleased with no pool in place - just leaking
2006-01-20 16:28:25.931 gemrb[268] *** Uncaught exception: <NSInternalInconsistencyException> Error (1002) creating CGSWindow
Trace/BPT trap

(and then crashes)

 

I just now noticed the Python warning, so it could be my fault the BG1 window is inoperable (in fullscreen). For reference, the BIFs are identical to the PC version (they didn't chuck them out big-endian for the Mac version or anything); the only differences should be the KEY file (Mac movies), the executables, and the fact that the Mac version of Baldur's Gate (and TotSC) doesn't actually have the MVE files (even though they're in the key; the movies were resampled and encoded as standard QuickTime movies, and the swap is hard-coded so that calls to "Blah.mve" actually run the QT movies).

Link to comment

The endian swap option takes care about reading the bifs in the internal format Mac needs.

 

I'm almost completely helpless about the missing resources.

If i were you, i would rename the baldur's gate folder to something simpler, remove that apostrophe for sure. But it shouldn't cause any problem.

 

I would need the correct path for Default.bif or any bif. Perhaps they are not arranged in the same way as on a PC.

 

It is a good idea to fix the python problem, it might affect python scripts which can result in the broken/frozen gui.

 

The couldn't assign effect lines just show unimplemented effect opcodes, so they could be safely ignored.

 

We won't be able to help with the QT movies at this moment, though it might be possible to have a QT player plugin. If you are willing you might write another plugin with a similar interface as the MVE player.

 

Btw, the resources could be placed elsewhere than the binary.

But in that case additional cfg parameters are required.

There is a GUIScriptsPath and a PluginsPath option.

 

The gemrb specific overrides are always in GemRBPath+"override"+gametype.

The guiscripts should be in the GUIScriptsPath+"GUIScripts" folder.

 

Uh, and if you have always had CaseSensitive=0, then probably set it to 1!

I may sound a bit confused. And it is true :D

Link to comment
The endian swap option takes care about reading the bifs in the internal format Mac needs.
I just wanted to make sure you didn't ever try to treat the BIF data as big-endian (e.g., not swap it because it might already be in the right order for PPC).

 

We won't be able to help with the QT movies at this moment, though it might be possible to have a QT player plugin. If you are willing you might write another plugin with a similar interface as the MVE player.
I'd almost want to try shifting the entire thing over to QuickTime, assuming I could hack together a reasonable MVE importer (the stupid BG1 MOVs would still have to be a special case). There's a lot of things I'd do differently for Mac OS X (OpenAL -> CoreAudio, QuickTime; SDL -> OpenGL, CoreGraphics), but I really don't want more Baldur's Gate related projects eating up the little free time I have left, and I'd probably find a way to completely break everything.

 

The gemrb specific overrides are always in GemRBPath+"override"+gametype.
The problem here is that running configure without running autogen and without specifying the preferred directory structure leaves install dumping override into /usr/local/share/gemrb (whereas the binary is /usr/local/bin). Without a config option for gemrb override path, I had to move the override dir to /usr/local/bin.

 

I rebuilt from CVS, and did things a bit differently.

 

Trashed Python 2.4.2 (I'm not exactly sure why it's on this machine or when/how I installed it). I think that compilation was actually using Python 2.3.x from the default Mac OS X install, but then bound to 2.4.2 at runtime.

 

Deleted OpenAL (Creative) and created symlinks for lib and headers to the default Mac OS X install.

 

Updated auto* and libtool (Apple ships their own customized version, with a "non-standard" version string). autogen works and runs configure with all the --target-dir flags set to ~/GemRB. Configuration and compilation using the default Python works perfectly (and fixes the dumb Python warning, since the Mac OS X framework contains all the platform specific libs). Cfg and compile using the OpenAL framework actually worked (well, it compiled), and the default zlib and SDL CVS worked as expected.

 

Unfortunately, after building, I was pretty much left with the same results. GemRB failed to find key BG2 resources, so I couldn't run the ToB install. BG1 continued to work in similar fashion (minus the Python warning). In windowed mode, it gets to the eventual leaking and crash (without ever creating the window). In fullscreen mode, the game launches with a stuck cursor and no way to press any of the buttons.

 

Of course, this time, GemRB only runs for a few seconds and then crashes. I heavily suspect this is an OpenAL crash (although there were a lot of SDL calls in the same spot). In both versions (the source tarball and CVS pull), the audio (THEMEA.ACM) was never actually audible, so the problems could actually be audio related (I couldn't find an option to disable sound entirely). On Mac OS X, OpenAL just sits on top of CoreAudio, so I'm sure it's probably guaranteed to not work in any sensible way (assuming it works at all).

Link to comment

It'll have to wait a bit, but I'll try moving the ACM importer out before running GemRB the next time I build.

 

The BG2 resource issue has likely been staring me in the face this whole time: the Macintosh version of Baldur's Gate II and ToB uses the colon (':') character as the path separator, whereas the Macintosh version of Baldur's Gate and TotSC use the familiar backslash ('\') character as the path separator.

 

So, in the Mac BG2 key, the relative path to DEFAULT.bif is specified as "data:Default.bif," whereas in Mac BG, the path is "data\Default.bif." I don't have the GemRB source handy right now, but if you're not handling the colon, then this is probably the issue (making it highly unlikely that anyone ever got the Mac version of BG2 to run).

 

It's likely that the Mac version of IwD also uses ':' as the path separator (it was ported by the same guy). I can make key files from the various Mac IE games available if you wanted to add support (assuming it doesn't already exist); if you wanted to do it blindly, let me know when the source is updated and I can compile and check to see if it works. The paths themselves should always be identical to the PC version (the resources will always be in <optional CD path>/data/archive.bif), it's just the delimiters that are different.

Link to comment

We definitely don't handle the colon, this is new to me that there is an OS outta there which uses a third path separator (besides \ and /).

Luckily the source could be very easily modified to support arbitrary path separators.

See you in the next version.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...