Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Steps to making a working object for SMG2//
- Step 1: Open up "A modeling program" and make the object
- !!Do not forget to give it a material and a texture!!
- (mapping is not necessary but makes the object look better)
- !!Triangulating faces is a necessity so either do this before or on the export screen!!
- afterwards export as .obj
- !!If this is not an option while exporting then check the plug in settings to see if its loaded or if there is no .obj plug in search the forums for a .obj exporter plug-in!!
- Step 2: Open up the collision importer (collision-v0.6/collision_import.exe), open up the .obj file in it and use the materials to give it collisions.
- (just clicking export is enough but those other values will change part of the way the object works)
- (this will provide .kcl and .pa)
- Step 3: Open up CMD and type
- (location of python folder)/python (location of python folder)/obj2bdl.py [(location of folder with object in it)/Object.obj]
- (will provide .bdl)
- {IF the line 140 error shows up edit the .mtl file with notepad or notepad++(preferred) and add "map_Kd [picturename].png" without the [ ] and ""}
- Or if you know your object wont give any errors just toss it directly on the obj2bdl.py by dragging.
- Step 4: Put the .bdl .klc and .pa in a folder with the name of your object and throw that onto the RARC packer and the .arc it provides onto the yaz0 encoder(takes a while) then delete .arc given before.
- Step 5: Rename .yaz0 file to .arc and put .arc file in the ObjectData folder.
- Step 6: Open whitehole to see if the object is properly done.
- (open a random galaxy, put in a random object in and change the object name to what your object was called minus the .arc, if done correctly your object should show)
- !!This is not usable on dolphin/wii yet but we are nearly there!!
- Step 7: Close whitehole and find productMapObjDataTable.arc.
- Drag it onto ArcExtract.exe to produce the BSCV
- Then edit BSCV using BSCV editor.exe (open the file opening it from the top left)
- (Field: modelName-> Data: file name without .arc, className -> Data: SimpleMapObj)
- Step 8: Throw the ProductMapObjDataTable.bscv inside of a (self-made) ProductMapObjDataTable folder.
- Throw said folder onto the RARC packer and the .arc it provides onto the yaz0 encoder(takes a while) then delete .arc given before.
- Rename .yaz0 file to .arc and put .arc file in the ObjectData folder.
- Step 9: Test out on dolphin/wii
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement