Hello i have tried other vfs tools but to no avail.
i have provided a cut out of the 1gig file.
http://www.megaupload.com/?d=TA5YJCMI
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Metro 2033 vfs file
-
- advanced
- Posts: 62
- Joined: Thu Mar 18, 2010 7:02 am
- Has thanked: 1 time
- Been thanked: 20 times
Re: Metro 2033 vfs file
"quick&dirty" BMS-script for unpack any .fvs0, .vfs1 files (need content.vfi in archive folder, tested with QuickBMS 0.3.14c):OrangeC wrote:but to no avail.
Code: Select all
# Metro 2033 .vfs unpacker v1.0
# (only unpacker, not decrypter. [email protected] 03-2010)
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
get source FILENAME
open FDSE "content.vfi" 1
get max_size asize 1
get ffff long 1
get chunk_size long 1
savepos data_pos 1
math offset = data_pos
math offset += chunk_size
set exit_while byte 0
do
goto offset 1
get num long 1
get chunk_size long 1
savepos data_pos 1
math offset = data_pos
math offset += chunk_size
get num0 long 1
get strlen_filesize long 1
get file_name string 1
get file_size long 1
if file_name == source
log MEMORY_FILE data_pos chunk_size 1
get mem_max_size asize MEMORY_FILE
math mem_max_size -= 12
get mem_num0 long MEMORY_FILE
get mem_strlen_filesize long MEMORY_FILE
get mem_file_name string MEMORY_FILE
get mem_file_size long MEMORY_FILE
get mem_num1 long MEMORY_FILE
get mem_size long MEMORY_FILE
do
get current_xor byte MEMORY_FILE
get mem_tmp threebyte MEMORY_FILE #????
get mem_file_offset long MEMORY_FILE
get mem_file_size_unp long MEMORY_FILE
get mem_file_size_pak long MEMORY_FILE
get mem_full_path_size long MEMORY_FILE
filexor current_xor MEMORY_FILE
getdstring mem_full_path mem_full_path_size MEMORY_FILE
string mem_full_path -= 1
filexor 0 MEMORY_FILE
log mem_full_path mem_file_offset mem_file_size_pak
savepos mem_data_pos MEMORY_FILE
while mem_data_pos < mem_max_size
set exit_while byte 1
endif
if offset >= max_size
set exit_while byte 1
endif
while exit_while != 1
Last edited by hhrhhr on Fri Mar 19, 2010 5:41 pm, edited 1 time in total.
-
- double-veteran
- Posts: 868
- Joined: Sun Apr 20, 2008 2:58 am
- Has thanked: 5 times
- Been thanked: 41 times
Re: Metro 2033 vfs file
hhrhhr wrote:"quick&dirty" BMS-script for unpack any .fvs0, .vfs1 files (need content.vfi in archive folder, tested with QuickBMS 0.3.14c):OrangeC wrote:but to no avail.Code: Select all
# Metro 2033 (03-2010 [email protected] v1.0 only unpacker, not decrypter) # script for QuickBMS http://aluigi.org/papers.htm#quickbms get source FILENAME open FDSE "content.vfi" 1 get max_size asize 1 get ffff long 1 get chunk_size long 1 savepos data_pos 1 math offset = data_pos math offset += chunk_size set exit_while byte 0 do goto offset 1 get num long 1 get chunk_size long 1 savepos data_pos 1 math offset = data_pos math offset += chunk_size get num0 long 1 get strlen_filesize long 1 get file_name string 1 get file_size long 1 if file_name == source log MEMORY_FILE data_pos chunk_size 1 get mem_max_size asize MEMORY_FILE math mem_max_size -= 12 get mem_num0 long MEMORY_FILE get mem_strlen_filesize long MEMORY_FILE get mem_file_name string MEMORY_FILE get mem_file_size long MEMORY_FILE get mem_num1 long MEMORY_FILE get mem_size long MEMORY_FILE do get current_xor byte MEMORY_FILE get mem_tmp threebyte MEMORY_FILE #???? get mem_file_offset long MEMORY_FILE get mem_file_size_unp long MEMORY_FILE get mem_file_size_pak long MEMORY_FILE get mem_full_path_size long MEMORY_FILE filexor current_xor MEMORY_FILE getdstring mem_full_path mem_full_path_size MEMORY_FILE string mem_full_path -= 1 filexor 0 MEMORY_FILE log mem_full_path mem_file_offset mem_file_size_pak savepos mem_data_pos MEMORY_FILE while mem_data_pos < mem_max_size set exit_while byte 1 endif if offset >= max_size set exit_while byte 1 endif while exit_while != 1
Doesn't work, says 0 files copied.
-
- advanced
- Posts: 62
- Joined: Thu Mar 18, 2010 7:02 am
- Has thanked: 1 time
- Been thanked: 20 times
Re: Metro 2033 vfs file
do you have content.vfi in game folder? do you have unlocked game? if no - no unpack.
if yes - try this (key -l disable real unpack, only screen output):
sample output:
if yes - try this (key -l disable real unpack, only screen output):
Code: Select all
quickbms.exe -l metro2033.bms path_to_game\videos.vfs0 .
Code: Select all
QuickBMS generic files extractor 0.3.14c
by Luigi Auriemma
e-mail: [email protected]
web: aluigi.org
- open input file e:\Games\Metro2033\videos.vfs0
- open script metro2033.bms
offset filesize filename
------------------------------
- enter in folder G:\tmp
- open input file e:\Games\Metro2033\content.vfi
00000008 260462370 content\outro_bad.ogv
0f86572a 210030614 content\outro_good.ogv
- 2 files found in 0 seconds
-
- advanced
- Posts: 62
- Joined: Thu Mar 18, 2010 7:02 am
- Has thanked: 1 time
- Been thanked: 20 times
Re: Metro 2033 vfs file
.upk unpacker:
p.s.
i need bbcode tag [spoiler][/spoiler] ;)
Code: Select all
# Metro 2033 .upk unpacker v1.0
# (only unpacker, not decrypter. [email protected] 03-2010)
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
# data section
get num0 long
get data_size long
savepos pos
math pos += data_size
goto pos
# filelist section
get num1 long
get list_size long
savepos pos
do
get current_xor byte
get tmp threebyte #???
get offset long
get size_unp long
get size_pak long
get strlen_filename long
filexor current_xor
getdstring name strlen_filename
filexor 0
string name -= 1
# print "%offset% %size_unp% %size_pak% %name%"
log name offset size_pak
savepos list_pos
math list_pos -= pos
while list_pos < list_size 0
# dummy section (02 00 00 00 04 00 00 00 00 00 00 00)
get num2 long
get size long
savepos pos
math pos += size
goto pos
# guid section
get num3 long
get guid_size long
savepos pos
get upk_name FILENAME
string upk_name += ".guid"
log upk_name pos guid_size
i need bbcode tag [spoiler][/spoiler] ;)
-
- ultra-n00b
- Posts: 5
- Joined: Mon Dec 29, 2008 7:17 pm
Re: Metro 2033 vfs file
sorry to anoy anyone in this thread, but is there anything i can just drop one of the metro files into and it will extract everything for me.
the models are tops and will finish of my fallout3mod nicely.
the models are tops and will finish of my fallout3mod nicely.
Re: Metro 2033 vfs file
vfs extractor/packer (vfi actually, since vfs contains only data, not fs information)
only full-processing mode (no "extract/pack just this file")
only full-processing mode (no "extract/pack just this file")
You do not have the required permissions to view the files attached to this post.
Last edited by deadok on Wed Mar 24, 2010 2:28 am, edited 1 time in total.
- Savage
- VIP member
- Posts: 559
- Joined: Sun Apr 17, 2005 11:00 am
- Has thanked: 16 times
- Been thanked: 18 times
Re: Metro 2033 vfs file
Thanks for the vfs tools, but i only can unpack one file (videos.vfs0)
I do:
I do:
And the tool extracts the two files nothing else, what about the other vfs0s'?ext vcontent.vfi
Re: Metro 2033 vfs file
ahem, looks like something went terribly wrong...
yeah, right, somehow i decided that it would be kewl to check if first DWORD in vfs-record = 0, and if not - abort extraction.
well, first dword is actually number of vfs...
coding after 2400 - bad, coffee doesn't halp.
fixed, reuploaded
yeah, right, somehow i decided that it would be kewl to check if first DWORD in vfs-record = 0, and if not - abort extraction.
well, first dword is actually number of vfs...
coding after 2400 - bad, coffee doesn't halp.
fixed, reuploaded
Re: Metro 2033 vfs file
I'm new here, but there are tools for unpacking Metro 2033.
Enjoy.
http://metro2033forums.com/index.php?topic=739.0
Enjoy.
http://metro2033forums.com/index.php?topic=739.0
Re: Metro 2033 vfs file
Used the tool but only managed to extract the sound files, getting an error on the other files (though i could be doing something wrong .
Re: Metro 2033 vfs file
Ok, I extracted correctly the file called textures.vfs0, but the file extension of the images are xxx.512 or xxx.1024 that I suppose is the texture resolution. But... How I can open this texture file?