Page 1 of 3
[WIP] Driver Car Importer Tool (Now Driver Level Editor)
Posted: Sun Jan 22, 2012 1:45 pm
by someone972
A few of you already know about it, but for those who don't I have started releasing the current builds of the Driver Car Importer. Although it is not finished, there are still some usable parts and I release updates every so often. You can find it at
http://code.google.com/p/driver-car-importer/.
Things that do work:
- 1. Texture position editing
2. Importing clean models
3. Viewing textures
Things that do not work:
- 1. Textures can not be imported except by the model importers
2. Damage groups are not created yet, so damaged models do not do anything
Of course there's a ton of stuff to add to those lists that I can't remember off the top of my head. I'll also use this thread to announce new releases.
Good luck trying to get it to work

.
Don't forget to let me know about any bugs you find by adding to the Issues section of the project page. You can also let me know about suggestions or desired features there too (just don't forget to change the defect type when you fill out the form).
Re: [WIP] Driver Car Importer Tool
Posted: Sun Jan 22, 2012 2:22 pm
by someone972
For anyone interested in why the width and height of textures in the texture position editor are one less than what you would think it should be, this article explains it nicely:
http://drilian.com/2008/11/25/understan ... l-offsets/
Re: [WIP] Driver Car Importer Tool
Posted: Sun Jan 22, 2012 8:30 pm
by RacingFreak
Awesome work, we needed the tex pos editor! Already started working on fixing my previous cars.
Can't wait for the wheel and props positions editor

Re: [WIP] Driver Car Importer Tool
Posted: Sun Jan 22, 2012 8:46 pm
by Fireboyd78
RacingFreak wrote:Can't wait for the wheel and props positions editor 
I didn't know we had one coming?
Re: [WIP] Driver Car Importer Tool
Posted: Mon Jan 23, 2012 12:28 am
by RacingFreak
CarLuver69 wrote:RacingFreak wrote:Can't wait for the wheel and props positions editor 
I didn't know we had one coming?
Not exactly a tool, buuut! You know, hehe

Re: [WIP] Driver Car Importer Tool
Posted: Wed Jan 25, 2012 9:57 am
by benflex
someone972 thank you for the release.
Re: [WIP] Driver Car Importer Tool
Posted: Sun Jan 29, 2012 6:08 am
by MikuMikuCookie
:3 Sounds good. Thanks. Wubwubwub.
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 06, 2012 5:59 am
by PrototypeDriver
why the hell it's too hard this new car importer??
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 06, 2012 2:15 pm
by Fireboyd78
PrototypeDriver wrote:why the hell it's too hard this new car importer??
Please don't use that kind of language if you're having a problem. What is so difficult about this program? It's really quite easy!
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 06, 2012 6:32 pm
by someone972
If it really is difficult, could you tell me what you are having trouble with and maybe what could make it easier?
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 06, 2012 8:01 pm
by RacingFreak
Driver Car Importer being hard? I say bs on that. Giving up on such easy program, LOL!!
Jeff, I see nothing difficult in using DCI, IMO it's the easiest program I ever had to use for any game! All you're supposed to do in order to get any mod working is to click on Car Import Wizard, follow the instructions and BAM you're done. Easier than that I don't know.
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 06, 2012 11:00 pm
by PrototypeDriver
Vertex Patch
doesn't install it
DMODEL
i wanted to do damages for the GSX body
trying to open levels
two things there arent
it's my first time to trying that
BUT IT DOESN'T WORK WITH ME!!!

Re: [WIP] Driver Car Importer Tool
Posted: Tue Feb 07, 2012 1:58 am
by RacingFreak
WHAT?! Please describe your problem properly :/
Dude, in case you want to get your mods working, make sure they're in OBJ format... get some of my releases.
Re: [WIP] Driver Car Importer Tool
Posted: Tue Feb 07, 2012 8:24 am
by someone972
I'll probably make a DMODEL importer eventually, but for now you'll have to convert it to obj. When you open the level and it says it can't find some files (presumably pcar_x.den and x.den?) it's probably because the vertex patch didn't install, eventually I'll make it more friendly to default level formats. As for the vertex patch not installing, is there anything in debug.txt that is important?
Re: [WIP] Driver Car Importer Tool
Posted: Tue Feb 07, 2012 8:38 am
by Fireboyd78
From what I've gathered here, PrototypeDriver is trying to import DMODEL's using the Driver Car Importer. Please note that the DCI does NOT support .DMODEL filetypes at this time, and as someone972 has stated above, they will probably be supported in the future. If you're positive the Vertex Patch isn't installing properly, please post your "debug.txt" file here using the "code" bbcode.
Example:
Re: [WIP] Driver Car Importer Tool
Posted: Tue Feb 07, 2012 11:06 pm
by PrototypeDriver
ok thanks for help
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 13, 2012 12:57 pm
by someone972
I'm rewriting the level loading api at the moment, and also am working on another project at the same time, so it might be a while before the next update. I'll try and make it worth the wait though!
Re: [WIP] Driver Car Importer Tool
Posted: Mon Feb 13, 2012 9:33 pm
by Clutch
Personally I'm very patient. Just give me the tools at the xact time, and then I'll make something good with them

