Page 35 of 138

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri May 21, 2010 2:30 pm
by SandroX
Just wanna say big thanks to all guys who made it possible!
Image
Game: GTR Evolution

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri May 21, 2010 11:44 pm
by Ernegien
Looks great :)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sat May 22, 2010 9:25 am
by salim
hello !


thx for this great tool brothers !

i just have a question,and i hope it's not off-topic : i've heared that Forza 2 got also .carbin is it possible to get those models too using the Forza Studio ?

thanks a lot and sorry if i bother !


cheers,
Salim Ljabli

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sat May 22, 2010 9:33 am
by Alexsashka
Hi, I join the question raised above, it would not be bad, do support importing models from Forza Motorsport 2, thank you for a great program!

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sat May 22, 2010 10:14 am
by gpktm
Ofcourse, everyone wants Forza2 files. I inlcude my self also. :)

From what I've read in page 26, Ernegien is working on it.

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sat May 22, 2010 5:48 pm
by MMWsmokey
thanks to everyone who helped with forza studio, and most of all thank you ernegien, really great work :)

Image

audi s4 in gta4:eflc, converted with latest zm2 :)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sat May 22, 2010 5:49 pm
by Ernegien
gpktm wrote:Ofcourse, everyone wants Forza2 files. I inlcude my self also. :)

From what I've read in page 26, Ernegien is working on it.
The most recent source already includes code to completely parse through Forza 2 carbin files, I just haven't gotten around to looking into how the subpart indices reference the two chunks of vertex data...

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sun May 23, 2010 9:04 am
by ALYX
It's good that forza 2 carbinwill be supported.

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sun May 23, 2010 12:09 pm
by Alexsashka
I have about the sponsored project, if there is no difficulty with payment, I'm just out of Russia. :)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sun May 23, 2010 4:15 pm
by prefim
Hi Ernegien,

Forza Studio is coming along leaps and bounds. I had some initial noob problems but soon got over those. Everything is now working well butI have a request and I think it would be a five second fix for you (based on how quickly you rattled out the initial versions!)

.MTL files!!

I've attached a file that shows how an OBJ with MTL associated with it is different to the current OBJ.

In essence rather than it list:-
V entries
VT entries
VN entries
G (group?) reference line which lists the part name.
F entries for that part
G New part name
F entries ........ and so on.

you now get:-

mtllib material.mtl (reference the mtl file to be used)
G part name
V entries for just that part
VT entries for just that part
VN enries for just that part
usemtl materialname (taken from the MTL file)
F entries for just that part
G group (for next part)...... and the list continues as before........

The MTL file needs to just list
newmtl NAME (should be taken from the G part references)
Kd 1 1 1 (just sets the diffuse colour to white - can be this for everything)

I figured if you scanned the list of G references in your OBJ you could create an MTL and then (re)write the OBJ in the new order.

This would be amazing if you can add it in as for us 'renderers' out there its the icing on the cake to speed up conversion.

Let me know if you need any more info on MTL or OBJ structure but I think its all covered in the attachement.

Fingers crossed! :)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sun May 23, 2010 9:02 pm
by Ernegien
Forza Studio with blank .mtl extraction :)

Forza Studio (5.23.10)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sun May 23, 2010 9:03 pm
by Veegie
As long as the .mtl file is in the same directory as the .obj, the following import settings will have you covered.
Image

Have fun!
Image

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Sun May 23, 2010 11:51 pm
by Nobby
Awww dude !! thats awsome. finally MTL creation this will make texturing the cars a lot quicker. Nice one Cheers :rock:

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Mon May 24, 2010 8:12 am
by prefim
Nice one Ernegien,

Many thanks for this. :) :) :) :)

EDIT: just spotted a minor thing.

Can you change the export line for the next update to:-

// export faces
sw.WriteLine("usemtl {0}", piece.Parent.Name + "_" + piece.Name); - I think this is right but i'm not an Xna developer! :wink:

and I guess the MTL export bit will need tweaking as well. If we put the part name before the surface name it will help when bringing the cockpit and car models together. because we have some matching surfaces, there can sometimes be an issue as to which one gets to stay!

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Mon May 24, 2010 9:00 am
by gtasamimi
hmm...Don't work New Version too
Please release a version of bugs fixed!
I and some people can't use Forza Studio :(
and we want to use Forza Studio ><
Thanks