ROM Hack The Discussion of smash 4 modding things

masterspike52

Well-Known Member
OP
Member
Joined
Jan 25, 2017
Messages
192
Trophies
0
Age
28
XP
506
Country
United States
hello everyone, i've decided that because we've cluttered @gryz 's thread with things that it wasnt meant for that i needed to move the discussion here, this is where we can put tutorials and have discussions of discovery for smash 3ds
things we know so far. ALWAYS, ALWAYS MAKE BACKUPS OF THE FILES YOUR EDITING IN CASE YOU SCREW UP!

Tired of the repetitive crap where you have to make a new folder for every model? Then your in luck because @M_1 made a .bat file that does this for you just download it and place it with your mbn and bch files and follow the onscreen instructions~ https://cdn.discordapp.com/attachments/223250494737481730/315752742427820033/MBN_TRANSFER_.bat
use this tutorial by @ih8ih8sn0w
What you need:
GodMode9: This is written for GodMode9, it should work for SafeMode9 too.
An SD Card with at least 1.5GB of free storage space (not an exact number as some audio is outside of dtls and I don't feel like doing math)
This pack: to extract files from dtls, same as in the OP.
A way to read files on your SD Card (I really hope that you have this because wireless will be a pain in the ass).
(Note: Only carts without a game update present will work as of now. If you have a cart with an update present, like 1.1.4 without downloading anything from the eshop, please PM @ih8ih8sn0w because he is curious)
Section I) If you have a cart that does work with SaltySD (if you have a digital copy, go to Section II)
1) Open GodMode9 and select [C:]GAMECART, then the smaller .3ds file.
2) Select NCSD image options... > Mount image to drive
3) Select content0.game > romfs > and mark the sound, dt, and ls files by pressing L, then press Y to copy.
4) Hold R and press right on the d-pad to go to another pane and go to [0:] SDCARD > files9. Hold R and press Y to make a new folder, name it whatever, open it, and press Y to paste the files in there. This will take some time to finish, so find something else to do and make sure your console does not die.
5) Move onto Section III (Dumping update files)

Section II) If you have a digital copy of the game
1) Open GodMode9 and select [A:]SYSNAND SD and goto title > 00040000 > (000EDF00 for US, 000EE000 for Eur, or 000B8B00 for JP) > content > and select the largest .app.
2) Select NCCH image options... > Mount image to drive
3) Select romfs and mark the sound, dt, and ls files by pressing L, then press y to copy.
4) Hold R and press right on the d-pad to go to another pane and go to [0:] SDCARD > files9. Hold R and press Y to make a new folder, name it whatever, open it, and press Y to paste the files in there. This will take some time to finish, so find something else to do and make sure your console does not die.
5) Move onto Section III (Dumping update files)

Section III) Dumping update files
1) Reboot GodMode9 so that everything is reset and go to SYSNAND SD > title > 0004000e > (000EDF00 for US, 000EE000 for Eur, or 000B8B00 for JP) > content > and select the largest .app file in the folder.
2) Select NCCH image options... > Mount image to drive
3) Select romfs and mark the sound, dt, and ls files by pressing L, then press Y to copy.
4) Hold R and press right on the d-pad to go to another pane and go to [0:] SDCARD > files9. Hold R and press Y to make a new folder, name it something different (change a letter or something simple), open it, and press Y to paste the files in there. This will take some time to finish, so find something else to do and make sure your console does not die.
5) Move on to Section IV (Extracting and merging)

