Jump to content

[PS2] Tokimeki Memorial 3 (.bin)


Go to solution Solved by BloodRaynare,

Recommended Posts

I would like to try to get 3d models from this game, but just as expected, the game would have its assets stored in some unknown archive files. There doesn't seem to be any mentions of the game's archive files anywhere, so I guess there are no extractors available. As for the files' contents, I'm not sure if they are compressed or not and I'm not sure which files contains the 3d models either.

I did noticed that the DATA1 and DATA3 files contains data with 'ATP' headers.

data1.thumb.png.24a479946ef07ae8167ed356a6f026e9.png

Here is a link to the files:

data

Link to comment
Share on other sites

  • Solution
Posted (edited)

Here's QuickBMS script to extract the DATA*.BIN files:

## Tokimeki Memorial 3 (PS2) - DATA*.BIN extraction script by BloodRaynare
## For use with QuickBMS

math TOC1_START = 0x199008
math TOC1_END = 0x19A748
math TOC2_START = 0x19B360
math TOC2_END = 0x1B2468
math TOC3_START = 0x41D4C0
math TOC3_END = 0x422870

get FNAME filename

open FDSE SLPM_650.80
open FDSE FNAME 1

if FNAME == "DATA1.BIN"
	math ARC_NUM = 2
elif FNAME == "DATA2.BIN"
	math ARC_NUM = 3
elif FNAME == "DATA3.BIN"
	math ARC_NUM = 4
elif FNAME == "DATA4.BIN"
	math ARC_NUM = 5
elif FNAME == "DATA5.BIN"
	math ARC_NUM = 6
else
	print "Not a Tokimeki Memorial 3 archive data!"
	cleanexit
endif

math FILECOUNT = 0
goto TOC1_START
for i = 0
	savepos TMP
	if TMP == TOC1_END
		goto TOC2_START
	elif TMP == TOC2_END
		goto TOC3_START
	elif TMP == TOC3_END
		break
	endif
	get ENTRY long
	get SIZE1 short
	get SIZE2 short
	if ENTRY == 0 && SIZE1 == 0 && SIZE2 == 0x8000
		continue
	endif
	math ARC_NUM_TEST = ENTRY
	math ARC_NUM_TEST >> 24
	math OFFSET = ENTRY
	math OFFSET & 0xffffff
	math OFFSET * 0x800
	math SIZE1 * 0x800
	math SIZE2 * 0x800
	if ARC_NUM_TEST == ARC_NUM
		putarray 0 FILECOUNT OFFSET
		putarray 1 FILECOUNT SIZE1
		math FILECOUNT + 1
	else
		continue
	endif
next i

sortarray 0 1

for i = 0 < FILECOUNT
	getarray OFFSET 0 i
	getarray SIZE1  1 i
	string NAME p "%05d." i
	log NAME OFFSET SIZE1 1
next i

However, the next obstacle is, the atp files, which might contains the 3d model you were looking for
You see, they were using a compression and knowing Konami, it could be some custom stuff (This is the reason why "Konami Krack/Crack" phrase is well known in Romhacking.net).

Oh and also, no real filenames for the BIN files.

Edited by BloodRaynare
  • Like 1
Link to comment
Share on other sites

1 minute ago, Natsuki Okusawa said:

Thank you very much for taking the time on this, I highly appreciate it.

How possible would it be to decompress them though? I guess it wouldn't be easy...

Yep you got that right
Someone else will have to take a look on it

Link to comment
Share on other sites

Posted (edited)

Yeah, and after decompressing them, there will be the part of figuring out the 3d format itself, which would also take time and effort. Sadly my knowledge is too limited for me to be able to do those stuff completely by myself without some help.

The model format the game uses turned out to be similar to the PS2 Silent Hill games. Check the thread linked in the next post below.

Edited by Natsuki Okusawa
Link to comment
Share on other sites

  • 3 weeks later...
Posted (edited)
On 3/14/2024 at 9:36 PM, BloodRaynare said:

However, the next obstacle is, the atp files, which might contains the 3d model you were looking for
You see, they were using a compression and knowing Konami, it could be some custom stuff (This is the reason why "Konami Krack/Crack" phrase is well known in Romhacking.net).

I have an idea...

Would it be possible to get the 3d model files without the compression from an eeMemory file instead?

I made a separate thread for the eeMemory file.

 

 

Edited by Natsuki Okusawa
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...