ROM Hack [Release] Zelda Triforce Heroes Save Editor

  • Thread starter Deleted-19228
  • Start date
  • Views 81,066
  • Replies 313
  • Likes 10
D

Deleted-19228

Guest
OP
Zelda Tri Force Heroes Save Editor:
Executable: here (with source)
Online Version: here


Key Items and Matertials location
0x230 Lady's Glasses (Key Item, part of story, would not suggest editing)
0x231 Lady's Collar (Key Item, part of story, would not suggest editing)
0x232 Lady's Parasol (Key Item, part of story, would not suggest editing)
0x233 Frilly Fabric
0x234 Friendly Token
0x235 Freebie
0x236 Blob Jelly
0x237 Armos Spirit
0x238 Tektite Shell
0x239 Sweet Shroom
0x23A Blin Bling
0x23B Ghoma's Eye
0x23C Mystery Jade
0x23D Supple Leaf
0x23E Fresh Kelp
0x23F Zora Scale
0x240 Hytopian Silk
0x241 Aqua Crown
0x242 Octorok Sucker
0x243 Fairy Dust
0x244 Rainbow Coral
0x245 Thornberry
0x246 Goron Ore
0x247 Monster Guts
0x248 Demon Fossil
0x249 Rugged Horn
0x24A Kodongo Tail
0x24B Keese Wing
0x24C Star Fragment
0x24D Divine Whiskers
0x24E Fluffy Fuzz
0x24F Tiny Snowflake
0x250 Serpent Fangs
0x251 Crimson Shell
0x252 Freezard Water
0x253 Chill Stone
0x254 Ice Rose
0x255 Beastie Patch
0x256 Stiff Puff
0x257 Silver Thread
0x258 Royal Ring
0x259 Antique Coin
0x25A Fancy Fabric
0x25B Exquisite Lace
0x25C Vibrant Brooch
0x25D Brittle Papyrus
0x25E Palm Cone
0x25F Ancient Fin
0x260 Vintage Linen
0x261 Gibdo Bandage
0x262 Stal Skull
0x263 Sandy Ribbon
0x264 Crystal Skull
0x265 Golden Insect
0x266 Carrumpkin
0x267 Mystery Extract
0x268 Spider Silk Lace
0x269 Poe Soul
0x26A Twisted Twig
0x26B Lava Drop
0x26C Sanctuary Mask
0x26D Gold Dust
0x26E Cucco Feathers
0x26F Carmine Pearl
0x270 Sky Dragon Tail
0x271 Pretty Plum
0x272 Mock Fairy
0x273 Aurora Stone
0x274 Steel Mask
0x275 Fabled Butteryfly


Rupee Location
0x2B0 Rupee
0x2B1 Rupee
0x2B2 Rupee
0x2B3 Rupee

Max Rupees, change 0x2B0 and the following bytes to match 9F860100 = 99999 Rupees

Costumes
Offset 2B4 = Current costume you are wearing.

Current Costume Value
0x00 = Bare Minimum Digs
0x01 = Sword Suit
0x02 = Kokiri Clothes
0x03 = Legendary Dress
0x04 = Showstopper
0x05 = Goron Garb
0x06 = Zora Costume
0x07 = Queen of Hearts
0x08 = Big Bomb Outfit
0x09 = Energy Gear
0x0A = Cosy Parka
0x0B = Spin Attack Attire
0x0C = Ninja Gi
0x0D = Rupee Regalia
0x0E = Boomeranger
0x0F = Tri Suit
0x10 = Lucky Loungewear
0x11 = Torrent Robe
0x12 = Lady's Ensemble
0x13 = Cursed Tights
0x14 = Timeless Link
0x15 = Light Armour
0x16 = Cheetah Costume
0x17 = Jack of Hearts
0x18 = Hero's Tunic
0x19 = Gust Garb
0x1A = Hammerwear
0x1B = Dunewalker Duds
0x1C = Robo Wear
0x1D = Fire Blazer
0x1E = Tingle Tights
0x1F = Serpent's Toga
0x20 = Sword Master
0x21 = Dapper Spinner
0x22 = Cheerleader
0x23 = Cacto Clothes

