-
Notifications
You must be signed in to change notification settings - Fork 25
How to export models with multiple actors by DorfDork
Tools Needed:
- Super Mario 64 Rom (Expanded)
- SM64 Decomp
- Blender 2.8 or higher
- Fast64 Blender Plugin
- Notepad++
- Section 1: SETTING UP YOUR MODEL TO BE EXPORTED
- Section 2: EDITING THE MODEL.INC.C FILE
- Section 3: EDITING THE GEO_HEADER.H FILE
- Section 4: EDITING THE GEO.INC.C FILE
MAKE SURE YOUR TEXTURES HAVE VERY CLEAR AND EASY TO READ NAMES. At least something you can remember which part has which texture.
We are going to be replacing the bob_metal_base texture for the bob-omb buddy actor.
After everything is done export your model.
Go to the Actors folder that corresponds to the model you exported (In this case it would be bobomb).
Open the model.inc.c file with notepad++
At the very top you will see the list of textures the model uses. Since the exported model didn't have the texture for the buddy actor, we have to add it in manually.
The texture should be placed in the same folder you're in.
Scroll down until you see the Gfx code blocks that renders textures. Clone a texture's Gfx code block and update it with the texture you implemented before.
Scroll down to the very bottom. Again close and edit the code blocks that show the material that you will be replacing for the secondary actor. Make sure to remember these code block names as we need them for the next section.
Section 3
EDITING THE GEO_HEADER.H FILE
You want to insert the names of the code blocks into the file with "extern" in the front. This is so the geo.inc.c file is able to use the texture you implemented.
Section 4
EDITING THE GEO.INC.C FILE
You can see that inside this file it has all the calls that set the model up to be used in game.
We want to clone the code block in this file and repurpose it like how the picture entails. You can see that we used the code blocks that were referenced in the geo_header.h file to update the textures used by the bob-omb buddy.
If everything goes well compile your game and check the model out!
Home | Texture Library Previews | Video Game Texture and Audio Matches | Art Guides and Tutorials |
- Found texture matches (SM64, OoT, other games)
- Writes texture pages
- Created various site art
- Leads Render96 project
- Maintains audio CD pages
- Found audio samples used
- Organized Fast64 pages
- Organized Render Scans pages
- Created various site art
- Found texture matches (SM64, OoT, other games)
- Provided lots of useful research
- Bought, archived and scanned texture CD's
- Found texture matches (Sonic Adventure, other games)
- Provided a ton of useful research and leads
- Bought and helped archive texture CD's
- Found texture matches (SM64, other games)
- Bought, archived and scanned texture CD's
- Found texture matches (Super Mario Galaxy, other games)
- Writes texture pages
- Found texture matches (Sonic Adventure)
- Bought, archived and scanned texture CD's
- Found texture matches (Sonic Adventure 2, other games)
- Writes texture pages
- Found texture matches (Tekken, other games)
- Found texture matches (Mario Kart Wii, other games)
- Found texture matches (SM64)
- Leads Render96 HD Texture Pack
- Found Matches (SM64)
- Writes texture pages
- Found Matches (San Francisco Rush 2049)
- Writes texture pages
- Found texture matches (SM64, other games)
- Maintains High Quality SM64 Render Collection
- Bought texture CD
Fluvian from 64History
- Found texture sources (cobble_stone)
- Found audio samples used