Page 1 of 2
[REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 06, 2013 4:25 am
by ErryK
Hi, I'm new to Xentax and I have searched all over the forum for a solution to this; I want to be able to view the maps from Birth by Sleep, however there is no .pmp viewer and I'm able to unpack the .pmo files through Keytotruth's modding station however I want to be able to have the entire map in one piece. Is that possible at all besides extracting each .pmo from the .pmp and converting it into a filetype I can use with a 3D modeling program?
Thanks for any help. And if this has been answered, could you link me to it?
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 06, 2013 8:21 pm
by shakotay2
Welcome to the forum!

You should provide more input. Maybe upload a map sample.
Search for "Kingdom Hearts" in this forum. There are some hits.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Sun Sep 08, 2013 2:58 am
by ErryK
The closest example I can get is something like this:
http://i.imgur.com/Tlelson.png
This is the KH2 map of Agrabah in a map viewer. However KH2 maps have a .map extension which is viewable in these kinds of programs, but BBS maps need to be decompiled, converted or rebuilt in a 3D model viewer. What I'm asking is if there has been a method or way found to view these maps from their native .pmp files or if there's another way.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Sun Sep 08, 2013 6:23 am
by shakotay2
ErryK wrote:What I'm asking is if there has been a method or way found to view these maps from their native .pmp files or if there's another way.
I'm not aware of a method but could you upload a (small) .pmp map and one or two .
pmos from it, please?
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Sun Sep 08, 2013 8:30 pm
by ErryK
https://www.dropbox.com/s/505b07g068w0be5/rg_14.pmp
Here is the smallest Radiant Garden map. I know that somewhere there are viewable maps but I just haven't found them, searching here and through Google, bring up no results but attempts on getting the maps.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Mon Sep 09, 2013 1:46 pm
by shakotay2
Thx.
Seems there's some index table at the end-of-file but I don't know how to use it.
So due to the lack of some face indices I created them like this f 1 2 3, f 4 5 6
Gives some structures but they don't look like "maps":
(Maybe the sphere being the sky?)
Your unpacked PMOs containing some indices?
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Wed Sep 11, 2013 7:19 am
by ErryK
I can get you the separate pmos of the map but I don't know if that'll do anything. The sphere is the skymap of the area, afaik.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Wed Sep 11, 2013 9:26 am
by shakotay2
ErryK wrote:I can get you the separate pmos of the map but I don't know if that'll do anything.
Well, if you want a solution, it will be required (but maybe not sufficient).
But that's upon your decision. 2 or three pmos would be enough (as I wrote some posts above).
If the pmos are just a 1-to-1 copy from the map file, well, then you would be right.
(But hopefully they contain some helpful indices.)
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 13, 2013 2:28 am
by ErryK
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 13, 2013 10:56 am
by shakotay2
thx, but there's no access due to "too much traffic". Could you please upload it elsewhere (maybe
http://www.uploadmb.com)?
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 13, 2013 7:19 pm
by ErryK
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 13, 2013 8:10 pm
by shakotay2
Thx again. 2.pmo seems to contain some kind of index table (but no vertices).
I don't see a chance to get the "indices riddle" solved theoretically (except by using a debugger).
An approach would be to replace groups of indices for example in rg_14.pmp (from 0x62400 to 0x62C8F) by zeroes and see what happens ingame to get a clue what the indices mean.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 23, 2016 5:57 am
by FirstNameBasis
shakotay2 wrote:Thx again. 2.pmo seems to contain some kind of index table (but no vertices).
I don't see a chance to get the "indices riddle" solved theoretically (except by using a debugger).
An approach would be to replace groups of indices for example in rg_14.pmp (from 0x62400 to 0x62C8F) by zeroes and see what happens ingame to get a clue what the indices mean.
I Wanna test this tomorrow even though im kinda new to hex editing. It seems highly worth a shot, Considering the odds, to see if there's a way to get maps to display like OP asked.
Even though its been 3 years it's still difficult to find such programs, if they even exist.
I assume they dont.
Yet.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Fri Sep 23, 2016 8:27 am
by Gh0stBlade
I took a quick look. It's best off to just tell us what platform the files come from. I'm going to assume PS2 by looking at the data.
Anyway shakotay2 is correct. You must re-generate face indices based on face draw direction flags included in the vertices. The flags seem to be the most common ones used across various PS2 games (0x40, 0x80). I would suggest taking a look at Chrrox's Time Splitters 2 Xbox Noesis importer. The same code should work.
Edit: Nevermind, seems I'm looking at the wrong files and the links are broken (too much traffic).
Cheers.
Re: [REQUEST] Kingdom Hearts Birth by Sleep map models
Posted: Mon Sep 26, 2016 5:56 am
by FirstNameBasis
Gh0stBlade wrote:I took a quick look. It's best off to just tell us what platform the files come from. I'm going to assume PS2 by looking at the data.
Anyway shakotay2 is correct. You must re-generate face indices based on face draw direction flags included in the vertices. The flags seem to be the most common ones used across various PS2 games (0x40, 0x80). I would suggest taking a look at Chrrox's Time Splitters 2 Xbox Noesis importer. The same code should work.
Edit: Nevermind, seems I'm looking at the wrong files and the links are broken (too much traffic).
Cheers.
I havent had time to test what he said but i can reupload some suspected map models that are still compressed/encrypted tomorrow if your still interested.
Its also for the psp, as far as ive been reading people have always had trouble breaking psp games because of the encryption format.