Hacking [Release] NUD Vertex Injector

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
Version 1.0 Public

Nud is a format used by namco for models
In this case the Wii U version of sm4sh has nud files.

*You will need 3DS Max*

Use-

Model Import

Run SSB4_NDP3_FOR_INJECT script
Click the import button
Open Nud File


Exporting Edited Verts

Run VertExport script
Give location to save vert.csv


Vert Inject

nudVertex.py Vert.csv model.nud


Made originally by @soneek and updated @mariosonicds(Twitter @smb123w64gb)


Special Thanks to
-RandomTalkingBush - The original Import script
-DanRouse - Python conversion and optimization





Material editor has been updated!
Just download the MaterialEdit_2.zip

Big thanks to Random Talking Bush for the update!

Use-
Extracting Atributes
Copy model into folder
Drag model.nud onto extract.bat
A out.csv will come (If its 0kb thats not good)
Editing Atribues
Use your favorate text editor to edit values inside the out.csv
To find the item to edit use 3d editor and file the poly number and search for it
Done.... Well save silly
Atribute Inject
Drag model.nud onto inject.bat

Oh and _2 files are the web color verstion or 1.0 floats are now 255

*You need python 27*
 

Attachments

  • Release.zip
    9.2 KB · Views: 2,736
  • MaterialEdit_2.zip
    8.6 KB · Views: 2,442
Last edited by mariosonicds,

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
Awesome sauce. History being made here.
Anyways:
1. Any bugs?
2. What is nud?
3. What other games can this do?
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Awesome sauce. History being made here.
Anyways:
1. Any bugs?
2. What is nud?
3. What other games can this do?
1) No idea
2) Both Smash and Pokken use Namco formats, so it's probably Namco Universal Data(?)
3) Just Smash for now as far as I know, we can't decrypt/re-encrypt Pokken's files without a memdump with it loaded, so it's kinda hard to test anything out, I'm not sure what other games if any
 
  • Like
Reactions: Don Jon

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
Cbx8wTrW4AEZ6bC.png
if i understand good it's for editing character with 3DS Max?
This makes this possible, Goku over Ryu.
 

Sn10jg

Well-Known Member
Member
Joined
Mar 31, 2016
Messages
101
Trophies
0
Age
32
XP
161
Country
Canada
Good luck with vertex edits everyone. We'll try to have full model importing finished as soon as we can, so we'll have less limits.
Awesome. Sounds like there's finally some progress. Not related to the thread but have you come close to figuring out how to add more music titles soneek?

Edit: Don't want to double post but I'm stuck on the last part.
Vert Inject

nudVertex.py Vert.csv model.nud

Do I run something in command prompt or insert something in the python script?
 
Last edited by Sn10jg,

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
Awesome. Sounds like there's finally some progress. Not related to the thread but have you come close to figuring out how to add more music titles soneek?

Edit: Don't want to double post but I'm stuck on the last part.
Vert Inject

nudVertex.py Vert.csv model.nud

Do I run something in command prompt or insert something in the python script?

Just have python run the script like that and it should be good. This was made with Python 27 in mind
 

Sn10jg

Well-Known Member
Member
Joined
Mar 31, 2016
Messages
101
Trophies
0
Age
32
XP
161
Country
Canada
Just have python run the script like that and it should be good. This was made with Python 27 in mind
Okay got it working. It was exported vert.csv that wasn't good. Im pretty much a noob at things. I want to create an ash greninja with a shuriken on it's back like the captain america mod. How was that done since you can't add models?
 

Sun_Spirit

Member
Newcomer
Joined
Dec 31, 2015
Messages
24
Trophies
0
Age
25
XP
58
Country
United States
Okay got it working. It was exported vert.csv that wasn't good. Im pretty much a noob at things. I want to create an ash greninja with a shuriken on it's back like the captain america mod. How was that done since you can't add models?
Captain Falcons belt has a little buckle on it which is the shape of a Circle. He moved it to his back and made it much larger.
 

SebTremblay

Member
Newcomer
Joined
May 12, 2016
Messages
6
Trophies
0
Age
33
XP
62
Country
Canada
Hi! I need some help, because for the first time in my sm4sh modding experience, I'm totaly stuck here.

I can't seem to inject the vertex in the nud file. I have python, and everything works perfectly for the nut (texture).

Here is where I'm stuck

Thanks!
 

Attachments

  • screen1.PNG
    screen1.PNG
    2.9 KB · Views: 670
  • screen2.PNG
    screen2.PNG
    4 KB · Views: 604

Astril

Active Member
Newcomer
Joined
May 3, 2016
Messages
38
Trophies
0
XP
92
Country
United States
Hi! I need some help, because for the first time in my sm4sh modding experience, I'm totaly stuck here.

I can't seem to inject the vertex in the nud file. I have python, and everything works perfectly for the nut (texture).

Here is where I'm stuck

Thanks!
I'm having this same problem. When I go to inject it says.
polys[curPoly-1].vertexCoords.append(verts)
IndexError: list index out of range
 
Last edited by Astril,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16