Jump to content

[MacOSX] BG1 - Tried to create a font from incompatible BAM:number.bam


Souricette

Recommended Posts

Hello.

 

Suddenly taken by a nostalgic will for playing Baldur's Gate again, I found my CDs after some archeologic researches, and when I tried to launch the installer... I was told that my Macintel was not able to launch Classic applications...

 

A few Google searches later, I was pointed to the Gemrb project. I found the MacOSX GemRB-osx-v0.7.0-182-g6ef449e.pkg package, installed the GemRB application, retrieved an old installation folder from a very old backup, copied the CDs in it, updated the gemrb.cfg file to reflect this "installation", and launched the GemRB application.

 

Unfortulately, I have an error;

 

29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: GemRB Core Version v0.7.0-git Loading...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing the Event Manager...[Core]: Initializing Lists Dictionary...[Core]: Initializing Variables Dictionary...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Config]: Trying to open GemRB.cfg [NOT FOUND]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Config]: Trying to open /Users/danielchiaramello/.GemRB/GemRB.cfg [OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Starting Plugin Manager...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading Plugins from /Users/danielchiaramello/Library/Application Support/GemRB/plugins/
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/2DAImporter.so... 2DA File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/ACMReader.so... ACM File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/AREImporter.so... ARE File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/BAMImporter.so... BAM File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/BIFImporter.so... BIF File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/BIKPlayer.so... BIK Video Player...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/BMPImporter.so... BMP File Reader...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/BMPWriter.so... BMP File Writer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/CHUImporter.so... CHU File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/CREImporter.so... CRE File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/DirectoryImporter.so... Directory Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/DLGImporter.so... DLG File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/EFFImporter.so... EFF File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/FXOpcodes.so... Effect opcodes for core games...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/GAMImporter.so... GAM File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/GUIScript.so... GUI Script Engine (Python)...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/IDSImporter.so... IDS File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/INIImporter.so... INI File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/ITMImporter.so... ITM File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/IWDOpcodes.so... Effect opcodes for the icewind branch of the games...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/KEYImporter.so... KEY File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/MOSImporter.so... MOS File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/MUSImporter.so... MUS File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/MVEPlayer.so... MVE Video Player...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/OpenALAudio.so... OpenAL Audio Driver...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/PLTImporter.so... PLT File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/PNGImporter.so... PNG File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/PROImporter.so... PRO File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/PSTOpcodes.so... Effect opcodes for the torment branch of the games...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/SAVImporter.so... SAV File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/SDLVideo.so... SDL Video Driver...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/SPLImporter.so... SPL File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/STOImporter.so... STO File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/TISImporter.so... TIS File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/TLKImporter.so... TLK File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/TTFImporter.so...[ERROR]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: Cannot Load Module, Skipping...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/TTFImporter.so, 10): Library not loaded: @executable_path/../Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb:   Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/TTFImporter.so
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb:   Reason: image not found
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/WAVReader.so... WAV File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/WEDImporter.so... WED File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/WMPImporter.so... WMP File Importer...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/ZLibManager.so... ZLib Compression Manager...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Plugin Loading Complete...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: GemRB Core Initialization...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing Video Driver...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing Search Path...[ResourceManager]: Invalid path given: /BGI/portraits (Portraits)
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Invalid path given: /BGI/CD6/data (CD6/data)
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing KEY Importer...[KEYImporter]: Opening /BGI/chitin.key...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [KEYImporter]: Checking file type...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [KEYImporter]: Reading Resources...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [KEYImporter]:  BIF Files Count: 141 (Starting at 24 Bytes)
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [KEYImporter]: RES Count: 15237 (Starting at 4241 Bytes)
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [KEYImporter]: Resources Loaded...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing GUI Script Engine...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Reading Game Options...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for gemrb.ini...[GemRB Override]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading game type-specific GemRB setup...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: /Users/danielchiaramello/.GemRB/override/bg1/gemrb.ini[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Creating Projectile Server...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for gemprjtl.ids...[GemRB Override]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for projectl.ids...[ERROR]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Checking for Dialogue Manager...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for gender.2da...[ERROR]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading Dialog.tlk file...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading Palettes...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for MPALETTE... MPALETTE.bmp...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for MPALETTE... MPALETTE.bmp...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for MPAL256... MPAL256.bmp...[GemRB Override]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Palettes Loaded
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing stock sounds...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for defsound.2da...[GemRB Override]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Broadcasting Event Manager...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Initializing Window Manager...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for cursors.bam...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading Cursors...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for fogowar.bam...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading Fog-Of-War bitmaps...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading Ground circle bitmaps...[OK]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [Core]: Loading Fonts...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for fonts.2da...[GemRB Override]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for NORMAL... NORMAL.bam...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [bAMImporter]: Constructing BAM font: 1 characters...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for TOOLFONT... TOOLFONT.bam...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [bAMImporter]: Constructing BAM font: 1 characters...
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [ResourceManager]: Searching for NUMBER... NUMBER.bam...[chitin.key]
29/01/12 16:48:37,032 [0x0-0x2bd2bd].net.sourceforge.gemrb: [bAMImporter]: Constructing BAM font:[bAMImporter]: Tried to create a font from incompatible BAM:number.bam
29/01/12 16:48:37,037 com.apple.launchd.peruser.501: ([0x0-0x2bd2bd].net.sourceforge.gemrb[1240]) Exited with code: 1

 

I have no idea on how to solve that...

Do you have some clue?

 

Thanks for your attention,

Daniel

Link to comment

I just pushed an update that will stop gemrb from dying if a font cant be created. of course you will still have the problem of a missing font, but it should be more verbose about what is wrong. you should be able to replace the seemingly corrupt bam with numbers2 or numbers3 or Get SDL_TTF and use a ttf font.

 

there is still some work that needs to be done to make ttf fonts work effectively for bam numeric fonts tho. there are a few glyphs that are in BAM fonts that need to be replicated and i dont know them all. (i think 'lbs' is one)

Link to comment

Hello - and thanks for this quick update!

 

Just a point on the specific BAM font:

 

[ResourceManager]: Searching for NUMBER... NUMBER.bam...[chitin.key]
[bAMImporter]: Constructing BAM font number.bam: inconsistent font: FirstChar=47 LastChar=0 Count=11 [ERROR]
[Core]: Unable to load font resource: NUMBER [WARNING]
[ResourceManager]: Searching for INITIALS... INITIALS.bam...[chitin.key]
[bAMImporter]: Constructing BAM font initials.bam:  1 characters...
[ResourceManager]: Searching for NUMBER2... NUMBER2.bam...[chitin.key]
[bAMImporter]: Constructing BAM font number2.bam: inconsistent font: FirstChar=47 LastChar=0 Count=11 [ERROR]
[Core]: Unable to load font resource: NUMBER2 [WARNING]
[ResourceManager]: Searching for NUMBER3... NUMBER3.bam...[chitin.key]
[bAMImporter]: Constructing BAM font number3.bam: inconsistent font: FirstChar=47 LastChar=0 Count=11 [ERROR]
[Core]: Unable to load font resource: NUMBER3 [WARNING]

 

So, it seems all the NUMBER<n>.BAM have this problem. But at least application managed to start.

 

The problem after was that, if the application was launched correctly, no text was displayed... The interface was correctly displayed, but all the buttons are empty.

 

I clicked on the first button, and the application was blocked. I had to restart my computer, Command-Q, Escape, or whatever was not working (I was in Fullscreen mode...)

 

Found in the Console:

[streams]: Invalid seek position 1920489947 in file dialog.tlk (limit: 3152331)
Invalid seek position 1920489947 in file dialog.tlk (limit: 3152331)

 

I also have plenty of other error messages:

[ResourceManager]: Searching for itemdata.2da...[ERROR]
...
[ResourceManager]: Searching for rndequip.2da...[ERROR]
...
[ResourceManager]: Searching for WMAPLAY.2da...[NOT FOUND]
...
[ResourceManager]: Searching for wildmag.2da...[ERROR]
[Core]: Reading special spells table...[NOT FOUND]
...
Searching for itemdial.2da...[ERROR]
...
Searching for gemtrig.ids...[ERROR]
...
[GameScript]: Couldn't assign function to trigger: 85 reset
[GameScript]: Couldn't assign function to trigger: 84 detected
[GameScript]: Couldn't assign function to trigger: 7 said
[GameScript]: bashdoor(o:object) overrides existing action 148 bashdoor
[GameScript]: Couldn't assign function to action: 183 multiplayersync
[GameScript]: Couldn't assign function to action: 94 groupattack
[GameScript]: Couldn't assign function to action: 81 nidspecial12
[GameScript]: Couldn't assign function to action: 80 nidspecial11
[GameScript]: Couldn't assign function to action: 79 nidspecial10
[GameScript]: Couldn't assign function to action: 77 nidspecial8
[GameScript]: Couldn't assign function to action: 37 followpath
[GameScript]: Couldn't assign function to action: 20 layhands
...
[GameScript]: instant action 1 (actionoverride(o:actor*,a:action*)) doesn't exist, ignoring
...
[GameScript]: saved trigger 85 (reset(o:object*)) doesn't exist, ignoring
[GameScript]: saved trigger 84 (detected(o:object*)) doesn't exist, ignoring
[GameScript]: saved trigger 7 (said(o:object*,i:dialog) doesn't exist, ignoring
...
[Core]: Initializing keymap tables...[ResourceManager]: Searching for keymap.2da...[ERROR]
[ERROR]
...
[ResourceManager]: Searching for BG4LOGO... Tried BG4LOGO.mve BG4LOGO.mve [ERROR]
[ResourceManager]: Searching for TSRLOGO... Tried TSRLOGO.mve TSRLOGO.mve [ERROR]
[ResourceManager]: Searching for BILOGO... Tried BILOGO.mve BILOGO.mve [ERROR]
[ResourceManager]: Searching for INFELOGO... Tried INFELOGO.mve INFELOGO.mve [ERROR]
[ResourceManager]: Searching for INTRO... Tried INTRO.mve INTRO.mve [ERROR]
...
r baldur.bcs...[ERROR]
...
[ResourceManager]: Searching for restmov.2da...[ERROR]
...
[ResourceManager]: Searching for xpbonus.2da...[ERROR]
...
[ResourceManager]: Searching for qslot2.2da...[ERROR]
[ResourceManager]: Searching for mdfeats.2da...[ERROR]
...
[ResourceManager]: Searching for itemanim.2da...[ERROR]
...
[ResourceManager]: Searching for featreq.2da...[ERROR]
...
[ResourceManager]: Searching for wstwowpn.2da...[ERROR]
[ResourceManager]: Searching for wstwohnd.2da...[ERROR]
[ResourceManager]: Searching for wsshield.2da...[ERROR]
...
[ResourceManager]: Searching for monkbon.2da...[ERROR]
[ResourceManager]: Searching for lvlmodwm.2da...[ERROR]
[ResourceManager]: Searching for vcremap.2da...[ERROR]
[ResourceManager]: Searching for skillsta.2da...[ERROR]
[ResourceManager]: Searching for comment.2da...[ERROR]
...
[ResourceManager]: Searching for randcolr.2da...[ERROR]
...
[ResourceManager]: Searching for proftype.2da...[ERROR]
[ERROR]
Cannot find proftype.2da.
...
[TLKImporter]: Not a valid TOT file.
[TlkImporter]: Cannot open tlk override!
...
[ResourceManager]: Searching for spldisp.2da...[ERROR]
[GUIScript]: Runtime Error:
Traceback (most recent call last):
 File "GemRB.app/Contents/Resources/GUIScripts/bg1/CharGen.py", line 22, in <module>
import CharGenCommon
 File "GemRB.app/Contents/Resources/GUIScripts/bg1/CharGenCommon.py", line 21, in <module>
import GUICommon
 File "GemRB.app/Contents/Resources/GUIScripts/GUICommon.py", line 34, in <module>
CommonTables.Load ()
 File "GemRB.app/Contents/Resources/GUIScripts/CommonTables.py", line 49, in Load
SpellDisplay = GemRB.LoadTable ("spldisp")
RuntimeError: Can't find resource
[ERROR]

 

Well.. It seems that I will not play BG today :)

 

Thanks anyways - if you need more information, or more manipulations, don't hesitate to request them.

 

Edit: concerning the movies it did not find.. They are present as XXX.MOV (BILOGO.MOV, for example).

Link to comment

if files exist somewhere but it errors out then either permissions are messed up or some of your config paths are wrong. it would probably help if you provided crash reports and info about your comp/os and more importantly your BG install. is it TOSC? gog? modded? what?

 

looking at the font issue i see this: number2.bam: inconsistent font: FirstChar=47 LastChar=0 Count=11

but the override/bg1/fonts.2da has this: firstchar=48 and lastchar=58 so what does your 2da have? for that matter what did you set for game type?

Link to comment

a messed up gemrb install - you're missing stuff from our override. Don't know if this is a packaging problem though.

 

just checked the latest package and it installed the override correctly and completely. I am on 10.7 tho; I haven't a way to test other versions.

 

Edit: it looks like your override is in the wrong place? the instaler installs it to ~/Library/Application Support/GemRB/override, but your log shows ~/.GemRB/override

 

I do know that the mac build still looks for the GemRB.cfg file there, and I need to fix it at some point. edit your config and change the override path to ~/Library/Application Support/GemRB/

Link to comment

I'm pretty sure, you got old data with new executable.

 

Movies as .MOV ??? I didn't know Mac had a different naming convention.

They might not even be in the interplay format!!!

We don't have a GPL quicktime player, do we?

 

Spldisp.2da is supplied by gemrb, it should be in override/shared.

Link to comment

Thanks to all for your answers.

 

Yes, it may be some mess between a previous attempt I did to compile gemrb months and months ago, with only partial success. So, the override may be an old one. I'll go and clean everything tomorrow (don't have time for it this evening).

 

