Page 1 of 2
Driver San Francisco PC ???
Posted: Wed Oct 13, 2021 8:41 pm
by ReVolt
I want to rip the cars from DRIVER SF , it seem like people have done it before but I am confused. I googled but there's only threads that didn't get far or did get far, but it's a maxscript, for a program that costs too much
I need to extract file : SP file. this contains vehicle.
I use the program Blender and I am on Windows 11.
file ( dng vehicles.sp )
https://drive.google.com/file/d/1IDogyq ... sp=sharing
Re: Driver San Francisco PC ???
Posted: Wed Dec 22, 2021 8:53 pm
by ReVolt
im still trying to find a way to extract the car models..
Re: Driver San Francisco PC ???
Posted: Thu Dec 23, 2021 12:05 pm
by shakotay2
ReVolt wrote: ↑Wed Oct 13, 2021 8:41 pm
but it's a maxscript, for a program that costs too much
If you were a student you could get it for free, afaik.
And if you have a maxscript then it should be simple (usually, with some basic understanding) to use the info in it for creating H2O files.
Re: Driver San Francisco PC ???
Posted: Thu Dec 23, 2021 9:56 pm
by Durik256
maxscript original and decompiled. using it you can make a plugin for blender
Re: Driver San Francisco PC ???
Posted: Thu Dec 23, 2021 10:03 pm
by shakotay2
Durik256 wrote: ↑Thu Dec 23, 2021 9:56 pmmaxscript original and decompiled. using it you can make a plugin for blender
... and don't forget
to mention the original authors. Will spare you some troubles.
(Plus, this decompiling is legal, is it?

) Because, if they provided the mse only they obviously didn't want the source (ms script) to be public. Just my two cents.
Re: Driver San Francisco PC ???
Posted: Thu Dec 23, 2021 11:00 pm
by Durik256
"for academic purpose"

Re: Driver San Francisco PC ???
Posted: Fri Dec 24, 2021 1:06 am
by shakotay2
Hey, I didn't want to interrupt your research "for academic purpose", really.
I merely didn't want you to get into troubles, if any.
Merry Christmas
Re: Driver San Francisco PC ???
Posted: Mon Jan 03, 2022 2:15 pm
by Durik256
original max script from :
Chipicao wrote: ↑Tue Dec 31, 2013 5:19 pm
Vehicle importer for Driver San Francisco.
there will be no updates
ReVolt wrote: ↑Wed Dec 22, 2021 8:53 pm
im still trying to find a way to extract the car models..
load .sp, export all cars or one.
load .VEHC file (model car) works very slowly

('load selected' dont work)
how to load a model from the tool panel when the file is already loaded?
Re: Driver San Francisco PC ???
Posted: Mon Jan 03, 2022 4:39 pm
by shakotay2
Durik256 wrote: ↑Mon Jan 03, 2022 2:15 pm
load .VEHC file (model car) works very slowly
yeah, that's strange. Seems there's a delay before
"Detected file type: driver sf file"
(Even with a "fresh" start of Noesis without loading the .sp file before.)
how to load a model from the tool panel when the file is already loaded?
what?

Re: Driver San Francisco PC ???
Posted: Mon Jan 03, 2022 5:00 pm
by Durik256
when the "noepyLoadModel" method is complete and I add the model to the mdlList from toolbar(button "load selected">method importVHEC), nothing happens
Re: Driver San Francisco PC ???
Posted: Mon Jan 03, 2022 5:12 pm
by shakotay2
maybe an indexing problem? It displays 445 VW_Camper_1965_LOD1.VEHC for me when I select 259 VW_Camper_1965_LOD1.VEHC
Re: Driver San Francisco PC ???
Posted: Mon Jan 03, 2022 6:13 pm
by Durik256
shakotay2 wrote: ↑Mon Jan 03, 2022 5:12 pm
maybe an indexing problem?
it's just a name
in list its (id and name), and in console (index and name)
that's what I mean. how to load the model from the toolbox. adding to the mdlList gives nothing

Re: Driver San Francisco PC ???
Posted: Mon Jan 03, 2022 7:16 pm
by shakotay2
Ok, from what I see the data is loaded from the BitStream object but not displayed.
It stops after
...
2d74b254653913c0
2d74b2545f3913c0
(So createMesh() is called several times after LoadSelected.)
Funny: when you log the positions in importVEHC() once directly loading a .vehc file, and then by "Load selected" the first ones are identical, but the ladder creates a 50 times bigger log. What?
Re: Driver San Francisco PC ???
Posted: Tue Jan 04, 2022 3:27 am
by Durik256
shakotay2 wrote: ↑Mon Jan 03, 2022 7:16 pm
but not displayed.
when method "noepyLoadModel" stop(return 1) then dont load model
new script
if load model as one mesh then very fast
Re: Driver San Francisco PC ???
Posted: Tue Jan 04, 2022 8:31 am
by shakotay2
yeah, that's a workaround for the memory problem not loading the .sp at the same time.
Comparing face indices for both "runs", loading .VEHC separately or with "Load selected".
edit: correction, logged ind1, 2 and 3 now and they are identical. (Seems there was an error with my formatting of the face array.)