ROM Hack [Release] Sm4shCommand

The_Marcster

Well-Known Member
Newcomer
Joined
Aug 18, 2015
Messages
98
Trophies
0
Age
24
XP
86
Country
Gambia, The
I have the same problem with my european 3DS version. Injecting the edits still doesn't work and in the new version the extraction also crashes with a System.Collections.Generic.KeyNotFoundException exception at/after "data/ui/texture/wifi_share/packed".

Also, can somebody tell me how to do this on Wii U?
 

Spawn_32

Active Member
Newcomer
Joined
Mar 17, 2016
Messages
30
Trophies
0
Age
25
XP
59
Country
Google Chrome and my Anti-Virus both say the latest Release you posted a few posts ago is a virus, and I can't download it. What's wrong? I can't even tell it to ignore the "virus" afaik...
 

Cydget

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
493
Trophies
0
Age
27
XP
260
Country
United States
Google Chrome and my Anti-Virus both say the latest Release you posted a few posts ago is a virus, and I can't download it. What's wrong? I can't even tell it to ignore the "virus" afaik...
press ctrl + j to bring up your downloads page and press recover malicious file. Chrome likes to block zip folders if they contain an exe file from an unknown/not widely known developer. As for antivirus there should be an option somewhere to allow an exception. if it says smart screen has protected you, there should be a small option that allows you continue.
 
Last edited by Cydget,

Mattshark

Well-Known Member
Member
Joined
Aug 31, 2015
Messages
254
Trophies
0
Age
24
XP
239
Country
United States
Last question...

Allow_Interrupt() doesn't seem to work everywhere I put it... for example, it works when I put it into luigi's dash attack, but not in his Side Special. How would I get it to work in his side special?


Also, if you can't answer that question, then what part of the code has luigi actually being launched by his green missile attack, in case I just placed it wrong (maybe)?
 
Last edited by Mattshark,

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
press ctrl + j to bring up your downloads page and press recover malicious file. Chrome likes to block zip folders if they contain an exe file from an unknown/not widely known developer. As for antivirus there should be an option somewhere to allow an exception. if it says smart screen has protected you, there should be a small option that allows you continue.

Yea this. I remember when chrome first started doing this. Even trying to download PSA or PW's module editor for brawl it would give me that.

Last question...

Allow_Interrupt() doesn't seem to work everywhere I put it... for example, it works when I put it into luigi's dash attack, but not in his Side Special. How would I get it to work in his side special?


Also, if you can't answer that question, then what part of the code has luigi actually being launched by his green missile attack, in case I just placed it wrong (maybe)?

Im not entirely sure to be honest. It is fairly likely that it's in the wrong GM subaction though. He probably has more than a few, one for misfire as well iirc.

I already fixed SM4SHCommand parsing animations on 3ds, im going to upload it here in just a second. I want to fix a small bug in DTLS as well but when i did i broke patching. So right after that, i'll post the new one :P
 

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
Alrighty..

SM4SHCommand
  • Fix parsing animations on 3ds (for realsies this time)
DTLS:
  • Properly extract localized partitions.
  • Fix extracting not decompressing all files
  • unpack PACK archives in addition to their files
  • Refactor codebase, optimizations gained a 50% performance increase.
    Extraction should now be twice as fast.
  • Remove ability to extract WiiU updates for the time being.
  • Extracting now extracts all partitions to "content" folder.
  • Patch folder filesystem must now match the content folder (patches
    for default go in [patchfolder]/data/..., patches for us_en go in [patchfolder]/data(us_en)/...)
  • Patches no longer automatically apply to all partitions, to patch another partition, copy the patch to the appropriate folder.
Example of folder structure for patching. It should be the same as your content folder, but only containing changed files. NOTE: in addition to patching the default "data" partition, you will likely have to patch the language your playing in as well. i.e, data + data(us_en).

Code:
--| patch
----| data
------| animcmd
--------| fighter
----------| captain
------------| game.bin
----| data(us_en)
------| animcmd
--------| fighter
----------| captain
------------| game.bin
 

Attachments

  • Release.zip
    275.7 KB · Views: 1,532

imadeanaccountjustforthis

Active Member
Newcomer
Joined
Jun 29, 2015
Messages
26
Trophies
0
XP
153
Country
Alrighty..
While parsing animations still seems to sometimes not work if I, for example, selected a wrong folder at first, it does work if I choose everything correctly and in the right order and all now. Thank you for this.
DTLS returns access violation exception related errors while attempting to unpack or rebuild the EU 1.1.5 patch file, however. I did adjust my patch folder's structure to match the file structure you detailed.
 

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
While parsing animations still seems to sometimes not work if I, for example, selected a wrong folder at first, it does work if I choose everything correctly and in the right order and all now. Thank you for this.
DTLS returns access violation exception related errors while attempting to unpack or rebuild the EU 1.1.5 patch file, however. I did adjust my patch folder's structure to match the file structure you detailed.