FYI, it's "basic" BG1, no TOSC, no mod. I installed it "from scratch" using Classic emulator (SheepShaver), on MacS 10.7.2.

 

Concerning .MOV, it's an old "standard" format of movies used on Macintosh. QuickTime player can play them directly!

 

Thanks again, I'll keep you informed.

Link to comment

it definitely sounds like your problem is the old data lying around. just delete everything under ~/.GemRB and re install

 

then make a new config from the template in ~/Library/Application Support/GemRB and move it to ~/.GemRB (if it doesn't pick it up from ~/Library/Application Support/GemRB)

Link to comment

I look forward to the success of this. We have never tested gemrb on the old bg1 dataset, we tested only with ToTSC.

Sadly, you won't see the ingame movie clips either (rest/death).

GemRB might get a quicktime player, but i won't actively work on that.

Earlier, we had binkplayer as an external player, we might do just that with quicktime.

Link to comment

Would you be so kind as to list contents of that ancient CDs, and contents of that installed folder and post it somewhere where I can grab it? I would like to add it to our collection. On Linux, you could use e.g. http://www.eowyn.cz/gemrb/create_manifest.sh, dunno about Mac/Windows. Basically I am interested in a list of all files, possibly with their sizes and eventually MD5 checksums. Ah, and also as precise as possible description of the CDs, e.g. "Baldur's Gate 1, Chinese Mac9 version, 1999" or st. of the kind. Thank you!

Link to comment

Hello everybody.

 

I did what you suggested - I cleared my old .gemrb folder, I copied the files from ~/Library/Application Support/GemRB in a newly created .GemRB, I updated the GemRG.cfg file - all started like a charm!

 

The only problem I saw was during the creation of a character: the list of playable voices were empty.

I finished the character creation, and I managed to enter the game. The first steps seem OK - if I have some problems later, I'll go back to you again!

 

Here are a few errors I noticed during theses steps (none prevented the game to run!):

 

[PluginMgr]: Loading: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/TTFImporter.so...[ERROR]
Cannot Load Module, Skipping...
dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/TTFImporter.so, 10): Library not loaded: @executable_path/../Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
 Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/TTFImporter.so
 Reason: image not found
