Missing SDL - and thereafter, waah ... SOLVED

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
overtrix
Archmage
Posts: 412
Joined: Fri Jan 17, 2003 9:33 am
Location: Les Corbières sauvages

Missing SDL - and thereafter, waah ... SOLVED

#1 Post by overtrix »

Hi, fairly sure this is just me being thick, so best not pollute the bugs section.

Last week I had some first tussles with ToME 4 while at another place - oh this is new fun, thanks - lots of dead Noldor Archers are scattered around, north of Glasgow :)

Today I'm back home and fixed my monitor, looking forward to more dead archers south of Bremen.

Downloaded ToME 4 (11b) for Windows - unzipped it - clickety click ... "missing SDL.dll" ... fetched that and put it in the folder ... "missing SDL_image.dll" ... fetched that ...

Now it starts to launch, draws the window frame but then crashes - two new files in the directory are stderr with ...

Code: Select all

PANIC: unprotected error in call to Lua API (Unable to initialize: attempt to call a string value)
and stdout with ...

Code: Select all

WARNING: No bootstrap code found, defaulting to working directory for engine code!
Lua Error: error loading module 'jit.opt' from file '/jit/opt.lua':
	cannot open /jit/opt.lua: Result too large
	At [C]:-1 
	At [C]:-1 
	At [C]:-1 require
	At /loader/pre-init.lua:24

Does anyone know if this is an issue with Vista (hack, spit), and is there a way round it - or are my archers now safe ?

Cheers, Colin XX
Last edited by overtrix on Mon Oct 04, 2010 4:34 pm, edited 1 time in total.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Missing SDL - and thereafter, waah

#2 Post by darkgod »

What is in your t-engine folder ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Feanor.81
Wyrmic
Posts: 239
Joined: Mon Aug 23, 2010 12:52 pm
Location: Poggibonsi (Siena), Italy

Re: Missing SDL - and thereafter, waah

#3 Post by Feanor.81 »

It's odd they're missing in the first place, since they should come packed along with the zip. Can it be that you unzipped the archive in a system folder, like Program Files? If so, since UAC could cause trouble when the app tries to access the files, you can try launching t-engine.exe as Administrator, or checking the option "Run this program as Administrator" in the compatibility options (right click on the exe -> Properties -> Compatibility tab).

In any case, to prevent such issues (since ToME comes with no Windows-specific-MSI installer and thus doesn't setup properly as a Windows application [no blame meant here for DG :)]) I would always unzip the archive in a safe user location (desktop is just fine for example).
Don't fear the eyes of the Dark Lord / Morgoth I cry
All hope is gone, but I swear revenge / Hear my oath
I will take part in your damned fate

overtrix
Archmage
Posts: 412
Joined: Fri Jan 17, 2003 9:33 am
Location: Les Corbières sauvages

Re: Missing SDL - and thereafter, waah

#4 Post by overtrix »

In the folder t-engine4-windows-1.0.0beta11b ...

game (folder)
CONTRIBUTING
COPYING
CREDITS
jpeg.dll
libfreetype-6.dll
libogg-0.dll
libpng12-0.dll
libvorbis-0.dll
libvorbisfile-3.dll
SDL_mixer.dll
SDL_ttf.dll
smpeg.dll
t-engine
zlib1.dll

... found references to similar via google (regarding other games etc), with the normal dose of "please download our wonderful trojan" solutions - but went to the SDL site to grab the files I was told were missing, and put them in this folder.

Just now I started afresh, in case there'd been some glitch in the actual download - same contents. When unpacking, there's a warning of two duplicate files, but they're little stuff deep within the 'game' folder. The download's been unzipped within my Documents folder, presume that's neutral to the OS. Tried running the program as Administrator, no difference.

I searched for SDL.dll etc and it doesn't seem to be on my puter anywhere - though Windows is foreign territory to me. Half-hoped (selfish git :-)) to find the problem already posted here but since it's not, I've a suspicion it's just bizarreness at my end.

overtrix
Archmage
Posts: 412
Joined: Fri Jan 17, 2003 9:33 am
Location: Les Corbières sauvages

Re: Missing SDL - and thereafter, waah

#5 Post by overtrix »

Sorry, and thanks - SOLVED :oops:

I was unzipping with an ancient utility called 'unzip' which you'd expect to do the job ... now I just downloaded 7-Zip and there the files are - for some reason they were being skipped in the other extraction.

Blushhh ... now to go and kill some archers as penance :lol:

Post Reply