Jump to content

Trouble with starting new game in menu (old version :) )


jury

Recommended Posts

I would love to run GemRB on one exotic platform. Its quite vintage and restricted (like for example does not have shared libraries) so I had some troubles building newer versions of GemRB. But the version 0.6.4 builds fine (yesterday I found out that 0.7.0 should build also, but I'm still at the process of slight code patching to build it). The binary starts OK, the starting videos run fine also but when at the menu I press "new game" and then "next" it freezes.

I have built 0.6.4 with static linking also on my main linux machine. And when I run gemrb binary it behaves almost the same, the difference is that instead of the freeze at the "next" button it crushes with segmentation fault. I have tried Icewind Dale 1, Icewind Dale Compete and Baldurs Gate 2 and I always get this segmentation fault when I try to start the game. I guess its some configuration problem, but I can not find out whats wrong. Here is the terminal output for gemrb run:

 

./gemrb 
GemRB Core Version v0.6.4 Loading...
[Core]: Initializing the Event Manager...[Core]: Initializing Lists Dictionary...[Core]: Initializing Variables Dictionary...[OK]
[Config]: Trying to open GemRB.cfg [OK]
[Core]: Starting Plugin Manager...
[PluginMgr]: Loading Plugins from /usr/local/lib/gemrb/plugins/
[Core]: Plugin Loading Complete...[OK]
[Core]: GemRB Core Initialization...
[OK]
[Core]: Initializing Video Driver...[OK]
[Core]: Initializing Search Path...[OK]
[Core]: Initializing KEY Importer...[KEYImporter]: Opening /home/jury/ssd2/grywine/icewind/drive_c/Program Files/Black Isle Studios/Icewind Dale Serce Zimy/Chitin.key...[OK]
[KEYImporter]: Checking file type...[OK]
[KEYImporter]: Reading Resources...
[KEYImporter]:  BIF Files Count: 228 (Starting at 24 Bytes)
[KEYImporter]:  RES Count: 19013 (Starting at 6456 Bytes)
[KEYImporter]:  Cannot find data/AR200A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3501.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3601.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3000.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3101.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3201.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3301.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3401.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR100A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5001.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5000.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR4000.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR4001.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR4002.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR4005.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR4003.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR4004.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3502.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3602.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3603.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR600A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6000.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6002.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6003.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR600B.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6005.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6006.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR210A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6001.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6010.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR6011.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR100B.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3001.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3503.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR3600.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5002.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5003.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5004.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR800A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5102.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5103.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5104.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5201.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5204.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5402.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5403.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5404.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5401.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5101.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5203.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5301.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5302.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5303.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5304.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5202.bif...[ERROR]
[KEYImporter]:  Cannot find data/MVEfile1.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR210B.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR800B.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR7000.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR700A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8008.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR100C.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR100D.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR7004.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR7005.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8001.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR5502.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR110A.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR110B.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR1105.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR110C.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR7001.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8010.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8009.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR800C.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR200B.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR2000.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR120X.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8011.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8012.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR8013.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR210C.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR210D.bif...[ERROR]
[KEYImporter]:  Cannot find data/AR1100.bif...[ERROR]
[KEYImporter]:  Cannot find data/MVEfile2.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9100.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR910A.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR910B.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9200.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9201.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9300.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9400.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9500.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9501.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9502.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9600.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9601.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9602.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9603.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMBaR.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMBaS.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMBaI.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMScr.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecAHrs.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMWav.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9301.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMSah.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMDrd.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMGic.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMUm2.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMGla.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMSat.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMWi4.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMWdr.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMGwe.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMRem.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMSee.bif...[ERROR]
[KEYImporter]:  Cannot find data/eMOV1.bif...[ERROR]
[KEYImporter]:  Cannot find data/eSFXvo.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMWwe.bif...[ERROR]
[KEYImporter]:  Cannot find data/ecMWy2.bif...[ERROR]
[KEYImporter]:  Cannot find data/eAR9604.bif...[ERROR]
[KEYImporter]:  Cannot find data/eMov2.bif...[ERROR]
[KEYImporter]: Resources Loaded...[OK]
[OK]
[Core]: Initializing GUI Script Engine...[OK]
[Core]: Reading Game Options...
[ResourceManager]: Searching for gemrb.ini...[GemRB Override]
[Core]: Loading game type-specific GemRB setup...
/usr/local/share/gemrb/override/how/gemrb.ini[OK]
[Core]: Creating Projectile Server...
[ResourceManager]: Searching for gemprjtl.ids...[GemRB Override]
[ResourceManager]: Searching for projectl.ids...[ERROR]
[Core]: Checking for Dialogue Manager...[OK]
[ResourceManager]: Searching for gender.2da...[GemRB Override]
[Core]: Loading Dialog.tlk file...[OK]
[Core]: Loading Palettes...
[ResourceManager]: Searching for MPALETTE... MPALETTE.bmp...[chitin.key]
[ResourceManager]: Searching for MPALETTE... MPALETTE.bmp...[chitin.key]
[ResourceManager]: Searching for MPAL256... MPAL256.bmp...[chitin.key]
[Core]: Palettes Loaded
[Core]: Initializing stock sounds...
[ResourceManager]: Searching for defsound.2da...[GemRB Override]
[OK]
[Core]: Broadcasting Event Manager...[OK]
[Core]: Initializing Window Manager...[OK]
[ResourceManager]: Searching for cursors.bam...[chitin.key]
[Core]: Loading Cursors...[OK]
[ResourceManager]: Searching for fogowar.bam...[chitin.key]
[Core]: Loading Fog-Of-War bitmaps...[OK]
[Core]: Loading Ground circle bitmaps...[OK]
[Core]: Loading Fonts...
[ResourceManager]: Searching for fonts.2da...[GemRB Override]
[ResourceManager]: Searching for NORMAL.bam...[chitin.key]
[ResourceManager]: Searching for INFOFONT.bam...[chitin.key]
[ResourceManager]: Searching for NUMBER.bam...[chitin.key]
[ResourceManager]: Searching for INITIALS.bam...[chitin.key]
[ResourceManager]: Searching for NUMBER2.bam...[chitin.key]
[ResourceManager]: Searching for NUMBER3.bam...[chitin.key]
[ResourceManager]: Searching for NUMFONT.bam...[chitin.key]
[ResourceManager]: Searching for REALMS.bam...[chitin.key]
[ResourceManager]: Searching for REALMS2.bam...[chitin.key]
[ResourceManager]: Searching for STONEBIG.bam...[chitin.key]
[ResourceManager]: Searching for STONESM2.bam...[chitin.key]
[ResourceManager]: Searching for STONESM3.bam...[chitin.key]
[ResourceManager]: Searching for STONESML.bam...[chitin.key]
[ResourceManager]: Searching for TOOLFONT.bam...[chitin.key]
[ResourceManager]: Searching for STATES.bam...[chitin.key]
[ResourceManager]: Searching for STATES2.bam...[chitin.key]
[Core]: Fonts Loaded...[OK]
[ResourceManager]: Searching for tooltip.bam...[chitin.key]
[Core]: Initializing Tooltips...[OK]
[Core]: Setting up the Console...[ResourceManager]: Searching for carot.bam...[chitin.key]
[OK]
[Core]: Starting up the Sound Driver...[OK]
[Core]: Allocating SaveGameIterator...[OK]
[Core]: Initializing Token Dictionary...[OK]
[Core]: Initializing Music Manager...[OK]
[Core]: Loading music list...
[ResourceManager]: Searching for music.2da...[chitin.key]
[OK]
[Core]: Bringing up the Global Timer...[OK]
[ResourceManager]: Searching for efftext.2da...[GemRB Override]
[ResourceManager]: Searching for effects.ids...[GemRB Override]
[EffectQueue]: Couldn't assign effect: hold2
[Core]: Initializing effects...[OK]
[ResourceManager]: Searching for itemtype.2da...[GemRB Override]
[ResourceManager]: Searching for slottype.2da...[GemRB Override]
[Core]: Initializing Inventory Management...[OK]
[ResourceManager]: Searching for strings.2da...[GemRB Override]
[Core]: Initializing string constants...[OK]
[ResourceManager]: Searching for randitem.2da...[GemRB Override]
[ResourceManager]: Searching for rndtres.2da...[chitin.key]
[Core]: Initializing random treasure...[OK]
[ResourceManager]: Searching for strmod.2da...[chitin.key]
[ResourceManager]: Searching for strmodex.2da...[chitin.key]
[ResourceManager]: Searching for intmod.2da...[chitin.key]
[ResourceManager]: Searching for hpconbon.2da...[chitin.key]
[ResourceManager]: Searching for lorebon.2da...[chitin.key]
[ResourceManager]: Searching for dexmod.2da...[chitin.key]
[ResourceManager]: Searching for chrmodst.2da...[chitin.key]
[Core]: Initializing ability tables...[OK]
[ResourceManager]: Searching for reputati.2da...[chitin.key]
[Core]: Reading reputation mod table...[OK]
[ResourceManager]: Searching for WMAPLAY.2da...[NOT FOUND]
[ResourceManager]: Searching for gametime.2da...[GemRB Override]
[Core]: Reading game time table...[OK]
[ResourceManager]: Searching for splspec.2da...[GemRB Override]
[ResourceManager]: Searching for wildmag.2da...[ERROR]
[Core]: Reading special spells table...[NOT FOUND]
[ResourceManager]: Searching for itemexcl.2da...[chitin.key]
[ResourceManager]: Searching for itemdial.2da...[ERROR]
[ResourceManager]: Searching for tooltip.2da...[chitin.key]
[Core]: Reading item tables...[OK]
[ResourceManager]: Searching for dmgtypes.2da...[shared GemRB Override]
[ResourceManager]: Searching for stats.ids...[shared GemRB Override]
[Core]: Reading damage type table...[OK]
[ResourceManager]: Searching for modal.2da...[shared GemRB Override]
[Core]: Reading modal states table...[OK]
[Core]: Reading game script tables...[ResourceManager]: Searching for happy.2da...[chitin.key]
[ResourceManager]: Searching for rmodrep.2da...[chitin.key]
[ResourceManager]: Searching for rmodchr.2da...[chitin.key]
[ResourceManager]: Searching for trigger.ids...[chitin.key]
[ResourceManager]: Searching for action.ids...[chitin.key]
[ResourceManager]: Searching for object.ids...[chitin.key]
[ResourceManager]: Searching for gemact.ids...[shared GemRB Override]
[ResourceManager]: Searching for script.2da...[GemRB Override]
[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: 75 killed
[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: 272 resetjoinrequests
[GameScript]: Couldn't assign function to action: 271 stopjoinrequests
[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
[ResourceManager]: Searching for instant.ids...[chitin.key]
[GameScript]:  instant action 1 (actionoverride(o:actor*,a:action*)) doesn't exist, ignoring
[OK]
[Core]: Core Initialization Complete!
[SDLVideo]: Creating display
[SDLVideo]: SDL_SetVideoMode...[OK]
[SDLVideo]: Checking for HardWare Acceleration...[OK]
[SDLVideo]: Creating Main Surface...[OK]
[SDLVideo]: Creating Back Buffer...[OK]
[SDLVideo]: Creating Extra Buffer...[OK]
[SDLVideo]: CreateDisplay...[OK]
[GUIScript]: Loading Script Start...
[ResourceManager]: Searching for classes.2da...[GemRB Override]
[ResourceManager]: Searching for kitlist.2da...[GemRB Override]
[ResourceManager]: Searching for clskills.2da...[GemRB Override]
[ResourceManager]: Searching for races.2da...[GemRB Override]
[ResourceManager]: Searching for xplevel.2da...[chitin.key]
[ResourceManager]: Searching for pdolls.2da...[GemRB Override]
[ResourceManager]: Searching for strmod.2da...[chitin.key]
[ResourceManager]: Searching for strmodex.2da...[chitin.key]
[OK]
[ResourceManager]: Searching for BISLOGO... BISLOGO.mve...[chitin.key]
SDLAudio allocating stream
SDLAudio releasing stream
[ResourceManager]: Searching for WOTC... WOTC.mve...[chitin.key]
SDLAudio allocating stream
SDLAudio releasing stream
[ResourceManager]: Searching for INTRO... Cannot find data/MVEfile1.bif... Resource unavailable.
Tried INTRO.mve INTRO.mve [ERROR]
[ResourceManager]: Searching for GUICONN.chu...[chitin.key]
[ResourceManager]: Searching for start... start.mos...[chitin.key]
[CHUImporter]: Cannot Load BackGround, skipping
[ResourceManager]: Searching for start.bam...[chitin.key]
[MUSImporter]: Loading /home/jury/ssd2/grywine/icewind/drive_c/Program Files/Black Isle Studios/Icewind Dale Serce Zimy/Music/Theme.mus...[FOUND]
[ResourceManager]: Searching for THEME/THEMEA... THEME/THEMEA.acm...[Music]
SDLAudio setting new music
Playing: THEME/THEMEA
[ResourceManager]: Searching for gam_09... gam_09.wav...[chitin.key]
[ResourceManager]: Searching for guigatyp... guigatyp.mos...[chitin.key]
[CHUImporter]: Cannot Load BackGround, skipping
[ResourceManager]: Searching for guiverb.bam...[chitin.key]
[ResourceManager]: Searching for gmpnlobb.bam...[chitin.key]
[ResourceManager]: Searching for storescr.bam...[chitin.key]
[ResourceManager]: Searching for gam_03... gam_03.wav...[chitin.key]
[ResourceManager]: Searching for gam_09... gam_09.wav...[chitin.key]
[ResourceManager]: Searching for gam_04... gam_04.wav...[chitin.key]
[ResourceManager]: Searching for gam_04... gam_04.wav...[chitin.key]
[ResourceManager]: Searching for months.2da...[chitin.key]
[ResourceManager]: Searching for icewind.gam...[chitin.key]
[ResourceManager]: Searching for worldmap.wmp...[chitin.key]
[ResourceManager]: Searching for expmap.wmp...[chitin.key]
[ResourceManager]: Searching for baldur.bcs...[GemRB Override]
[ResourceManager]: Searching for sprklclr.2da...[chitin.key]
[ResourceManager]: Searching for mastarea.2da...[chitin.key]
[ResourceManager]: Searching for restmov.2da...[ERROR]
[ResourceManager]: Searching for STARTARE.2da...[chitin.key]
[ResourceManager]: Searching for worldmap... worldmap.mos...[chitin.key]
[ResourceManager]: Searching for mapicons.bam...[chitin.key]
[ResourceManager]: Searching for expmap... expmap.mos...[chitin.key]
[ResourceManager]: Searching for emapicon.bam...[chitin.key]
[TLKImporter]: Not a valid TOT file.
[TlkImporter]: Cannot open tlk override!
[GUIScript]: Loading Script PartyFormation...[ResourceManager]: Searching for worldm25.wmp...[NOT FOUND]
[OK]
[ResourceManager]: Searching for GUISP.chu...[chitin.key]
[ResourceManager]: Searching for guicarbb... guicarbb.mos...[chitin.key]
[CHUImporter]: Cannot Load BackGround, skipping
[ResourceManager]: Searching for guirspor.bam...[chitin.key]
[ResourceManager]: Searching for guicarbb.bam...[chitin.key]
Naruszenie ochrony pamięci

 

My gemrb.cfg file:

 


GameType=how

GameName=IceWind Dale

Width=1280

Height=1024

Bpp=32

Fullscreen=0

TooltipDelay=500

AudioDriver = sdlaudio


GUIEnhancements = 1

GamePath=/home/jury/ssd2/grywine/icewind/drive_c/Program Files/Black Isle Studios/Icewind Dale Serce Zimy/
CD1=/home/jury/ssd2/grywine/icewind/drive_c/Program Files/Black Isle Studios/Icewind Dale Serce Zimy/Data/
CD2=/home/jury/ssd2/grywine/icewind/drive_c/Program Files/Black Isle Studios/Icewind Dale Serce Zimy/Cd2/Data/
CD3=/home/jury/ssd2/grywine/icewind/drive_c/Program Files/Black Isle Studios/Icewind Dale Serce Zimy/CD3/Data/
CD4=/home/jury/ssd2/grywine/bg2/drive_c/Program Files (x86)/BioWare/Baldur's Gate II/CD4/
CD5=/home/jury/ssd2/grywine/bg2/drive_c/Program Files (x86)/BioWare/Baldur's Gate II/CD5/Data/

CachePath=./Cache/

 

What am I missing?

 

Link to comment

Please don't do this to us  — that version is from 2011. Let's focus on making the latest work on your platform instead. Which is it, what compiler are you using, what are the errors and so on.

Link to comment
Quote

Let's focus on making the latest work on your platform instead. Which is it, what compiler are you using, what are the errors and so on.

Well, its a good option also :)

But that way, I want to first build and successfully run latest GemRB on my linux box. Will be back.

Link to comment

It WORKS!!! :D Well, I do not have sound and do not know yet why, but its just a matter of time I hope :)

Version 0.7.0 so far. No worry, I will be back with questions on the compilation error of  the latest versions, but now I just want to experiance some Baldurs Gate on my beloved platform :)

Thank you for this absolutely stunning project!

 

Link to comment

If you don't have sound, then you probably didn't build any of the two audio plugins. Probably didn't have the dependencies installed (openal or sdl_mixer).

Link to comment
Posted (edited)
On 4/12/2021 at 6:11 PM, lynx said:

Please don't do this to us  — that version is from 2011. Let's focus on making the latest work on your platform instead. Which is it, what compiler are you using, what are the errors and so on.

OK, after playing a little with version 0.7.0 I tried to build the latest version again. Its a platform based on MC68x or ColdFire CPUs. Compiler its a quite patched g++ 9.3.1

This platform does not have shared libraries, so I build gemrb statically. Standard library does not contain std::wstring, so in String.h I comment this line:

typedef std::wstring String;

and uncomment this one:

typedef std::basic_string<ieWord> String;

If I remember correctly, those are all "oddities". Now, when I compile the latest versions (or probably any above 0.7.0) first error encountered is:

.../DialogHandler.cpp:93:8: error: ambiguous overload for 'operator+=' (operand types are 'GemRB::String' {aka 'std::basic_string<short unsigned int>'} and 'const wchar_t [10]')
   93 |    msg += L"[/color]\n";

 

Edited by jury
Link to comment

Thanks! It passed.

Now it gives an error:

	.../RGBAColor.h:52:20: error: alignment of 'GemRB::ColorWhite' is greater than maximum object file alignment 2
   52 | static const Color ColorWhite = {0xff, 0xff, 0xff, 0xff};
	

Link to comment

No need to do it today, but let's get it to 100 % and then I'll need a diff to see what other changes you made. Then we can make it work out of the box.

Also, does this "platform based on MC68x or ColdFire CPUs" have a name?

Link to comment

 

On 5/18/2021 at 7:55 AM, lynx said:

Also, does this "platform based on MC68x or ColdFire CPUs" have a name?

The MC68x is Ataris last computer (Falcon 030) accelerated to the possible max (68060 CPU, faster RAM, better and faster graphics subsystem) and the ColdFire CPU one is FireBee which is a fan continuation of Atari line.

So far I have tested gemrb on the first one. I have wondered a little through first Icewind Dale and Baldurs Gate and it performs mostly OK.

And if it goes for FireBee, I have not tested it yet, but I'm pretty sure it will perform just fine. I have to try if thou.

 

On 5/18/2021 at 7:55 AM, lynx said:

 Then we can make it work out of the box.

Here is the first one. You could make module (I do not have access to sources now, so I write just from memory) PluginLoader excluded from builds which are statically linked. Above platform does not have dynamic libraries (well, it has, but its kinda weird and nobody uses it) or dynamic loading. So to compile PluginLoader.cpp I needed to comment out dlfcn.h (as there is none on the mentioned platform) and tweak some code which uses dlfcn.h functions to NULLs (or whatever as this module never executes when all is linked statically)

 

Link to comment

Nice , didn't think it would work on such slow hardware, since we still have things to optimize (eg. to lower memory consumption).

 

Most of PluginLoader is already skipped for static builds, but I see you're right, dlfcn.h is used unconditionally. We can check for it in the CMake step if needed and cleanly disable things for STATIC_BUILD. When you can, please get me the current diff.

Link to comment
On 5/20/2021 at 6:32 PM, lynx said:

When you can, please get me the current diff.

Sorry for late reply, but I have missed your post. I will try to get you the current diff today (85% chance) or tomorrow (99.999999999999% chance :) [I never say 100% :) ] )

Link to comment
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...