Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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

The Original Forum. Game archives, full of resources. How to open them? Get help here.
DENver666
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

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: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

Can you upload some samples?
DENver666
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

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: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

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
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

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
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

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: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

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
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

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: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

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
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

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: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

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.
DENver666
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

ikskoks wrote: 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.
As expected, the game does not see the cyrillic when I replace the text in the game with question marks. How can the game be friends with the cyrillic?
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

I told you that you need to modify game font if your characters aren't supported by default.
DENver666
beginner
Posts: 22
Joined: Thu Feb 20, 2020 4:26 pm
Has thanked: 2 times
Been thanked: 1 time

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

Post by DENver666 »

ikskoks wrote: Sun Mar 21, 2021 10:55 am I told you that you need to modify game font if your characters aren't supported by default.
Can I change the font of the game through notepad ++ or do you need to write some special utility?
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

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

Post by ikskoks »

That depends on the game. Some games are using standard formats like TTF or DDS and you can edit them with tools that already exists
https://ikskoks.pl/poradnik-8-edycja-cz ... -oraz-dds/

But some games are using custom fonts and to edit them you need to reverse engineer file format and then write a custom tool.
Here are some tuts explaining whole process viewtopic.php?f=29&t=22266
Post Reply