Skip to content

nlhans/MAS2Extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This utility allows reading the data of rFactor 2 (beta) MAS2 files. rFactor 2 MAS files are secured with a ciphering method. This utility (MAS2Reader.cs) can trace back and do the following:

- Read the file list of a MAS2 file with the filename, the extracted filename path, and it's file size (compressed & uncompressed)
- Extract uncompressed AND compressed files
- Extract in memory: output as string or output as byte array
- Extract as a new file with a given target path

The console application can show the contents of a MAS file and with a given target path, extract all files.

This code has been tested with the latest released mods as of end October 2012 (the MAS 2.90 format). It is known that 'encrypted' files like shaders.mas cannot be read. As of now I have no interest to research this, as this utility aims to allow automatic reading of game data files such as track AIW paths, car data (engine, tyre data) without manual user interference.
  
Please feel free to contribute, fork, give feedback, etc. Please see the 'issues' section.

This software is distributed under the GPL v3 license. Please see gpl.txt or <http://www.gnu.org/licenses/> for more information.
The software is distrbuted on Github at: https://github.com/nlhans/MAS2Extract/

About

Extract unencrypted .MAS files of rFactor2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages