Page 1 of 1

[PS3] Macross Last Frontier

Posted: Fri Jan 06, 2012 4:45 pm
by howfie
Geometry and UV. Some UVs are incorrect because there are 100 vertex formats and I don't have time to go through thousands of textures named in hexadecimal to find the right textures to test the scaling for each format. Most mecha planes are in pieces so it kind of sucks. The game is also just a space shooter so there are no character models other than the Vajra; everything else is either a spaceship, plane, plane part, or architecture.

EDIT: Oops! Forgot to make one change to the code... download again.

http://www.mediafire.com/?d755385aoiy2o99
* Rip game.
* Run offzip on the dat files.
* Run exe in game root directory, it will search for all HLD files and convert to OBJ.
* Textures must be applied manually.

Image

Re: [PS3] Macross Last Frontier

Posted: Fri Jan 06, 2012 6:42 pm
by Rimbros
Good Treadh man.... :mrgreen:

Re: [PS3] Macross Last Frontier

Posted: Fri Jan 06, 2012 10:40 pm
by finale00
Just an exe?
I want to see some code

Or post up the format :D

Re: [PS3] Macross Last Frontier

Posted: Fri Jan 06, 2012 11:03 pm
by chrrox
its nearly identical to dynasty warriors 7 just look at that code.

Re: [PS3] Macross Last Frontier

Posted: Fri Jan 06, 2012 11:48 pm
by howfie
Here is source. Macross code is in ps3_macross_frontier.cpp.
http://www.mediafire.com/?np5q92um3x6h4i3

File format is simple chunk based format. All chunks except root chunk have following format:

chunkname (4 bytes)
chunksize (4 bytes)
parameter1 (4 bytes)
parameter2 (4 bytes)
chunkdata (of chunksize variable bytes)

Model data is in the THMG sections or something like that. There are two dwords in chunk I called u01 and u02. These are the vertex byte flags. If high word of u01 is 0x02, for example, vertex structure is 16 bytes. If 0x03, it's 20 bytes, and so on. Low word appears to control format of weights or something else in between the position and uv data. u02 appears to control the UV format, which I know I have wrong in some cases. Game is somewhat similar to chrrox's Valkyria Chronicles I think.

The file names are actually there in the dat file, but I'm just too lazy to write an extractor too at the moment. I've also been so unlucky these past two months... got laid off from teaching at the university... got into a car accident where some lady texting on her cell phone rear-ended me and totaled my car. This is also the second time a Korean lady has totaled my car. And I don't like the insurance company's settlement offer so now I have to sue and shit... I'm telling ya shit hasn't been going well and I need to find another car and job soon. Life sucks and I feel like going postal on people now. :mrgreen:

Re: [PS3] Macross Last Frontier

Posted: Sat Jan 07, 2012 12:52 am
by zardalu
Excellent work, thanks!!

Re: [PS3] Macross Last Frontier

Posted: Mon May 13, 2013 1:25 am
by sidhi
All of the mediafire links are dead... Please reupload... Thanks... :)