OrionSR Posted April 3, 2008 Share Posted April 3, 2008 (edited) The goal is to create custom PS2 saves by using my PS2 scripts on the PC engine so I can run modified code with custom IPL files. The PC save is then manually patched to be compatible with the defaults script of San Andreas on PS2. I've managed to overcome the technical challenges of patching a PC save for use on PS2, now I'm in the process of patching my PS2 scripts with the Chain Game modifications. The global variables used by the PS2 scripts are often different than on PC. This is occasionally confusing; here's my favorite code segment: $5176 = Object.Create(#A51_VENTCOVERB, 245.968, 1862.843, 19.49)0453: set_object $5176 XY_rotation 0.0 0.0 angle -140.998Object.RemoveFromMissionCleanupList($5176)014B: $OBJECT_M_A51_VENTCOVERB = init_parked_car_generator #SUPERGT color 31 0 1 alarm 0 door_lock 0 0 10000 at -2093.9 -83.7 33.9 angle 359.1014C: set_parked_car_generator $OBJECT_M_A51_VENTCOVERB cars_to_generate_to 0 I've finished my 1st round of edits, but before I bother to compile I want to run both scripts through a text file compare utility and double check each of the globals. I'm looking for a method to strip all custom variables from both scripts, but I don't want to compile and decompile and lose all of my comments (actually, I don't want to lose all of pdescobar's comments; I'm lost without them). Is there a method to convert commented scripts to use no custom variables and arrays, and if I modify my variables lists to be specific to PS2, convert to the appropriate custom variables? Edited April 4, 2008 by OrionSR 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