Section IV) Extracting and merging
1) Turn off your console and put your sd card into your PC (if you cannot do this, you could transfer over FTP, but it will take a long time)
2) Create a folder on your PC somewhere so that you can place all your files in one location. Put the sound folders from both the base game, and the update in there.
3) Place the base game dt and ls into obtaining files > DTLS and the update dt and ls files into obtaining files > DTLS Update
4) Shift + right click in the DTLS folder, click open command window here, and type "dtls dt ls" this should extract every file into an outdir folder. Once that is done, move it where you wish.
5) Shift + right click in the DTLS Update folder, click open command window here, and type "python dtls.py dt ls outdir" this should extract every update file into outdir (note: there is no indication of this happening besides spam refreshing the outdir folder or watching the task manager). Place this wherever you wish as well. You may merge the base game and update files so that you do not have anything outdated. Older files rarely have any real use with the exception of some old params.
1.download ohana 3ds rebirth https://github.com/smb123w64gb/Ohana3DS-Rebirth (its smb's itteration of ohana 3ds rebirth) and then launch it then go to file at the top and click open find the directory of your smash 3ds dump go to data/model/fighter/insert fighter name here/body/insert outfit slot here (c00- the last one starting with c for h is for when you pause in single player things other than training)/normal.bch
2.go to the textures tab on the left of the model viewer and click export to export the textures for the model
3. use any editing program (paint.net, mspaint, gimp etc...) and edit the textures to your hearts content
4. when your done editing the textures go back to ohana go to tools and select BCH texture replacer, this will open another window
5. on the newly opened window go to file then open and select the normal.bch you opened with ohana (you know, the one you exported the textures from) then select the texture with the same name as the one you edited (note: do not change the name, for this guide didnt tell you too) and click the replace button at the top of the window
6. place the bch in the directory on your sd card for saltysd to load it
7. remember your opponent cant see it anyways xD
@ih8ih8sn0w is suppose to make a tutorial on it for he's the one that managed to actually get the stages to work. but for the time being you can download this https://cdn.discordapp.com/attachments/232285226498260992/289241087627755522/param.zip these are his files for the stage expansion
1. download these https://www.dropbox.com/s/r1yzt90gcnigd5l/files for adding characters.rar?dl=0 they're the files for ui_character_db.bin and dlc_param_c.bin prepared for adding characters all you have to do is edit ui_character_db.bin with param.exe and using http://sm4sh-hacking-research.wikia...recirc&utm_medium=impact-footer&utm_content=2 to tell you what entry the extra characters are thx @Cydget for giving me these to help expand the roster
use this tutorial here https://drive.google.com/file/d/0B2_Ddrb6EIuMSVNMelZ5NGFEOVE/view by ssb modder

alternatively if your using 3dsmax you can always use this tutorial by @M_1 http://gamebanana.com/tuts/12301
download parameters.exe here https://github.com/Sammi-Husky/Sm4sh-Tools/releases/tag/PARAM_V0.57
the only things we know how to edit at this time are ui_character_db.bin and ui_stage_db.bin

ui_character_db.bin info

0 Cosmetic ID
4 Character Series Icon
6 Actual character ID. Refer the the Character ID list to know which one it is.
7 Number of slots available. While you can go up to 255.
9 Do Not Show on CSS
10 Is a DLC character
14 CSS Position
21-36 These names contains the ID of the icon for the CSS that is associated to a costume.
For example, Name 21 containing a value of "5" means the game will be looking for chr_10_Fighter_05.nut when it needs to load an icon.

37-52 These names contains the ID used to find the Character Select Name (CSN) and Character Battle Name (CBN) associated to a costume.
For example, Name 37 containing a value of "3" means the game will be looking for

chrn_11_Fighter_03.nut when it needs to load the CSN or look for the CBN in melee.msbt.

info for ui_stage_db.bin

0
Cosmetic ID

1
Stage shows on the SSS ( Stage Select Screen )

1 for yes, 0 for no
2 Series Icon
3 Paid DLC stage
4 Unknown
5 Free DLC stage
6 Stage ID
7Alternate/omega Stage ID Only used by the Boxing Ring stage
8 Alternate omega Stage ID Only used by the Boxing Ring stage
9 Order in the SSS ( Stage Select Screen )
11 Maximum number of players allowed in normal mode
12 Maximum number of players allowed in omega mode
13 Unknown Always 1
14 Unknown Always 1
15 Unknown Always 1
16 Unknown Always 1
17 Unknown Always 1
18 Unknown Always 1
19 Unknown
20 Stage ID (some other type)
after dumping smash 3ds after using one of the previous guides you can download this https://www.dropbox.com/s/mgs5z6cbryo6yfp/CSS Editor v1.3.2.pyw?dl=0
this is a CSS editor made by @jam1garner that i changed up a very small amount for the 3ds's use all you have to do is put it in a folder with BACKUPS of the following files
ui_character_db.bin
global_parameter_menu
these are found in your dumps in the directory data/param/ui and data/param/global_parameters respectively
Download the smash 3ds tex editor here https://www.dropbox.com/s/9x36tjusu1cd6rf/Sm4shT3X.zip?dl=1

