It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi everyone,

I can't seem to get the Ultima Hacks patch from
https://github.com/JohnGlassmyer/UltimaHacks]https://github.com/JohnGlassmyer/UltimaHacks]https://github.com/JohnGlassmyer/UltimaHacks]https://github.com/JohnGlassmyer/UltimaHacks]https://github.com/JohnGlassmyer/UltimaHacks to work with the GOG version of Ultima Underworld I.

I have patched the game using the online patcher provided at the link I shared above, then replaced the original executable with the patched one. Just as mentioned in the instructions on the site.

The site provides the following instructions for the GOG version of the game:

"Note that if you intend to patch a GOG.com installation of Ultima Underworld or Ultima Underworld II that uses an ISO CD image (game.gog), then the executable file you need to patch is contained within that CD image. In that case, you can either

extract the contents of the game.gog image to a directory using a program such as 7-Zip, and then edit DOSBox's configuration to have it mount that directory as the CD-ROM drive in place of the game.gog image, or

extract the contents of game.gog, patch the executable, and then build a new game.gog ISO with the patched executable included"

However I can't seem to recreate a game.gog image (tried with 7zip or an iso maker) that works with the GOG provided dosbox. Dosbox starts up but when I try to launch the game it just closes back down.

I also tried to get the GOG provided Dosbox to point at the folder in which I unpacked the original game.gog (this folder is where the patched executable is located) instead of it trying to look for a game.gog image, but while I got the game to load in the GOG provided Dosbox, there's no sound for some reason.

If anyone has any ideas, please help.

Thank you!

EDIT:

YES! Success, I got it to work by trying a new ISO making program: http://www.winiso.com/products/winiso-free.html
1) I used 7zip to extract the files from the original game.gog
2) I used the online hack patcher to patch uw.exe
3) I replaced the original uw.exe with the hacked one (I had to rename the hacked executable to uw.exe)
4) I built an iso in the program I linked to above. The iso was saved as game.iso but I renamed it to game.gog
5) I replaced the original game.gog with my version of game.gog that contains the hacked uw.exe

Game now works, mouselook works, sound also works.
Post edited January 09, 2021 by TheWeekendSlice
How did you build the iso? It asks for a cd-rom which I don't have, so I'm not sure what to do next.

Edit: Ok I used save current image file instead, then renamed the iso to gog which seemed to work, but I can't boot the patched game. It just closes after selecting 1 in dosbox.
Post edited May 04, 2021 by ResidentLeever
avatar
ResidentLeever: How did you build the iso? It asks for a cd-rom which I don't have, so I'm not sure what to do next.

Edit: Ok I used save current image file instead, then renamed the iso to gog which seemed to work, but I can't boot the patched game. It just closes after selecting 1 in dosbox.
there's an alternative, mentioned on the GitHub site, of leaving the contents of the image expanded in some folder on your hard drive and editing the dosbox config to mount that folder rather than the image file. that's what i do when i run the game.
avatar
ResidentLeever: How did you build the iso? It asks for a cd-rom which I don't have, so I'm not sure what to do next.

Edit: Ok I used save current image file instead, then renamed the iso to gog which seemed to work, but I can't boot the patched game. It just closes after selecting 1 in dosbox.
avatar
pocococo: there's an alternative, mentioned on the GitHub site, of leaving the contents of the image expanded in some folder on your hard drive and editing the dosbox config to mount that folder rather than the image file. that's what i do when i run the game.
Sorry to ask this on an old topic, but could you give me pointers on how you do that? Following the instructions on the Github page simply does not work for me.
avatar
Benderesco: Sorry to ask this on an old topic, but could you give me pointers on how you do that? Following the instructions on the Github page simply does not work for me.
i would need you to explicitly tell me what steps you took (eg what edits you made to your gog uw/uw2 DOSBox config file) and exactly what you mean by "does not work". several other people have gotten it to work and i don't know where things went wrong for you.

perhaps some day i'll put more detailed instructions up as a page in the wiki on GitHub.
avatar
Benderesco: Sorry to ask this on an old topic, but could you give me pointers on how you do that? Following the instructions on the Github page simply does not work for me.
avatar
pocococo: i would need you to explicitly tell me what steps you took (eg what edits you made to your gog uw/uw2 DOSBox config file) and exactly what you mean by "does not work". several other people have gotten it to work and i don't know where things went wrong for you.

perhaps some day i'll put more detailed instructions up as a page in the wiki on GitHub.
Thanks! I did not provide my detailed steps at first because I wasn't sure I was going to get a response, since I had replied to an old post. I actually managed to make it work in the meantime!

I originally tried both approaches on the github:

1 - I unpacked the game.gog file, patched UW.exe using the website, repackaged the whole thing into an ISO using WinISO and renamed it to "game.gog", replacing the old file with this new one. This results in the game asking me to choose a drive to create a save file, but then shows me an error screen regardless of what I pick.

2 - I tried editing DOSBox's configuration to have it mount the directory with the uncompressed image as the CD-ROM drive in place of the game.gog image, but that also gave me an error. I tried using instructions you posted in another thread, but those simply caused DOSBox to open, without ever running the game. This was probably due to my inexperience with the program.

In the end, what worked was using the instructions here: [url=https://www.pcgamingwiki.com/wiki/Ultima_Underworld:_The_Stygian_Abyss]https://www.pcgamingwiki.com/wiki/Ultima_Underworld:_The_Stygian_Abyss[/url]

" Extract the contents of <path-to-game>\game.gog to a new directory, located at <path-to-game>\game\.
Upload <path-to-game>\game\UW\UW.EXE to the online patching tool.
Save the patched file over the original.
Locate <path-to-game>\dosboxULTIMA1_single.conf and replace its contents with the following (back up the old conf file first) to make DOSbox run from the unpacked iso that you patched. Simply revert the config file to make it run from the unpatched exe".

[autoexec]
# Lines in this section will be run at startup.
cls
mount C ".."
mount d "..\game" -t cdrom
d:
cls
uw.bat
exit

In any case, thanks a lot for offering to help me! I love your mod, now that I've gotten it to work.
Post edited July 09, 2021 by Benderesco
I'm glad you got it to work!

I had no idea my work was being featured on a community wiki.

Please don't hesitate to report any bugs or suggest any improvements on the GitHub site.
Hi! Thanks for sharing!