Hacking Sm4sh Injector Pack

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
*REQUIRES TexConv2*
Requires Python 2.7 installed

NEW FEATURES!!
Extract files and convert via A.Extract.A
Better GUI
True lazyness on mips. (Now it staps it from overwriting preshus data)

*Extraction*

*Easy*
Drag your nut file onto A.Extract.A
You will get your DDS files in OutDDS

*Harder*
Open cmd in the directoru of convert
type
python Nut_check.py "Your Nut file"
Then run
GTX2DDS


*Clean Up*
Open CleanUp

*Injection*

*Easy*
Use my easy injector via editing EasyInject.bat to change the folder to NUT_Inject and TexConv2
Copy that EasyInject.bat to the folder where your new dds and nut file
Open EasyInject and boom you are done
*Harder*
Inject via 'python NUT_Inject.py Model.nut myTexture.dds (Slot Number IE: 9 10 25 ect)'

*Specal*
**This is for AMDCompress and Nvidia Plugin**
ARGB_8888 is what AMDCompress opens ABGR_8888 dds files, so in editing swap the Red and Blue then when done with edits Swap them back....
The new EasyInject_ARGB_png.bat can convert your png export from AMDCompressCLI.exe

*Usage of AMDCompressCLI.exe*
AMDCompressCLI.exe DDSfile(in) PNGfile(out)


*Update*
If you have a dds file in the DDS folder, use the EasyInject_S_DDS.bat

Update your bat files, If you have spaces like c:/User/Bob/Desktop/Meme Oh/Convert me/ Then add quoits "c:/User/Bob/Desktop/Meme Oh/Convert me/"

USE INTEL DDS PLUGIN FOR THOES PESKY A8B8G8R8
http://gametechdev.github.io/Intel-Texture-Works-Plugin/
and if you dont have Photoshop use amd compress but swap Red and Blue chanels.
http://developer.amd.com/tools-and-sdks/graphics-development/amdcompress/


Edit: We got a basic video going over the fundimentals


*ID Error Fixer
TexIDFix.py model.nud model.nut (ID to assign)
(ID to assign) can be 0 - 255

*Ver 2.0 - New Gui, More safetynets,Ez extract
*Ver 1.3.1 - Added IDFixer
*Ver 1.3 - Added local path to fix some injections
*Ver 1.2 - Fixed single Mipmap issue and Support for special case DDS Out.
*Ver 1.1 - Added a catch for too many mipmaps (Helpful for non PS users)
 

Attachments

  • Inject_Pack.zip
    11.7 KB · Views: 9,029
Last edited by mariosonicds,

Atross

Well-Known Member
Newcomer
Joined
Feb 6, 2015
Messages
94
Trophies
0
XP
375
Country
France
Not sure to understand everything.
How can it be used ? If someone can make a tutorial for hacking textures/models swap, it can be cool !
 

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
Okey, just wanted to know what is contained within the .nut files
We beleve it to be an acronym for Namco unviersal texture.... Could posably be used for pokken tournament since Soneek saw in the update that another common file was used NUS3Bank.... unsure tho.
 

Dead_MK

Well-Known Member
Newcomer
Joined
Aug 21, 2015
Messages
70
Trophies
0
Age
27
Location
Smashville
XP
153
Country
Canada
@mariosonicds
tmp.gtx = Your .dds converted?


EDIT: Tried to edit the .nut file with an hex editor to change the texture (In this case, tmp.gtx == mytexture.dds) and the texture is weird af lmao

Screenshot_7 = Before the conversion
Screenshot_6 = After the conversion
 

Attachments

  • Screenshot_6.png
    Screenshot_6.png
    211 KB · Views: 934
  • Screenshot_7.png
    Screenshot_7.png
    118.6 KB · Views: 887
Last edited by Dead_MK,

Dead_MK

Well-Known Member
Newcomer
Joined
Aug 21, 2015
Messages
70
Trophies
0
Age
27
Location
Smashville
XP
153
Country
Canada
Btw I edited the model.nut of PKMN Stadium 2 and this happen

Idk where to find the green reflection.. (it is not in the model.nut)
 

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
Btw I edited the model.nut of PKMN Stadium 2 and this happen

Idk where to find the green reflection.. (it is not in the model.nut)

K you forgot to change the amout of mips, my injector only injected the mip 1 which is only used up close. Nvidia plugin has support to generate those needed mip maps
 
  • Like
Reactions: Dead_MK

Logan Pockrus

Knawledge is key.
Member
Joined
Jan 1, 2016
Messages
1,338
Trophies
0
XP
1,062
Country
United States
Yes, or SDCafiine. Faster and doesn't require a server
In that case, what is the folder structure to replace these files? Specifically, character model.nut files. I.E., something like /vol/content/audio/stream/pBGM_DS_TICK_TOCK_CLOCK_N.bfstm (that particular structure replaces the soundtrack for tick tock clock in Mario Kart 8).
 

Sn10jg

Well-Known Member
Member
Joined
Mar 31, 2016
Messages
101
Trophies
0
Age
32
XP
161
Country
Canada
So oddly enough I'm having trouble with injecting. I managed to get the vertex to work but textures are not injecting. I tried both the hard and easy way. I already have python installed and it works with everything else.

I edited the easyinject.bat to Shaq\Desktop\Injectpack\ (with everything else untouched) and the injection is not working. The two .dds files and the model.nut are with the easyinject.bat in a seperate folder. The hard way I opened cmd in the injectpack folder with my two .dds files and model.nut and entered nut_inject.py model.nut 0.dds and I get this error.

Traceback (most recent call last):
File "C\Users\Shaq\InjectPack\NUT_Inject.py", line 10 in (module)
textID = int(sys.argv[3])
IndexError: list index out of range

If anyone can help that would greatly appreciated.
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
So oddly enough I'm having trouble with injecting. I managed to get the vertex to work but textures are not injecting. I tried both the hard and easy way. I already have python installed and it works with everything else.

I edited the easyinject.bat to Shaq\Desktop\Injectpack\ (with everything else untouched) and the injection is not working. The two .dds files and the model.nut are with the easyinject.bat in a seperate folder. The hard way I opened cmd in the injectpack folder with my two .dds files and model.nut and entered nut_inject.py model.nut 0.dds and I get this error.

Traceback (most recent call last):
File "C\Users\Shaq\InjectPack\NUT_Inject.py", line 10 in (module)
textID = int(sys.argv[3])
IndexError: list index out of range

If anyone can help that would greatly appreciated.
sys.argv[3] is the 3rd variable input via command line which is the texture "slot" you're replacing, I assume 0 based on your dds name
 

Sn10jg

Well-Known Member
Member
Joined
Mar 31, 2016
Messages
101
Trophies
0
Age
32
XP
161
Country
Canada
sys.argv[3] is the 3rd variable input via command line which is the texture "slot" you're replacing, I assume 0 based on your dds name
Kind of confused. The 0.dds is the original one I extracted and I tried inserting it as a test to see if I can get it to work at all (since I can't get my modded one to work). So does that mean I have to rename it to something else instead of 0.dds?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Ironic this was posted today lol
  • BigOnYa @ BigOnYa:
    I think the tv series has boasted play of, I did see they said playing of it Is up, way more than norm
    +1
  • BigOnYa @ BigOnYa:
    I've been playing the next gen version on Series X all day, I love it. :wub:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Downloading some random stuff, damn almost 400GBs in like 4 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonna be over 1TB this month.... damn lol
  • Xdqwerty @ Xdqwerty:
    good night
    +1
  • BigOnYa @ BigOnYa:
    At least you have some fast speeds. What a drag that used to be, I remb downloading 1 pic back in the day, and seeing line by line show
    +1
  • BigOnYa @ BigOnYa:
    Nighty night.
  • BigOnYa @ BigOnYa:
    Or worse, you downloading something, and someone calls your phone and interupts the download, good ole AOL. Of course that's before most you guys even were born yet.
  • Psionic Roshambo @ Psionic Roshambo:
    Lol I think my first modem was 48K but it had some sort of firmware or software update that let me get 56K
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I had EarthLink lol
  • Psionic Roshambo @ Psionic Roshambo:
    A bunch of NetZero accounts that I used for things... Lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    So glad I'm not in prison lol
  • BigOnYa @ BigOnYa:
    Yea marriage is a bitch sometimes...
  • Psionic Roshambo @ Psionic Roshambo:
    I legit think they passed the cyber terrorism laws from some of my hmm pranks lol
  • Psionic Roshambo @ Psionic Roshambo:
    I knocked the east coast backbone of EarthLink offline for like 6 hours one time, was on the news and everything well I mean I wasn't on the news.... Just they where having "technical difficulties" lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Was just one single custom packet. I miss when Internet security was an afterthought lol almost all modems and network hardware operated in promiscuous mode.
  • Psionic Roshambo @ Psionic Roshambo:
    Now these days they do sanity checks.... The source IP can't also be the destination IP lol
  • Psionic Roshambo @ Psionic Roshambo:
    They did end up using some of my stuff in the first Gulf war though lol
  • BakerMan @ BakerMan:
    GUYS I JUST COMMENTED A YOUR MOM JOKE ON A GACHA YT COMMUNITY POST (the algorithm has cursed me in terms of community posts, bc I fuck around on that sort of community post, just commenting and being a jackass)
    +1
  • BakerMan @ BakerMan:
    IT FELT SO GOOD
    +1
  • BakerMan @ BakerMan:
    the OP made a couple vocaloid characters, and the post had the caption "Guess who I did 💙💛❤️

    hint: they're from vocaloid"
    +1
  • BakerMan @ BakerMan:
    to which I responded:
    "Guess who I did 💙💛❤️

    hint: it's uremum"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I studied IPV6 if they hadn't passed the cyber terrorism laws omg.... In theory I have some awesome pranks but I'm afraid to test them lol
  • BigOnYa @ BigOnYa:
    Thank goodness for VPN nowadays
    BigOnYa @ BigOnYa: Thank goodness for VPN nowadays