changing csp's
1.in your dumps go to data/ui/replace/chr/chr_00(these i believe are the picture for the skin selection part on the bottom screens portrait for non dlc characters) or data/ui/replace/append/chr/chr_00(this is the same as the last directory but for dlc characters)

2.make a backup of the one you want to edit and open it in the tex viewer you downloaded

3.click extract .png edit it then reinport using import on the tex viewer

changing stocks
1. in your dumps go to data/ui/replace/stock/chr/stock_00 and find the tex files containing your characters name i.e. zero suit samus is stock_00_Szerosuit each have tex files equal to the number of skins they have

2. use the tex editor to replace the icon

editing the title screen
1. in your dumps go to data/ui/luman/title_up/ and find the following tex files (img000000, img00001, img000003) and make backups of them

2. using the tex editor at the top of this spoiler open each of these files and replace them with pictures of your own

changing the loading icon
1. in your dumps go to data/ui/replace/mark/ and pic any of the tex files in mark_00 and mark_90 (the 2 files probably have to be the same, but you can test this)

2. place them on your sd card making the same directory inside sd:/saltysd

replacing attack trails
1. in your dumps go to data/effect/fighter/insert fighter here/trail and edit a tex file with tex editor

editing the damage font
1. in your dumps go to data/ui/info/dmg and copy img-000000043.tex and open it with tex editor
1. download sm4sh command from https://github.com/Sammi-Husky/Sm4sh-Tools/releases/tag/SM4SHCommand_Nightly
2. make backups of your animcmd folder located in your dumps at data/animcmd and your motion folder located in your dumps at data/motion
3. open sm4sh command and click file>open>fighter and go to your backup of your animcmd should look something like this animcmd/fighter/insert fighter name here and click select folder, there should now be ACMD on the right panel of sm4sh command
4. once thats done go to tools>parse animation and go to your backup of your motion folder. this should look something like this motion/fighter/insert same fighter as animcmd/body and click select folder. if you drop down the ACMD on the right panel you'll now have names for most of your moves
5. go to here for scripts/commands for sm4shcommand https://docs.google.com/spreadsheet...0GZpDn4YhWaVohuGySR1f331M/edit#gid=1624486625 (thanks to kumatora on discord i dont have their gbatemp name so i cant tag them but surely they'll see it)
thanks to @M_1 we also have this for reference

((~~Useful things for battle~~))



(Put this in the middle of your script) Slow-mo start: Time_Manipulation(Unknown=0xA, Unknown=0x20C49C)

(Put this in the end of your script) Slow-mo end: Time_Manipulation(Unknown=0x1, Unknown=0x1)


(Put this in the middle of your script) Ryu's Down Special stun: Extended_Special_Hitbox(ID=0x0, Part=0x0, Bone=0x0, Damage=17, Angle=0x3C, KBG=0x64, FKB=0x0, BKB=0x0, Size=5.4, Z=0, Y=10.5, X=11.5, Effect=0x1E, Trip=0, Hitlag=2.3, SDI=1, Clang=0x1, Rebound=0x0, ShieldDamage=0x1E, SFXLevel=0x2, SFXType=0x36, Ground/Air=0x3, Direct/Indirect=0x1, Type=0x4, Action=0x3F, Unknown=0x0, Unknown=0xF, Unknown=0x0, Blockability=0x0, Reflectable=0x0, Absorbable=0x0, Rehit=0x0, IgnoreInvuln=0x0, Unknown=0x0, FacingRestrict=0x3, Unknown=0x0, TeamDamage=0x0, DisableHitlag=0x0, NoGFX=0x0, flinchless=0x0, WarpZ=0, WarpY=10.5, WarpX=-3)
unk_AEAE97FF(unknown=0x0, unknown=0x2)


(Put at beginning) Cancel any move: Allow_Interrupt()

(Put at beginning) Set move speed: (Higher the number the slower) : Set_Frame_Duration(Speed=0.3)

(Put at beginning) Zoom in: Camera_Closeup(Unknown=0x5, Unknown=0x0, Unknown=1.5, Unknown=0x0, Unknown=0x0)

(Put at end) Back to normal camera: Normal_Camera()



