Exult in Dos
Posted: Mon May 18, 2009 9:48 am
Lazy Dos Port of Exult with OpenGL support
(Let me know if you need it without OpenGL)
I lazily modified Exult to work with HX DOS-Extender so that it can be run in DOS from a Win32 binary. You need to download both the HXRT and the HXGUI packages.
You need to copy msvcrt.dll (opengl32.dll and glu32.dll too if OpenGL support is built) from Windows (should be in windows/system32). They go in HX/bin.
You need to set the environmental variable ([drive and path are what you set it]just type it and press enter):
Go in the exult folder, type exult and press enter. It should run if the cfg is setup, the dlls are in the right place, and the environmental variable is set.
There is no audio because SDL_mixer.dll was being loaded as SDL_mixer.dll instead of SDL_MI~1.dll. (Someone please explain how to change the sdl_mixer.dll name in the SDL_mixer source or some code that could be used to have DPMILD32.EXE call the shortened name. There may be problems getting it to work even if this gets fixed.
HX DOS-Extender has a dummy OLE32.DLL by default so I commented out RevokeDragDrop, ReleaseStgMedium, and RegisterDragDrop which might be causing some of the mouse screwiness shown below.
I have only done a little testing with basic settings but my results with DOSBox and Dos are:
DOSBOX:
It is seems playable in DOSBox, no mouse in Exult or game menus, It works in game but with awkward mouse movement (2.4 GHz cpu not fast enough?), noticeable screen drawing (cpu again?), and Teleporting around caused crashes. Screen size was not what it should be.
Few errors messages from when it crashed:
WSOCK32: NO PACKET DRIVER FOUND
Error at WSAStartup()
Dos (tested 98SE in Dos mode):
No mouse movement at all (could still doubleclick if fullscreen and something was on the cursor, fullscreen=no had the mouse free and not locked into the program) which makes the game unplayable. Maybe your mouse driver will act nicer. It has some graphical errors and the wrong screen size. Other than that it seems to run fast and nicely.
It should also work in FreeDOS or DosEmu too. No attempt has been made to try and port Exult Studio (or tools).
(Let me know if you need it without OpenGL)
I lazily modified Exult to work with HX DOS-Extender so that it can be run in DOS from a Win32 binary. You need to download both the HXRT and the HXGUI packages.
You need to copy msvcrt.dll (opengl32.dll and glu32.dll too if OpenGL support is built) from Windows (should be in windows/system32). They go in HX/bin.
You need to set the environmental variable ([drive and path are what you set it]just type it and press enter):
Code: Select all
path=c:\HX\bin
There is no audio because SDL_mixer.dll was being loaded as SDL_mixer.dll instead of SDL_MI~1.dll. (Someone please explain how to change the sdl_mixer.dll name in the SDL_mixer source or some code that could be used to have DPMILD32.EXE call the shortened name. There may be problems getting it to work even if this gets fixed.
HX DOS-Extender has a dummy OLE32.DLL by default so I commented out RevokeDragDrop, ReleaseStgMedium, and RegisterDragDrop which might be causing some of the mouse screwiness shown below.
I have only done a little testing with basic settings but my results with DOSBox and Dos are:
DOSBOX:
It is seems playable in DOSBox, no mouse in Exult or game menus, It works in game but with awkward mouse movement (2.4 GHz cpu not fast enough?), noticeable screen drawing (cpu again?), and Teleporting around caused crashes. Screen size was not what it should be.
Few errors messages from when it crashed:
WSOCK32: NO PACKET DRIVER FOUND
Error at WSAStartup()
Dos (tested 98SE in Dos mode):
No mouse movement at all (could still doubleclick if fullscreen and something was on the cursor, fullscreen=no had the mouse free and not locked into the program) which makes the game unplayable. Maybe your mouse driver will act nicer. It has some graphical errors and the wrong screen size. Other than that it seems to run fast and nicely.
It should also work in FreeDOS or DosEmu too. No attempt has been made to try and port Exult Studio (or tools).