READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

LittleBigPlanet .mol hex2obj

Post questions about game models here, or help out others!
User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Wed Jul 31, 2019 10:13 am

I need help with LittleBigPlanet models.
Working on SRB2 .wad, Gmod addons, Models.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: LittleBigPlanet .mol hex2obj

Post by shakotay2 » Wed Jul 31, 2019 12:20 pm

sonic_hr.mol is compressed - use offzip for example
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Wed Jul 31, 2019 12:43 pm

shakotay2 wrote:
Wed Jul 31, 2019 12:20 pm
sonic_hr.mol is compressed - use offzip for example
I think i got it to work https://imgur.com/UWuWph4 So after that i just open the 4 files and figure the addresses out?
:)


https://imgur.com/PHEEqVK i got sonic's right ear
Working on SRB2 .wad, Gmod addons, Models.

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Thu Aug 01, 2019 8:12 am

This might be hard than the other one i did i think the ending might be 4E50?
Working on SRB2 .wad, Gmod addons, Models.

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Thu Aug 01, 2019 9:38 am

shakotay2 wrote:
Wed Jul 31, 2019 12:20 pm
I think the ending for the Faces is 0004E50. That's my guess
Working on SRB2 .wad, Gmod addons, Models.

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Thu Aug 01, 2019 10:11 am

shakotay2 i think i got the Face's start address correct but i need to find the ending.

0x0000026E is where the start i think should be.
You do not have the required permissions to view the files attached to this post.
Working on SRB2 .wad, Gmod addons, Models.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: LittleBigPlanet .mol hex2obj

Post by shakotay2 » Thu Aug 01, 2019 2:33 pm

noone will understand what you're talking about if you don't upload the .dat file in question
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Thu Aug 01, 2019 5:31 pm

https://drive.google.com/open?id=1-o6T9 ... eIY4iZxTwu There it's the same file that i had problems with
Working on SRB2 .wad, Gmod addons, Models.

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Fri Aug 02, 2019 4:57 am

Does this mean anything?
You do not have the required permissions to view the files attached to this post.
Working on SRB2 .wad, Gmod addons, Models.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: LittleBigPlanet .mol hex2obj

Post by shakotay2 » Fri Aug 02, 2019 6:45 am

