Difference between revisions of "Porting Tutorial"

From Custom Mario Kart
Jump to navigation Jump to search
Line 58: Line 58:
  
  
"==Porting From [[List_of_Retro_Tracks_from_Mario_Kart_DS|Mario Kart DS]]==
+
==Porting From [[List_of_Retro_Tracks_from_Mario_Kart_DS|Mario Kart DS]]==
  
 
===Adding Textures===
 
===Adding Textures===
Line 96: Line 96:
  
 
Okay, first download 3DVIA Printscreen. Now, go to "Start", on your computer, then to Programs -> 3DVIA Printscreen, and leave it open. Next, we open our model in the NSBMD viewer (If the NSBMD viewer doesn't work, use MKDS Course Modifier), then we use our model viewer to find the desired area of the model. Make sure your model viewer window is the active one, you can do this by clicking it. Next, press hot key "F10", you will get a sign on the side of your screen, stating that it is capturing the model. You may need to do this more than once, as it only captures what you have on screen. Now, you will see a 3DVIA printscreen icon down to the bottom right of your screen. Left click it, and press "Explore Results". Now, drag the files onto your desktop. Next, make an account with 3DVIA. Activate you account, and upload what you got. Then you can Re-download it as a Dae file, then import into Google Sketchup. From there, put it back together, and OBJ export it, and that's all!
 
Okay, first download 3DVIA Printscreen. Now, go to "Start", on your computer, then to Programs -> 3DVIA Printscreen, and leave it open. Next, we open our model in the NSBMD viewer (If the NSBMD viewer doesn't work, use MKDS Course Modifier), then we use our model viewer to find the desired area of the model. Make sure your model viewer window is the active one, you can do this by clicking it. Next, press hot key "F10", you will get a sign on the side of your screen, stating that it is capturing the model. You may need to do this more than once, as it only captures what you have on screen. Now, you will see a 3DVIA printscreen icon down to the bottom right of your screen. Left click it, and press "Explore Results". Now, drag the files onto your desktop. Next, make an account with 3DVIA. Activate you account, and upload what you got. Then you can Re-download it as a Dae file, then import into Google Sketchup. From there, put it back together, and OBJ export it, and that's all!
(Part 2 credit to [Sonic Retro Sonic Retro])"
+
(Part 2 credit to ([Sonic Retro Sonic Retro])
 
__________________
 
__________________
  

Revision as of 13:27, 11 February 2012

Introduction

This tutorial will explain you how to export a track from any other 3D Mario Kart Game. If you are following the Custom Track Tutorial and making a level from scratch, proceed to the Modeling Tutorial.

If part of this article is unclear or hard for you to follow, you can ask questions on the Discussion page. Someone will attempt to clarify things for you and possibly edit the tutorial so it will be easier to understand.

Porting From Mario Kart 64

You will need the following:


You Will Need:

How to add plugins to Google Sketchup

Exporting:

Create a folder in your hardrive folder - C:\ - titled VRML. This file path is set in the emulator as the place to export the VRML file and the associated texture BMP's. Next, you will need to load your ROM into the 1964 emulator, play the game normally, but select the course you'd like to extract. When the race starts, press F3 to pause. Locate "Export VRML" within the Plugins Menu. Click OK. Rapidly press F3 twice to quickly unpause and repause the emulator. The reason for this is that you only want to export one frame of animation. More than one frame will cause missing faces in the geometry. Open the folder C:\VRML and see that there are now many BMP files and a VRML file. The BMP files have numbered names. Don't change these. The VRML file is titled "output.wrl" If there are no contents in the VRML folder, retry the previous steps.

Importing:

Now open up 3DS Max. Depending on your Version, you see either "File" in the top left screen, or a 3DS Max logo. Click it, and select "Import". Go to C://VRML and locate the "outout.wrl". Import it into 3DS Max, and you will have the section ripped.

Now to get it into Google Sketchup:

Copy all of the BMP Textures from the VRML folder to a folder on your Desktop.

In 3DS Max, go to >File (Or the 3DS Max Logo), >Export >.3ds. Make sure to export the 3DS Model into the file containg the BMPs.

It will say, for example: "Image.bmp Has been renamed "Ima.bmp". This is indicating that the image called "Image.bmp" must be renamed "Ima.bmp" in the file with the BMPs you are exporting to. Do this with every Image it tells you to rename, and then press 'OK'.

After this, go to Google Skethcup. Select >File, >Import, >.3ds. Import the 3DS file from the folder with the textures, and you're done!

Do this again and again until you have every piece of the model.

Porting From Mario Kart Double Dash!!

You Will Need The Following:

Exporting:

Probably the best Gamecube and Wii emulator available besides maybe private ones by Nintendo. As a side feature, it extracts files from Wii and Gamecube ISO's. Just set your ISO directory by going to Options->Configure, clicking the paths tab, and then click add to select a directory. When that's set up, right click a game in Dolphin's main window click properties, go to the filesystem tab and then right click and extract files if you wish.

Importing:

Now, CTools,or SZS Explorer, find the BMD file of the course in the file, and right click, the press "Export" or maybe "Extract", save to anywhere you want. Now use the BMD Viewer to make sure you have the right model. After you add the plugin to 3DS Max, import your BMD file, and extract as "OBJ". If for some reason the OBJ file won't go through the BRESS editor, then use the method you used for Mario 64, import the OBJ file to sketchup, then export as OBJ.


Porting From Mario Kart DS

Adding Textures

This method was found by user Superstarxalien169.

Okay. For textured models from the final do the following:

Unpack the MKDS ROM. Then copy and paste both course and Tex files. Example: Ridge_course.carc and ridge_courseTex.carc. After that use narctool to decompress them into NARC's. Now open MKDS Course Editor, look in the course file and export course_model.nsbmd. Now look in the course's texture file, and export course_model.nsbtx.

Now for the fun part (that's right, hex editing).

Open 2 times the hex editor you desire, opening both course_model.nsbmd and course_model.nsbtx. In course_model.nsbtx look for TEX0. Copy starting from TEX0 and ending from...the end. After you copied, paste it at the ending of the course_model.nsbmd. Paste it and your done. The same applies for the background.

Exporting & Importing

Part 1:

You Will Need The Following:

  • Tihaxan & NSBMD (Download)
  • Mario Kart DS ROM
  • MKDS Course Modifier ([MKDS Course Modifier - GBAtemp.net Download])

Exporting:

Once you have downloaded the .zip file, extract it to your desktop. Basically, the Tahaxan program is used for extracting the 3D models out of a DS game, and the NSBMD program is used for viewing the 3D models. Double-click on the Tihaxan program. Now click the button that says "Open NDS ROM". You may notice a lot of NARC files in your game. A CARC file stands for "Nintendo U8 Archive", which no existing SZS tools can open. Look browse through until you find the course you which you want to extract, (Example: rainbow_couse is DS Rainbow Road) double click and press "Extract".

Importing:

To get the model out of the carc file open MKDS Course Modifier and open the carc. Click in the treeview on course_model.nsbmd and hit the button with the package and the arrow up to export the file. Now that you have your NSBMD file, you will need to go through a few more steps.

Part 2: You Will Need the Following:

  • 3DVIA Printscreen
  • Google Sketchup
  • MKDS Course Modifier OR Tihaxan & NSBMD

Okay, first download 3DVIA Printscreen. Now, go to "Start", on your computer, then to Programs -> 3DVIA Printscreen, and leave it open. Next, we open our model in the NSBMD viewer (If the NSBMD viewer doesn't work, use MKDS Course Modifier), then we use our model viewer to find the desired area of the model. Make sure your model viewer window is the active one, you can do this by clicking it. Next, press hot key "F10", you will get a sign on the side of your screen, stating that it is capturing the model. You may need to do this more than once, as it only captures what you have on screen. Now, you will see a 3DVIA printscreen icon down to the bottom right of your screen. Left click it, and press "Explore Results". Now, drag the files onto your desktop. Next, make an account with 3DVIA. Activate you account, and upload what you got. Then you can Re-download it as a Dae file, then import into Google Sketchup. From there, put it back together, and OBJ export it, and that's all! (Part 2 credit to ([Sonic Retro Sonic Retro]) __________________

Creating Your Track

Now that you have exported your model, you can now proceed to making your own ported track! See the Importing Your Model section of the Modeling Tutorial next.