Ggsgwhwhe Posted yesterday at 12:19 AM Posted yesterday at 12:19 AM Hello, I have a file from the game Ratatouille for PS2, in DPS format, named FONTES.DPS. I tried to unpack the file but without success. I believe the file contains an image related to the game's font. Here is the link to the file: https://mega.nz/file/O0ZliICZ#YXaO_rhs23EAXBoD6vdco2emWeBTqg4GIWozxvxAZFs Could you help me with how to open it or extract its contents? Thank you very much in advance.
Engineers Rabatini Posted yesterday at 12:39 AM Engineers Posted yesterday at 12:39 AM There has a aluigi bms that do the unpack, but without decompression. # Ratatouille DPC (script 0.1.4) # doesn't support compressed files and doesn't parse the resources, it's just a dumper # script for QuickBMS http://quickbms.aluigi.org get NAME string if NAME & "Asobo" math BASE_OFF = 0x100 else math BASE_OFF = 0 endif goto BASE_OFF get FILE_TYPE long get DUMMY long get ZERO byte get FILES long if FILE_TYPE == 0 getdstring DUMMY 0x18 elif FILE_TYPE == 1 getdstring DUMMY 0x13 elif FILE_TYPE == 0x30 getdstring DUMMY 0xf else getdstring DUMMY 0x13 endif savepos INFO_OFF xmath OFFSET "INFO_OFF + 0x6e0" if FILE_TYPE == 0x30 math OFFSET += 4 endif for i = 0 #< FILES get SUB_FILES long if SUB_FILES == 0 break endif get XSIZE long get SIZE long get ALIGN long get CRC longlong log MEMORY_FILE OFFSET SIZE callfunction UNPACK math OFFSET += XSIZE next i startfunction UNPACK math NEXT_OFF = 0 for j = 0 < SUB_FILES get XSIZE long MEMORY_FILE savepos TMP_OFF MEMORY_FILE if FILE_TYPE == 0x30 get ZSIZE long MEMORY_FILE if j == 0 get TYPE long MEMORY_FILE else math TMP_OFF -= 4 endif get DUMMY longlong MEMORY_FILE savepos TMP_OFF2 MEMORY_FILE get ZERO long MEMORY_FILE get REAL_SIZE long MEMORY_FILE if ZSIZE != 0 math XSIZE = ZSIZE endif else get DUMMY long MEMORY_FILE get XZSIZE long MEMORY_FILE get ZSIZE long MEMORY_FILE get TYPE long MEMORY_FILE get DUMMY longlong MEMORY_FILE savepos TMP_OFF2 MEMORY_FILE get ZERO long MEMORY_FILE get REAL_SIZE long MEMORY_FILE endif savepos OFFSET MEMORY_FILE xmath NEXT_OFF "NEXT_OFF + (TMP_OFF2 - TMP_OFF) + XSIZE" xmath SIZE "NEXT_OFF - OFFSET" if SIZE > 0 if ZSIZE == 0 # DDS if TYPE == 0x57b1f99e # not enough #math OFFSET += 0x10 #math SIZE -= 0x10 savepos TMP goto OFFSET findloc DDS_OFF string "DDS " MEMORY_FILE "" goto TMP if DDS_OFF != "" xmath TMP "DDS_OFF - OFFSET" if TMP > 0 if TMP < SIZE math SIZE - TMP math OFFSET = DDS_OFF endif endif endif endif string NAME p= "/%08x/" TYPE log NAME OFFSET SIZE MEMORY_FILE else # compression is not supported because some resources have an header string NAME p= "compressed/%08x/" TYPE log NAME OFFSET SIZE MEMORY_FILE endif endif goto NEXT_OFF MEMORY_FILE next j endfunction
Ggsgwhwhe Posted yesterday at 12:50 AM Author Posted yesterday at 12:50 AM My friend, the file is in DPS format, not DPC. Also, the game is for PS2, not PC.
Engineers Rabatini Posted yesterday at 02:00 AM Engineers Posted yesterday at 02:00 AM 50 minutes ago, Ggsgwhwhe said: My friend, the file is in DPS format, not DPC. Also, the game is for PS2, not PC. It´s the same logic. just need to ajust the decompressor, but you can search about it in google. 1
Ggsgwhwhe Posted 23 hours ago Author Posted 23 hours ago 43 minutes ago, Rabatini said: إنه نفس المنطق. تحتاج فقط إلى ضبط أداة فك الضغط، ولكن يمكنك البحث عنها في جوجل. 44 minutes ago, Rabatini said: إنه نفس المنطق. تحتاج فقط إلى ضبط أداة فك الضغط، ولكن يمكنك البحث عنها في جوجل. My friend, thank you for your help. But could you please tell me the method you used to unpack the files? Also, you mentioned a tool that I should search for on Google — can you give me its exact name, or upload it here if possible? And if you can, please upload the images as well. Thank you!
Ggsgwhwhe Posted 10 hours ago Author Posted 10 hours ago 14 hours ago, Rabatini said: It´s the same logic. just need to ajust the decompressor, but you can search about it in google. Brother, may I know why you haven’t replied yet?
Engineers Rabatini Posted 9 hours ago Engineers Posted 9 hours ago 23 minutes ago, Ggsgwhwhe said: Brother, may I know why you haven’t replied yet? Are you kidding right? 1
Ggsgwhwhe Posted 9 hours ago Author Posted 9 hours ago Just now, Rabatini said: هل أنت تمزح أليس كذلك؟ Just now, Rabatini said: Are you kidding right? My friend, I'm only trying to understand. I used the DPC script, but it only extracted some encrypted DAT files. I'm simply asking for the method you used to unpack the files, and the exact name of the tool you mentioned. If you can upload the images as well, I would really appreciate it. I'm not here to argue — I'm just trying to learn. ---
DKDave Posted 9 hours ago Posted 9 hours ago 36 minutes ago, Ggsgwhwhe said: My friend, I'm only trying to understand. I used the DPC script, but it only extracted some encrypted DAT files. I'm simply asking for the method you used to unpack the files, and the exact name of the tool you mentioned. If you can upload the images as well, I would really appreciate it. I'm not here to argue — I'm just trying to learn. --- I've deleted some of your replies to tidy up the thread. There's no need to post the same reply several times in a row. Nobody is obligated to reply unless they want to, so you need to be patient if there's no responses. And finally, don't ask for people to upload converted resources - the point of this forum is to give you the tools and scripts to extract them yourself from your own game files.
Ggsgwhwhe Posted 8 hours ago Author Posted 8 hours ago 15 minutes ago, DKDave said: I've deleted some of your replies to tidy up the thread. There's no need to post the same reply several times in a row. Nobody is obligated to reply unless they want to, so you need to be patient if there's no responses. And finally, don't ask for people to upload converted resources - the point of this forum is to give you the tools and scripts to extract them yourself from your own game files. My friend, I didn’t mean to bother you. I only asked for a way to decrypt the DAT files, because several files were extracted and I want to know which one contains the font.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now