XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Nov 24, 2017 7:00 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Metro Last Light vfs file
PostPosted: Thu May 16, 2013 11:36 am 
Offline
advanced
User avatar

Joined: Mon Dec 28, 2009 6:35 pm
Posts: 52
Location: Bulgaria
Has thanked: 22 times
Have thanks: 4 times

The code for 2033 does not work, this time it's .vfx not .vfi, I have provided a cut of the 1 gb .vfs0 and the .vfx files

http://www.sendspace.com/file/jwc512

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Thu May 16, 2013 6:46 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 935
Has thanked: 10 times
Have thanks: 120 times
Files are compressed and encrypted as well, not easy task!!

_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Thu May 16, 2013 7:52 pm 
Offline
advanced
User avatar

Joined: Mon Dec 28, 2009 6:35 pm
Posts: 52
Location: Bulgaria
Has thanked: 22 times
Have thanks: 4 times
michalss wrote:
Files are compressed and encrypted as well, not easy task!!


Well I thought it'd be a simple change of code from the previous game extractor, but I guess it must be much more difficult than last time

viewtopic.php?f=10&p=36125 <--- previous game "Metro 2033"


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Fri May 17, 2013 4:32 pm 
Offline
advanced

Joined: Thu Mar 18, 2010 7:02 am
Posts: 56
Has thanked: 1 time
Have thanks: 18 times
vfx structure:
Code:
// header
int ver1; // 0x1
int ver2; // 0x1 - PC, 0x2 - PS3
char hash[16]; // crc or timestamp
long archives_count; // count of .vfs files
long records_count; // count of all file records in .vfx
long records_count2; // only in PS3 version

// archive list
for (i = 0, i < archives_count; i++) {
    string filename; // zero-ended (content.vfs0, motions.vfs0, ...)
    long size;
}

// records list
for (i = 0, i < records_count; i++) {
    short type;

    // if type > 0 then this is a directory
    short entries_num;
    long start_idx;
    string path; // zero-ended xored directory name, 1-st byte is lenght, 2-nd byte is xor base

    // if type == 0 then this is a fiile
    short vfs_idx;
    long offset; // absolute
    long unpacked_size;
    long packed_size;
    string filename; // xored filename, 1-st byte is lenght, 2-nd byte is xor base
}

// second records list (PS3)
for (i = 0, i < records_count2; i++) {
    short num1; // 0x00, ???
    short vfs_index;
    long offset; // absolute
    long unpacked_size;
    long packed_size;
    long num2; // ???
}


Last edited by hhrhhr on Fri May 17, 2013 11:02 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Fri May 17, 2013 10:53 pm 
Offline
beginner

Joined: Thu Nov 10, 2011 7:24 pm
Posts: 21
Has thanked: 1 time
Have thanks: 1 time
so far all I can do is extract the audio, effects and soundtrack, all audio .ogg.
The free tool is the Dragon Unpacker 5
http://sourceforge.net/projects/dragonunpacker/files/latest/download
File> hyperripper> Formats> ogg> search sounds.vfs0

the question is: really are encrypted files .vfs???


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Fri May 17, 2013 10:58 pm 
Offline
advanced

Joined: Thu Mar 18, 2010 7:02 am
Posts: 56
Has thanked: 1 time
Have thanks: 18 times
vitoci wrote:
the question is: really are encrypted files .vfs???

no, it is LZ-like compression. see viewtopic.php?f=21&t=4244


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 2:11 pm 
Offline
advanced

Joined: Sun Oct 02, 2011 6:16 pm
Posts: 66
Has thanked: 5 times
Have thanks: 1 time
How can extract patch.vfs0 & patch.vfx0 and content.vfs0 & content.vfx ? Which archive contains localization files?

Image


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 4:42 pm 
Offline
beginner

Joined: Thu Nov 10, 2011 7:24 pm
Posts: 21
Has thanked: 1 time
Have thanks: 1 time
turkgamer wrote:
Which archive contains localization files?

content.vsf0 contains localization files


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 5:27 pm 
Offline
advanced

Joined: Thu Mar 18, 2010 7:02 am
Posts: 56
Has thanked: 1 time
Have thanks: 18 times
Code:
original:
content.vfs0
offset     packed  unpacked       name
1296960    814820    387309  stable_cz.lng
1684269   1147568    557990  stable_de.lng
2242259   1057097    517944  stable_es.lng
2760203   1114129    534492  stable_fr.lng
3294695   1088813    530555  stable_it.lng
3825250    853601    385543  stable_nl.lng
4210793    825441    384759  stable_pl.lng
4595552   1029047    533181  stable_ru.lng
5128733   1069656    519116  stable_us.lng

after patch:
patch.vfs0
offset     packed  unpacked       name
1405836    815414    387680  stable_cz.lng
1793516   1148185    558271  stable_de.lng
2351787   1057701    518420  stable_es.lng
2870207   1114728    535131  stable_fr.lng
3405338   1089406    530874  stable_it.lng
3936212    854179    385955  stable_nl.lng
4322167    826039    384916  stable_pl.lng
4707083   1029635    533417  stable_ru.lng
5240500   1070967    519779  stable_us.lng


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 5:34 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Mar 01, 2011 9:34 pm
Posts: 276
Has thanked: 66 times
Have thanks: 179 times
Unpacker
http://rusfolder.com/36430011

_________________
-= GP-team =-
Image


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 6:20 pm 
Offline
advanced

Joined: Sun Oct 02, 2011 6:16 pm
Posts: 66
Has thanked: 5 times
Have thanks: 1 time
Haoose wrote:


It doesn't works. When i drag & drop "content.vfs0" to the unpackerLL.exe, i see this screen :
Image


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 6:36 pm 
Offline
ultra-n00b

Joined: Sat Apr 07, 2012 4:56 pm
Posts: 5
Has thanked: 1 time
Have thanks: 2 times
turkgamer wrote:
Haoose wrote:


It doesn't works. When i drag & drop "content.vfs0" to the unpackerLL.exe, i see this screen :
Image

copy unpackerLL.exe to the game folder and then run it (without drag & drop).


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sat May 18, 2013 7:02 pm 
Offline
advanced

Joined: Sun Oct 02, 2011 6:16 pm
Posts: 66
Has thanked: 5 times
Have thanks: 1 time
How can i repack content.vfs0 ?

Thanks.


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sun May 19, 2013 1:15 am 
Offline
advanced

Joined: Sun May 19, 2013 12:55 am
Posts: 68
Has thanked: 66 times
Have thanks: 1 time
thank you very much for the unpacker.
i'm just curious if there's a way to get the
dynamic mesh files such as humans/monsters/animals etc.
to load up in max/maya/blender/noesis or such.

the "old" tools only seem to work with static props only. and the map files.
http://code.google.com/p/metro2033-tools/downloads/list
dynamic mesh models let 3dsmax (2011/2012) crash.


Top
 Profile  
 
 Post subject: Re: Metro Last Light vfs file
PostPosted: Sun May 19, 2013 2:04 am 
Offline
advanced

Joined: Sun Oct 02, 2011 6:16 pm
Posts: 66
Has thanked: 5 times
Have thanks: 1 time
I need content.vf0 packer for translation :( Please someone help me!



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: KaosXIV and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group