Go Back   FileForums > Game Backup > PC Games

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-01-2003, 04:17
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
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!
Reply With Quote
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 04:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com