Sylvan_Wizard wrote:In cedega it doesn't display properly and you can't make anything out. It also locked up X when I tried to exit.
Give this a try:
cedega -use-pthreads no zelda-w.exe -- zelda-w.exe -windowed -res 640 480 big
That works for me, and the game runs pretty well, considering. Using -fullscreen will give you a corrupted display, but if you hide the window decorations on the 640x480 window and lower the resolution of your X-server, you should do fine. I've found the game needs to be started in a resolution higher than what you pass to the game with -res, or else it will spit out "Resolution not supported."
The best way I've found to deal with this is to start the game in a second X-server (with a windowmanager also running), and then use the windomanager to hide the window decorations. Then switch down to 640x480 and maximize the window, and you'll get your "fullscreen."
I wrote a little script so I might as well post it:
#!/bin/bashZC="cedega -use-pthreads no -use-dos-cwd \
$HOME/.transgaming/c_drive/zeldaclassic-1.92-b183/ \
$HOME/.transgaming/c_drive/zeldaclassic-1.92-b183/zelda-w.exe -- \
zelda-w.exe -windowed -res 640 480 big"
X_DISPLAY=":2"
XORG_CONFIG="xorg.conf.800x600_640x480"
X="/usr/X11R6/bin/X -nolisten tcp"
YOUR_FAVORITE_WM="/usr/X11R6/bin/startfluxbox"
$X $X_DISPLAY -xf86config $XORG_CONFIG &
export DISPLAY=$X_DISPLAY
$YOUR_FAVORITE_WM &
$ZC
# There has got to be a better way to do this:
for pid in `ps aux | grep ${XORG_CONFIG} | awk '{print $2}'`; do
kill $pid
done
exit
It's extremely ugly and written in a hurry by a linux n00b (me), so Your Mileage May Vary. Use at your own risk, I'm not responsible if your computer explodes, etc, etc...
If the game runs insanely fast (you get ridiculously high framerates), try turning Vsync on and then back off again. I don't know why this works at all. If you turn Vsync back on, you'll be back to 400+ FPS. 😊
I just got ZC 1.92 beta 183 working using the above method. (I had been trying for quite some time 😉). ZC 2.10 also starts and runs, but I get no sound. In allegro.log I've got:
Initializing sound driver... Sound driver not available. Sound disabled.
No idea why. 😞
At least something works.
It's not perfect and a bit of a pain, but at least it will give us something to play with until the linux build gets released. I first downloaded ZC back in the 1.84 days, and was therefore understandably quite pleased to finally get it running on my linux box. 😊
teirh