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

×
I created this EXPERIMENTAL file to try to fix the now famous Ending Crash Bug present in version 1.1 of the game. This file SHOULD NOT have any additional bugs like the one currently out there, but I can't make any guarantees. It needs to be tested.

Download link: https://www.mediafire.com/file/i7uf51xvao2yd5w/CODE.2/file

---

Note to programmers out there

Offset(h) HxD taken into consideration: 00059AD0-00059B80.

From what little I understand, the wrong "call" is present in this area of the file, specifically in the first part. That said, this fix was created by modifying the following hexadecimal string as follows:

Original:
E8 B9 A2 00 00 83 C4 08 6A 7A E8 93 8B 01 00 83 C4 04 85 C0 74 16 6A 00 6A 10 C7 05 7C 4B 01 00 47 00 00 00 E8 95 A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 48 00 00 00 E8 7F A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 49 00 00 00 E8 69 A2 00 00 83 C4 08 6A 00 6A 11 31 DB E8 5B A2 00 00 83 C4 08 31 D2 EB 29 69 C2 1C 04 00 00 0F B7 88 1C 5E 01 00 81 F9 00 40 00 00 7D 13 66 8B 80 1C 5E 01 00 30 E4 24 80 0F B7 C0 85 C0 75 0 1 43 42 83 FA 04 7C D2 85 DB 74 53 6A 00 A1 CC 4B 01 00 6A 12 C7 05 7C 4B 01

Modified:
E8 B9 A2 00 00 83 C4 08 6A 0A E8 03 A5 02 00 83 C4 04 85 C0 74 16 6A 00 6A 10 C7 05 7C 4B 01 00 47 00 00 00 E8 95 A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 48 00 00 00 E8 7F A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 49 00 00 00 E8 69 A2 00 00 83 C4 08 6A 00 6A 11 31 DB E8 5B A2 00 00 83 C4 08 31 D2 EB 29 69 C2 1C 04 00 00 0F B7 88 1C 5E 01 00 81 F9 00 40 00 00 7D 13 66 8B 80 1C 5E 01 00 30 E4 24 80 0F B7 C0 85 C0 75 0 1 43 42 83 FA 04 7C D2 85 DB 74 53 6A 00 A1 CC 4B 01 00 6A 12 C7 05 7C 4B 01

Unfortunately my knowledge of Disassembling is limited, so I can't say with certainty that I did things in the best way; If someone more experienced than me would like to check better, it would be appreciated.
Post edited January 28, 2024 by syndaya
avatar
syndaya: I created this EXPERIMENTAL file to try to fix the now famous Ending Crash Bug present in version 1.1 of the game. This file SHOULD NOT have any additional bugs like the one currently out there, but I can't make any guarantees. It needs to be tested.

Download link: https://www.mediafire.com/file/i7uf51xvao2yd5w/CODE.2/file

---

Note to programmers out there

Offset(h) HxD taken into consideration: 00059AD0-00059B80.

From what little I understand, the wrong "call" is present in this area of the file, specifically in the first part. That said, this fix was created by modifying the following hexadecimal string as follows:

Original:
E8 B9 A2 00 00 83 C4 08 6A 7A E8 93 8B 01 00 83 C4 04 85 C0 74 16 6A 00 6A 10 C7 05 7C 4B 01 00 47 00 00 00 E8 95 A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 48 00 00 00 E8 7F A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 49 00 00 00 E8 69 A2 00 00 83 C4 08 6A 00 6A 11 31 DB E8 5B A2 00 00 83 C4 08 31 D2 EB 29 69 C2 1C 04 00 00 0F B7 88 1C 5E 01 00 81 F9 00 40 00 00 7D 13 66 8B 80 1C 5E 01 00 30 E4 24 80 0F B7 C0 85 C0 75 0 1 43 42 83 FA 04 7C D2 85 DB 74 53 6A 00 A1 CC 4B 01 00 6A 12 C7 05 7C 4B 01

