BladeFireLight Posted September 13, 2003 Share Posted September 13, 2003 As this is verry tecnical I decited to post the input in the Moding forumThis is in reguards to This Thread about a patched version As posting full EXE's are not exacitly leagle I have taken it apon my self to make a patch and am discussing how in this post. What is being changed... the HEX offsets are as follows. UFO:0x00040D81 change to 0x010x00040D85 change to 0x63 TFTD:0x00044B47 change to 0x010x00044B4C change to 0x63 As to how to make a patch file... First you need a copy of sdump 3.0you can get that here you will need to rename it so that it does not overwrite the copy and user may have that may be newer. for this I will rename it to patchr.exe Then create the folowing files: time.pat:ufo_slow 80 00040D81 01 01 83 01 63 :ufo_fast 08 00040D81 01 05 83 01 3C :tftd_slow 80 00044B47 01 01 83 01 63 :tftd_fast 08 00044B47 01 05 83 01 3C Then we need a batch file to do the work. tpatch.bat@echo off cls echo. echo Searching. if exist "UFO Defense.exe" echo UFO Defense for windows found. if exist "UFO Defense.exe" goto ufo1 if exist "Terror From the Deep.exe" echo TFTD for windows found. if exist "Terror From the Deep.exe" goto tftd :ufo1 echo checking for xcomutil if exist xcomutil.exe if exist geoscape.exe goto xuok1 copy "UFO Defense.exe" geoscape.exe >nul :xcok1 echo Checking patch status. patchr QuietMode geoscape.exe VERIFY:ufo_slow time.pat if ERRORLEVEL 2 echo Error: Patch aborted if ERRORLEVEL 2 goto end if ERRORLEVEL 1 goto slow1 if ERRORLEVEL 0 goto fast1 goto end :slow1 echo Patch not set. echo do you want to slow down geoscape? patchr * getresp yYnN if errorlevel 3 echo Patch Aborted if errorlevel 3 goto end echo Applying Patch to UFO patchr QuietMode geoscape.exe PATCH:ufo_slow time.pat if errorlevel 1 echo Error applying patch if errorlevel 1 goto end if NOT exist xcomutil.exe copy geoscape.exe "UFO Defense.exe" >nul echo Patch applied. goto end :fast1 echo Patch already applied. echo do you want to remove the slow down patch? patchr * getresp yYnN if errorlevel 3 echo Speed not changed. if errorlevel 3 goto end echo Removing Patch from ufo patchr QuietMode geoscape.exe PATCH:ufo_fast time.pat if errorlevel 1 echo Error removing patch if errorlevel 1 goto end if NOT exist xcomutil.exe copy geoscape.exe "UFO Defense.exe" >nul echo Speed Restored. goto end :tftd echo checking for xcomutil if exist xcomutil.exe if exist geoscape.exe goto xuok2 copy "Terror From the Deep.exe" geoscape.exe >nul :xcok2 echo Checking patch status. patchr QuietMode geoscape.exe VERIFY:tftd_slow time.pat if ERRORLEVEL 2 echo Error: Patch aborted if ERRORLEVEL 2 goto end if ERRORLEVEL 1 goto slow2 if ERRORLEVEL 0 goto fast2 goto end :slow2 echo Patch not set. echo do you want to slow down geoscape? patchr * getresp yYnN if errorlevel 3 echo Patch Aborted if errorlevel 3 goto end echo Applying Patch to UFO patchr QuietMode geoscape.exe PATCH:tftd_slow time.pat if errorlevel 1 echo Error applying patch if errorlevel 1 goto end if NOT exist xcomutil.exe copy geoscape.exe "Terror From the Deep.exe" >nul echo Patch applied. goto end :fast2 echo Patch already applied. echo do you want to remove the slow down patch? patchr * getresp yYnN if errorlevel 3 echo Speed not changed. if errorlevel 3 goto end echo Removing Patch from ufo patchr QuietMode geoscape.exe PATCH:tftd_fast time.pat if errorlevel 1 echo Error removing patch if errorlevel 1 goto end if NOT exist xcomutil.exe copy geoscape.exe "Terror From the Deep.exe" >nul echo Speed Restored. goto end :end This patch works with both UFO and TFTD (windows) and can remove the modifictionas if you dont like the effect. I file checks for the existance to xcomutil to make sure that it will be compatible and not corupt the original "unsplit" EXE file I have only tested this patch on win 98 so if there are problems please let me know. The full patch is avalible hereUn zip the files to your UFO or TFTD directory and run tpatch.bat the zip contains the folowing files time.pat (the patern file)patchr.exe (a renamed version of sdump 3.00)tpatch.bat (run this to apply or remove the patch) -Blade FireLight Link to comment Share on other sites More sharing options...
Ion Mage Posted September 13, 2003 Share Posted September 13, 2003 can you please explain what this is supposed to do exactly? Im not understanding completely... Link to comment Share on other sites More sharing options...
daishiva Posted September 13, 2003 Share Posted September 13, 2003 In the original game, the 'slow' time is 5 seconds per 60, the patch changes it so its 1 second per 99 ie: minutes are now 99 seconds long, and the minutes take 'longer' to fill up. if the original time span was 12 ticks per minute, the patched time span is 99 ticks per minute - 8x longer, which will help on faster computers Link to comment Share on other sites More sharing options...
BladeFireLight Posted September 13, 2003 Author Share Posted September 13, 2003 This down the speed of ships traveling in geosapce when the time is set to 5sec. it makes it easyer to catch UFO's with out the 'arcade' reaction time. -Blade FireLight Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now