Page 1 of 1
Posted: 30 Apr 2013, 23:42
Adamodell
GT2 Tutorial

This isn't a tutorial on how to use ZModeler or Lithium Unwrapper. You'll need your own wheel model, and to map the car in such a way that there is room for the wheel model. You can use my wheels if you wish, or scloink's, or stock wheels, or anything. The opportunities are quite large.

Programs you'll need:
GT2Vol
ZModeler 1.07b (1.06f lacks the GT2 import filter)
PSicture 1.01
Lithium Unwrapper
FCE Finish (only needed if mapping with LithUnwrap)
A good paint program (i.e. Paint Shop Pro, Photoshop, GIMP, Paint.NET)
An archiver that can open GZip tape archives (*.c**.gz)
Oh, you need the vehicle ID's so you know what you are converting

First things first, though, is that you have to be good at ZModeler, this includes all sorts of UV mapping skittles (skills).


Chapter 1: Getting the mesh you want/basics

Well, now we got that out of the way, pop either the Arcade or Simulation GT2 disc in your CD drive, or via a disc image of it mounted on a virtual drive. Make a new folder, call it "GT2 Stuff" or something. Put it on your desktop. Start GT2Vol and set the directory you wish to extract the files at the top. Deselect "carobj" from the list of items to skip.

Click the "Do it" button when you are sure this is where you want to extract the "carobj" files. Not that kind of doing it, sheesh.




Find your CD or virtual CD in My Computer in this Explorer drop down menu and click on it. Click the GT2.vol file! It's just begging for it.




Now just wait for it to progress, and then go to the "carobj" folder inside of the folder you extracted to. This folder contains *.gz archives (the cars) with double extensions. The first extension is the filetype contained. Now, you're probably curious of why there's so many files for each car.

Let me explain:
The three letter extensions are more descriptive than you may think at first glance. The first letter is always C. The second letter is either D or N. This signifies the day or night variant of the car. Open/closed headlights and the like. I'm sure there's other differences as well. The third letter, is O or P. O is mesh. P is texture. So if you have a *.cnp file, it's the "night texture" of said car, or if you have a *.cdo file it's "day mesh", and so on. Naturally, if you convert the night model (NO) you want to convert the night texture, (NP). If you wish to go the texture conversion route, that is.




We're only worrying about the mesh for now, though. The odd front letters and numbers are the ID's that you can find in the attached ID file. I'll be using a day mesh for this example. When you decide what car you want to do, open the *.cdo.gz version of that ID number (searching makes this easier). Extract the *.cdo.


If you're lazy, Example *.cdo from GT2


Import in ZModeler. Be surprised as you'll now notice that these files include LOD meshes. You obviously only need the highest detail mesh, so discard the rest ("cdo[0] and cdo[1]").






This concludes chapter one. Chapter two will start out on texturing, but don't worry, after that, it will get back to where we left off on this chapter. It's just the textures need to be prepared before mapping them, of course.


Chapter 2: Preparing a texture map

The three methods:
Real life/other source images of car aspects (front/side/rear) made into a map (my R30 Silhouette Formula)
GT2 screenshots of car aspects (front/side/rear) made into a map (my ZZ-S)
GT2 texture conversion and mapping plus GT2 screenshots for odd maps (my Zexel Skyline)

I recommend using GT2 wheel textures for the wheels in these car conversions.

The first and second methods for making a texture map are a free for all. It's all up to artistic ability and photo editing skills. I won't elaborate on it much. The third and final method is something that actually takes some previous knowledge to do, so I will expand upon that.

To extract textures, you'll need to extract the texture for the mesh you're converting. Since our example is mftnr.cdo(.gz), we'll need to extract mftnr.cdp from *.cdp.gz. Open the archive, and extract mftnr.cdp from it. Place it anywhere you wish, but remember where you put it. We'll be opening it with PSicture next.

Car textures in GT2 can only be read in raw mode- unlike the *.tim files that are very easy to open and convert- used solely on the individual wheel textures. Opening the raw image takes very, very specific values to achieve. Open PSicture. CTRL+R or "File-> Open as raw...". Select your *.cdp file. And fill out the boxes exactly, exactly as they are here.




You will now notice that you probably got some weirdly colored image. There is a small annoyance- different sections of the bitmap will be rendered correctly under different pallettes. To cycle through the pallette, press F8. If you find something correctly rendered under a certain pallette, save the image as a bitmap (CTRL+S or File-> Save image) for later use. Keep saving bitmaps. If you wish to cycle back, press F7. You'll save at least a few different bitmaps because of the messed up pallettes. It'll be later that you choose the correct of each section to make a starter's map for later UV mapping and reference. Here is one of the pallettes. Notice some of the areas are rendered correctly and others aren't:




After you have all your different bitmaps together, it'll be up to you to build a map out of these different aspects. If certain aspects of the map look like they'd be hard to UV map, feel free to take screenshots of the problem areas for easier mapping, or make your own textures for a certain area. Be creative, if you wish. Try to keep it as seamless as possible. I won't continue further because I assume you have enough knowledge of Re-Volt bitmaps to make a satisfactory map. The only thing to worry about is to make sure you've made sure where the wheels go on the map.


Chapter 3: Back to ZModeler and right back out

So you have that car imported still, yes? The LOD models deleted? Good. Now, here's what you need to do. This part is indeed a little iffy, so pay attention. Delete all materials (what, you ask? this isn't a ZModeler tutorial) and add a new material, the bitmap you made in the previous chapter. When all is good, export this as a *.3ds. Why? Because we're leaving ZModeler. Trust me, it's crap for this.


Chapter 4: Lithium Unwrapper

If you have a better understanding of ZModeler's mapping than LithUnwrap's and don't feel like changing workflow, skip this chapter entirely and continue from where you left off (adding the material in ZModeler). If you wish to use Lithium Unwrapper, I expect you know how to use it, basically. I'll go through the basics, but I'm not holding hands here.

Open Lithium Unwrapper. Go to File-> Model-> Open in the menu, and open the *.3ds file you created. With the associated material, it should load fully. Now, for the mapping. There are many possible ways to unwrap the model, and given the freeform control, it's very easy and nimble to do crazy things in a fraction of the time it takes to do it in ZModeler. Once you have the car satisfactorily mapped, File-> Model -> Save. Re-import this into ZModeler. However, there will be another hair-pulling step involved that you may not have seen coming. You see- when you converted the file to *.3ds, you totally messed up the vertex normals. The normals need recalculated. There are different ways to do this, probably some ways that are faster. But here's my way:


Subchapter: FCE Finish

