Post by MaVeRicK on Mar 13, 2019 10:39:35 GMT 10
I need help with hex editing because I'm an absolute noob at it.
I'm trying to do a simple line replace (nothing complex), the issue I'm facing is when the line I want to replace is shorter or longer than the one I want to replace it with. When I do this the game crashes during loading.
I understand there should be a hex that tells it how long the line is going to be. But I don't know how to find that number.
Example; I want to put this line:
{Spoiler}49 00 74 00 65 00 6D 00 00 00 01 01 00 00 80 BF 84 B5 11 C1 AF 7B B7 40 6A 44 15 41 00 00 00 00 00 00 00 00 38 CD A8 BE 00 00 00 00 D1 AF 71 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 0F 00 00 00 FF FF FF FF 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BF E4 F3 59 B0 AC B5 40 B7 B6 01 48 0E EC 85 5F 07 00 00 00 FF FF FF FF 01 00 00 01 70 00 00 00 00 00 00 00 00 00 80 3F 00 00 40 40 0A D7 23 3C 00 01 00 00 70 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00
In place of this:
{Spoiler}49 00 74 00 65 00 6D 00 00 00 01 01 00 00 80 BF 00 00 00 00 00 00 00 00 7C A4 11 C1 8A 92 B7 40 7D 2D 15 41 00 00 00 00 00 00 00 00 5B 39 C4 BE 00 00 00 00 F9 73 6C 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 1A 00 00 00 FF FF FF FF 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A1 8E 71 4E B3 5B 98 4E A6 F8 FD 01 2C 05 E5 07 00 00 00 FF FF FF FF 01 00 00 01 70 00 00 00 00 00 00 00 00 00 80 3F 00 00 40 40 0A D7 23 3C 00 01 00 00 70 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00