AjdarFan Posted June 5, 2014 Share Posted June 5, 2014 (edited) I am wondering that how I can edit save files (GTA3sf1/2/3/4/5/6/7/8/9.b) using a note pad or similar, cause I want edit garage properties MANUALLY (Especially in GTA 3/VC. Maybe SA). Edited June 5, 2014 by Rius Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/ Share on other sites More sharing options...
OrionSR Posted June 5, 2014 Share Posted June 5, 2014 (edited) Notepad and similar "text" editors won't do the trick; you need a hex editor. You might want to check out HxD, a free hex editor that I've been using for a while. HxD also has a checksum-32 tool that can be used to fix the checksum dword at the end of the file so the save isn't read as corrupt. Just zero out the last 4 bytes, run checksum-32 on the whole file, and encode the results backwards ( 0x12AB34CD is encoded as CD 34 AB 12). Links to VC and SA save file formats can be found at the link below. http://www.gtamodding.com/index.php?title=Category:Save_Formats BTW, if you are working with mobile version save files there are some rather significant differences in how the saves are written. I'm not sure of the technical reasons, but the mobile devices appear to write unicode "c0de" words (0xc0de, seen as DE C0 in a hex editor) before each write. Somehow you need to ignore or account for these changes. Depending on the structure you are editing, you may need to adjust the initial offsets, or offsets for all data within the structure. Edited June 5, 2014 by OrionSR Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/#findComment-1065531310 Share on other sites More sharing options...
AjdarFan Posted June 7, 2014 Author Share Posted June 7, 2014 Notepad and similar "text" editors won't do the trick; you need a hex editor. You might want to check out HxD, a free hex editor that I've been using for a while. HxD also has a checksum-32 tool that can be used to fix the checksum dword at the end of the file so the save isn't read as corrupt. Just zero out the last 4 bytes, run checksum-32 on the whole file, and encode the results backwards ( 0x12AB34CD is encoded as CD 34 AB 12). Links to VC and SA save file formats can be found at the link below. http://www.gtamodding.com/index.php?title=Category:Save_Formats BTW, if you are working with mobile version save files there are some rather significant differences in how the saves are written. I'm not sure of the technical reasons, but the mobile devices appear to write unicode "c0de" words (0xc0de, seen as DE C0 in a hex editor) before each write. Somehow you need to ignore or account for these changes. Depending on the structure you are editing, you may need to adjust the initial offsets, or offsets for all data within the structure. This link is corrupted, I cannot open it. I'm gonna download the HxD now. Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/#findComment-1065541118 Share on other sites More sharing options...
OrionSR Posted June 7, 2014 Share Posted June 7, 2014 The link is working correctly for me, but if you copy and paste it won't work right. Try the links from the code format below. http://www.gtamodding.com/index.php?title=Category:Save_Formatshttp://www.gtamodding.com/index.php?title=Saves_(GTA_SA)http://www.gtamodding.com/index.php?title=Saves_(GTA_VC) Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/#findComment-1065541152 Share on other sites More sharing options...
AjdarFan Posted June 7, 2014 Author Share Posted June 7, 2014 It still has random numbers and weird letters in it, like opened with a notepad. Only readable word is "DIABLO DESTRUCTION".I cannot notice any garage properties or related anything. I tried gta3sf*.b of GTA III and GTA VC. Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/#findComment-1065541175 Share on other sites More sharing options...
AjdarFan Posted June 7, 2014 Author Share Posted June 7, 2014 (edited) The link is working correctly for me, but if you copy and paste it won't work right. Try the links from the code format below. http://www.gtamodding.com/index.php?title=Category:Save_Formatshttp://www.gtamodding.com/index.php?title=Saves_(GTA_SA)http://www.gtamodding.com/index.php?title=Saves_(GTA_VC) It still has random numbers and weird letters in it, like opened with a notepad. Only readable word is "DIABLO DESTRUCTION".I cannot notice any garage properties or related anything. I tried gta3sf*.b of GTA III and GTA VC. Edited June 7, 2014 by Rius Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/#findComment-1065541240 Share on other sites More sharing options...
OrionSR Posted June 7, 2014 Share Posted June 7, 2014 Those aren't random numbers. Almost all of them contain critical information used to encode key points of memory for the save file. You will not be able to read normal words or even numbers the way you are used to with notepad, If you want to edit binary files manually, like you stated in the opening post, you will need to learn to understand and work with that mess. I don't have much experience with III or VC saves. I'm much more familiar with SA saves. Link to comment https://gtaforums.com/topic/713715-how-to-edit-save-files-using-note-pad-or-similar/#findComment-1065541837 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