schellingb / RDBEd

DAT & RDB Editor for RetroArch/Libretro
GNU General Public License v3.0
32 stars 3 forks source link

CRC32 problems #2

Open 1985a opened 3 years ago

1985a commented 3 years ago

Hello, I'm using this app for the last year to edit my database of .rdb file.

The game I was trying to add is sfa2-msu-1 The program has been updated to the latest version at this moment 1.2

I don't know why this happens sometimes, I'm trying to put a crc32 sum, but the program adds 0 at the end. I did check with this tool in Linux "cksfv -c file"

Here are some pictures and the program itself. images

Thank you.

schellingb commented 3 years ago

CRC32 needs to be 8 characters long (in hexadecimal format, meaning 0-9/A-F).

I now changed the behavior for version 1.3 to pad a value that was entered with less than the expected number of characters with zeroes on the left side instead of the right side. That should help to avoid unexpected wrong values.