Quantcast

Jump to content

» «
Photo

[3DSMAX|WIP] Driver San Francisco Vehicle Importer

31 replies to this topic
MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#1

Posted 06 October 2013 - 04:52 AM Edited by MAJEST1C_R3, 08 October 2013 - 07:51 AM.

A couple days ago I've played Driver SF and saw a lot of nice cars which would looks good in our loved GTA Series. So I decided to make 3ds max script which helps us to convert them.

For now loading geometry is done. But I still need to find UV data (UPD: I found it, but needs to convert UV coords because it's crypted and applied to model texture looks a bit messy, also I found shading or VCol data) and (maybe) some values which defines level of detail (now all levels of detail loaded by default)

 

50189e636060.jpg

 

09f26785fd9c.jpg

 

06409fa22ee8.jpg

 

0613a646622c.jpg

 

UPD: After small additions into script I able to load city geometry (but buggy)

880deab5c125.jpg

 

64e1982d12cd.jpg

 

3104796e8c33.jpg

 

41d77e369e3e.jpg

  • Mega. likes this

aad
  • aad

    3d artist

  • Members
  • Joined: 15 Mar 2004

#2

Posted 07 October 2013 - 04:15 PM

Looks great, like to get some stuff out of that game and have it in the GTA engine just to play arround with it.

 

Keep it up,


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#3

Posted 07 October 2013 - 04:36 PM

Looks great, like to get some stuff out of that game and have it in the GTA engine just to play arround with it.

 

Keep it up,

 

Yeah. I think San Francisco would looks good on GTA engine. I just need to find a way to decrypt those damn UV coords


direstraits
  • direstraits

  • Members
  • Joined: 08 Mar 2011
  • Portugal

#4

Posted 07 October 2013 - 07:56 PM

Waiting for this a long time ago.

 

Nice Job.


Spider-Vice
  • Spider-Vice

    Let's Bounce

  • Zaibatsu
  • Joined: 09 Oct 2006
  • Portugal

#5

Posted 07 October 2013 - 08:04 PM

Very good job. The city from Driver SF would look pretty cool in GTA IV!


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#6

Posted 08 October 2013 - 09:14 AM Edited by MAJEST1C_R3, 08 October 2013 - 04:32 PM.

UPD: I found reason of crashing when loading city geometry and fixed it

UPD 2: Added UV support for cars. City uses differrent UV mapping method. So I will decrypt it too

 

0110058eb9cb.jpg

 

6cd671f4401e.jpg

 

7bcebd7bed45.jpg

 

330211d0d738.jpg

 

2e4d6498523a.jpg

  • Silent and Mr. Jago like this

direstraits
  • direstraits

  • Members
  • Joined: 08 Mar 2011
  • Portugal

#7

Posted 08 October 2013 - 11:41 PM

How do we import them? Are you able to open "dngvehicles.sp"?


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#8

Posted 09 October 2013 - 02:03 PM

Yeah. Importer automatically list all resources in "dngvehicles.sp" and "san_francisco.dngc". Only you'll need is double click on model in list and it will be loaded


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#9

Posted 09 October 2013 - 03:31 PM

Great! That Challenger is gonna look kickass in IV.
  • Mr. Jago and Mega. like this

MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#10

Posted 09 October 2013 - 08:55 PM Edited by MAJEST1C_R3, 10 October 2013 - 01:15 AM.

Cars loaded fine now. But I have few problems with city loading.

 

 

Some parts of city, like walls of buildings are missing I don't know why. And UV data of city models decoded by different way so it problem too.

f460f07d00cf.jpg

 

UPD: Added optional auto-detach model parts.

 

c8891bd16b3f.jpg

 

2b9e1d658b96.jpg


CarLuver69
  • CarLuver69

    Strangely Animated

  • Members
  • Joined: 30 Apr 2011
  • United-States

#11

Posted 13 October 2013 - 11:55 PM

This is awesome! Can't wait to see more progress!


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#12

Posted 14 October 2013 - 07:52 AM

This is awesome! Can't wait to see more progress!

 

I need to find a way to decrypt UV data for tiled textures (It mostly used in city models, but also on car parts which uses carbon texture). Tile textures still looks messy

I'm on Win7 so I can't use 3dRipperDX to rip some area of the city or car which uses this tile textures and take a look on correct UV data and starting writing code for UV decryption

 

If someone who can rip models from SF with 3dRipperDX- you'll can help me ripping for example Pagani Zonda in area on my previous post and give me download link to it.

 

Look at this damn carbon texture:

9366274b5bd8.jpg


Alexander Blade
  • Alexander Blade

    Come As You Are

  • Members
  • Joined: 05 Nov 2006

#13

Posted 14 October 2013 - 11:36 AM

3dRipperDX works even on w7x64 but without global monitoring 


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#14

Posted 14 October 2013 - 03:40 PM

3dRipperDX works even on w7x64 but without global monitoring 

 

Yeah. It works but with DirectX 9 games. On Win7 Driver SF works on DirectX 11. I don't want downgrade to XP to rip those models


lpgunit
  • lpgunit

    It's L, as in Lpgunit, not I.

  • Feroci Racing
  • Joined: 24 May 2008
  • Philippines

#15

Posted 16 October 2013 - 09:04 AM

 

3dRipperDX works even on w7x64 but without global monitoring 

 

Yeah. It works but with DirectX 9 games. On Win7 Driver SF works on DirectX 11. I don't want downgrade to XP to rip those models

 

The game doesn't allow you to select a renderer like in Max Payne 3, or the dxlevel command in Source, right?


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#16

Posted 16 October 2013 - 06:15 PM

Yeah


direstraits
  • direstraits

  • Members
  • Joined: 08 Mar 2011
  • Portugal

#17

Posted 16 October 2013 - 06:59 PM

Try with Ninja Ripper.


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#18

Posted 16 October 2013 - 07:05 PM Edited by MAJEST1C_R3, 16 October 2013 - 07:09 PM.

Try with Ninja Ripper.

Already tried.

Will be cool if someone who has this game rip for me pagani zonda with part of the city (with 3dripperDX).

Work is stuck because I don't have these models


direstraits
  • direstraits

  • Members
  • Joined: 08 Mar 2011
  • Portugal

#19

Posted 16 October 2013 - 07:11 PM

I think these are models extracted from D:SF

 

http://www.mediafire...sh_0377_rip.zip

 

http://filebeam.com/...067d06dfd5873b6


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#20

Posted 16 October 2013 - 07:17 PM Edited by MAJEST1C_R3, 16 October 2013 - 09:46 PM.

I think these are models extracted from D:SF

 

http://www.mediafire...sh_0377_rip.zip

 

http://filebeam.com/...067d06dfd5873b6

Seems these models was ripped with ninja ripper. 3ds Max script by author of ninja ripper requires at least 3ds Max 9 but I only have 3ds Max 8 :blink:

 

And I concretely want Pagani Zonda model.

 

Here original and decoded UV data of interior of VW Scirocco:

43168d6e2b11.jpg

 

 

And original UV data of tile carbon texture of Pagani zonda:

3fab93bdce40.jpg

Totally different

 

Also found UV data of scratches:

 

14acf193ee6b.jpg


Alexander Blade
  • Alexander Blade

    Come As You Are

  • Members
  • Joined: 05 Nov 2006

#21

Posted 16 October 2013 - 10:16 PM

whats the algo for normal not tiled textures ?


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#22

Posted 17 October 2013 - 03:51 AM Edited by MAJEST1C_R3, 18 October 2013 - 12:13 PM.

whats the algo for normal not tiled textures ?

Some other game uses same cryption method or what?

 

UPD: I've implemented loading vCol/shadow. Looks beautiful

955aaed01e4f.jpg

ba57b68fc106.jpg

7417693c6b45.jpg


Alexander Blade
  • Alexander Blade

    Come As You Are

  • Members
  • Joined: 05 Nov 2006

#23

Posted 17 October 2013 - 09:37 AM

No , I mean how do you convert original texture UV to the decoded one like for interior of VW Scirocco ?


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#24

Posted 18 October 2013 - 10:42 AM Edited by MAJEST1C_R3, 19 October 2013 - 02:27 AM.

No , I mean how do you convert original texture UV to the decoded one like for interior of VW Scirocco ?

just scaled coords when read it from file.


Alexander Blade
  • Alexander Blade

    Come As You Are

  • Members
  • Joined: 05 Nov 2006

#25

Posted 18 October 2013 - 02:02 PM

I have the working code :) 

 