Modified:
E8 B9 A2 00 00 83 C4 08 6A 0A E8 03 A5 02 00 83 C4 04 85 C0 74 16 6A 00 6A 10 C7 05 7C 4B 01 00 47 00 00 00 E8 95 A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 48 00 00 00 E8 7F A2 00 00 83 C4 08 6A 00 6A 10 C7 05 7C 4B 01 00 49 00 00 00 E8 69 A2 00 00 83 C4 08 6A 00 6A 11 31 DB E8 5B A2 00 00 83 C4 08 31 D2 EB 29 69 C2 1C 04 00 00 0F B7 88 1C 5E 01 00 81 F9 00 40 00 00 7D 13 66 8B 80 1C 5E 01 00 30 E4 24 80 0F B7 C0 85 C0 75 0 1 43 42 83 FA 04 7C D2 85 DB 74 53 6A 00 A1 CC 4B 01 00 6A 12 C7 05 7C 4B 01

Unfortunately my knowledge of Disassembling is limited, so I can't say with certainty that I did things in the best way; If someone more experienced than me would like to check better, it would be appreciated.
I will test this out, NICE!


Which file are you editing?
Post edited February 20, 2024 by dalbozofgurth
CODE.2, as written in the download link. Just overwrite it in your local game folder.

Note: I'm sure that the final video works as it should but, having not replayed Stone Prophet in its entirety, I still have the doubt that this small change could overturn other things, as happened to the previous fix released by others some time ago (Temple of Set , for one).
Post edited February 24, 2024 by syndaya
avatar
syndaya: CODE.2, as written in the download link. Just overwrite it in your local game folder.

Note: I'm sure that the final video works as it should but, having not replayed Stone Prophet in its entirety, I still have the doubt that this small change could overturn other things, as happened to the previous fix released by others some time ago (Temple of Set , for one).
This just in general confirms to me the gog.com files are completely fubared. I think I should dig up my old CDs and play them. I'm so pissed I didn't before.

I'm also pissed that gog.com has the wrong aspect ratio set up as default.
Well, in this specific case GOG has nothing to do with it.

This bug was first introduced in Version 1.1 of the original game, and as a result, all releases updated to that Version had it (for example, the version contained in the 1996 D&D Masterpiece Collection had it; it's the version I have used for testing).

Version 1.0 of the game did not have this bug.
Post edited February 27, 2024 by syndaya
avatar
syndaya: Well, in this specific case GOG has nothing to do with it.

This bug was first introduced in Version 1.1 of the original game, and as a result, all releases updated to that Version had it (for example, the version contained in the 1996 D&D Masterpiece Collection had it; it's the version I have used for testing).

Version 1.0 of the game did not have this bug.
I swear I downloaded a non official patch or something shortly after 1.1 came out. There are a lot of issues with this game, such as doors that won't open because the buttons aren't activated.
avatar
syndaya: I created this EXPERIMENTAL file to try to fix the now famous Ending Crash Bug present in version 1.1 of the game. This file SHOULD NOT have any additional bugs like the one currently out there, but I can't make any guarantees. It needs to be tested...
Could you kindly confirm, you used the CODE.2 from the original CD [1.1] as the base for your patch, right?
I mean, you didn't get it from GOG's installation or ExoDos altered file, as those are beyond repair, I guess...
avatar
syndaya: ...1996 D&D Masterpiece Collection had it; it's the version I have used for testing...
Ok, this answers my question, I should have read the whole thread before ;p.
Post edited 4 days ago by Glaucos
To create the modified file I used the official 1.1 version of the game contained in the "Masterpiece Collection" and not the GOG.com version. However, any release of the game updated to version 1.1 has the same problem. The modified version of ExoDOS resolves the bug in the final movie but adds a much more serious one related to the Temple of Set, so I didn't take it into consideration.

As mentioned, this is a personal test starting from a "clean" base. If you encounter any problems introduced by my fix, please don't hesitate to report them to me. Any help is welcome.
Post edited 13 minutes ago by syndaya