tutorial on import & export settings for OBJ files
Oct 28, 2020 5:51:38 GMT 10
kTeo, PrOGaMeR, and 1 more like this
Post by Mr.Curious on Oct 28, 2020 5:51:38 GMT 10
Import/Export settings for 3dsMax
I am going to share some import/export settings for 3dsMax that I use to make sure that the OBJ files work with the RE4UHD tools properly and that the scale of the OBJ we import are in the correct scale. IN this post you will learn how to create a preset in 3DsMax for importing/exporting the OBJ files that we work while stage modding.
Now, lets look at how to create a custom preset in 3ds Max for export. The settings for export below are calibrated to work with the RE4UHD 2018 Son of Persia tool sets.
First we select an object in our 3dsMax scene and then export it in OBJ format. Upon exporting a dialogue box will open with the settings. In this dialogue box is a small icon for presets.. Click on Preset Editor button:
Now we can see all the settings for each factory preset while also having option of creating a new preset. To create a new preset, simply right click on any preset name on the left. A dialogue box will small pop up menu will appear with 'create new preset'. After creating a new preset simply edit the boxes to look like this:
The important difference we see here is that the 'Faces' checkbox is set to 'Triangles' as the RE4UHD tools with not work with Quads. Once all the boxes are set to our liking, press the 'OK' button in the bottom left corner of the Preset Menu dialogue box. Wait a second for it to save.
For creating an Import preset we will do almost the same thing. Do to this, simply import any OBJ file into 3dsMax from your hard drive. Again, a dialogue box will appear, and we will do the same thing by clicking the Preset Menu button as we did above. This time we will be creating 2 OBJ import presets; the 1st preset we will create is for OBJ files that are created with the Japanese tools by Crzosk and the 2ns one is for regular OBJ files that are extracted from the stage .SMD files.
SO lets have a look at the import OBJ preset menu.. Here we have 2 settings:
1 - ESL/CAM for the Cazosk tools
2 - Imp OBJ for the RE4UHD tools
As you can see the ELS has the XY axis flipped and the Object scale is x1000. This is because Crzosk made his tools with improper scaling. We often need to use the Japanese tools to create OBJ files to use a reference with our 3dsMax scene as Son of Persia did not make tools for all the files that Crzosk did. For example, if we want to manually hex edit a CAM file we need to export the CAM file as OBJ from the Crzosk CAM tool, then import it into 3dsMax. The same thing goes for other files like ESL enemy positions or other files like EMI.
So that's it. Now you will have these import/export settings saved each time you use 3dsMax. Once we have created these new presets they will be saved in the 3dsMax ENU settings folder in 2 files:
gw_objExp.ini & gw_objImp.ini files inside the plugcfg folder in the language sub-directory (say en-US) of the ENU folder.
We can save these 2 files once we have created the presets and back them up in case we need to reinstall 3dsMax at any point.
Ok that's it for now.. Please feel free to ask questions about stage related stuff here, and I'll do my best to help out!
A Google Doc version of this tutorial is available to view or download HERE.
A full list of RE4UHD Tutorials can be seen HERE.
Happy Modding!
Mr.Curious
12-2018