ROM Hack [REQUEST] Hyrule Warriors: DE editor?

rdavis0688

Well-Known Member
Newcomer
Joined
Jun 10, 2018
Messages
62
Trophies
0
Age
35
XP
151
Country
United States
I figured the 8-bit was a bit that gets flipped to signify that 8-bit mode is on. Interesting. I just saw that pastebin and I'll go digging around to see if I can't figure out what the 4+ weapons are since they're not listed using the hex offset you gave. Not promising anything, but I can at least get started. If I collect all 4+ and then you provided that and all I have to do is go in and edit in the skills I want, then I'm gonna be a happy camper.

Thanks.

-- Alana
 

rdavis0688

Well-Known Member
Newcomer
Joined
Jun 10, 2018
Messages
62
Trophies
0
Age
35
XP
151
Country
United States
So, after some stages, I have all 4+ weapons for everyone. To minimize confusion or searching, I've sold every other weapon. Many are base 4+ weapons, there's a couple in there that have dropped and I figured they'd be good to have for comparison reasons or to see how the game has laid out skills. I believe it's for Twili Midna's Mirror, Toon Zelda's Phantom Arms, and Link's Fire Rod, perhaps Impa, I forget.

I've attached the zip so have fun. I'm gonna tinker a bit with everyone's weapons to add at least hasty attacks and heart power and maybe defenseless. But, this should be what you need. I have a save that has the 8-bit option on, and one that has it off. I think the weapons are just applied a skin if the mode is on and the ID is the same, but I'll see with a hex editor.

Sorry for the delay in uploading.

-- Alana

EDIT: So after looking at the data briefly, I found my lucky 5* Flaming Wrecker Sword (00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D1 00 F4 01 05 00 01 02 0A 19 04 1A 00 FF 03), it's Weapon ID is D1, F4 01 is 500 attack which it should be, 05 00 is Five Stars, and it has 01 (Str Attack 1), 02 (Str Attack 2), 0A (Light), 19 (Slots+), 04 (Str attack 4), and 1A (Stars+), with no skill in one slot, and is missing a skill slot. Looks like the data does line up. 03 seems to be a "normal" weapon, as I found the Master Sword and it has 0B next to it. I'm not entirely sure what "Legendary" is in context of the weapons. I'll get a list of weapon IDs, and then we can get to making weapons and stuff that are 4+. I don't know exactly which one corresponds to what weapon but I'm guessing the higher the number the later the character, but I'll add skills to them so I can figure out which is which.
 

Attachments

  • hwde-4-plus.zip
    10.9 KB · Views: 213
Last edited by rdavis0688,
  • Like
Reactions: daijobu

rdavis0688

Well-Known Member
Newcomer
Joined
Jun 10, 2018
Messages
62
Trophies
0
Age
35
XP
151
Country
United States
After altering the save, I've gotten the following for characters, I don't know the best format but I'll do my best:

