Hacking Sm4sh Injector Pack

  • Thread starter Thread starter mariosonicds
  • Start date Start date
  • Views Views 72,640
  • Replies Replies 83
  • Likes Likes 7
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?

0.dds is you dds file and its slot 0. You need "nut_inject.py model.nut 0.dds 0" In the OP it says 'python NUT_Inject.py Model.nut myTexture.dds (Slot Number IE: 9 10 25 ect)'

Oh and what is your setup on path on EasyInject.bat. It needs to have the C:\~~~~~ so forth
 
Last edited by mariosonicds,
0.dds is you dds file and its slot 0. You need "nut_inject.py model.nut 0.dds 0" In the OP it says 'python NUT_Inject.py Model.nut myTexture.dds (Slot Number IE: 9 10 25 ect)'

Oh and what is your setup on path on EasyInject.bat. It needs to have the C:\~~~~~ so forth
Okay I didn't realize that I had to put 0 at the end. With the 1.dds (the spec and depth one) though when I insert it it becomes glitched. I exported it in the DXT5 format and the original file format is 2. All I did was put a light grey value over the original.

Here is my directory for the easyinject.bat
for %%f in (*.dds) do for %%b in (*.nut) do python C:\Users\Shaq\Desktop\InjectPack\NUT_Inject.py %%b %%f %%~nf
 
Last edited by Sn10jg,
Okay I didn't realize that I had to put 0 at the end. With the 1.dds (the spec and depth one) though when I insert it it becomes glitched. I exported it in the DXT5 format and the original file format is 2. All I did was put a light grey value over the original.

Did you do nut_inject.py model.nut #.dds #

And did you export with all the mipmaps. You can probably put it to 12 since the injector will only inject the required MIPS.
 
OK, i know what up. Its a special case. I'll update the injector.

Edit: Putting up the updated injector.
52d3359e1b.jpg
 
Last edited by mariosonicds,
  • Like
Reactions: HeartBound
Did you do nut_inject.py model.nut #.dds #

And did you export with all the mipmaps. You can probably put it to 12 since the injector will only inject the required MIPS.

Figured it out. It was suppose to be nut_inject.py model.nut 1.dds 1
 
can't edit the character select or stage select name textures. it's saying they're format 22, and they won't open in photoshop or paint.net
 
I'm having an issue at the final stage of injecting...

Vam9nox.png


i followed all the instructions, but whenever i run the .bat it fails to generate a tmp.gtx

i dont know what im missing here....

i am also unsure where to get a model.nut aside from the ones already written with files, which i would assume would corrupt the finished product. can someone link one or direct me to one?

It is also saying "Failed to load DLL 0x10000L"
 
Last edited by alterrequiem,
I extracted and edited a CSP file succesfully but it doesn't let me rebuild it into a .nut file with the EasyInject .batfile. The edited .dds file and the original .nut file is in the same folder as the EasyInject.bat but the bat doesn't do anything.

Edit: got it working
 
Last edited by 0KayJay0,

Site & Scene News

Popular threads in this forum