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

Battle of the Immortals Game File Format

Post questions about game models here, or help out others!
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Battle of the Immortals Game File Format

Post by finale00 »

The section after the textures is unknown, but looks like this. It is the second pair of dwords in the offset table.

Code: Select all

struct unk1 {
	dword_8 ??
	dword_2 count, offset
	dword_8 null
	
	*seek to offset*
	count unk {
		byte_64 ???
	}
}
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Battle of the Immortals Game File Format

Post by finale00 »

The second dword in the mesh struct is the material index.
The last pair of dwords in the mesh struct references bone indices.
You do not have the required permissions to view the files attached to this post.
User avatar
CriticalError
double-veteran
double-veteran
Posts: 678
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 104 times
Been thanked: 41 times

Re: Battle of the Immortals Game File Format

Post by CriticalError »

finale00 wrote:The second dword in the mesh struct is the material index.
The last pair of dwords in the mesh struct references bone indices.
lol you crazy!!!! I love you god u.u perfect model and texture gratz again for news you rock.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Battle of the Immortals Game File Format

Post by finale00 »

Looks like there's only one more unknown left in the mesh, so I guess that would be the weights. I mean, can't really be anything else.

The number of bone indices == number of vertices. I'm not sure what that means. Each vertex has 3 weights (numVerts * 3 floats). Ok I really don't understand bones to figure out that part.
Antonkf
n00b
Posts: 15
Joined: Sat Feb 18, 2012 6:47 pm
Has thanked: 3 times

Re: Battle of the Immortals Game File Format

Post by Antonkf »

And could you please make a script or Noesis plugin for viewing/converting models from Battles Of Immortals?
KillMeOnceMore
ultra-n00b
Posts: 1
Joined: Sun Nov 18, 2018 3:03 pm
Has thanked: 1 time

Re: Battle of the Immortals Game File Format

Post by KillMeOnceMore »

I know this is a old thread, but recently I found a set of source code that was origin from where battle of immortal was made.
The model tool(mdxstudio.exe) is for mdx2 but extremely similar to pwm3/m4f format. (Find it under client folder for compiled ver)
I am hoping someone can figure out a model tool for pwm3/m4f.

Uses vs2005. For dxd8.h error, use vc++ dir to link DX9SDK for include & lib.
https://mega.nz/#F!lGo03C6a!u97BE1huki64rbB1c6lBiw

Wish you guys all the best and goodluck!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4287
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1149 times
Been thanked: 2242 times

Re: Battle of the Immortals Game File Format

Post by shakotay2 »

KillMeOnceMore wrote:I know this is a old thread, but recently I found a set of source code that was origin from where battle of immortal was made.
Hello, rider-of-dead-horses :D
You won't expect someone to download 844 MB just to get a VS project, do you?

The format is simple, though, so we don't need that project that much, imho:
chunjie_female-M4F.png
H2O files, body and face:

0xD5CC 900
Vb1
12 99
0xCA98 239
020000
0xF33C 8

0x1021B 690
Vb1
12 99
0xFBA3 138
020000
0x1146F 8
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?"
Post Reply