Costume Bitflags
Now, you can treat the current costume value as the bitflag

So, for the "Zora Costume", which has a hex value of 0x06, we would edit the 6th bit in the binary string. (so if we have 00000000 00000000, setting Zora Costumes bitflag would give us 00000100 00000000).

Bought Costumes

Hex location: 0x2A8-0x2AD (hint: make it all one big bitstring, and follow the example above)
1 = Costume is purchased
0 = Costume is not purchased

Unlocked Costumes

Hex location: 0x4D0-0x4D5
1 = Costume is unlocked (visible)
0 = Costume is locked (not visible)

New Icon Flag for Costumes

Hex location: 0x4D8-0x4DD
1 = Costume is not new (no new icon flag)
0 = Costume is new (new icon flag)
* Note: These values are inverted from the others. 1 = old, not new.

World Completion
0x5B8 = W1-1 - No Challenge | 0x5BC = W1-1 - 1st Challenge | 0x5C0 = W1-1 - 2nd Challenge | 0x5C4 = W1-1 - 3rd Challenge
0x5C8 = W1-2 - No Challenge | 0x5CC = W1-2 - 1st Challenge | 0x5D0 = W1-2 - 2nd Challenge | 0x5D4 = W1-2 - 3rd Challenge
0x5D8 = W1-3 - No Challenge | 0x5DC = W1-3 - 1st Challenge | 0x5E0 = W1-3 - 2nd Challenge | 0x5E4 = W1-3 - 3rd Challenge
0x5E8 = W1-4 - No Challenge | 0x5EC = W1-4 - 1st Challenge | 0x5F0 = W1-4 - 2nd Challenge | 0x5F4 = W1-4 - 3rd Challenge

0x5F8 = W2-1 - No Challenge | 0x5FC = W2-1 - 1st Challenge | 0x600 = W2-1 - 2nd Challenge | 0x604 = W2-1 - 3rd Challenge
0x608 = W2-2 - No Challenge | 0x60C = W2-2 - 1st Challenge | 0x610 = W2-2 - 2nd Challenge | 0x614 = W2-2 - 3rd Challenge
0x618 = W2-3 - No Challenge | 0x61C = W2-3 - 1st Challenge | 0x620 = W2-3 - 2nd Challenge | 0x624 = W2-3 - 3rd Challenge
0x628 = W2-4 - No Challenge | 0x62C = W2-4 - 1st Challenge | 0x630 = W2-4 - 2nd Challenge | 0x634 = W2-4 - 3rd Challenge

etc

0x7A8 = W8-4 - No Challenge | 0x7AB = W8-4 - 1st Challenge | 0x7B0 = W8-4 - 2nd Challenge | 0x7B4 = W8-4 - 3rd Challenge

01000000 = Done / 00000000 = Not Done

CRC32 locations
0x00-0x1FB located at 0x1FC
0x200-0x19FB located at 0x19FC
0x19FD-0x2BFE located at 0x2BFC

TFHchecks.rar is created by @Reisyukaku and if you edit any of the values this will automatically update the CRC32 to match so you don't have to hunt and do it manually. Source code included. Hopefully he doesn't mind me linking it here :)

Zelda Tri Force Heroes Save Editor:
Executable:
here (with source)
Online Version: here


CREDITS: @BouncyBread @Myria @Reisyukaku @fafaffy @c4388354 @Kaphotics for offsets, ideas, help and programming!
 

Attachments

  • TFHchecks.rar
    26 KB · Views: 2,035
Last edited by fafaffy,

SonyUSA

We're all mad here
Editorial Team
Joined
May 12, 2006
Messages
1,668
Trophies
1
XP
4,792
Country
United States
Don't edit 230, 231, or 232 to play through the game regularly as these are key items you only get 1 of!
 
