Jump to content

Recommended Posts

Nintendo64 Mapping Tool

 

Here is a google sheet where I listed few games that can be ripped or not:

https://docs.google.com/spreadsheets/d/1ijRktBuMKTKaxeZiHErsZLJe59a9MEr1hOtKd19SGTo/edit?usp=sharing

 

If you are interested in ripping Rayman2,  it's a mess to do with N64 but not on PC.
Someone already ripped all areas, so you can check this: https://raymanpc.com/forum/viewtopic.php?f=89&t=25072

 

Check out the other guides:

 

In the other guides, I talked about a tool I was making to make some process of ripping N64 models faster.

So here it is.

 

Update: January 2020, the tool was updated with a remade GUI and new options

 

Here is a preview of some parts of the tool

 

image.png.fde67b1d352b5ef72c0b8b984e533533.png

 

image.png.8d9f80ed580b002c391260db11b926a3.png

 

 

 

 

 

___________________________________________________________________________________________________

So what can it do ?

 

  1. Convert wrl file to obj - Better than importing in Blender
  2. Delete all materials from an obj - Way faster than deleting all manually
  3. Delete all unused materials from an obj - Makes it easy to clean a obj file from useless materials
  4. Automatically create and apply materials for every objects of the model - Does it in less than a second, whereas it could take me 1 hour to texture a whole area
  5. Modify the obj file:
    • Reverse Vertex Order (explained in the guide, it can be needed for some models)
    • Scale Uniformly or Non Uniformly the model by given values
    • Rotate the model by given values
    • Merge all objects sharing a texture together
    • Sort all objects and materials by their name (alphabetically)
    • Blacklist = Delete parts of a model that use a list of given texture
  6. Obj To Smd - Convert a obj file to smd
  7. Copy all textures used by an obj file
  8. Merge together multiple obj files - You can either:
    • Merge all obj files located in a folder of your choice
    • Merge the obj files you want located anywhere
  9. Mirror a given picture - Horizontally and/or Vertically
  10. Create a transparent png picture from a bmp and its alpha (the files you get in the vrml dump)
  11. Blacklist Settings - Add games, Add textures to its blacklist (to use in Modify Obj), and copy all textures from a blacklist into a given folder

 


___________________________________________________________________________________________________

History

 

  1. October 2018 - Made the tool with Python3, command prompt. Required Python to be installed on a computer to be useable so it was meh
  2. End of 2018 - I made a C# WPF app and used IronPython to load the python script, so it didnt need Python installed to be useable by anyone
  3. April 2019 - I finally completly made it in C# with WPF
  4. January 2020 - I rewrote it completly, still in C# WPF. The tool is even faster now

 

___________________________________________________________________________________________________

How to use it

 

It's pretty straight-forward to use the tool, I even added small paragraph explaining what is the goal of each part of the tool. 

And some tooltip on the checkboxes of Modify Obj

 

No point in explaining how basic stuff work, just load the wrl/obj/picture and press buttons.

 

 

Mirror Picture

 

Old Picture pSzTXkw.png 

Mirrored Picture dlZeWJ3.png

 

Bmp to Png

 

Alpha texture KtT3Wso.png

 

Real Texture DrqW4rL.png

 

Transparent .png EFUoNU8.png

 

Textures Blacklist Settings

 

It could be confusing on what exactly is the goal of that part of the tool, but the main goal here is for game like Rayman 2.

That game has an issue when loaded with the vrml plugin, all playermodel (and dynamic enemies) get completly distorded, so not only is it impossible to see a thing in the game, but it's also a mess in vrml dump.

 

Below is a model you would probably get

 

first_raymann.thumb.png.e4d7e5a7bafbe91e4007a8343d4b0c31.png

 

And here is the result after my tool deleted objects that use specific textures

 

second_raymman.thumb.png.e5982602ffc6ddd769e34c9bc320176e.png

 

So instantly, all the useless garbage gets removed.

 

Obviously, my tool cannot guess which texture is bad and which is good, so that's where the blacklist comes in.

You can add new games, and specify a list of textures that should be blacklisted.

 

image.png.a86d6c5f234bb582d26e2373c731a2d2.png

 

In my case, I manually checked which textures were used by the distorded models and added them to the blacklist.

 

I also added an option to copy all blacklisted texture into a folder of your choice because why not.

 

 

___________________________________________________________________________________________________

Advice

 

Make an untexured .obj file, and use that one in your 3D Editor (Blender/Milkshape/whatever).

When you need to automatically texture it, just export it as obj and let the tool do the job.

 

___________________________________________________________________________________________________

Download Link

 

Here is the Tool: 

https://www.dropbox.com/s/i0frwp46h690ga1/N64_Mapping_Tool_New.zip?dl=0

It comes with a .exe, a .dll and a .xml used for the texture blacklist

 

 

______

Old Versions:

 

https://www.dropbox.com/s/cnsbmsa5ycdnrtf/N64MappingTool_v2.rar?dl=0 (First C# WPF version)

https://www.dropbox.com/s/1y59rywc8kcx67w/N64MappingTool.rar?dl=0 (IronPython version)

 

Original python scripts:

https://www.dropbox.com/s/cpa4g4ze018g6cx/N64 Converter Python2.rar?dl=0

https://www.dropbox.com/s/yntubhymxqn2tjq/N64 Converter Python3.rar?dl=0

 

 

___________________________________________________________________________________________________

Credits

 

Thanks to Saddong for testing the tool when it was only Python and help me find bugs.

Thanks to 44 Colt for testing the first .exe tool and helping me figure the problems.

 

___________________________________________________________________________________________________

 

 

 

 

 

Edited by Moltard
updated
  • Like 1

Share this post


Link to post
Share on other sites

Updated the tool to be only programmed in C#

Also now it calculates the 'normals' of triangles in a model when you Apply all materials or Modify the obj.

 

Also updated pictures and text in the post.

Edited by Moltard

Share this post


Link to post
Share on other sites

New update:

  • Added ".obj to .smd"
  • Added "Delete Unused materials from .obj"
  • Added "merge obj files"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...