Advertisement
Guest User

How to Vertex

a guest
May 17th, 2016
2,721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. A QUICK AND DIRTY GUIDE TO VERTEXING IN SMASH U BY CORBOND57
  2.  
  3. REQUIREMENTS:
  4. A SMASH U DUMP (duh)
  5. SM4SHEXPLORER: https://gbatemp.net/threads/sm4shexplorer-wii-u-only-for-now.416118/
  6. PYTHON (I'M NOT GONNA HELP WITH THIS SINCE YOU PROBABLY ALREADY HAVE THIS INSTALLED IF YOU WANT TO MOD SMASH)
  7. 3DS MAX
  8. THE SCRIPTS AND STUFF FOUND HERE: http://gbatemp.net/threads/release-nud-vertex-injector.422999/
  9. SM4SH INJECTOR PACK (optional, only for textures): https://gbatemp.net/threads/sm4sh-injector-pack.419211/
  10.  
  11. LET'S BEGIN!
  12.  
  13. STEP 1 - Extracting the model
  14. Extract the model(s) you want to edit via Sma4shExplorer (they're in the data folder somewhere). I would recommend extracting the model.nut too, since it's easier to edit when you can see what you are doing, but it's optional. Copy the resulting files in the extract folder to a easy to reach place.
  15.  
  16. STEP 2 (optional) - Extracting the textures
  17. Extract the Sm4sh Injector Pack and put your model.nut in the InjectPack folder. then, open a console window in the folder (this can be done by SHIFT+rightclick in the folder and clicking "open command window here") enter python NUT_check.py (your model.nut name here, without the ()'s of course) it should print out a bunch of lines along the lines of -Slot Number 4 Texture id 0x9,9 has 4 mipmaps. Format is 2. once it's finished, run the GTX2DDS.bat. a bunch of .DDS texture files should appear in the OutDDS folder. Copy those to the same folder where your model.nud is.
  18.  
  19. STEP 3 - Importing the model into 3DS Max
  20. Extract the pack you got from downloading the scripts, open 3DS Max and click on MAXscript, then on Run Script.., point it towards the SSB4U_NDP3_FOR_INJECT.ms script and then click on the Import Model button that shows up. Point it towards your model.nud, and it should import. This might take a while though, and expect your 3DS max to freeze a bit. Eventually your model should pop up (with textures if you followed step 2)
  21.  
  22. STEP 4 - the fun part!, editing the model
  23. Now, on the left side of the screen you should see a bunch of stuff with _polygon(numbers here) with a lightbulb icon and a ball icon. These are groups, and they contain various parts of the model. Scroll through the list until you find the group you want to edit, like for example murabito_woodenstick_VIS_O_OBJ_polygon11 (this is the Villager's stick he uses in his Up tilt). You can also toggle the lightbulbs to help you find the right group.
  24.  
  25. If you find the group you want, click on the ball icon. (make sure the lightbulb is on or you won't be able to see it.) On the right you should then click the blue rainbow-like icon that's called Modify. you should get a menu with stuff like Skin, Edit Normals, etc. Editable Mesh is the one we want. click on the + and click on Vertex. You'll get a warning about Edit Normals or something, you can just click yes. A bunch of points should appear on the part you selected. you can drag these parts around to edit the model to your liking. Have fun editing!
  26.  
  27. STEP 5 - Exporting the model and injecting it
  28. Once you've finished editing the model and you want to export it, press MAXScript and then Run Script.. again. This time, point it towards VertExport.ms. Save it to the same folder you put the scripts in. (i would advise saving normally in 3DS Max too in case anything goes wrong) Drag your model.nud in there too and then open a command window in that folder.
  29. then run "nudVertex.py yourvertexedit.csv yourmodel.nud". If done correctly it should apply all the edits you made to the actual model.
  30. That's it, you can now load it in the game via Sm4shExplorer and play with your vertex hack!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement