Log in

View Full Version : [Help] What type of checksum is this



Vincent Valentine
03-04-2012, 09:50 PM
Alright well i am trying to finish up my Resident Evil 5 v2.0 and i know here the checksum is, CON File Checksum = &HD008 or 0xD008. Directory File (extracted file out of the CON file) Checksum = &H08 or 0x08. It is 8bytes so its a int32 but i dont know what type. (iv tried CRC32 but i don't know if i coded the fix checksum correctly)

NOTE: when i code the checksum offset do i put &H08 if its reading the CON File or do i put &HD008

Jappi88
03-04-2012, 10:02 PM
post your save

Vincent Valentine
03-04-2012, 10:07 PM
post your save
Updated OP with the save. Thanks Jappi

feudalnate
03-05-2012, 01:01 AM
Your post says RE2 but your save says RE5 and if so have I not already answered this question (http://www.360haven.com/forums/showthread.php?10303-Resident-Evil-5-Checksum-Calculation-help&p=68577&viewfull=1#post68577)?

Vincent Valentine
03-05-2012, 01:08 AM
Your post says RE2 but your save says RE5 and if so have I not already answered this question (http://www.360haven.com/forums/showthread.php?10303-Resident-Evil-5-Checksum-Calculation-help&p=68577&viewfull=1#post68577)?
Oh i forgot about that haha sorry :P but where do i put that code under? do i put it under Private Sub WriteFile()?

kill_seth
03-05-2012, 01:19 AM
I think you should try studying VB/C# some more. Seems to me like you don't understand what a Function is or how to use it. The coding he posted has 3 unique functions, which are used to calculate the checksum. The main function you would call when wanted to fix the checksum would be "WriteHash(FilePath)." FilePath would be the location of the file your trying to mod. For example you would do:

Dim OFD as new OpenFileDialog()
If OFD.ShowDialog = OK then
''Edit the File

''Fix the checksum
WriteHash(OFD.FileName)
End If

Keep in mind that you won't be able to copy and paste what I just wrote.