I didn't test with the patches, so i probably missed something in codebase refactoring. In other news, i finally got full DT rebuilding to work instead of just patching..though right now it's dependent on the base ver having been extracted with DTLS itself, and only works on 3ds. Before release i'd like to fix those little bits. But, it should mean that you can just extract base -> overwrite files -> rebuild. So applying updates to the base ver would work as well
 

Ordim3n

Well-Known Member
Member
Joined
Dec 14, 2015
Messages
413
Trophies
0
Location
Planet earth
XP
257
Country
Canada
Alrighty..

SM4SHCommand
  • Fix parsing animations on 3ds (for realsies this time)
DTLS:
  • Properly extract localized partitions.
  • Fix extracting not decompressing all files
  • unpack PACK archives in addition to their files
  • Refactor codebase, optimizations gained a 50% performance increase.
    Extraction should now be twice as fast.
  • Remove ability to extract WiiU updates for the time being.
  • Extracting now extracts all partitions to "content" folder.
  • Patch folder filesystem must now match the content folder (patches
    for default go in [patchfolder]/data/..., patches for us_en go in [patchfolder]/data(us_en)/...)
  • Patches no longer automatically apply to all partitions, to patch another partition, copy the patch to the appropriate folder.
Example of folder structure for patching. It should be the same as your content folder, but only containing changed files. NOTE: in addition to patching the default "data" partition, you will likely have to patch the language your playing in as well. i.e, data + data(us_en).

Code:
--| patch
----| data
------| animcmd
--------| fighter
----------| captain
------------| game.bin
----| data(us_en)
------| animcmd
--------| fighter
----------| captain
------------| game.bin
Yay it works :)
 

The_Marcster

Well-Known Member
Newcomer
Joined
Aug 18, 2015
Messages
98
Trophies
0
Age
24
XP
86
Country
Gambia, The
Okay, after the latest update I tried everything again and now the extracting and repacking finally works for my european version, but I modifying the game doesn't work. I tried to open Captain Falcon's moveset and parsed the animations, and everything was working fine. Just as a test I opened his forward aerial and modified the knockback a bit, closed it, saved it and then repacked everything. Then I started the game with HANS normally (EUR/DE) and tested if the change worked, but suddenly all of Falcon's moves had no hitbox anymore and his up and down smash froze the game. After that I tried to start the game in USA/EN and all of the moves got their hitboxes back but the knee, with was the only one I changed.
A few things that I noticed were that strangely the patched version had exactly the same file size as the unaltered original file and that patching a data(us_en) folder together with just the data folder didn't seem to change the result in any way.

I would appreciate any help, I have no idea what to do now...
 

Wii8461

Well-Known Member
Newcomer
Joined
Aug 9, 2015
Messages
63
Trophies
0
XP
683
Country
Chad
Any way to edit the fighter_param_etc file? I think the param editor damages it. The file will freeze my game even if I don't edit any values.
When I save it, I'll reopen the same file I just had and it changes the group numbering.

I'll put a screenshot so you can see the difference. This is from the Wii U version btw.
 

Attachments

  • Param pic.jpg
    Param pic.jpg
    113.5 KB · Views: 259

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
The param editor isn't completely perfect. Due to the way the game handles it's param files, it's closet to impossible to fully rebuild certain files. Namely, files with embedded groups (groups inside of groups). The game has a function to parse params specific to the param file being parsed. Meaning that there isn't a generic way to parse them, as far as i know of at least. Though some break, I'd say 80% of the param files work fine. Unfortunately that happens to be one of them. Bayonetta's char specific param_vl file is also one of them.

Okay, after the latest update I tried everything again and now the extracting and repacking finally works for my european version, but I modifying the game doesn't work. I tried to open Captain Falcon's moveset and parsed the animations, and everything was working fine. Just as a test I opened his forward aerial and modified the knockback a bit, closed it, saved it and then repacked everything. Then I started the game with HANS normally (EUR/DE) and tested if the change worked, but suddenly all of Falcon's moves had no hitbox anymore and his up and down smash froze the game. After that I tried to start the game in USA/EN and all of the moves got their hitboxes back but the knee, with was the only one I changed.
A few things that I noticed were that strangely the patched version had exactly the same file size as the unaltered original file and that patching a data(us_en) folder together with just the data folder didn't seem to change the result in any way.

I would appreciate any help, I have no idea what to do now...

Were you using the beta version of sm4shcommand? Or at least the events.cfg from then beta or the repository? If you don't use the newer events.cfg files then the game will crash on certain moves and cause weird issues.
 

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
What do the param files do and when I open them, how do I know which group to edit?

Every param file is different. For that reason, if you right click on a group you can apply a list of labels to all entries in it. The github has some Templates up already in the PARAM/Templates directory. The current one there is for character attributes, which is in the param/fighter/Fighter_Param.bin file. Each entry in that group is the character attributes for a single fighter.

But since every param file is different, nobody really knows what the entries in other param files do yet. People need to mess around with them and test changes to see what they are.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: I was thinking about what to comment in your picture , that is why i didn't say hello directly...