Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Forza Motorsport Resource Extraction (.carbin)

Post questions about game models here, or help out others!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1150 times
Been thanked: 2243 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by shakotay2 »

gpfan wrote:i´m positive his the guy who can help figure it out some of this puzzles!
Guess, he'll update his Forza Studio sooner or later.
I suspect that everything must be very similar to Ernegien Forza studio code afterwards.....
If you think so that would be very easy, since the code is public.

So compile it, put your breakpoints at the suiting places, load a (simple) Forza4 car model, then log, how the materials are assigned.
For example in ForzaStudioForm.cs

Code: Select all

                            sw.WriteLine("usemtl {0}", mesh.MaterialName);
                            for (int j = 0; j < mesh.Indices.Length; j += 3)
                            {
                                int i1 = mesh.Indices[j + 0] + 1;
                                int i2 = mesh.Indices[j + 1] + 1;
                                int i3 = mesh.Indices[j + 2] + 1;
But you'll need an XBox360 SDK or something like that, or at least these include files:
#include "d3d9.h" // Note: make sure this is the Xbox 360 flavor of D3D9.h!
#include "xgraphics.h"

(I don't have the time for such, prefer the quick 'n dirty way. :D )

Anyways, you may have missed the wheels in the previous uploaded CAD_ATSV_16 obj file:
MakeH2O_CAD_wheels.zip
CAD_ATSV_wheels.JPG
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
nosfornos
advanced
Posts: 55
Joined: Wed Dec 21, 2011 9:16 am
Has thanked: 13 times
Been thanked: 4 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by nosfornos »

The current version of Forza Studio don't support Japanese because of a fatal error. Forza Studio will support Japanese anyway?
ImageI Love Nermal!!!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1150 times
Been thanked: 2243 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by shakotay2 »

I've applied translation offsets to a subset of parts (scaling/rotations still wrong) but it remains a little mess:
CAD_ATSV_chassis.JPG
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1150 times
Been thanked: 2243 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by shakotay2 »

well, I was searching for quaternions to get some rotation but seems the scaling was the problem:
CAD_ATSV_16_scaled.JPG
That's a little bit strange, after all. :D

The exhaust is burried in some kind of "case" which I don't understand.
But maybe it's the same as with the wheels which seem to require a special treatment like some other parts, too.

So there's still some position offset issues to solve. But I don't have any idea about that, to be honest.
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
aliann34
beginner
Posts: 34
Joined: Wed Dec 07, 2016 1:05 pm
Has thanked: 53 times
Been thanked: 4 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by aliann34 »

shakotay2 wrote:well, I was searching for quaternions to get some rotation but seems the scaling was the problem:
CAD_ATSV_16_scaled.JPG
That's a little bit strange, after all. :D

The exhaust is burried in some kind of "case" which I don't understand.
But maybe it's the same as with the wheels which seem to require a special treatment like some other parts, too.

So there's still some position offset issues to solve. But I don't have any idea about that, to be honest.
Very well keep going like this.
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by TomWin »

wow, I'm glad to see progress. Is that updated ForzaStudio or some other thing?
Thank you for all your great work
I wish to have skills like you guys to help some too.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1150 times
Been thanked: 2243 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by shakotay2 »

TomWin wrote:Is that updated ForzaStudio or some other thing?
It's a continuation of the MakeH2O project, written from scratch by me, based on simple pattern searches (with very basic format analysing only).

edit: forzaHorizon mesh extractor is in my sig now - read the readme.txt BEFORE using the exe file.
ATTENTION: the exe may freeze and produce large files (about 260 for the DB11 for example.)
So if you don't know how to kill a task on your system then PLEASE don't use Make_H2O-ForzaHor.exe!
You have been warned.
CAD_ATSV_16_raw.JPG
(Some issues remain, mainly multi-textured? uvs, doors, hoods, steeringWheels without correct scale/position offset.)
btw: I've shown the low-LOD door's uvmap since the one from the high_LOD is ugly :D

yeah, these are the disadvantages of stupid pattern searches: patterns may vary. :D
(Now the hood is scaled correctly but the position offset is still wrong...)
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Thu Jan 26, 2017 12:03 am, edited 4 times in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
aliann34
beginner
Posts: 34
Joined: Wed Dec 07, 2016 1:05 pm
Has thanked: 53 times
Been thanked: 4 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by aliann34 »

shakotay2 wrote:
TomWin wrote:Is that updated ForzaStudio or some other thing?
It's a continuation of the MakeH2O project, written from scratch by me, based on simple pattern searches (with very basic format analysing only).

Read the readme.txt BEFORE using the exe file.
Make_H2O-ForzaHor.zip
CAD_ATSV_16_raw.JPG
(Some issues remain, mainly multi-textured? uvs, and objects without correct scale and position offset.)
btw: I've shown the low-LOD door's uvmap since the one from the high_LOD is ugly :D

yeah, these are the disadvantages of stupid pattern searches: patterns may vary. :D
(Now the hood is scaled correctly but the position offset is still wrong...)
oh my good excellent model but not complete.
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by TomWin »

OMG what a mess :P
Image

It doesn't works with some cars like DB11

But it works, that's a good sign, just need to be polished some more. All the lods are together as one object.

Keep up going. Thanks for your efford
aliann34
beginner
Posts: 34
Joined: Wed Dec 07, 2016 1:05 pm
Has thanked: 53 times
Been thanked: 4 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by aliann34 »

TomWin wrote:OMG what a mess :P
Image

It doesn't works with some cars like DB11

But it works, that's a good sign, just need to be polished some more. All the lods are together as one object.

Keep up going. Thanks for your efford
This is Aston Martin DB11 model. Very good model but not complete. Keep up going.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1150 times
Been thanked: 2243 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by shakotay2 »

TomWin wrote:OMG what a mess :P
yeah (forgot to say, that it's experimental only :D )
If you need it perfect you'll have to wait for the ForzaStudio update, if any.
It doesn't works with some cars like DB11
don't have that sample.
All the lods are together as one object.
did you import to blender "separated by groups"?

Dodge viper (exterior only):
dodge_viper_exterior.JPG
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Thu Jan 26, 2017 12:05 am, edited 7 times in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
aliann34
beginner
Posts: 34
Joined: Wed Dec 07, 2016 1:05 pm
Has thanked: 53 times
Been thanked: 4 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by aliann34 »

shakotay2 wrote:
TomWin wrote:OMG what a mess :P
yeah (forgot to say, that it's experimental only :D )
If you need it perfect you'll have to wait for the ForzaStudio update, if any.
I Agree we waiting to New version ForzaStudio.
TheAdmiester
beginner
Posts: 24
Joined: Tue Jan 03, 2017 10:04 pm
Has thanked: 8 times
Been thanked: 33 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by TheAdmiester »

aliann34 wrote:This is Aston Martin DB11 model. Very good model but not complete. Keep up going.
That's not the DB11, it's the Bentley EXP6.
shakotay2 wrote:don't have that sample.
I'll fix that: http://www103.zippyshare.com/v/GjfInQVv/file.html
aliann34
beginner
Posts: 34
Joined: Wed Dec 07, 2016 1:05 pm
Has thanked: 53 times
Been thanked: 4 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by aliann34 »

TheAdmiester wrote:
aliann34 wrote:This is Aston Martin DB11 model. Very good model but not complete. Keep up going.
That's not the DB11, it's the Bentley EXP6.
Thanks for reminding me
TheAdmiester
beginner
Posts: 24
Joined: Tue Jan 03, 2017 10:04 pm
Has thanked: 8 times
Been thanked: 33 times

Re: Forza Motorsport Resource Extraction (.carbin)

Post by TheAdmiester »

Also, @shakotay2, I understand that it's a huge undertaking so the answer is likely no, but would there ever be plans to somehow repackage edited models back as a modelbin that the game can support?
Post Reply