ROM Hack [Release] Sm4shCommand

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
The ls file holds offset data into the DT archive. It's linked to the file data via the filepath's crc. The Version 2 of the ls file added 2 new fields, the dt index and (what seems to be) the padding preceding the actual data. Indexed dt files were important for wiiu version mainly. All of this really is just to help me prepare structs and classes for repacking.

Code:
    public struct LSEntry_v1
    {
        public uint _crc;
        public uint _start;
        public uint _size;
    }

    public struct LSEntry_v2
    {
        public uint _crc;
        public uint _start;
        public uint _size;
        public short _dtIndex;
        public short _padlen;
    }
 
  • Like
Reactions: I pwned U!

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
The ls file holds offset data into the DT archive. It's linked to the file data via the filepath's crc. The Version 2 of the ls file added 2 new fields, the dt index and (what seems to be) the padding preceding the actual data. Indexed dt files were important for wiiu version mainly. All of this really is just to help me prepare structs and classes for repacking.

Code:
    public struct LSEntry_v1
    {
        public uint _crc;
        public uint _start;
        public uint _size;
    }

    public struct LSEntry_v2
    {
        public uint _crc;
        public uint _start;
        public uint _size;
        public short _dtIndex;
        public short _padlen;
    }
All I can think when you post your stuff, almost as if you're thinking out loud, is either "I will never understand code this well" or "I want to sell my soul to whoever you sold your soul to."

that, and you deserve a thank you for your time [thank you for your time]
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,381
Country
United States
what's held within LS? also, the hype train continues. rollin'rollin'rollin'rollin..
DT is data, LS is file structure. (iirc)

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

Kind of sucks we'll never use Sm4sh hacks on HANS on O3DS due to memory limitations :/
You could do it, it would just be hard.
 

Megalegacy98

Well-Known Member
Member
Joined
Aug 11, 2015
Messages
505
Trophies
0
Location
United States
XP
430
Country
United States
DT is data, LS is file structure. (iirc)

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


You could do it, it would just be hard.
No way. It's possible above 9.3+???

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

Holy up.. WHAT.


How even? I am COMPLETELY screwed for pretty much ever if I can't find a way to get stuff working alright on O3DS
Have you even ran Sm4sh on O3DS with HANS?
 

BlandDecore

Member
Newcomer
Joined
Nov 10, 2015
Messages
12
Trophies
0
Age
104
XP
53
Country
United States
Okay so ive spent the past few hours searching around gbatemp figuring out the best way to go about this.
I want to modify badges on my Smash U.
i have
smash 3ds cartridge
new 3ds xl with that youtube hack homebrew launcher thingy
old 3ds xl
smash u/ wii u
action replay amiibo
action replay 3ds

things i dont have: 3ds flashcard/gateway

so, with that in mind, is it possible to modify my badges so that i can transfer them to my wii u?
this question was asked a few times back in february, but i havent seen it brought up again since.
thanks guys! new here and hope to contribute soon !
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Okay so ive spent the past few hours searching around gbatemp figuring out the best way to go about this.
I want to modify badges on my Smash U.
i have
smash 3ds cartridge
new 3ds xl with that youtube hack homebrew launcher thingy
old 3ds xl
smash u/ wii u
action replay amiibo
action replay 3ds

things i dont have: 3ds flashcard/gateway

so, with that in mind, is it possible to modify my badges so that i can transfer them to my wii u?
this question was asked a few times back in february, but i havent seen it brought up again since.
thanks guys! new here and hope to contribute soon !

If you can't transfer them to your Wii U already, it's merely an issue of either solving the cheat flag (something that won't be easy solo) or making sure literally every other potential variable is in place. Scan through this thread. Might have an answer.

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

Maybe a super small version of HANS, dedicated only to launch Smash.
how would one even go about that?? having it just kill all HANS-related code on game startup, or..
 

LoganK93

Well-Known Member
Member
Joined
Dec 5, 2012
Messages
672
Trophies
1
Age
31
XP
1,992
Country
United States
Your packer done yet? I'm gonna work on mind some more.

Not trying to pry but how close are you getting on yours? Smash character hacks were one of my favorite little things to mess with on wii, and the thought of having portable hacks makes me multiple levels of moist.
 

LoganK93

Well-Known Member
Member
Joined
Dec 5, 2012
Messages
672
Trophies
1
Age
31
XP
1,992
Country
United States
I would guess around 25%, busy and wanted to do other stuff.

Damn, a shame to hear it's only that far but still, progress is progress and it's more than I could hope to do. I find myself hoping to see you post just in case it's an update haha. Good luck on your other projects and keep up the good work!
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,381
Country
United States
Damn, a shame to hear it's only that far but still, progress is progress and it's more than I could hope to do. I find myself hoping to see you post just in case it's an update haha. Good luck on your other projects and keep up the good work!
Thanks, I like that my work will not go unwanted.
 

LoganK93

Well-Known Member
Member
Joined
Dec 5, 2012
Messages
672
Trophies
1
Age
31
XP
1,992
Country
United States
Thanks, I like that my work will not go unwanted.

I have a feeling that not only will your work be very much wanted and appreciated, but if you actually put out a repacker it would more than likely pave the way for more advanced programs and work being done. The main reason sm4sh hacking hasn't taken off yet is simply because most things can't be modified aside from music.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,381
Country
United States
I have a feeling that not only will your work be very much wanted and appreciated, but if you actually put out a repacker it would more than likely pave the way for more advanced programs and work being done. The main reason sm4sh hacking hasn't taken off yet is simply because most things can't be modified aside from music.
Some of the music is in the archive if I recall...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lol rappers still promoting crypto