DFRJ.png
 


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#26

Posted 18 October 2013 - 02:21 PM Edited by MAJEST1C_R3, 23 October 2013 - 01:55 PM.

I have the working code :)

 

DFRJ.png
 

:blink: :cookie: Where headlights?

 

 

5e9a396e8d72.jpg

 

630b489c95d8.jpg

 

 

Also I found all missing stuff of city geometry (about 7560 objects)

6184c3c0fb5a.jpg

 

UV importing now seems to be fine, now I need to hack section of texture assignment

 

1104e03cd099.jpg

  • Mega. likes this

riquenunes
  • riquenunes

    Soldier

  • Members
  • Joined: 28 Apr 2008
  • Brazil

#27

Posted 28 October 2013 - 05:10 PM

That's some nice progress right there. Do you think it's gonna be possible to get all map objects coordinates too? It's gonna be interesting having San Francisco along with the cars in IV engine, hell even in Renderware.


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#28

Posted 29 October 2013 - 08:20 PM

Maybe. but now I have another problems with city importing


CarLuver69
  • CarLuver69

    Strangely Animated

  • Members
  • Joined: 30 Apr 2011
  • United-States

#29

Posted 30 October 2013 - 07:12 PM

Majestic, from my knowledge of how Reflections works with cities, they are not objects, but rather splines that get rendered in-game. The model you posted above of a city block seems to possibly be collision meshes. You're better off focusing on cars, because it's likely that cities will need specialized tools to be able to load roads and terrain properly. I know for a fact this is how DRIV3R/Driver: Parallel Lines works, so I don't see why DSF wouldn't work the same. It's basically a huge list of spline definitions, not actual meshes. I would need to research this further to confirm this, but the city is much to big to be split up into individual models (I'm talking about roads, mainly).


MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Members
  • Joined: 21 Oct 2011
  • Russia

#30

Posted 31 October 2013 - 12:45 PM

maybe you right, but anyway these collisions is too detailed and have UV data. Also in global section stored at least 5 copies of every model.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users