...
[ResourceManager]: Searching for projectl.ids...[ERROR]
...
[ResourceManager]: Searching for gender.2da...[ERROR]
...
[ResourceManager]: Searching for itemdata.2da...[ERROR]
...
[ResourceManager]: Searching for rndequip.2da...[ERROR]
...
[ResourceManager]: Searching for WMAPLAY.2da...[NOT FOUND]
...
[ResourceManager]: Searching for wildmag.2da...[ERROR]
[Core]: Reading special spells table...[NOT FOUND]

[ResourceManager]: Searching for itemdial.2da...[ERROR]
...
[GameScript]: Couldn't assign function to trigger: 85 reset
[GameScript]: Couldn't assign function to trigger: 84 detected
[GameScript]: Couldn't assign function to trigger: 7 said
[GameScript]: Couldn't assign function to action: 183 multiplayersync
[GameScript]: Couldn't assign function to action: 94 groupattack
[GameScript]: Couldn't assign function to action: 81 nidspecial12
[GameScript]: Couldn't assign function to action: 80 nidspecial11
[GameScript]: Couldn't assign function to action: 79 nidspecial10
[GameScript]: Couldn't assign function to action: 77 nidspecial8
[GameScript]: Couldn't assign function to action: 37 followpath
[GameScript]: Couldn't assign function to action: 20 layhands
...
[GameScript]: instant action 1 (actionoverride(o:actor*,a:action*)) doesn't exist, ignoring
...
[GameScript]: saved trigger 85 (reset(o:object*)) doesn't exist, ignoring
[GameScript]: saved trigger 84 (detected(o:object*)) doesn't exist, ignoring
[GameScript]: saved trigger 7 (said(o:object*,i:dialog) doesn't exist, ignoring
...
(the errors relative to mve files - having MOV files instead in Mac)
...
[streams]: Invalid seek position 1920489947 in file dialog.tlk (limit: 3152331)
[streams]: Invalid seek position 1920489947 in file dialog.tlk (limit: 3152331)
...
[ResourceManager]: Searching for baldur.bcs...[ERROR]
...
[ResourceManager]: Searching for restmov.2da...[ERROR]
...
[ResourceManager]: Searching for xpbonus.2da...[ERROR]
...
[ResourceManager]: Searching for qslot2.2da...[ERROR]
[ResourceManager]: Searching for mdfeats.2da...[ERROR]
...
[ResourceManager]: Searching for itemanim.2da...[ERROR]
...
[ResourceManager]: Searching for featreq.2da...[ERROR]
...
[ResourceManager]: Searching for wstwowpn.2da...[ERROR]
[ResourceManager]: Searching for wstwohnd.2da...[ERROR]
[ResourceManager]: Searching for wsshield.2da...[ERROR]
...
[ResourceManager]: Searching for monkbon.2da...[ERROR]
[ResourceManager]: Searching for lvlmodwm.2da...[ERROR]
...
[ResourceManager]: Searching for skillsta.2da...[ERROR]
...
[ResourceManager]: Searching for randcolr.2da...[ERROR]
...
[TLKImporter]: Not a valid TOT file.
[TlkImporter]: Cannot open tlk override!
...
[GUIScript]: Loading Script G

 

Here is the content of the files in my BGI folder - Baldur's Gate 1, French Mac9 version, 1999.

 

I upadted slightly the create_manifest.sh as follow to have it work on MacOS X.7:

printf "%-32s %9s %s\n" MD5sum Size Filename
echo ------------------------------------------------------------
find . -type f | grep -v DS_Store | sed -e 's#^./##' | sort | while read f ;do
s=`ls -l "$f" | awk '{print $5'}`
m=`md5 -r "$f"|cut -d' ' -f1`
printf "%32s %9s %s\n" $m $s "$f"
done

 

You can download the file there:

http://daniel.chiaramello.free.fr/Download/BG1_french_1999.txt

 

Thanks to everybody!!!

Link to comment

well i didnt intend to imply you should copy the files from application support to ~/.gemrb, but whatever works :-P

 

i think only the config needs to go there, but it doesn't matter since I will be making several build changes to get those resources self contained in the app bundle in the near future.

 

the SDL_TTF error is benign. you only need that if you want to use ttf fonts and then all you have to do is install SDL_TTF.framework from the SDL website. (this is also a requirement that will be gone soon since we will be using freetype directly in due time)

Link to comment

The invalid seek positions are weird, must be because of the different endianness. It is a little miracle anything works for you.

Most if not all of the missing files are harmless.

Also most of the missing triggers/actions are not a real problem.

But this reminds me i gotta implement reset/detected

 

The list of playable voices should be in <gamepath>/sounds directory.

Link to comment

Archived

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

×
×
  • Create New...