((~~Now for Effects and angles~~))




((~~Whenever you see Effect=0xXX put it over Effect=0xXX in whatever your editing~~))




paralysis A.K.A stun: Effect=0x14

Freeze (Ice): Effect=0x4

Falco down special effect: Effect=0x3

Flame attack: Effect=0x5

Flower on head Effect=0xE

Mario Coin Effect: Effect0=0x6

Reflect effect: Effect=0x7

Ganon flame effect: Effect=0x13

OHKO effect: Effect=0x10

Slice looking effect: Effect=0x11

Aura flame effect: Effect=0x15

Bury effect: Effect=0x16

Fall to ground effect: Effect=0x17

Hitstun effect: Effect=0x18



((~~Now for angles~~))



((~~Whenever you see Angle=0xXXX put it over Angle=0xXXX in whatever your editing~~))



Upward angle: Angle=0x46

Spike downward: Angle=0x10E

Spike right: Angle=0x160

Staight up angle: Angle=0x58
go to this link and download the easy nus3bank editor https://gbatemp.net/threads/easy-nus3bank-editor-with-gui.426370/ instruction on how to use are also here
download this https://github.com/IcySon55/3DLandMSBTeditor/releases/tag/v0.9.8

In your smash 4 dumps extract the file:
data\ui\message\sound.msbt

Open it with the msbt editor. Use "Edit>Find" and search the music title that you want to change, and note the number at the end of it.

Once you do that, use "Edit>Find" again, this time searching for the source game's title. You'll get multiple files, but the right one is the one which has the same numbers at the end of it's name as the song.
IF THERE ARE ANY ERRORS PLEASE CORRECT ME IN THE THREAD SO I MAY FIX THEM

if you have any questions come to one or both of the following discord servers
https://discord.gg/VJA9NcS - smash 4 modding
https://discord.gg/7GrgeFJ - smash neos
 
Last edited by masterspike52,

ih8ih8sn0w

Koreaboo
Member
Joined
Aug 22, 2015
Messages
1,677
Trophies
0
Age
25
Location
Hell
XP
898
Country
United States
Newer Dumping Guide. Now with 30% less eye cancer!
What you need:
GodMode9: This is written for GodMode9, it should work for SafeMode9 too.
An SD Card with at least 1.5GB of free storage space (not an exact number as some audio is outside of dtls and I don't feel like doing math)
This pack: to extract files from dtls, same as in the OP.
A way to read files on your SD Card (I really hope that you have this because wireless will be a pain in the ass).
Python 2.7.13: If you do not have this, or need help adding it to the path (type python in command prompt to see the version that is in the path), follow section V.
(Note: Only carts without a game update present will work as of now. If you have a cart with an update present, like 1.1.4 without downloading anything from the eshop, please PM @ih8ih8sn0w because he is curious)

1) Open GodMode9 and select [C:]GAMECART, then the smaller .3ds file.
2) Select NCSD image options... > Mount image to drive
3) Select content0.game > romfs > and mark the sound, dt, and ls files by pressing L, then press Y to copy.
4) Hold R and press right on the d-pad to go to another pane and go to [0:] SDCARD > files9. Hold R and press Y to make a new folder, name it whatever, open it, and press Y to paste the files in there. This will take some time to finish, so find something else to do and make sure your console does not die.
5) Move onto Section III (Dumping update files)

1) Open GodMode9 and select [A:]SYSNAND SD and goto title > 00040000 > (000EDF00 for US, 000EE000 for Eur, or 000B8B00 for JP) > content > and select the largest .app.
2) Select NCCH image options... > Mount image to drive
3) Select romfs and mark the sound, dt, and ls files by pressing L, then press y to copy.
4) Hold R and press right on the d-pad to go to another pane and go to [0:] SDCARD > files9. Hold R and press Y to make a new folder, name it whatever, open it, and press Y to paste the files in there. This will take some time to finish, so find something else to do and make sure your console does not die.
5) Move onto Section III (Dumping update files)

