01-29-2023, 02:02 AM
(This post was last modified: 07-20-2024, 09:42 AM by Luctaris.
Edit Reason: archiving project, handing over development
)
Howdy everyone!
I'm new here, although not really new to ripping/porting from games. One thing that I think has been missing from the available N64 ripping tools is accurate vertex coloring / lighting information.
There have been certain graphics plugins in the past (LemD3D8, LemD3D9, TR64) which have allowed to rip model geometry and textures from N64 games, but they either fell short on features or straight up just didn't work. Most modern GPU rippers like 3DRipperDX or NinjaRipper also do not support vertex lighting (atleast yet). I decided to change that and investigate any modern approaches.
I took the existing GLideN64 plugin which apparently supports all 400 N64 games and modified it to spit out a custom binary file containing triangle position, color values, associated textures, scene fog color information, etc... A Blender addon can then be used to import these scenes into an editable mesh. I also added an option to generate frame-by-frame scene rips, which can aid in ripping and creating N64 animations.
Here's a scene rip from The Legend of Zelda: Majora's Mask final boss room, a scene making extensive use of vertex colors.
Please Note: I have stopped developing this after a long hiatus and absence. In my absence, @scurest has taken over development in their own fork. I recommend you use their fork and have replaced my links with theirs below.
Scene Ripper: GLideN64 Scene Ripper
Blender Addon: Blender Import GLR
Tutorial: Tutorial
Hopefully this will be useful for someone out there... Try it out and let me know what you think
I'm new here, although not really new to ripping/porting from games. One thing that I think has been missing from the available N64 ripping tools is accurate vertex coloring / lighting information.
There have been certain graphics plugins in the past (LemD3D8, LemD3D9, TR64) which have allowed to rip model geometry and textures from N64 games, but they either fell short on features or straight up just didn't work. Most modern GPU rippers like 3DRipperDX or NinjaRipper also do not support vertex lighting (atleast yet). I decided to change that and investigate any modern approaches.
I took the existing GLideN64 plugin which apparently supports all 400 N64 games and modified it to spit out a custom binary file containing triangle position, color values, associated textures, scene fog color information, etc... A Blender addon can then be used to import these scenes into an editable mesh. I also added an option to generate frame-by-frame scene rips, which can aid in ripping and creating N64 animations.
Here's a scene rip from The Legend of Zelda: Majora's Mask final boss room, a scene making extensive use of vertex colors.
Please Note: I have stopped developing this after a long hiatus and absence. In my absence, @scurest has taken over development in their own fork. I recommend you use their fork and have replaced my links with theirs below.
Scene Ripper: GLideN64 Scene Ripper
Blender Addon: Blender Import GLR
Tutorial: Tutorial
Hopefully this will be useful for someone out there... Try it out and let me know what you think