june gloom on 24/6/2010 at 06:56
Okay so some random Youtube browsing led me to this:
(
http://triptico.com/software/splumber.html)
So I thought, "Wow, that's awesome!" I noticed there was a Windows version and so I decided to download it. I installed it, ran the thing...
... and it's a blurred, jumbled mess, like there's an issue with the resolution, or the refresh rate, or something. I fiddled around with different settings but never got anywhere.
Help.
[edit] Emairu!
Quote:
Hi! Yes, I know, the Windows version is now broken. It seems it's related
to some kind of incompatibility with recent versions of DirectX that I
hadn't time to take a look yet. It used to work, but not anymore.
I'm sorry, but I don't have a solution for it.
Well fuck.
Al_B on 26/6/2010 at 12:54
uThe problem seems to be that it's forcing a 640x480 resolution (essentially twice the resolution the game is using) in eight bit colour which is leading to some strange results.
I've had a quick hack at the source code and changed it to use a 1024x768 resolution with a dumb 2x upscale to put the game in the middle. I've compiled an executable and uploaded both it and the source file I changed (
http://www.mediafire.com/?jmzmhdxnzmt) into the zip file here.
There may be a deeper problem but it fixes the problem at my end. It would be better if it used a configuration file to allow resolution, fullscreen / windowed etc. to be specified - but I'll leave that to the developer...
june gloom on 26/6/2010 at 16:42
That fixes the problem quite handily. Thanks!
june gloom on 26/6/2010 at 20:39
Could you show me how you did that? I'd like to take a crack at fiddling with the resolution a bit myself but I don't know the first thing about compiling or anything.
Al_B on 27/6/2010 at 08:23
Sure, no problem. I'm going to assume a bare minimum of experience so sorry if you're already familiar with any of this.
You'll need to download a few things first:
* (
http://sourceforge.net/downloads/mingw/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/) MinGW - The compiler
* (
http://sourceforge.net/downloads/mingw/MSYS/BaseSystem/msys-1.0.11/MSYS-1.0.11.exe/) MSYS - Provides an environment for running the compiler
* (
http://triptico.com/download/splumber-1.1.0-rc2.tar.gz) Space plumber source code
* (
http://www.7-zip.org/) 7-Zip - You'll need it to extract the source code if you don't have another way to handle .tar.gz files
Installation should be straightforward. For MinGW just accept defaults although I'd recommend you tick "g++ compiler" when it asks you to choose which program components to install. Install MSYS after MinGW and when it runs the post install script tell it where you installed MinGW (c:/mingw by default).
Finally, save and extract the source code to somewhere convenient. For some reason Windows always tries to save a .tar.gz file as .tar.tar. 7-Zip won't mind, but if you're using another program then it may get confused. Extraction is two stage - once to remove the compression (.gz) and once to open the actual file archive (.tar) itself.
To compile, launch MSYS - if you've installed with the defaults it'll be under MinGW in your start menu. You'll need to change to the source code directory. This is done with with unix style paths so if you've installed to c:\games\splumber-1.1.0-rc2 then you'll need to use the command:
cd /c/games/splumber-1.1.0-rc2
Once this is done you can type "ls" which will give you a file listing to make sure you're in the right place.
As a one-off process you'll need to run the config script - just type "config.sh". Once this has completed you can build the source code with "make". If all is well then you'll end up with a splumber.exe file which has the graphics problem. Just type "splumber" to run it.
If you want to use the fix I included then copy the qdgdf_video_ddraw.c from my zip file over the top of the one in the qdgdf directory. To rebuild, use "make clean" followed by another "make". (Ideally, the makefile should recognise when a file has changed in the qdgdf sub-directory only requiring a single "make" - but it doesn't appear to).
The resolution it uses is defined by two constants FORCE_RESOLUTION_X and FORCE_RESOLUTION_Y at the top of the c file. Just open it in a text editor (I recommend (
http://notepad-plus-plus.org/) Notepad++) and change to suit.
Hope that's not too intimidating - post back if you run into any problems.