ROM Hack [Release] Sm4shCommand

Sun_Spirit

Member
Newcomer
Joined
Dec 31, 2015
Messages
24
Trophies
0
Age
25
XP
58
Country
United States
Someone help please. I've managed to make my own update for 1.1.3. CIA and all! But trying to install it causes a little predicament. When I decompile it I get all the files as normal. Rebuilding it to a 3ds doesn't cause a problem either. When trying to get the files for the CIA it thinks it's actually Sm4sh and not a update. So when trying to install it. It thinks that I'm trying to install the actual Game and not a update files, because it's named CTR-P-AXCE. It's not detecting it as CTR-M-AXCE-00. Is there anyway I can fix this?
 
Last edited by Sun_Spirit,

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
There was a video floating around of luigi pseudo "wavedashing" that was making rounds on social media, and i'm fairly certain it was using this set of tools. There have been a few others posting videos here as well, including a short video by me demonstrating the first change that worked in game. (this was before i released to the public of course). They're somewhere in this thread, dunno which specific page though, sorry
 

The_Marcster

Well-Known Member
Newcomer
Joined
Aug 18, 2015
Messages
98
Trophies
0
Age
24
XP
86
Country
Gambia, The
The new version will prevent this from happening anyways, but for now what were you trying to extract? And what region? I've only tested the extractor with US copies of the game, and 3ds game updates are broken right now (though it is fixed already, just not released yet)

I'm using a european version. I wasn't trying to extract anything, I was just trying to patch my extracted romfs with the changes I made to the game and it definitely wasn't a typing error or something like that because the patching even fails if I just try to change one integer or float without modifying anything else.

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

Has anyone actually done anything with this? I'd like to see some videos.

Here you go. This guy has already done quite a few things with this program.
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
There was a video floating around of luigi pseudo "wavedashing" that was making rounds on social media, and i'm fairly certain it was using this set of tools. There have been a few others posting videos here as well, including a short video by me demonstrating the first change that worked in game. (this was before i released to the public of course). They're somewhere in this thread, dunno which specific page though, sorry


Fairly certain that was Trinitro - originally this was just the idea I had for wavedashing amplified in a way that threw you downward at an incredible speed, but I think later for Melee Sheik (not sure if that was him) that was fixed to use the stop momentum thing i also suggested but never tested
 

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
I'm using a european version. I wasn't trying to extract anything, I was just trying to patch my extracted romfs with the changes I made to the game and it definitely wasn't a typing error or something like that because the patching even fails if I just try to change one integer or float without modifying anything else.

I see. The reason it was crashing is because it's currently trying to patch (in this order):
"resource" -> in every game
"resource(us_en) -> US only.
"resource(us_fr) -> US only.
"resource(us_sp) -> US only.

I hadn't thought about adding support for other localization yet, but since it's come up i suppose i'll work on it for the next version.
 

The_Marcster

Well-Known Member
Newcomer
Joined
Aug 18, 2015
Messages
98
Trophies
0
Age
24
XP
86
Country
Gambia, The
I see. The reason it was crashing is because it's currently trying to patch (in this order):
"resource" -> in every game
"resource(us_en) -> US only.
"resource(us_fr) -> US only.
"resource(us_sp) -> US only.

I hadn't thought about adding support for other localization yet, but since it's come up i suppose i'll work on it for the next version.

Thank you! I'm really looking forward to that!
 

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
Things are definitely happening over here with SM4SHCommand :) Got an actual custom drawn control going (which means super fast syntax highlighting, not laggy like before), and params are being implemented as well! I'm also doing autoIndention and stuff for loops and control statements like if/else. This is single file mode so it only has one tab saying "script" but in full fighter mode it has a tab for each commandList (main, gfx, sfx, expression)

Ud9QMIM.png
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Prep the infinite mass hype, yo. Param editing is basically the final thing we truly 'need' to get shit started (other than, of course, animations, something you can't really supply at all for 3ds atm)
 

ausgremlinboy

New Member
Newbie
Joined
Jan 15, 2016
Messages
1
Trophies
0
Age
33
XP
41
Country
I have a problem. When I try to run dtls.exe -r dt ls edits I get hte error:


My directory stuff\hans_scripts\romfs>dtls.exe -r dt ls edits
Patching resource
Patch found: edits/animcmd/fighter/sheik/game.bin
The given key was not present in the dictionary.

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.SortedList`2.get_Item(TKey key)
at DTLS.Program.PatchArchive(String resourceString, String patchFolder)
at DTLS.Program.Main(String[] args)
 

Megalegacy98

Well-Known Member
Member
Joined
Aug 11, 2015
Messages
505
Trophies
0
Location
United States
XP
430
Country
United States
Nope. Same size files are patched normally and larger files are skipped.
Thanks.

I still have no idea on what I'm doing wrong... after it patches resource(en_us) it crashes with a pop-up that says DTLS.exe has crashed.

@Sammi Husky I know you asked for the resource(en_us) and the resource file. Sorry I didn't give you it, I was busy. However, here it is.
(I don't have a resource file...)
 

Attachments

  • resource(us_en).zip
    497 KB · Views: 195

The_Marcster

Well-Known Member
Newcomer
Joined
Aug 18, 2015
Messages
98
Trophies
0
Age
24
XP
86
Country
Gambia, The
I have a problem. When I try to run dtls.exe -r dt ls edits I get hte error:


My directory stuff\hans_scripts\romfs>dtls.exe -r dt ls edits
Patching resource
Patch found: edits/animcmd/fighter/sheik/game.bin
The given key was not present in the dictionary.

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.SortedList`2.get_Item(TKey key)
at DTLS.Program.PatchArchive(String resourceString, String patchFolder)
at DTLS.Program.Main(String[] args)

I see you are probably using an australian version of the game. There is currently a bug that prevents patching non american version, but it is confirmed to be fixed in the next update.
 

The_Marcster

Well-Known Member
Newcomer
Joined
Aug 18, 2015
Messages
98
Trophies
0
Age
24
XP
86
Country
Gambia, The
Things are definitely happening over here with SM4SHCommand :) Got an actual custom drawn control going (which means super fast syntax highlighting, not laggy like before), and params are being implemented as well! I'm also doing autoIndention and stuff for loops and control statements like if/else. This is single file mode so it only has one tab saying "script" but in full fighter mode it has a tab for each commandList (main, gfx, sfx, expression)

Ud9QMIM.png

This looks really awesome! What else will be in the update and when do you think it will be out?
 

Godkarmachine

Member
Newcomer
Joined
Jun 1, 2015
Messages
13
Trophies
0
Age
23
XP
50
Country
United States
I have another question for the ages: Where does DTLSExtractor get the filenames? LS seems to be too small to hold the filenames (considering that the "resource" file outputted by DTLSExt is 500KB, and the decompressed file is a MB), and the compressed file is compressed using SM4SH's ZLIB compression (though, the header of the file is "RF", but searching for that in DT doesn't provide any results).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @mthrnite, Cheetah Girls, the sequel to Action 52's Cheetah Men.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pokemon Black I played that one a lot
  • K3Nv2 @ K3Nv2:
    Honestly never messed with Pokémon on ds much
  • mthrnite @ mthrnite:
    I played pokemon once, was bored, never tried again
  • Psionic Roshambo @ Psionic Roshambo:
    Oh Dragon Quest IX
  • K3Nv2 @ K3Nv2:
    Spent like 5 hours on switch one never touched it again
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
    Veho @ Veho: +1