Link (I didn't include the Master Sword):
C3 - Hylian Sword 4+
AF - Magic Rod 4+
C4 - Great Fairy 4+
9B - Gauntlets 4+
C9 - Horse 4+
CA - Spinner 4+

Impa:
C7 - Giant Blade 4+
B0 - Naginata 4+

Sheik:
9C - Harp 4+

Lana:
C5 - Book of Sorcery 4+
B1 - Spear 4+
9D - Summoning Gate 4+

Zelda:
C6 - Rapier 4+
B2 - Baton 4+
CB - Dominion Rod 4+

Ganondorf:
C8 - Great Swords 4+
B3 - Trident 4+

Darunia:
9E - Hammer 4+

Ruto:
9F - Zora Scale 4+

Agitha:
A0 - Parasol 4+

Cursed Midna:
A1 - Shackle 4+

Zant:
B4 - Scimitars 4+

Fi:
A2 - Goddess Blade 4+

Ghirahim:
B5 - Demon Blade 4+

Cia:
B6 - Scepter 4+

Volga:
B7 - Dragon Spear 4+

Wizzro:
B8 - Ring 4+

Twili Midna:
B9 - Mirror 4+

Young Link:
A3 - Mask 4+

Tingle:
BA - Balloon 4+

Linkle:
CC - Crossbows 4+
D0 - Boots 4+

Skull Kid:
A4 - Ocarina 4+

Toon Link:
CD - Light Sword 4+
D2 - Sand Wand 4+

Tetra:
A5 - Cutlass 4+

King Daphnes:
A6 - Sail 4+

Medli:
CE - Rito Harp 4+

Marin:
CF - Bell 4+

Toon Zelda:
D1 - Phantom Arms 4+

Ravio:
D3 - Rental Hammer 4+

Yuga:
D4 - Picture Frame 4+
 
Last edited by rdavis0688,

rdavis0688

Well-Known Member
Newcomer
Joined
Jun 10, 2018
Messages
62
Trophies
0
Age
35
XP
151
Country
United States
You guys got me started on it. I did want to actually ask something, so the notification that you replied was good, heh.

@Scarlet - Is it possible to add a weapon creator to your editor? Within the hex offsets provided in the one post, search an empty weapon slot, have it select from the list from the pastebin and my list, and then give them the option of 0-5 stars, 1-8 slots, and then fill those skill slots according to the game rules (or not if they want I guess)? Manually editing in a weapon is possible it's just a bit of a headache and what might be my perfect weapon might not be for someone else. It's not simple, it's a more complex request, but I figured I'd ask.
 

Scarlet

Onion Soup
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,188
Trophies
2
Location
Middleish South-Left
Website
scarlet.works
XP
14,961
Country
United Kingdom
You guys got me started on it. I did want to actually ask something, so the notification that you replied was good, heh.

@Scarlet - Is it possible to add a weapon creator to your editor? Within the hex offsets provided in the one post, search an empty weapon slot, have it select from the list from the pastebin and my list, and then give them the option of 0-5 stars, 1-8 slots, and then fill those skill slots according to the game rules (or not if they want I guess)? Manually editing in a weapon is possible it's just a bit of a headache and what might be my perfect weapon might not be for someone else. It's not simple, it's a more complex request, but I figured I'd ask.
It's very possible, just a bit more effort than most things. I still need to add that to my FEW editor too lol. I'll do it at some point, but I couldn't say when.
 

JamesNaruto12

Well-Known Member
Newcomer
Joined
Nov 27, 2016
Messages
64
Trophies
0
Age
35
XP
937
Country
United States
It's very possible, just a bit more effort than most things. I still need to add that to my FEW editor too lol. I'll do it at some point, but I couldn't say when.
I modded my 4+ weapons in the hex editor but did not do everybody so had to go back again after selling my weapons in which I didn't need and some of them was in different offsets.
 

rdavis0688

Well-Known Member
Newcomer
Joined
Jun 10, 2018
Messages
62
Trophies
0
Age
35
XP
151
Country
United States
They might be in different offsets from them moving around internally (that's about all I can guess) from picking up/selling. The weapon values should still be the same though. I'm looking up how to hex edit in python to see if it's something I can whip up because I'm too lazy to hand edit stuff and don't want to make @Scarlet do all the work.

No guarantees, no promises. But looking into it.
 

Scarlet

Onion Soup
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,188
Trophies
2
Location
Middleish South-Left
Website
scarlet.works
XP
14,961
Country
United Kingdom
They might be in different offsets from them moving around internally (that's about all I can guess) from picking up/selling. The weapon values should still be the same though. I'm looking up how to hex edit in python to see if it's something I can whip up because I'm too lazy to hand edit stuff and don't want to make @Scarlet do all the work.

No guarantees, no promises. But looking into it.
If you know C++ or C#, I can show you how hex editing works through those. Python is beyond me though.
 
  • Like
Reactions: WTFsandwich

Scarlet

Onion Soup
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,188
Trophies
2
Location
Middleish South-Left
Website
scarlet.works
XP
14,961
Country
United Kingdom
I'd actually be curious to see a bit about it using C#, if you don't mind.
This is a little old when I was still learning C#, so pardon it being a mess: https://pastebin.com/dMM8bLeX

That was the save editor I made for Hyrule Warriors Legends using C#. To go over it with a little better clarity, here's an example of the actual writing to bytes:
Code:
using (var fs = new FileStream(currentFolder + "\\zmha.bin", FileMode.Open, FileAccess.ReadWrite))
{           
   fs.Position = characterOffsets[userSelection - 1];
   fs.WriteByte(Convert.ToByte(0x11));

   fs.Position = characterOffsets[userSelection - 1] + 1;
   fs.WriteByte(Convert.ToByte(0x7F));

   fs.Position = characterOffsets[userSelection - 1] + 2;
   fs.WriteByte(Convert.ToByte(0x30));

   fs.Position = characterOffsets[userSelection - 1] + 3;
   fs.WriteByte(Convert.ToByte(0x00));
}
The fs variable is the file itself, with the variables to initialise it being its location, the file mode, and the access wanted. Looking back, you might not need the complete path to the file, but this worked for me.
Actually writing to the offset is simple. All you have to do is set the position to the offset desired (the example above using an array of offsets where the user picks which they want) and then writing the desired byte. You might be able to just do:
Code:
   fs.WriteByte(Convert.ToByte(0x117F3000));
That being said, it's been a while so you'll have to play around for yourself to find simpler ways lol. Like I said, this was waaaaaay back when I was learning C#, and I haven't really done much since, so apologies for the wonky explanation. If you need any help, I can try my best o/
 
  • Like
Reactions: WTFsandwich

Grovyle92

Member
Newcomer
Joined
Jun 14, 2018
Messages
11
Trophies
0
Age
31
XP
50
Country
United States
Hi! I'm new here. I wanna try this out, but i'm not really clear, is this for Definitive Edition, or Legends? I saw a download i wanted to try but it said it required the zmha.bin file, which is for Legends.
 

Scarlet

Onion Soup
Editorial Team
GBAtemp Patron
Joined
Jan 7, 2015
Messages
5,188
Trophies
2
Location
Middleish South-Left
Website
scarlet.works
XP
14,961
Country
United Kingdom
Hi! I'm new here. I wanna try this out, but i'm not really clear, is this for Definitive Edition, or Legends? I saw a download i wanted to try but it said it required the zmha.bin file, which is for Legends.
Definitive Edition. Pretty sure both have the same save file name? If they don't, I'll fix the text lol
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: hot take: freddy fazbear's pizzeria simulator is peak fnaf