ROM Hack [WIP] Sm4sh Save Editor

Did you use my equipment editor?

  • Yes

    Votes: 37 42.5%
  • No

    Votes: 14 16.1%
  • That was a thing?

    Votes: 36 41.4%

  • Total voters
    87
Status
Not open for further replies.

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
Okay, I got a hacked piece of equipment onto my Wii U. Basically, I reverse engineered a legit Positive Effect Agility Badge, made an exact duplicate in hex, and then changed ONLY the effect with the beta editor. I know it's not much, but it's good to know the system is relatively easy to fool. I'm now going to cross reference the badge I custom-made with a badge generated by the editor, as well as a badge that has been transferred from my Wii U to my 3Ds, to see what the differences are.

EDIT - Here is a 3-way comparison between 3 Agility Badges with the same effect (Smooth Lander), and stats (+15, -20)


Badge Transferred From Wii U
EC FF 00 00
0F 00 0B 02
1C 30 02 1C
FF FF 00 00
AD 0D 00 00
00 00 00 00

My Badge (Transfers successfully to Wii U)
EC FF 00 00
0F 00 0D 02
1C 30 02 1C
FF FF 00 00
74 0B 00 00
00 00 00 00

Badge Generated From Beta Editor (Converted From a +62, -42 Sage's Tome)
EC FF 00 00
0F 00 05 02
1C 30 FF 1C
FF FF 00 00
70 0B 00 00
00 00 00 00

I have a feeling the anti-cheat/range bytes are connected to the second-to-last row somehow. My theory is that the 'range' value is assigned based on stats, and that second-last row is a corresponding code related to equipment effect/type. Said code could also extend to whether or not the equipment has been transferred as well.
 
Last edited by SAHunterMech,

BlandDecore

Member
Newcomer
Joined
Nov 10, 2015
Messages
12
Trophies
0
Age
104
XP
53
Country
United States
Hey guys, since we're all basically trying to just get perfect +90/-1 badges through trial and error, why not start sharing some save files with progress already made? I mean if you and I are trying to do the exact same thing, why not build off each other's work instead of starting from 0 every time.

I don't have any badges on my 3ds save, and I don't want to spend 30 hours grinding just to have some room to test.
I would be very appreciative if someone would share their save with me. I'll build off what you've done.
my plan is to make 3 copies of each badge, in every effect category with its respective max legal stats, that are transferable to wii u. after that I'll share the save file so you guys can just use that to build whatever you want.
so get this started for me and I'll finish it in two days after I get my hands on a save.
 
Last edited by BlandDecore,

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
I uh, don't have a lot of equipment right now. I foolishly deleted all of it way back into last year, because I wanted random CPU opponents to have random specials but not equipment (lazy I know, right?). I'm farming at the moment.

This Badge:

Smooth Lander Agility Badge (+15, -20) (Transfers successfully to Wii U)
EC FF 00 00
0F 00 0D 02
1C 30 02 1C
FF FF 00 00
74 0B 00 00
00 00 00 00

Is the only one I've gotten to transfer to my Wii U right now. I've been going at this for a while, but haven't had luck with anything else yet.
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Hey guys, since we're all basically trying to just get perfect +90/-1 badges through trial and error, why not start sharing some save files with progress already made? I mean if you and I are trying to do the exact same thing, why not build off each other's work instead of starting from 0 every time.

..just stopping you before you even try: there's no way to get a 90 -1 badge within the confines of the game at all as far as I'm aware of. 70~ and -3 maybe is the best you'll get, with all negative effects. Have you seen the game's calculations for it, or..

most of us have effects as goals in mind, not overblown stats


-snip-
I have a feeling the anti-cheat/range bytes are connected to the second-to-last row somehow. My theory is that the 'range' value is assigned based on stats, and that second-last row is a corresponding code related to equipment effect/type. Said code could also extend to whether or not the equipment has been transferred as well.

That's.. pretty much everything we've already covered in a nutshell.
 

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
darklordrs said:
That's.. pretty much everything we've already covered in a nutshell.

Well hey now, you didn't mention that second row of bytes, how was I supposed to know? Anyway, if ANYONE has a save with a negative effect agility badge, could I possibly have it? Getting desperate here.
 
Last edited by SAHunterMech,

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Well hey now, you didn't mention that second row of bytes, how was I supposed to know? Anyway, if ANYONE has a save with a negative effect agility badge, could I possibly have it? Getting desperate here.
reminder that i converted a positive effect agility badge into both positive\negative badges of all kinds. long story short, you don't actually need it.
 

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
reminder that i converted a positive effect agility badge into both positive\negative badges of all kinds. long story short, you don't actually need it.

Well, I tried converting my badge into a anti-leap with stats identical to the one I earned legit, but it wouldn't transfer over to the Wii U.

If you're talking about just the 3Ds, I can do that fine, but I'm talking Wii U or bust. If I can get a legit Negative effect agility badge, I can reverse-engineer it into a transfer-safe Anti-Leap. Probably has to be one of the bigger effects (Anti-Leap, Anti-Glide, Anchor Jump, etc.) though.
 
Last edited by SAHunterMech,

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Well, I tried converting my badge into a anti-leap with stats identical to the one I earned legit, but it wouldn't transfer over to the Wii U.

If you're talking about just the 3Ds, I can do that fine, but I'm talking Wii U or bust. If I can get a legit Negative effect agility badge, I can reverse-engineer it into a transfer-safe Anti-Leap. Probably has to be one of the bigger effects (Anti-Leap, Anti-Glide, Anchor Jump, etc.) though.
The Wii U transfer operates under the same anticheat as the 3DS' and normal Wii U's. Just to be clear:

- if you're trying to use the stats of an existing antileap badge on a new antileap badge, make sure you're using the range value of the former on the latter. Even then, seems wierd to want to clone a badge with no changes, but whatever


- if you're trying to use the stats of an existing positive effect badge to create a new antileap badge, make sure you're doing the steps as exactly as possible - divide stats by .72, subtract the corresponding 'stat modifier' from the positive stat, add 36 to the negative stat [this being the stat modifier for antileap. when I say add 36, I mean straight up add 36 as if you're adding to 'a', not subtract as if you're adding to '-a'], multiply both by .72 again. Be sure to account for different methods of rounding - you should be rounding down to the nearest whole number at the end - and that decimals might have screwed it over a little (meaning you should probably clone the badges with say a 1-point difference in positive or negative or both just in case).

It's much faster to check if equipment passes cheat flag by putting it on a Mii and trying to upload it, btw.
 
Last edited by darklordrs,

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
Dude. I'm creating a new badge, and I'm using the exact same stats for everything. It won't transfer to my Wii U, because I don't have the corresponding "second-last row" (Gotta come up with a better name for that) bytes from a legit badge to match up with the range. I only have the correct range from my badge I transferred FROM my wii u.
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Dude. I'm creating a new badge, and I'm using the exact same stats for everything. It won't transfer to my Wii U, because I don't have the corresponding "second-last row" (Gotta come up with a better name for that) bytes from a legit badge to match up with the range. I only have the correct range from my badge I transferred FROM my wii u.
Oh. That's weird.

@gudenaurock might want to keep track of this, then.

Check the rest of your badges; how do the 'second to last row' of bytes differ in their cases? Are there any values that never change, etc? Could help this be less of a goose chase
 

Ruby Gloom

GBAtemp Maniac
Member
Joined
Sep 25, 2015
Messages
1,555
Trophies
0
Age
22
Location
-
XP
651
Country
New Zealand
2.0 beta 1: Make sure to open the system file, this can cause issuses if you are not carful.

You know my Sm4sh equipment editor, this is better.

Requires Java.

Things it can do:
  • Edit money
  • Edit equipment
  • Unlock characters
  • 'Fix' saves
Things I want it to do:
  • Edit everything else
  • Prevent 'illegal' items
  • FTP
Latest update:
DrMario is no longer dead.

Old updates:



Source
Download is attached.
Could've sworn I read someplace that it wouldn't be possible to do this considering equipment is randomly generated... :T Hmm...
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Could've sworn I read someplace that it wouldn't be possible to do this considering equipment is randomly generated... :T Hmm...

depends on what you mean
a. no matter how rng-based something's generation is, it's saved somewhere. that data can always be edited
b. if you mean the cheat flag.. well, we're working on it, in case you haven't seen the last solid 7 pages of stupid going on
 

Ruby Gloom

GBAtemp Maniac
Member
Joined
Sep 25, 2015
Messages
1,555
Trophies
0
Age
22
Location
-
XP
651
Country
New Zealand
depends on what you mean
a. no matter how rng-based something's generation is, it's saved somewhere. that data can always be edited
b. if you mean the cheat flag.. well, we're working on it, in case you haven't seen the last solid 7 pages of stupid going on
I'm lazy. I just happened to glance at the thread again and saw the " Did you use my equipment editor? " at the top.
 

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
Oh. That's weird.

@gudenaurock might want to keep track of this, then.

Check the rest of your badges; how do the 'second to last row' of bytes differ in their cases? Are there any values that never change, etc? Could help this be less of a goose chase

Well, I posted the differences between 3 agility badges with the same stats and effects. If I had to make a guess, I would say that the badge's tiers are the primary factor. I reverse-engineered my smooth lander agility badge from an unharmed attacker badge in the same tier; changing the effect doesn't break wii u transferability, so long as you stay in the tier. If you go outside of it, the game balks. Nevertheless, I slapped the range and those other bytes from my smooth lander onto an anti-leap badge with legal stats (+55, -7), and it got onto the 3Ds just fine.

Anyway, this byte

EC FF 00 00
0F 00 0D 02
1C 30 02 1C
FF FF 00 00
74 0B 00 00
00 00 00 00

Seems to be consistent throughout my equipment, so maybe it's related to whether or not the equipment has been transferred from Wii U? I'm saying this because

EC FF 00 00
0F 00 0B 02
1C 30 02 1C
FF FF 00 00
AD 0D 00 00
00 00 00 00

It's only different on my transferred stuff. All 3 Transferred badges have '0D' instead of '0B'. Still, I tried switching the '0D' into a '0B', and the badge wouldn't even show up on my 3Ds, so I feel like the one beside it could also be related to the same thing. I mean, considering that my smooth lander has a 74, and I'm merely going from a positive effect agility badge to a negative one, and also up a tier or two, would it really be that far away from 74?
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Well, I posted the differences between 3 agility badges with the same stats and effects. If I had to make a guess, I would say that the badge's tiers are the primary factor. I reverse-engineered my smooth lander agility badge from an unharmed attacker badge in the same tier; changing the effect doesn't break wii u transferability, so long as you stay in the tier. If you go outside of it, the game balks. Nevertheless, I slapped the range and those other bytes from my smooth lander onto an anti-leap badge with legal stats (+55, -7), and it got onto the 3Ds just fine.

Anyway, this byte

EC FF 00 00
0F 00 0D 02
1C 30 02 1C
FF FF 00 00
74 0B 00 00
00 00 00 00

Seems to be consistent throughout my equipment, so maybe it's related to whether or not the equipment has been transferred from Wii U? I'm saying this because

EC FF 00 00
0F 00 0B 02
1C 30 02 1C
FF FF 00 00
AD 0D 00 00
00 00 00 00

It's only different on my transferred stuff. All 3 Transferred badges have '0D' instead of '0B'. Still, I tried switching the '0D' into a '0B', and the badge wouldn't even show up on my 3Ds, so I feel like the one beside it could also be related to the same thing. I mean, considering that my smooth lander has a 74, and I'm merely going from a positive effect agility badge to a negative one, and also up a tier or two, would it really be that far away from 74?

Transfer more badges, just in case. If they all have 0D it's safe to assume 0B = 3DS, 0D = Wii U. I'd check other bytes too just to see why they wouldn't show up at all on 3DS with the Wii U byte; there must be some other variable if just switching the byte completely zaps it out of existence.
 

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
As it so happens, I have the same 3 badges on all characters; it changes from 0D from 0E, then back to 0D with a different byte. Seems pretty complex. Maybe it's assignments of the badges to the characters?

EDIT:
tumblr_moupu5XzTe1rrkahjo1_400.gif


I just opened up the text dump from the editor, and the "second last" row of bytes is supposed to be BEFORE the rest of the data, not after. I was pulling it from the wrong badge. Trying some changes again now.

So THIS

73 0B 00 00
00 00 00 00

EC FF 00 00
0F 00 0D 02
1C 30 02 1C
FF FF 00 00

Is the proper set of bytes for my hacked smooth lander.

And THIS

E7 0D 00 00
00 00 00 00

EC FF 00 00
0F 00 0B 02
1C 30 02 1C
FF FF 00 00

Is the proper set of bytes for my transferred smooth lander.

I think it's safe to say that 0D DOES mean 'transferred', and 0B means 'earned on 3ds console', but there's more to it than that. The range is different as well. The former has a range of 13, the latter 11. I'm almost positive range has to do with the equipment's rarity/tier/power level, but that it's also changed slightly for transferred equipment. My transferred Anti-Leap has a range of 3, so I'm going to try ranges 1 through 10, see if I can get it to work.

EDIT 2: OKAY, I HAVE FINALLY SUCCESSFULLY TRANSFERRED LEGAL SMOOTH LANDER, ANTI-GLIDE AND ANTI-LEAP BADGES ONTO MY WII U.

You just have to pick the correct range. Proper ranges for legal RNG-Generated Equipment pieces are 5, 9, 13, and 27.
The more rare a badge is, the lower the range number is. For my Agility Badges, Smooth Lander = 13, Anti-Leap/Anti-Glide = 5.

For posterity, Wii U-Transferred Equipment Pieces use these values, but subtracted by 2: 3, 7, 11, and 24.

This suggests that there may be other additions and subtractions which lead to different categories, such as reward badges (which seem to have values unattainable through RNG). I'm going to transfer a reward badge to see what the range is.
 
Last edited by SAHunterMech,
  • Like
Reactions: Torten

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,353
Country
United States
may I ask, have you seen this thread? someonewhodied figured out most of this stuff already, and was transferring +90/-1 risky respawner badges months ago
https://gbatemp.net/threads/ssb-3ds-badge-editing-format.375308/

I feel like you haven't seen it, since I've been coming back here checking up every few days waiting for my damn save file lol
From what I saw that was not accurate. I did use that for most of this though.

Edit:
Read the thread, the hax check was not figured out.
 
Last edited by gudenau,

SAHunterMech

Well-Known Member
Newcomer
Joined
Jun 28, 2015
Messages
54
Trophies
0
Age
31
XP
69
Country
Canada
Okay, I've triple checked that my save can transfer my custom build to Wii U, and it totally can, so I've decided to upload it for those interested. It's a Smooth Lander, Anti-Leap, Anti-Glide set at -30 Atk, 0 Def, 130 Spd, intended for 1.0x knockback. I think it plays really well, but I could use some feedback.

Thanks, gudenaurock, couldn't have done it without you. You too, darklordrs.

EDIT: Almost forgot to post my findings on the anti-cheat byte. Any odd number from 1-13 seems to work, with the in-between values used for anything from transferred equipment to deleted equipment. Transferred equipment seems to either add or subtract 2 from the proper value.

Other than that, the higher the stats go on equipment, the lower the appropriate byte seems to go. My smooth lander agility badge (22, -19) wasn't copying until I changed the byte from 13 to 9. Interestingly, 5 worked too. Meanwhile, high-tier negative effects (Anti-Leap, Anti-Glide, Anchor Jump, etc.) seem to use 5 and 1.
 

Attachments

  • saveDataBackup.zip
    23.8 KB · Views: 104
Last edited by SAHunterMech,
  • Like
Reactions: BlandDecore
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
    Psionic Roshambo @ Psionic Roshambo: Many TBs of assets and the programming of something like that is going to be tough but I think...