Author Topic: broken DLL's  (Read 15338 times)

0 Members and 1 Guest are viewing this topic.

exodia91

  • Guest
broken DLL's
« on: May 08, 2010, 12:54:25 AM »
Ok, I've tried everything I can think of to get 1.30 or 1.29 to work, to no avail. Every time 1.30 crashes windows says its SDL.dll's fault, and every time 1.29 crashes it blames SDL_ttf.dll. Is there something windows vista 32-bit does that causes it to not run dlls correctly or something? Cause I'm stumped. I've tried reinstalling, restarting, updating, updating vista, defragmenting, virus and malware scans, registry repairs, everything.

Offline Mehzerz

  • Hero Member
  • *****
  • Posts: 564
  • Rockin' the after life after party
Re: broken DLL's
« Reply #1 on: May 08, 2010, 01:44:38 AM »
Try downloading an SDL.dll?
Replaced with a simpler download:
http://www.emulator-zone.com/doc.php/psp/pspe.html
« Last Edit: May 08, 2010, 02:10:09 AM by Mehzerz »
Starter girls image additions progress:
26 girls, 18 to go

Offline necno

  • Core Developer
  • ******
  • Posts: 385
Re: broken DLL's
« Reply #2 on: May 08, 2010, 01:58:36 AM »
Hmm well the error you posted elsewhere as I understand it means SDL was trying to load a file but didn't have the information it need. Either the filename or the read mode, I'd probably assume it is the filename. The part of the program that is throwing the error is definitely a part of the SDL code rather than the whoremaster code.


Its obvious to me that you have all the files and I've looked around for similar issues with other people but find nothing. My only guess is it is the vista permissions or something, I don't have a vista machine to test on here but I will get access to one this weekend and see if I can reproduce the error. Sorry I can't be of more help at the moment.
Click here to donate
After you do so please pm me the email address you used so I can add you to the donation forum.

Working on:
Whoremaster II (Official)
Birthright (Now a commercial rougelike)

Offline Mehzerz

  • Hero Member
  • *****
  • Posts: 564
  • Rockin' the after life after party
Re: broken DLL's
« Reply #3 on: May 09, 2010, 04:13:55 PM »
Here's another link about broken .dlls. This one suggests NOT downloading one. But going through various phases... one of which is reinstalling windows. Clearly the safer method I suppose. 


http://pcsupport.about.com/od/findbyerrormessage/a/sdl-dll-not-found-missing-error.htm
Starter girls image additions progress:
26 girls, 18 to go

exodia91

  • Guest
Re: broken DLL's
« Reply #4 on: May 09, 2010, 04:36:14 PM »
except its not that it can't find sdl.dll, its that whenever it gets to loading it in the whoremaster startup, it crashes. Also, 2 other people have the exact same problem with 1.29 as me, the SDL_tff.dll crash. I could believe one or two of us having corrupt dll's within the same time perioid, but three people with the exact same issue at the same time? Something else is going on here.
« Last Edit: May 09, 2010, 04:39:49 PM by exodia91 »

Offline delta224

  • Dev Team
  • *****
  • Posts: 577
Re: broken DLL's
« Reply #5 on: May 09, 2010, 05:26:21 PM »
I think it might be a missing font issue.

Offline tlib

  • Newbie
  • *
  • Posts: 6
Re: broken DLL's
« Reply #6 on: May 09, 2010, 05:56:18 PM »
Hi exodia91,

Have you tried copying the segoeui.ttf font (in main Whoremaster directory) into your windows fonts folder (usually c:/windows/fonts/ )

If its a permissions thing that my fix it.

Kind Regards,


Tlib

exodia91

  • Guest
Re: broken DLL's
« Reply #7 on: May 09, 2010, 06:20:32 PM »
I installed both fonts in the whoremaster folder into the fonts folder, it didn't change anything.

exodia91

  • Guest
Re: broken DLL's
« Reply #8 on: May 10, 2010, 02:17:07 AM »
bumping for new info

what does this from 1.29's gamelog.text

Initializing Graphics
SDL_RWFromFile(): No file or no mode specified

tell you? Cause this is the error I get from 1.29 and it might help me fix the similar one for 1.30

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: broken DLL's
« Reply #9 on: May 10, 2010, 06:54:24 AM »
That's basically a fairly generic error indicating SDL tried to open a file and failed.

Download this updated EXE for the r349 release:
http://www.mediafire.com/file/zeezkh5yncw/wm_debug.zip

It doesn't have any more chance of working for you than the original, but it should hopefully output a more useful message to gamelog.txt if it's in fact an image file it's having trouble with. Post that info back here if it does.

EDIT: actually, a bit more debug info added for font loading as well. Above link is updated.
« Last Edit: May 10, 2010, 07:10:43 AM by Dagoth »

Offline DocClox

  • Dev Team
  • *****
  • Posts: 1867
  • Messing Around With Python
Re: broken DLL's
« Reply #10 on: May 10, 2010, 07:38:06 AM »
I have a build environment that uses cygwin rather than VSWhatever to create win32 exe files. It might be worth uploading a version of WM built using that to see if it duplicates the problem. If nothing else, it'll give us another data point.

I'll give it another shot this evening.

exodia91

  • Guest
Re: broken DLL's
« Reply #11 on: May 10, 2010, 01:29:19 PM »
the entire new gamelog

Loading configration variables from '.\Resources\Data\config.xml'
calling init
Initializing Graphics


is exactly the same as the old one T_T

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: broken DLL's
« Reply #12 on: May 10, 2010, 02:55:40 PM »
the entire new gamelog

Loading configration variables from '.\Resources\Data\config.xml'
calling init
Initializing Graphics


is exactly the same as the old one T_T
Ah, I misunderstood you and thought the game log for 1.30 was the same as the one for 1.29 you posted above, with "SDL_RWFromFile(): No file or no mode specified".

That not being the case, and it never apparently getting that far... here's another EXE with more debug output in the stuff following the graphics initialization log note.
http://www.mediafire.com/file/ygzzetimzyj/wm_debug.zip

exodia91

  • Guest
Re: broken DLL's
« Reply #13 on: May 10, 2010, 04:09:16 PM »
full gamelog.txt

Loading configration variables from '.\Resources\Data\config.xml'
calling init
Initializing Graphics
Reading Screen Mode
Initializing SDL
Setting Window Icon
Determining Fullscreen or Windowed Mode
Setting Window Caption
Initializing TTF
Graphics Initialized
Background Image Set

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: broken DLL's
« Reply #14 on: May 10, 2010, 05:20:39 PM »
OK, that narrows it down to something in LoadInterface(). Hang on and I'll post another EXE to further narrow it down.

EDIT: OK, here:
http://www.mediafire.com/file/elr2zd2uyyz/wm_debug.zip
« Last Edit: May 10, 2010, 05:30:28 PM by Dagoth »