Re: [WIP] Driver Car Importer Tool
Posted: Mon May 28, 2012 5:30 pm
by someone972
I am now finally able to work exclusively on this project. I'll be reworking some API's I've written in the next day or two and really putting development into high-gear, so to speak. It looks like the community isn't too active right now, but that wont stop me

. Let me know if you guys want me to post regularly on what I'm working on between now and the next pre-release. Since I rewrote the level API and am reworking the GUI to include more features it may be a bit before it gets back to its previous functionality.
Re: [WIP] Driver Car Importer Tool
Posted: Mon May 28, 2012 6:55 pm
by bb_42001
yes post what you are doing step by step

Re: [WIP] Driver Car Importer Tool
Posted: Mon May 28, 2012 10:11 pm
by Skylabh
It would be interesting to know the changes or improvements that will be done.
Re: [WIP] Driver Car Importer Tool
Posted: Tue May 29, 2012 1:43 am
by RacingFreak
Awesome news! You're the man

Re: [WIP] Driver Car Importer Tool
Posted: Wed May 30, 2012 3:04 pm
by someone972
So far I have done the following:
- Fixed wheel definition API to use new coding style and to be safer to use.
- Redid entire denting API to be much safer, user friendly, and to be less likely to have memory leaks. The old code was pretty terrible.
That should about do it for fixing up the Driver file API's. The level loading API was recently rewritten, and I still have to add some logging to that, but it appears to load fine. I haven't written saving yet, but I will keep that for when there is something to actually save. The Cosmetics and D3D API's were written well so are good to use. I will now go through the rest of the files currently in the project and fix up any terrible code before proceeding to work on more features. This will ensure that I don't run into any snags later on.
Re: [WIP] Driver Car Importer Tool
Posted: Thu May 31, 2012 12:09 am
by Skylabh
Does DCI will support multi materials ?
Re: [WIP] Driver Car Importer Tool
Posted: Thu May 31, 2012 1:00 am
by RacingFreak
I think it is already supported multi textures, but aint sure. Jeff, is the damage fixed atlast?
Re: [WIP] Driver Car Importer Tool
Posted: Thu May 31, 2012 8:14 am
by someone972
Does DCI will support multi materials ?
I'm not 100% sure on this one, at least for player cars. For other models you can use multiple textures without issue*. For player cars I think that you might be able to use multiple textures, but I've never tried it. You can use as many damage textures as you want though, since they are kept in ram and not video memory.
*It's pretty easy to overflow the default vertex arrays and/or texture limit. When the texture limit is reached it starts putting the first texture (with the trees) in place of the texture it should be using. The patch I made expands the vertex arrays to 2 MB each, and increases the number of textures that you can have. It's not been tested very much however, so it may need revising.
I think it is already supported multi textures, but aint sure. Jeff, is the damage fixed atlast?
The damage has been fixed for quite a while, ever since the new DEN format came out. The only problem has been that I haven't written the functionality to create/edit the damage in the DCI yet (which is what I assume you were asking about). It has not been completed yet, but it will be added sometime in the future.
Re: [WIP] Driver Car Importer Tool
Posted: Tue Jun 05, 2012 9:13 am
by someone972
I changed my mind and decided to work on level saving for the past couple days. I've just finished ironing out the initial bugs, and I can now open the original level, save it to a new file, and load that file in the game without any issues (that I can tell). I figured it would be more rewarding to see the changes I make in the program in-game, which is why I changed my mind on what to work on first. I'm not sure what will be next though.
Re: [WIP] Driver Car Importer Tool
Posted: Wed Jun 06, 2012 3:54 pm
by RacingFreak
AWESOME! Can't wait for beta testing & release

Re: [WIP] Driver Car Importer Tool
Posted: Mon Jun 18, 2012 3:15 pm
by someone972
I've been slacking off a bit the past few days, but today I made some good progress. I've fixed up and reintegrated the texture position editor and the texture browser. Probably the next step will be to add texture imports/exports among some other texture related stuff such as adding/deleting textures. Model rendering still isn't implemented yet, since I can't decide what the best method to render them with is.
Re: [WIP] Driver Car Importer Tool
Posted: Mon Jun 18, 2012 7:59 pm
by RacingFreak
Great! Can't wait
