Resident Evil Revelations 1 & 2 Research

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by rdavis0688, Jul 11, 2018.

  1. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    BOLDED REMINDER IN ALL CAPS TO NOT GO ONLINE WITH THESE GUNS. EVEN PLAYING WITH FRIENDS, THOUGH THAT'S LESS OF A RISK. OR MAKE THE GUNS SEEM LESS POWERFUL I DON'T KNOW WHAT PARAMETERS ARE FOR BEING BANNED.

    Hello folks,

    Seeing as I don't see anything about editing saves for Revelations 1/2, I'm going to do some looking into it. Expect small bursts of activity, and you'll be able to use Checkpoint + HxD to do your editing, or will have to as @Aroc to make a more fancy editor if he so pleases. We've found enough about Hyrule Warriors that other people can pick up that torch and I want to mess around with raid mode after I got my orange name (see below) and the weapons I wanted from Ghost Ship Chaos. For now I'm likely to be looking at giving myself more of the GSC rewards because they're so boring to get, and when I find the offsets I'll put them here. If I can figure out weapon IDs and power and all that stuff, I'll paste it here as well. Or I'll make a pastebin that has all the offsets. I don't really want to grind til I'm dead in Revelations 2, so I'll probably start with seeing if I can modify weapons, character exp, skill points, etc.
    Orange Names. Thunder Raptor. High Roller 2.

    Game is Little Endian

    Hex Block for BP:
    0001 415A - 415C

    -- Lana
     
    Last edited by rdavis0688, Jul 13, 2018
  2. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    File Comparison.

    Red is different, green is matching, blue is new. I originally thought that the game was sorting the file differently every save, but that wasn't the case, leaving this here for posterity.
     
    Last edited by rdavis0688, Jul 13, 2018
  3. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    The sets are always lead up to with 80 00 00 00 80 01 00 00 00 and afterwards. So the full code for Damage 1 would be: 80 00 00 00 80 01 00 00 00 63 00 01 00 07 80 00 00 00 80 01 00 00 00

    The way parts are laid out are as follows:


    01 02 03 04 05
    | | | | |
    | | | | - Mandatory Space, used in weapon building (see below)
    | | | ----- ID
    | | ---------- ID
    | --------------- Blank
    -------------------- Count


    Range for adding Parts: Seems to be 0000EC1D-0000F8D8ish. Plenty of room to add what
    you're missing.

    Parts:
    Damage 1 - 63 00 01 00 07
    Damage 2 - 63 00 02 00 07
    Damage 3 - 63 00 03 00 07
    Damage 4 - 63 00 04 00 07
    Damage 5 - 63 00 05 00 07
    Damage 6 - 63 00 00 01 07
    Fire Rate 1 - 63 00 01 01 07
    Fire Rate 2 - 63 00 02 01 07
    Fire Rate 3 - 63 00 03 01 07
    Fire Rate 4 - 63 00 00 02 07
    Long Magazine 1 - 63 00 01 02 07
    Long Magazine 2 - 63 00 02 02 07
    Long Magazine 3 - 63 00 03 02 07
    Long Magazine 4 - 63 00 04 02 07
    Long Magazine 5 - 63 00 05 02 07
    Long Magazine 6 - 63 00 06 02 07
    Long Magazine 7 - 63 00 07 02 07
    Long Magazine 8 - 63 00 08 02 07
    Long Magazine 9 - 63 00 09 02 07
    Long Magazine 10 - 63 00 00 04 07
    Bind 1 - 63 00 01 04 07
    Bind 2 - 63 00 02 04 07
    Bind 3 - 63 00 03 04 07
    Bind 4 - 63 00 04 04 07
    Bind 5 - 63 00 00 05 07
    Daze 1 - 63 00 01 05 07
    Daze 2 - 63 00 02 05 07
    Daze 3 - 63 00 03 05 07
    Daze 4 - 63 00 04 05 07
    Daze 5 - 63 00 01 06 07
    Missing Enrage 1
    Enrage 2 - 63 00 00 07 07
    Cloak 1 - 63 00 01 07 07
    Cloak 2 - 63 00 00 08 07
    Piercing 1 - 63 00 01 08 07
    Piercing 2 - 63 00 00 09 07
    Critical 1 - 63 00 01 09 07
    Critical 2 - 63 00 02 09 07
    Critical 3 - 63 00 03 09 07
    Critical 4 - 63 00 04 09 07
    Critical 5 - 63 00 01 0A 07
    Burst 2 - 63 00 02 0A 07
    Burst 3 - 63 00 09 0A 07
    Full Burst - 63 00 00 0B 07
    Easy Hit 1 - 63 00 01 0B 07
    Easy Hit 2 - 63 00 02 0B 07
    Easy Hit 3 - 63 00 00 0E 07
    Grenade Launcher - 63 00 00 0F 07
    Cornucopia 1 - 63 00 01 0F 07
    Cornucopia 2 - 63 00 02 0F 07
    Cornucopia 3 - 63 00 03 0F 07
    Cornucopia 4 - 63 00 04 0F 07
    Cornucopia 5 - 63 00 00 10 07
    Auto Loader 1 - 63 00 01 10 07
    Auto Loader 2 - 63 00 02 10 07
    Auto Loader 3 - 63 00 03 10 07
    Auto Loader 4 - 63 00 04 10 07
    Auto Loader 5 - 63 00 00 11 07
    Edge Runner 1 - 63 00 01 11 07
    Edge Runner 2 - 63 00 02 11 07
    Edge Runner 3 - 63 00 00 12 07
    Infighter 1 - 63 00 01 12 07
    Infighter 2 - 63 00 02 12 07
    Infighter 3 - 63 00 00 13 07
    Outrange 1 - 63 00 01 13 07
    Outrange 2 - 63 00 02 13 07
    Outrange 3 - 63 00 01 14 07
    Missing Gluttony 1
    Gluttony 2 - 63 00 04 14 07
    Misssing Gluttony 3
    Missing Gluttony 4
    Gluttony 5 - 63 00 00 17 07
    Narrow 1 - 63 00 01 17 07
    Narrow 2 - 63 00 00 18 07
    Wide 1 - 63 00 01 18 07
    Wide 2 - 63 00 00 19 07
    Charge Shot 1 - 63 00 02 19 07
    Missing Charge Shot 2
    Charge Shot 3 - 63 00 03 19 07
    Charge Shot 4 - 63 00 00 20 07
    Reloader 1 - 63 00 01 20 07
    Reloader 2 - 63 00 02 20 07
    Reloader 3 - 63 00 03 20 07
    Reloader 4 - 63 00 04 20 07
    Reloader 5 - 63 00 05 20 07
    Reloader 6 - 63 00 06 20 07
    Reloader 7 - 63 00 07 20 07
    Reloader 8 - 63 00 08 20 07
    Reloader 9 - 63 00 09 20 07
    Reloader 10 - 63 00 00 21 07
    Brass Knuckles 1 - 63 00 01 21 07
    Brass Knucles 2 - 63 00 00 22 07
    Bottomless Pouch 1 - 63 00 01 22 07
    Bottomless Pouch 2 - 63 00 02 22 07
    Bottomless Pouch 3 - 63 00 03 22 07
    Bottomless Pouch 4 - 63 00 04 22 07
    Bottomless Pouch 5 - 63 00 05 22 07
    Bottomless Pouch 6 - 63 00 06 22 07
    Bottomless Pouch 7 - 63 00 07 22 07
    Bottomless Pouch 8 - 63 00 00 23 07
    Aura of Strength 1 - 63 00 01 23 07
    Aura of Strength 2 - 63 00 02 23 07
    Aura of Strength 3 - 63 00 00 24 07
    Medical Kit 1 - 63 00 01 24 07
    Medical Kit 2 - 63 00 02 24 07
    Medical Kit 3 - 63 00 00 25 07
    Fertilizer 1 - 63 00 01 25 07
    Fertilizer 2 - 63 00 02 25 07
    Fertilizer 3 - 63 00 00 26 07
    Ammo Magnet 1 - 63 00 01 26 07
    Ammo Magnet 2 - 63 00 02 26 07
    Ammo Magnet 3 - 63 00 03 26 07
    Ammo Magnet 4 - 63 00 04 26 07
    Ammo Magnet 5 - 63 00 05 26 07
    Ammo Magnet 6 - 63 00 06 26 07
    Ammo Magnet 7 - 63 00 07 26 07
    Ammo Magnet 8 - 63 00 08 26 07
    Ammo Magnet 9 - 63 00 00 27 07
    Metal Detector 1 - 63 00 01 27 07
    Metal Detector 2 - 63 00 02 27 07
    Metal Detector 3 - 63 00 00 28 07
    Medal of Courage - 63 00 00 29 07
    Fangs 1 - 63 00 01 29 07
    Fangs 2 - 63 00 02 29 07
    Fangs 3 - 63 00 00 2A 07
    Dehumanizer 1 - 63 00 01 2A 07
    Dehumanizer 2 - 63 00 02 2A 07
    Dehumanizer 3 - 63 00 00 2B 07
    Poisonous Lure 1 - 63 00 01 2B 07
    Poisonous Lure 2 - 63 00 02 2B 07
    Poisonous Lure 3 - 63 00 00 2C 07
    Hunting Gear 1 - 63 00 01 2C 07
    Hunting Gear 2 - 63 00 02 2C 07
    Hunting Gear 3 - 63 00 00 2D 07
    Giant Rabbit's Foot 1 - 63 00 01 2D 07
    Giant Rabbit's Foot 2 - 63 00 02 2D 07
    Giant Rabbit's Foot 3 - 63 00 00 2E 07
    Green Belt 1 - 63 00 01 2E 07
    Green Belt 2 - 63 00 02 2E 07
    Green Belt 3 - 63 00 00 2F 07
    Auto-shot - 63 00 00 30 07
    STARS - 63 00 01 30 07
    STARS2 - 63 00 10 30 07
    FBC - 63 00 11 30 07
    FBC2 - 63 00 20 30 07
    BSAA - 63 00 21 30 07
    BSAA2 - 63 00 00 31 07
    Rare Finder 1 - 63 00 01 31 07
    Rare Finder 2 - 63 00 02 31 07
    Rare Finder 3 - 63 00 00 32 07
    EXP Boost - 63 00 00 33 07
    BP Boost - 63 00 00 34 07
    Enemy Radar - 63 00 00 35 07
    Level Adjuster - 63 00 00 00 00

    That's it for Parts for me for now. I'll fill in some others as I find them (gluttonies just dancing through GSC/GS. Heh. )
     
    Last edited by rdavis0688, Jul 13, 2018
  4. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Range: 0000BEE0-


    Prefix to "starting" the weapon.
    | Weapon ID (Within Class)
    | | Weapon Class
    | | |
    | | |
    | | |
    [80 90] [00] [10] 05 80 00 00 00 80 01 00 00 00 00 00
    [00] [07] 00 [00 00 00] [00] 00 [00] 80 [00 00 00] 80 00 00
    | | | | | First Slot Value (based on part values above.)
    | | | | Seems to be the GSC toggle. 00 for off, 09 for on.
    | | | Weapon Tag
    | | From left to right, upgrades: Firing Speed, Capacity, Firepower (Max 255 (FF) Ea.)
    | Weapon Slot Count.
    What appears to be weapon damage. 3D is what GSC 50s have, so just use that. If you need a lower level weapon it goes from 01 to 3D. Have fun.

    So with the explanation of the first two rows out of the way, I'll give the full template for a weapon:
    00 80 11 11 05 80 00 00 00 80 01 00 00 00 00 00
    00 06 00 0A 0A 0A 0B 00 00 80 00 00 00 80 00 00
    00 80 00 00 00 80 00 00 00 80 00 00 00 80 00 00
    00 80 00 00 00 80 00 00 00 80 00 00 00 80 00 00
    00 80 00 00 00 80 00 00 00 80 [01 00 00] 80 00 00
    Blocked Slot

    The above is a random legendary gun with 6 slots, 10 points in fp, cap, and fs. I used 06 for slots so I can show how to block off a slot should you so choose.

    Empty Template
    00 80 00 00 05 80 00 00 00 80 01 00 00 00 00 00
    00 07 00 00 00 00 00 00 00 08 00 00 00 80 00 00
    00 80 00 00 00 80 00 00 00 80 00 00 00 80 00 00
    00 80 00 00 00 80 00 00 00 80 00 00 00 80 00 00
    00 80 00 00 00 80 00 00 00 80 00 00 00 80 00 00

    Example of a Grim Reaper +765 (Legendary Pale Rider) with 7 slots, and those slots being filled for @Aroc ,
    You use the last three hex values of the weapon part above to attach it to a weapon.
    This gun will have Damage 6 (00 01 07), Rare Finder 1/2/3, BSAA 2, FBC 2, and STARS 2.
    08 80 20 11 05 80 00 00 00 80 01 00 00 00 00 00
    00 07 00 FF FF FF 0B 00 00 80 00 01 07 80 00 00
    00 80 01 31 07 80 00 00 00 80 02 31 07 80 00 00
    08 80 00 32 07 80 00 00 00 80 00 31 07 80 00 00
    08 80 20 30 07 80 00 00 00 80 10 30 07 80 00 00

    So if a part value is 63 00 (which is just the count and a spacer) 01 31 07, the 01 31 07 is what you would use in adding it to a weapon. Thanks for your work on the editor. :D


    For Easier Reading/Searching:
    Weapon Class:
    10 = Handgun
    11 = Magnum
    12 = Machine Gun/SMG
    13 = Shotgun
    14 = Sniper
    16 = Rocket Launcher

    Weapon Tags:
    00 = Short Range
    01 = Long Range
    02 = Easy Grip
    03 = Speed Shot
    04 = Steady Hand
    05 = Speed Load
    06 = Sonic Assist
    07 = Light Weight
    08 = Sonic Assist+
    09 = Short Range+
    0A = Long Range+
    0B = Legendary
    (Not sure what "no" tag is. Weapons that are bought from the store untagged have 00, but when changed, have Short Range without touching that Byte.
    Probably 0C or higher where it can't find a value would work? Dunno, not into trying tonight, er this morning.)

    Weapon IDs:
    Handguns:
    00 - M92F
    10 - Government
    40 - G18
    60 - PC356
    70 - Jill's Samurai Edge
    80 - Jessica's G18
    A0 - Parker's Government

    Magnum:
    00 - Python
    10 - Lightning Hawk
    20 - Pale Rider

    Machine Guns:
    00 - MP5
    10 - P90
    20 - AUG
    30 - G36
    50 - High Roller

    Shotguns:
    00 - Windham
    10 - M3
    20 - Hydra
    30 - Drake

    Sniper Rifles:
    00 - M40A1
    10 - PSG1
    20 - Muramasa


    That should be just about everything you need to make your own weapons. Just give them FF in all 3 upgrade categories and you'll be rocking monsters.

    Trust Me:
    Stats 255 Gun.
     
    Last edited by rdavis0688, Jul 16, 2018
  5. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Since I got quite a lot of data for Rev1, at least what I can since I can't find XP, and there's really not more to it, I'm gonna start in on Rev2. So far I'm gaining XP to check against a starting out save, hopefully I can find XP values to start.

    Got some values I can work with and hopefully manipulate so I can start farming stuff. I'm gonna need a loooot of parts, I heard there's more in this game. And guns. Lots and lots of guns.

    So I've found Gold, Character Levels, Character Details (including SP), haven't started on guns for one main reason - changing anything inside of the save gives me an error such as "corrupted save data". Even changing gold. So I have to find out what's going on.

    Turns out I'd need a physical cart to dump the game data so I could go through it. I can't do it right now. There's an internal checksum that is compared against the values in the save file. So, without a physical cart and a way to get the data I'm stuck at present. They went out of their way for save protection for rev2 but not rev1. If I have spare cash to toss around I'll get a cartridge.
     
    Last edited by rdavis0688, Jul 14, 2018
  6. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Reserved for Rev2 for when I get around to it.
     
    Last edited by rdavis0688, Jul 13, 2018
  7. TrunksSSJ23

    TrunksSSJ23 GBAtemp Regular

    Member
    4
    May 18, 2007
    United States
    Great work! Looking forward to the updates.
     
    Subtle Demise likes this.
  8. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Glad that someone could use them.
     
    Last edited by rdavis0688, Jul 13, 2018
  9. Getzabelz

    Getzabelz Member

    Newcomer
    2
    May 19, 2018
    Spain
    I'm afraid this is overcomplicated for me, is there any chance you release a game save file with the game from beggining with cool stuff or something?

    I would like to play it but with some ammo or weapons hehe.
     
    Supreme23 likes this.
  10. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Not right now, sorry. Hex editing is not that complicated if you follow a primer on it, and then follow the instructions above. Right now I'm too busy working on finding the values for things, I haven't even got to building saves and such. Plus there's some other stuff I want to do for kicks, like bring over SP parts and weapons if possible (like the inf. rocket launcher for the hell of it.) I would recommend learning how to hex edit as that's going to be the way a lot of things are done. I'm not gonna make a fancy GUI to do this for people, I'm just finding values so someone ambitious can make an editor if there's enough interest to do so.

    Sorry if that's not what you wanted to hear, but if you're going to be modding things you *really* should learn a little bit about hex editing and backing up saves with checkpoint and such. It'll come in handy in more places than just here. Not every game will have an editor, not every game will have values out there, so learning how to compare things is important.
     
  11. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Empty post I don't know how to delete.
     
    Last edited by rdavis0688, Jul 13, 2018
  12. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Again, Empty. This is not the hex you're looking for.
     
    Last edited by rdavis0688, Jul 13, 2018
  13. Entoptical

    Entoptical Advanced Member

    Newcomer
    3
    Jan 5, 2016
    United States
    What app is used for the visualization?
     
  14. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Flexhex. Though it turns out it was just FlexHex displaying things oddly. The file structure is static every use after. Though I've switched to VBinDiff. It's dos-like (since nothing really runs on dos, it's a windows console program) as it allows me to line up files side by side more easily and see unique differences instead of blocks.

    A bit more complicated than HxD or Flexhex, but then, I've found quite a bit by using it (see parts list.)
     
    Last edited by rdavis0688, Jul 13, 2018
  15. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Cleaned up posts.
     
    Last edited by rdavis0688, Jul 13, 2018
  16. Entoptical

    Entoptical Advanced Member

    Newcomer
    3
    Jan 5, 2016
    United States
    Can't wait for memory editing cheat code capabilities. Scraping gamesaves is brutal
     
  17. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Yes. Yes it is. I'm about done for the night, I just can't take making yet *another* save file to compare things to. So I'm playing some code veronica, then back to the mad engineering.
     
  18. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Reserved for Rev2 at some point.
     
    Last edited by rdavis0688, Jul 13, 2018
  19. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Merged with main weapon post.
     
    Last edited by rdavis0688, Jul 13, 2018
  20. rdavis0688
    OP

    rdavis0688 Advanced Member

    Newcomer
    2
    Jun 10, 2018
    United States
    Revelations 2 has a checksum system built into the save. If I change a value without regenerating the checksum, it'll say the save is corrupted. I have to figure out how to regenerate that before I can go any further, this may be out of my hands for a bit. But I'm a decent learner and programmer, so I should be able to figure it out. I like challenges. Just Rev2 is gonna take a while.
     
    DrkBeam and kerelenko like this.
Loading...