Since I'm using FCE Finish to do this, I need to take that model I just imported back into ZModeler and export is as an *.fce, the NFS4 format. Once the file is exported, open it in FCE Finish. FCE Finish's link after install might be broken like it was for me. Simply the installed shortcut not directing to the right location, but it was easy enough to direct it to the right executable. Also, you'll get a little pop-up that there was no help.dat. Don't worry about that either. What you want to do is, when you got the file open (don't worry about texture maps or anything), select "Surfaces". The one clicked:




When you click it, you'll get a pop-up.




Hit OK. Now, let the adjusting begin. You can get real technical, but I'd recommend just touching "Smooth by angle limit". "No" (the furthest right) is the most surefire option, but if you want to retain some edges by angle amount, tweak to taste. When all looks good, simply save the *.fce.

Chapter 5: Final Preparations for Re-Volt

This is where it'll start getting a lot like NFS4 conversions, this is the home stretch. I'll assume whichever path you took, you now have a workable texture, decided on wheels and a wheel texture, and have the car body fully mapped and worked out. At this point, you'll want to do the standard NFS4 procedure to get a PRM that actually works right in Re-Volt (isn't clear/isn't black). Once you have it exported and shaded- I use a body size of 0.5, but if you want it closer to NFS4 TMaM size, you'll want it closer to 0.4. From here, you're on your own, come up with something awesome.


Extra tips:
1. Delete extraneous polygons from the mesh if you aren't going to use them (there are some extra polies for some elements on the cars sometimes, that you may or may not want)
2. If you're handy with modelling- model 3D wheel wells (like MOH did with my Zexel) because the transparency trick doesn't work too good in Re-Volt
3. Use LithUnwrap's optimize options for clearing out unneeded vertices before saving the *.3ds

I wish you luck. If you need personal help, just ask.

Posted: 09 Aug 2014, 22:38
Leo2236
Hi @Adamodell thank you for the well detailed tutorial, I'm not a really fan of Re-Volt I remember I played it on Dreamcast many years ago but I could say I'm a fan of Gran Turismo especially of the two first on PSX and you tutorial reveal some useful info about GT2 I didn't knew so thank you again for that.

Anyway here and a few weeks I was trying to develop a tool that could view and export cars from GT, the tool already can view all the cars but only that inside CARCADE.DAT for the moment also theres some bugs with polygons in a few cars that need to be fixed. The tool can export any car(main body) to *.OBJ so it could be then imported in some 3D modeler also the textures could be exported as a single image in *.BMP format. I've post this tool here in yours topic(if you don't mind) in case you or anybody else is interesting in cars of GT.

GT Car Viewer v0.1b:


Note: Do not use www.datafilehost.com downloader it's problematic I've heard, so before downloading uncheck the related checkbox.

GT Car Viewer v0.1b.EXE (623.09 KB)

Posted: 19 Sep 2014, 01:31
Cat
Leo2236 @ Aug 9 2014, 02:08 PM wrote: (GT Car Viewer stuff above)
How come nobody has replied on this yet? Come to RVL, man!

Posted: 25 Sep 2014, 08:01
Leo2236
Cat @ Sep 18 2014, 09:01 PM wrote:
Leo2236 @ Aug 9 2014, 02:08 PM wrote: (GT Car Viewer stuff above)
How come nobody has replied on this yet? Come to RVL, man!
Probably because no one is interesting but seem you are, anyway here's something I'm working lately that may interest you, it's gonna be a track viewer for GT right now it only can view one track but hopefully soon it'll support the rest of tracks.

GT Track Viewer v0.1b WIP


If you interesting once it'll be released you can find it HERE.

Posted: 25 Sep 2014, 09:20
Phantom
You probably don't know it but there is another forum that is more active than this one, and that is probably the main reason why you haven't got answers.

Visit the other forum here: http://z3.invisionfree.com/Revolt_Live/index.php?

Posted: 25 Sep 2014, 10:29
Leo2236
No I didn't knew about the other forum, thanks for pointing it out.

Posted: 28 Sep 2014, 22:55
Cat
Hey Leo, I got some suggestions for your car viewer. These are NFS4 inspired and oriented, but could serve RV car makers aswell.

The ability to extract...

1)...the car's uncoloured texture. NFS4 equal: NFS Wizard's TGA viewer & exporter.
2)...the alpha channels for each texture. NFS4 equal, somewhat: TGA Maker.
3)...a table, image or something else showing the RGB values for each color option. NFS4 equal: FCE Colors.
4)...the car's parameters. NFS4 equal: CARP.txt files.

Posted: 09 Feb 2016, 13:01
Adamodell
Fixed links. Also, totally missed that development there.
I backed up all of Leo's GT1 tools to my archive, just in case they disappear. I don't have a PAL copy of Turismo to try, but could be an interesting pathway to conversion. He never did post this to RVL, so the main meat of the community doesn't know about any of this, either. I am a bit sad this forum isn't very active these days though. It was my first! Even if 90% of my posts were angry haterants. It looks even cleaner and nicer than it did when I first used it, too.