1) Reboot GodMode9 so that everything is reset and go to SYSNAND SD > title > 0004000e > (000EDF00 for US, 000EE000 for Eur, or 000B8B00 for JP) > content > and select the largest .app file in the folder.
2) Select NCCH image options... > Mount image to drive
3) Select romfs and mark the sound, dt, and ls files by pressing L, then press Y to copy.
4) Hold R and press right on the d-pad to go to another pane and go to [0:] SDCARD > files9. Hold R and press Y to make a new folder, name it something different (change a letter or something simple), open it, and press Y to paste the files in there. This will take some time to finish, so find something else to do and make sure your console does not die.
5) Move on to Section IV (Extracting and merging)

1) Turn off your console and put your sd card into your PC (if you cannot do this, you could transfer over FTP, but it will take a long time)
2) Place the base game dt and ls into obtaining files (this comes from the pack above) > DTLS and the update dt and ls files into obtaining files > DTLS Update
3) Shift + right click in the DTLS folder, click open command window here, and type "dtls dt ls" this should extract every file into an outdir folder. Once that is done, move it where you wish.
4) Shift + right click in the DTLS Update folder, click open command window here, and type "python dtls.py dt ls outdir" this should extract every update file into outdir (note: there is no indication of this happening besides spam refreshing the outdir folder or watching the task manager). Place this wherever you wish as well. You may merge the base game and update files so that you do not have anything outdated. Older files rarely have any real use with the exception of some old params.
5) Create a folder on your PC somewhere so that you can place all your files in one location. Put the sound folders from both the base game, and the update in there.

1) Download either the x86-64 installer for 64 bit, or x86 installer for 32 bit windows (if you are unsure, download the x86 installer).
2) Run the installer and click next until you get to the "Customize Python 2.7.xx" screen.
3) Scroll through the options until you get to "Add python.exe to Path" and select "Will be installed on the local hard drive."
4) Finish the install.
 
Last edited by ih8ih8sn0w,
  • Like
Reactions: SomeRandomWeeb

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
There's 3 Sm4sh tutorial threads now XD. I hope the newcomers don't get discouraged by all the different competing threads....
 

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
in all fairness i think this one has more than the others so i win <3
You have model importing on your guide, so I'm pretty sure it's the most up-to-date. I'm just wondering how the newcomers will avoid confusion, maybe we can make a PSA on the Sm4sh mods thread?
 

masterspike52

Well-Known Member
OP
Member
Joined
Jan 25, 2017
Messages
192
Trophies
0
Age
28
XP
506
Country
United States
You have model importing on your guide, so I'm pretty sure it's the most up-to-date. I'm just wondering how the newcomers will avoid confusion, maybe we can make a PSA on the Sm4sh mods thread?
i shared it on reddit, and maybe we can stickey it?
 

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
hmmmmm i already linked it in his thread though, and noone uses it cause they're too busy with the model importing thing
I meant on the first page XD... I should've clarified it... I'm not really worried about the people working on model importing because they (probably) already know how to mod Sm4sh. I was thinking that we should try to get the guide linked on the first page (where the mods are linked) because newcomers will be able to find it easily...
 

Kobazco

Well-Known Member
Member
Joined
Jul 29, 2016
Messages
682
Trophies
0
Age
24
XP
1,577
Country
United States
And despite this, I have still never gotten custom music to work within smash 3ds modding. Does anyone have a tutorial for this specific issue? Custom music in smash 3ds that is.
 

masterspike52

Well-Known Member
OP
Member
Joined
Jan 25, 2017
Messages
192
Trophies
0
Age
28
XP
506
Country
United States
And despite this, I have still never gotten custom music to work within smash 3ds modding. Does anyone have a tutorial for this specific issue? Custom music in smash 3ds that is.
gotta use the nus3bank editor, which i really gotta add to the tutorials

I meant on the first page XD... I should've clarified it... I'm not really worried about the people working on model importing because they (probably) already know how to mod Sm4sh. I was thinking that we should try to get the guide linked on the first page (where the mods are linked) because newcomers will be able to find it easily...
that would be good x3
 

masterspike52

Well-Known Member
OP
Member
Joined
Jan 25, 2017
Messages
192
Trophies
0
Age
28
XP
506
Country
United States
In texture mods, you should remove the link and just say to use the guide above.
EDIT: Also the link to Ohana3DS Rebirth doesn't seem to work right.
went ahead and removed the dump guide since itll be the first one you come too, also fixed the link to just be github instead of using the link tag
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=pnRVIC7kS4s