exclusteve Posted September 26, 2009 Share Posted September 26, 2009 hi i have the mod which you can press f4 to save the game. now i saved the game while i was in a mission, then everytime i load my save game file it crashes. is there any way i can fix it? this is the second time this happened to me and im in the las venturas missions. i really want to finish san andreas. i have no backups or anything but i have 2 savegame files but its the same it crashes. thanks Link to comment Share on other sites More sharing options...
Girish Posted September 26, 2009 Share Posted September 26, 2009 Please note that the San Andreas forum does not deal with modding related issues. We have separate forums for modding. Moved to III Other. Link to comment Share on other sites More sharing options...
OrionSR Posted September 26, 2009 Share Posted September 26, 2009 (edited) Do you want to fix the save or the save anywhere mod? To fix the mod, add a check to make sure that $ONMISSION == 0 before saving. Or just don't use it when on a mission. To fix the save: Figure out which mission thread is running. When I tested this strategy I used the Japanese Save editor, but you can probably figure out the thread name from the scripts or other documentation. http://gtasamod.web.fc2.com/tool/sase/index.html Open the save with a hex editor. Search for the thread name. Use the thread structure documentation to identify the Wakeup Time for that thread and increase the value to something very large. Fix the checksum at the end of the save. http://www.gtamodding.com/index.php?title=...Block_1:_Script Create a CLEO script that will set $ONMISSION to 0 and end the thread. 0004: $ONMISSION = 0 0459: end_thread_named 'SCRASH3' // I tested this on 555 We Tip Changing the Wakeup Time allowed me to load the save. Setting $ONMISSION to 0 enabled the missions again. Ending the thread got rid of the thread that was stuck in memory and may eventually wake up. However, I still had a stray blip on the radar. To complete the repair it would be necessary to remove any pickups, blips, objects, or other stray settings created by the mission. Or, upload your save to GTASnP.com and I'll take a hack at it when I get the chance. It would help to know what happened in the mission just before you saved. And keep some backups of your saves; they don't take up much space. Edited September 26, 2009 by OrionSR Link to comment Share on other sites More sharing options...
exclusteve Posted September 26, 2009 Author Share Posted September 26, 2009 i want to fix the save game file. im on the mission Freefall for the triads in Las Venturas. while i was doing the mission, stealing the plane from the hangar, i saved the game at that point. then i died and failed the mission, so i tried to load it back and it crashed. surely the crash is from the save game file. ill do this thing u want me to do and thanks Link to comment Share on other sites More sharing options...
exclusteve Posted September 26, 2009 Author Share Posted September 26, 2009 so i tried fixing it but i barely understand how to do it. if you could give me like a step by step instructions that would be awesome so i can learn while fixing the save game file. i have the hex workshop hex editor but i dont know how to use it. i uploaded it to gtasnp.com and heres the url http://gtasnp.com/19758 thanks for your help Link to comment Share on other sites More sharing options...
coin-god Posted September 27, 2009 Share Posted September 27, 2009 You wont be able to start from the already started mission. You cant save while on missions, saves dont work that way. You have to save before or after doing the mission. Link to comment Share on other sites More sharing options...
OrionSR Posted September 27, 2009 Share Posted September 27, 2009 Well, I think I got this right, but keep in mind I've never tried to repair a glitch of this type so I'm not sure what should be tested. http://gtasnp.com/19759 When I loaded the save in the editor I noticed several threads running after the errant mission. I had to disable them too by fiddling with their wake up timer to prevent the game from crashing when loaded. I used the codes below to reset things and used the save anywhere script to save CJ in the same spot in the hangar. 0004: $ONMISSION = 0 0459: end_thread_named 'CASINO9'0459: end_thread_named 'A_CONT'0459: end_thread_named 'APGUARD'0459: end_thread_named 'APGATE'0459: end_thread_named 'APGATE' I checked the airport gates and they opened as expected, and the guard was in his usual spot. I think A_CONT has something to do with what the airport guard says, and that seems to be working as well. Link to comment Share on other sites More sharing options...
exclusteve Posted September 27, 2009 Author Share Posted September 27, 2009 wow thank you. i dont know how you did it but i know its professional stuff. thanks man youre the best. Link to comment Share on other sites More sharing options...
OrionSR Posted September 27, 2009 Share Posted September 27, 2009 My pleasure. Keep in mind that goin-god's comments are usually correct. Saving during a mission will corrupt your save and you won't be able to load it. You just happened to catch me on a good day when I was ready for an interesting challenge. BTW, I appreciate that you took a shot at fixing it yourself. 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