D

Deleted-19228

Guest
OP
I unfortunately don't do programming. Hopefully someone will take these values and throw them in a GUI to be user friendly.

Basically you open a hex editor and go to the offset for example 0x2B0 and change that value to FF and then change 0x2B1 to FF and save it then run it through that attached file and it will update the checksum and you will have max rupees :)
 

Thirty3Three

Musician Member
Banned
Joined
Mar 22, 2013
Messages
3,956
Trophies
0
Location
Wherever you want me, baby.
XP
2,595
Country
United States
I unfortunately don't do programming. Hopefully someone will take these values and throw them in a GUI to be user friendly.

Basically you open a hex editor and go to the offset for example 0x2B0 and change that value to FF and then change 0x2B1 to FF and save it then run it through that attached file and it will update the checksum and you will have max rupees :)
So... how do I find "0x2B0", for example? I'm pretty new to hex-editiing. Thanks!
 
D

Deleted-19228

Guest
OP
Having trouble figuring out 0x276-0x2AF costumes are in there and I set everything to 01 but that's definitely not it. I had 4 costumes (including the default one) costumes when I did that.
 
D

Deleted-19228

Guest
OP
Ctrl+G type the numbers of the offset and change the value on the left pane to what you want, it's hexadecimal, changing the values to "1F" should be fine though :)
 

Thirty3Three

Musician Member
Banned
Joined
Mar 22, 2013
Messages
3,956
Trophies
0
Location
Wherever you want me, baby.
XP
2,595
Country
United States
Ctrl+G type the numbers of the offset and change the value on the left pane to what you want, it's hexadecimal, changing the values to "1F" should be fine though :)
Okay so I noticed on the lower-left corner it says "Offset 234" for example. That's for the friendly tokens yeah? So I change that to... "FF"? And then save?
 
D

Deleted-19228

Guest
OP
No. Just set it to 0F the max you need in game is 15 anyway. 0F is what you want
 
D

Deleted-19228

Guest
OP
not sure if you can drag and drop. it's command line based. it *might* work. better off opening command prompt and then typing TFHchecks.exe SaveData.bin in command prompt in that directory
 

fafaffy

Well-Known Member
Member
Joined
Sep 1, 2012
Messages
345
Trophies
0
XP
702
Country
United States
I unfortunately don't do programming. Hopefully someone will take these values and throw them in a GUI to be user friendly.

Basically you open a hex editor and go to the offset for example 0x2B0 and change that value to FF and then change 0x2B1 to FF and save it then run it through that attached file and it will update the checksum and you will have max rupees :)
Fuck it, I'm bored, I'll make a save editor GUI in C#~
 

LoganK93

Well-Known Member
Member
Joined
Dec 5, 2012
Messages
671
Trophies
0
Age
29
XP
1,611
Country
United States
So I dragged and dropped and the save isn't corrupt, and I've got 15 friendly tokens so hell yes! Thanks:)

Mind helping me out? I edited the friendly token number (the only thing I plan on modding as it's the only item I won't be able to obtain. Silly Nintendo assuming people have friends...), but when I put the save back in my game it isn't corrupted, but I also see no changes...
 
D

Deleted-19228

Guest
OP
Fuck it, I'm bored, I'll make a save editor GUI in C#~

Please share the source. I would like to learn this for the future :)

--------------------- MERGED ---------------------------

Mind helping me out? I edited the friendly token number (the only thing I plan on modding as it's the only item I won't be able to obtain. Silly Nintendo assuming people have friends...), but when I put the save back in my game it isn't corrupted, but I also see no changes...

You modified 0x234 to 0A and ran it through the tool? Did you copy it back to SDF and remember to click import? :)


EDIT: Getting REALLY TIRED NOW. I meant 0F (0F is 15 obviously)
 
Last edited by ,
General chit-chat
Help Users
  • No one is chatting at the moment.
    The Real Jdbye @ The Real Jdbye: ass tastes like ass