(I can't access the inked drive in your post as of Thursday.)
sonicdude143 wrote:
Fri Aug 02, 2019 4:57 am
Does this mean anything?
compressed size of data block -> uncompressed sodb / start of data block I guess
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Fri Aug 02, 2019 6:49 am

So, we found the start then the ending might be close
https://mega.nz/#!Zj5y1ACL!Z13w6fH5z5Pb ... K1XPZRw5dc
Working on SRB2 .wad, Gmod addons, Models.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: LittleBigPlanet .mol hex2obj

Post by shakotay2 » Fri Aug 02, 2019 9:18 am

00000025.dat:
0x026E is not start of FIs because 0x0260 is start of vertices.

My guess that FIs might be here <>:
00002860 00 00 FF 0C 5D B2 <42 00> 53 F2 64 00 DC 19 <6E 00>

is wrong, too, because the highest FI (0x25A) can't be found in the block up to 0x4E60.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Fri Aug 02, 2019 9:44 am

shakotay2 wrote:
Fri Aug 02, 2019 9:18 am
00000025.dat:
0x026E is not start of FIs because 0x0260 is start of vertices.

My guess that FIs might be here <>:
00002860 00 00 FF 0C 5D B2 <42 00> 53 F2 64 00 DC 19 <6E 00>

is wrong, too, because the highest FI (0x25A) can't be found in the block up to 0x4E60.
So, you're right about the Start of FI 0x3154? Wait maybe i was wrong about it
Working on SRB2 .wad, Gmod addons, Models.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: LittleBigPlanet .mol hex2obj

Post by shakotay2 » Fri Aug 02, 2019 7:15 pm

You need to understand the format of the block at 0x2860, probably uv data:

Code: Select all

Word log from D:\tmp\00000025.dat

( one line represents 16 bytes in the model file )
Values are shown in decimal notation.
startaddress taken from go1 editbox
address 0x2860:
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292   342  3072 32549 23040  2906 55296 
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292 23200 35328 23568 33792 30952  4096 
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292 23024 31744 23472 23552   520  3584 
    0 65292 20784 20480 20752 20992 64392  2048 
    0 65292 23986 16896 21490 25600 56345 28160 
    0 65292   570 35840 32619 49152 60858 23552 
    0 65292 28989  7168 29085  5120 63656 47104 
    0 65292 26976  8704 26896  8704 64728  1536 
    0 65292 28416     0 28336     0 65416  1024 
    0 65292 28882 23040 28786 23552   904 28160 
address 0x2960:
    0 65292 36505 26112 36873 10752 

...

address 0x4c10:
    0 65292 40195 27648 39554 58880 52228 29696 
    0 65292 36966  7680 37926 38912 22724 52224 
    0 65292 63687 46592 64263 48640 24065  8704 
    0 65292  2407 57344  2471 56832 26431 54784 
    0 65292 27201 42496 27121 42496  1000 17408 
    0 65292 23858 17408 24065 59904 28056 28672 
    0 65292 23024 31744 23472 23552   520  3584 
    0 65292 20784 20480 20752 20992 64392  2048 
    0 65292 23200 35328 23568 33792 30952  4096 
    0 65292 24910 64512 24863 48128 59529  4096 
    0 65292 26923 19968 27915 24064 64665 59904 
    0 65292 27152 14848 28845 37376 63080  7168 
    0 65292  2927 59904   750 22528 31544  2048 
    0 65292  5668 11264  5686 13312 30825 40448 
    0 65292 31461  1024 29765 57856  1145 55296 
    0 65292 31507 63488 31652  6144 29097 12288 
address 0x4d10:
    0 65292  3154 51712  2563 23552 29864 49664 
    0 65292  5332 43520  4836 39936 32441 49664 
    0 65292  9620 10240  9044  7680  1721 35840 
    0 65292 11204  9216 11188  2560  1769 56832 
    0 65292 11204  9216 11188  2560  1769 56832 
    0 65292   439 41984  3431 44032  1677 44032 
    0 65292 33431 57344 36599 50176  1761 15872 
    0 65292  6613 38912  6678 53248   298 53760 
    0 65292 32663 58368    39 48640    94 49152 
    0 65292  2951 45568  3271 32768  1822 16896 
    0 65292  5751 17408  5943 11776  2125 49664 
    0 65292 64919 26112 65095 29184 31842 64512 
    0 65292 63559  1536 63895 23552 32307 44032 
    0 65292 62262 52224 62375  5632 31107 51712 
    0 65292 62006 51712 61463  9216  1428  2560 
    0 65292  4280 22528  4232 28672 32783  4096 
address 0x4e10:
    0 65292 60866 24576 62243 18432 47730 62464 
    0 65292 12336     0 12288     0 32584  1024 
    0 65292 39872     0 39920     0  9494  7168 
    0 65292 39232     0 39216     0  4487 40960 
    0 65292 38368     0 38496     0  2023 60416 
We've an interesting point cloud with this H2O file:

0x0 500
Vb1
16 99
0x260 603
121000
0x0 255

----------------------------

The FIs are - as assumed by me in a PM - in a different file (found them in 0000c890.dat).
You can get the FIs and only the FIs using this H2O file (ignore the mesh!):

0x1 340
Vb1
6 99
0x260 608
121410
0x0 255

-----------------
(Someone should write a bms script to unzip the mol files properly.)
------------------

combining above mentioned point cloud and FIs gives this:
.
00000025.dat.test.png
(about 5 zero vectors added: v 0.0 0.0 0.0)
(I'm off now, too much time spent with this.)
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
sonicdude143
n00b
Posts: 17
Joined: Tue Jul 30, 2019 11:15 am
Has thanked: 4 times
Been thanked: 1 time

Re: LittleBigPlanet .mol hex2obj

Post by sonicdude143 » Fri Aug 02, 2019 10:58 pm

Has anyone tried to make a bms for extracting MSHb format?
Working on SRB2 .wad, Gmod addons, Models.

Post Reply