The rules have been updated, read them now: Rules!

Scott Pilgrim vs. The World (PC) - Help Extracting?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
DENver666
n00b
Posts: 10
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times

Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by DENver666 » Wed Feb 17, 2021 11:32 am

Can anyone help me how to open a file with a .bof extension and a game data archive to extract game resources.
Image
Image

User avatar
ikskoks
Moderator
Posts: 738
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 464 times
Been thanked: 204 times
Contact:

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by ikskoks » Wed Feb 17, 2021 12:59 pm

Can you upload some samples?

DENver666
n00b
Posts: 10
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by DENver666 » Fri Feb 26, 2021 8:27 am

ikskoks wrote:
Wed Feb 17, 2021 12:59 pm
Can you upload some samples?
Download Link :https://disk.yandex.ru/d/2796SbpWyQwcUw

User avatar
ikskoks
Moderator
Posts: 738
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 464 times
Been thanked: 204 times
Contact:

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by ikskoks » Fri Feb 26, 2021 9:50 am

As for gamedata it has many files compressed with ZLIB.
You can get the data with offzip https://aluigi.altervista.org/mytoolz/offzip.zip

Code: Select all

offzip.exe -a gamedata out_directory
As for BOF file, data are not compressed, you can edit text by hex editor
or write a simple extractor for this
https://i.imgur.com/HmZFmlX.png

DENver666
n00b
Posts: 10
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by DENver666 » Fri Feb 26, 2021 11:16 am

ikskoks wrote:
Fri Feb 26, 2021 9:50 am
As for gamedata it has many files compressed with ZLIB.
You can get the data with offzip https://aluigi.altervista.org/mytoolz/offzip.zip

Code: Select all

offzip.exe -a gamedata out_directory
As for BOF file, data are not compressed, you can edit text by hex editor
or write a simple extractor for this
https://i.imgur.com/HmZFmlX.png
Thank you unpacked. I got such files below I reinforced. How can I unpack each file so that it is in an understandable format like jpg to edit and pack back. Any ideas?
You do not have the required permissions to view the files attached to this post.

DENver666
n00b
Posts: 10
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by DENver666 » Fri Feb 26, 2021 11:27 am

In general, the idea is to translate the game into Russian, but I understand that the text cannot be translated through the hexadecimal editor.

User avatar
ikskoks
Moderator
Posts: 738
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 464 times
Been thanked: 204 times
Contact:

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by ikskoks » Fri Feb 26, 2021 3:00 pm

As for graphics, there is a way to view them in rawtex
https://i.imgur.com/SEziBFz.png
https://i.imgur.com/egZJfGI.png
But to edit them, you would need to know file format of those VAP files and also have a custom tool for that.

As for packing gamedata, you could use reimport mode of offzip

Code: Select all

-r       reimport mode that works EXACTLY like in QuickBMS
So please read quickbms documentation to know how to use this mode.

As for texts, you have two options here, translate in hex editor or write a custom text exporter and importer.

DENver666
n00b
Posts: 10
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by DENver666 » Mon Mar 01, 2021 7:45 am

ikskoks wrote:
Fri Feb 26, 2021 3:00 pm
As for graphics, there is a way to view them in rawtex
https://i.imgur.com/SEziBFz.png
https://i.imgur.com/egZJfGI.png
But to edit them, you would need to know file format of those VAP files and also have a custom tool for that.

As for packing gamedata, you could use reimport mode of offzip

Code: Select all

-r       reimport mode that works EXACTLY like in QuickBMS
So please read quickbms documentation to know how to use this mode.

As for texts, you have two options here, translate in hex editor or write a custom text exporter and importer.
Thank you very much for your help. When dragging a file onto Rawtex, the texture is automatically converted to dds. As I understand it, in theory, dds can be driven back into vap format

User avatar
ikskoks
Moderator
Posts: 738
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 464 times
Been thanked: 204 times
Contact:

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by ikskoks » Mon Mar 01, 2021 9:23 am

Yeah, but that would probably require some manual work like recreating VAP header.
Also, you must be 100% sure that file format is correct.

DENver666
n00b
Posts: 10
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by DENver666 » Mon Mar 01, 2021 9:58 am

ikskoks wrote:
Mon Mar 01, 2021 9:23 am
Yeah, but that would probably require some manual work like recreating VAP header.
Also, you must be 100% sure that file format is correct.

Thank you. Another question - I will translate the text through a hex editor from English into Russian. Will the game see the Russian font or will it be necessary to do some manipulations?

User avatar
ikskoks
Moderator
Posts: 738
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 464 times
Been thanked: 204 times
Contact:

Re: Scott Pilgrim vs. The World (PC) - Help Extracting?

Post by ikskoks » Mon Mar 01, 2021 11:15 am

That depends. If default font supports cyryllic characters, then game will show them properly.
But if it doesn't then you would need to modify game font first.

Post Reply