b0rsuk wrote:
But the old xfree86config is, and - as I said - I have no root access. End of story.
Nope
. If we can't change X, we can change DROD in stead! Well, kind of. I hacked together a preload-library for you that can override SDL and resize DROD into whatever resolution you want at runtime. It just does a very plain resize for speed reasons (it resizes the entire screen every frame in real time ..), so some of the text and secret walls won't be as easy to see, but it should allow you to run the game, at least. It does run pretty well even at my 500mhz antique, so I don't think you should have any speed issues.
Anyway, here's how to use it:
1. Download the attached library and put it wherever you installed DROD (top dir, not in Libs).
2. Edit the drod-jtrh launch script file. Add this line
right before the last line:
export LD_PRELOAD="$JTRH_HOME/sdlresize.so"
3. Save the changes, and launch DROD (using the script). Voila!
The library will resize into 800x600 by default. For other resolutions, you can set the SDLRESIZE variable to the resolution you want (SDLRESIZE=width,height). For example, SDLRESIZE=640,480 will resize to 640x480. Don't try to scale upwards, it will probably result in a segfault.
Have fun
Also: I was so busy being off topic in your thread that I forgot to congratulate you on your exam. Congratulations!
- Gerry
[Last edited by trick at 09-17-2005 01:22 PM]