|
|
|
#1
|
||||
|
||||
|
Re: Tyrian fix
I wonder why the original thread was closed as there was nothing obviously wrong with it!!! Anyway, for Papa Jim's request, here's how the fix was done...
It's not TYRIAN.EXE (the loader) that's buggy, it's FILE0001.EXE (the main program) and SETUP.EXE (obviously, the setup program). The trick is that both of these were created by Borland Pascal and they're protected mode executables, _that's_ why TPPATCH was unable to find the code fragment to patch. So, I made an "empty" program: --- uses CRT; begin end. --- with Turbo Pascal 7.0. It gave me the runtime error 200. I backed up the executable and then patched it with TPPATCH successfully. I compared the two executables (the buggy backup and the fixed one) and found a difference of 44 consecutive bytes. I loaded this part into Hacker's View and found what the actual patch is. I created two DOS shells. In one, I loaded the two game executables into Hacker's View, one by one. In the other, I opened the fixed test executable. Switching between the windows, I copied the changes, byte by byte. Then I grabbed aPATCH and made two patches that fix the runtime error problem. That's it! Joe
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|