Page 60 of 138

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 6:01 am
by Ernegien
I just wanted to confirm that it is indeed laid out that way. Thanks for your help man, it's much appreciated as always. This stuff really isn't my forte, but at least I'm learning something new everyday :)

Image

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 6:37 am
by TomWin
what a great work! game tools are gonna be ready before the game is released hehe

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 10:36 am
by matt55
That's fantastic job man! The game isn't ready yet, but we got a ready script to open cars! Can't wait to play with Sesto Elemento.. :)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 12:02 pm
by toolieo
@Ernegien: Will your Forza Studio use the scale of the models to the same size as FM3 models? Or will it export the new size FM4 uses? :]

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 1:59 pm
by MMWsmokey
that looks very good indeed, can you give us an ETA by any chance on when we can get our hands on the new studio ? cant wait ! :)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 2:44 pm
by TomWin
what about UV map? does it read already correct?

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Thu Oct 06, 2011 7:07 pm
by Ernegien
toolieo wrote:@Ernegien: Will your Forza Studio use the scale of the models to the same size as FM3 models? Or will it export the new size FM4 uses? :]
I would assume that the scale has remained unchanged throughout every release, but if not, I'm sure I could easily make some adjustments...
MMWsmokey wrote:that looks very good indeed, can you give us an ETA by any chance on when we can get our hands on the new studio ? cant wait ! :)
Well, there's still some things I haven't completely looked into yet. I haven't mapped out the new header format in its entirety, so right now I'm just specifying a static address in the file to start reading from. I also briefly glanced at the lod 1-5 carbin format and noticed some slight changes, so I'll need to dig more into that as well. I'm hoping to have a little free time over the weekend to address some of these things, but as always, I'm not making any promises...

EDIT: Below is a link to download an unsupported version of what I've been working with to research the new file formats. At most, it is currently only capable of loading the main lod0 and cockpit files, and likely won't load all of them due to minor differences I've yet to find. The regular lod1-5 carbin file format has changed quite a bit, so I'll need to redo the code for that, but so far it has been pretty simple to manually walk through the file in a hex editor. To keep it simple, you should be able to open a car zip and it will attempt to load all it can...

http://codeescape.com/temp/Forza%20Stud ... ORT%29.zip
TomWin wrote:what about UV map? does it read already correct?
I would assume so, but I have yet to actually confirm this...

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 7:52 am
by ram202
im try import LOD1 -

System.OutOfMemoryException: Выдано исключение типа "System.OutOfMemoryException".
в ForzaStudio.ForzaCar.Initialize(String name, EndianStream stream)
в ForzaStudio.ForzaCar..ctor(String filename)
в ForzaStudio.ForzaStudioForm.mnuOpen_Click(Object sender, EventArgs e)
в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 8:09 am
by TomWin
ram202 wrote:im try import LOD1 -

System.OutOfMemoryException: Выдано исключение типа "System.OutOfMemoryException".
в ForzaStudio.ForzaCar.Initialize(String name, EndianStream stream)
в ForzaStudio.ForzaCar..ctor(String filename)
в ForzaStudio.ForzaStudioForm.mnuOpen_Click(Object sender, EventArgs e)
в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I think Ernegien was enough clear about lod1-5. It doesnt work yet because there is a difference between FM4 and FM3.

Loading lod0 and cokcpit works fine. I didnt try export yet

EDIT: exported, everything ok, but UV map is a big mess so far

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 10:12 am
by D1Racer
Yup exports great apart from the UV Mapping, Good news too, seems LOD0 can be edited without getting all messed up :) At least with the models I've tried. And scale is the same as the FM3 models.

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 3:06 pm
by MMWsmokey
Ernegien wrote: Well, there's still some things I haven't completely looked into yet. I haven't mapped out the new header format in its entirety, so right now I'm just specifying a static address in the file to start reading from. I also briefly glanced at the lod 1-5 carbin format and noticed some slight changes, so I'll need to dig more into that as well. I'm hoping to have a little free time over the weekend to address some of these things, but as always, I'm not making any promises...

EDIT: Below is a link to download an unsupported version of what I've been working with to research the new file formats. At most, it is currently only capable of loading the main lod0 and cockpit files, and likely won't load all of them due to minor differences I've yet to find. The regular lod1-5 carbin file format has changed quite a bit, so I'll need to redo the code for that, but so far it has been pretty simple to manually walk through the file in a hex editor. To keep it simple, you should be able to open a car zip and it will attempt to load all it can...
Thank you !
That is very nice progress. Indeed LOD0 and Cockpit LOD0 carbin's load fine and can be exported to obj, although without UV mapping it seems. Materials file is being created and seems to be correct. very promising i think :)

On a related note, forza 4 ntsc version is available for download now

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 3:32 pm
by bigBear
Great progress, Energien en revelation!
You both makes it able to for FM4 cars.
I'd like to donate you some money for what you have done!
Really awesome.


And now, I don't know what happened but it seems FM4 full game has been released haha.
Well, actually released on the internet.

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 3:44 pm
by 9lXA
MMWsmokey wrote: On a related note, forza 4 ntsc version is available for download now
Where i can download?

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 4:02 pm
by bigBear
9lXA wrote:
MMWsmokey wrote: On a related note, forza 4 ntsc version is available for download now
Where i can download?
The start is using Google.
So googling to forza 4 ntsc is a good start.

Re: Forza Motorsport Resource Extraction (.carbin)

Posted: Fri Oct 07, 2011 4:49 pm
by Chipicao
The contents of this post was deleted because of possible forum rules violation.