Piposaru 2001 Uff archives and translation efforts.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Bmanrulesyou21
Posts: 13
Joined: Wed Oct 24, 2018 7:57 am

Piposaru 2001 Uff archives and translation efforts.

Post by Bmanrulesyou21 »

I've been using a script that allowed me to extract the PAC file from this game and have been able to go about translating a good portion of the text in the game. But i have not been able to reach any meaningful textures, models, etc because they seem to be encased in a load of uff archives. I have no idea where to go from here, as any googling about the format comes up with nothing related. If i can get a usable texture format then i can convert them to bmps and edit them around to reimport. https://drive.google.com/file/d/1JCmu9B ... sp=sharing
Last edited by Bmanrulesyou21 on Thu Jun 24, 2021 7:00 pm, edited 1 time in total.
Bmanrulesyou21
Posts: 13
Joined: Wed Oct 24, 2018 7:57 am

Re: Piposaru 2001 Uff archives and translation efforts.

Post by Bmanrulesyou21 »

Bumping because the textures themselves show up in hex editor as presumably a palette image but i have no idea how to go about getting them out from these uff files.
Bmanrulesyou21
Posts: 13
Joined: Wed Oct 24, 2018 7:57 am

Re: Piposaru 2001 Uff archives and translation efforts.

Post by Bmanrulesyou21 »

I'm bumping again because i have completed the translation and am currently using a pcsx2 plugin to replace textures instead of replacing them in the files. If anyone can take a look into these uff files, I would appreciate it so this translation can be run on official hardware.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Piposaru 2001 Uff archives and translation efforts.

Post by aluigi »

Since the index of the archive is "text" (one line for each entry) you can't use the reimport feature of quickbms with it.
So I can't help with both the problems.
Bmanrulesyou21
Posts: 13
Joined: Wed Oct 24, 2018 7:57 am

Re: Piposaru 2001 Uff archives and translation efforts.

Post by Bmanrulesyou21 »

Well, i have the textures dumped from GSdx-EX, is there anyway to inject them into the .uff files?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Piposaru 2001 Uff archives and translation efforts.

Post by aluigi »

If you keep the same size of the edited files you can definitely try reimport.bat.
It acts as a raw injector, while reimport2 is the one that also edits the index table for better results (not applicable here).
Bmanrulesyou21
Posts: 13
Joined: Wed Oct 24, 2018 7:57 am

Re: Piposaru 2001 Uff archives and translation efforts.

Post by Bmanrulesyou21 »

I can try, i might be misinformed, but i cant do anything without a script
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Piposaru 2001 Uff archives and translation efforts.

Post by aluigi »

What about the script you included in the sample?
Bmanrulesyou21
Posts: 13
Joined: Wed Oct 24, 2018 7:57 am

Re: Piposaru 2001 Uff archives and translation efforts.

Post by Bmanrulesyou21 »

That only works for extracting the main .pac file. not for the .uff archives that are stored further in that i need access to.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Piposaru 2001 Uff archives and translation efforts.

Post by BloodRaynare »

OP, if you're still watching this thread, I've just made a "quick, dirty, but somewhat correct" UFF extraction script:

Code: Select all

IDString "UFF File"
get UNK long
get ZERO long

get NAME_ENTRY_OFF long
get ZERO long
get NAME_ENTRY_SZ long
get ZERO long
savepos ENTRY_INFO_OFF

goto NAME_ENTRY_OFF
get ENTRY_NUM long

for i = 0 < ENTRY_NUM
	get NAME string
	putarray 0 i NAME
next i

goto ENTRY_INFO_OFF

get UNK_ENTRY_OFF long
get ZERO long
get UNK_ENTRY_SZ long
get ZERO long

get FILE_ENTRY_OFF long
get ZERO long
get FILE_ENTRY_SZ long
get ZERO long

goto FILE_ENTRY_OFF
get FILES long

for i = 0 < FILES
	get NAME_ARRAY_NUM long
	getarray NAME 0 NAME_ARRAY_NUM
	get UNK long
	get OFFSET long
	get SIZE long
	get ZERO long
	log NAME OFFSET SIZE
next i