cVision is a part of my framework of applications I’ve been working on these days. After weeks of research on the Valve Anticheat system don’t want to revival too much yet but heres some box art and graphics I did.




Posted in Uncategorized | Leave a comment

Fox Engine Model Studio (Closed beta release)

Since I’ve been busy going to throw this out there as a closed public beta to be eligible fill out the survey please.

What does the FMDL exactly?

Lets you extract the game assets .fmdl (Models/Maps/Geometry/Characters) etc



Posted in Uncategorized | Leave a comment

[REL] Dumping VAC2 and VAC3 the easier way

What is VAC?

VACVAC stand for (Valve Anti-cheat) and is used in many games to prevent cheats be it Valve games or 3rd party titles (Modern Warfare/DayZ). VAC comes in many different versions at the time of writing this the latest version we are calling VAC3. VAC2 and VAC3 are the only activate modules right now for games like Counter-Strike Global Offensive.


Where is VAC, how is it loaded?

VAC2 is loaded through SteamService, when you start a game steamservice appears to load it. Valve first dumps the vac2 module into your %temp% directory then calls LoadLibrary. You can see this for yourself by hooking the LoadLibrary API call or by using an API Monitor.


Furthermore you can open up the .tmp file which is actually a dll and search for the string “vac2″ to confirm thats it.


What about VAC3?

VAC3 works a little differently. It’s manually mapped by steamservice which means there are no calls to LoadLibrary and that means there is no reason for them to write the module to disk.

Dumping VAC2 and VAC3

Tools required


Dumping VAC2 is the easiest, run procmon and lets set some filters up.


The first is the Process Name set this to “steam”, then add another filter for Path set this to your %temp% directory. If you’re unsure what your temp directory is type %temp% into the windows explorer bar and hit enter.


Now that you have the filter setup launch a game that uses VAC2 for example Counter-Strike Global Offensive.

You will notice that Procmon has some entries now that look like this:


Head over to that directory and copy out the file to a safe place. Double check its vac2 by opening the file with your hex editor and searching for the vac2 string I mentioned eariler.


Forcing LoadLibrary

Since VAC3 is manually mapped into memory the first thought that you might get is “find where its loaded and just dump the region with the size given“. Sure that works and you can do it like that however this way is even easier. Like the subheading says we are going to force steamservice to load it via loadlibrary.

Begin by running patchSteamService.exe



This will now patch the steamservice module and VAC3 should now load like VAC2 via LoadLibrary.

How it works

Found by kokole, there is a subroutine inside steamservice which is basically like this:

idapressYou can patch this yourself if you know what you’re doing it’s not hard all you need to do is patch the instruction “jz” to “jmp” so it will always call sub_1000F680. Or just use the tool and it will do it for you.

 Now to dump!

Once you have patched steamservice run procmon and setup the filter like you would for VAC2.

Run your VAC3 protected game (eg. Counter-Strike Global Offensive). You will notice now a lot is going on in procmon:

vac_3MlSlowly the VAC3 modules will become visible, initially there are two modules loaded on startup for Counter-Strike Global Offensive (vac2 and vac3Auto)VAC3 auto is used to detect injectors on game launch. The other VAC3 modules will load as you’re playing on a VAC3 secured server.

If you navigate to the path shown there in procmon you may not find the modules this is because they are marked as hidden. Enabling hidden folder will not work here the only way I’ve found to access them is via commandprompt.

Run a command prompt shell (cmd.exe) and cd to the temp directory then type the name of the file or the full path and hit enter.


It should show a dialog box to open the file select the option “Select a program from a list of installed programs” then select your hex editor. If you see these then most likely you have dumped a vac3 module. You can make sure by opening it with IDA and checking the exports for runfunc.




Tutorial End.

Dumped modules (1_02_2015_vac2+3_dump.rar (162.4 KB))






Posted in Misc | Tagged , , , , , , , , , , , , | Leave a comment

And we have bones ;)

Chico says hi!MGS_Bones



Kojima productions seems to store bone data like so

Now I don’t exactly know whats going on here because my first attempt didn’t work using that quaternion so I re-wrote my matrix class in C# which was originally written in VB.NET and ancient as hell.


I ended up zeroing out the bone rotations (for now) since I have no clue what format they are storing the quat in.

After messing around with bones with the help of chrrox and jayk I was able to get skinning working and exported to SMD.

Posted in Main | Tagged , , | Leave a comment

Fox Engine (Metal Gear Solid 5 GZ)


Fox Engine

There has been many advancements from last time I posted both by and the others making it possible to extract assets from Kojima Production’s Metal Gear Solid Ground Zeros. The Foxengine’s superb image quality is made possible by physically-Based Rendering (PBR). It can make a low polygon model look photo-realistic and it can do it well, researching the file format along with JayK, Chrrox and Volfin I’ve discovered that in fact most the models used in game are pretty standard and have a low poly count.


Anyhow there has been many people in the modding scene playing around with the engine. Mostly its been model swapping which surprisingly works without breaking the game.

Here are some to check out if you haven’t seen them already.

There has even been texture modding



Fox Engine Model Studio

So you may be wondering why I’m talking about all this? Well I’d like to personally contribute to this by making it possible to import/replace actual geometry, thats where my new tool comes into play. The Fox Engine Model Studio I’m dubbing will allow the extraction of the game models and also (yet to be implemented) the ability to replace models in the game.

What is left to do??

The FMDL format by Kojima Productions isn’t overly complex however there are still unknown structures and data in there we have yet to reverse engineer and understand what they exactly do. If model importing is going to be a reality then those structures need to be parsed and understood to a degree. I will post more about that as more research is done.

Thanks to JayK, Chrrox and Volfin with their format research help heres some WIP shots of whats to come.









Posted in Main | Tagged , , , , , , | Leave a comment

Metal Gear Solid 5 GZ (Fox Engine)

I played this game briefly before leaving for my Christmas holidays, when I got back I saw that someone had already managed to figure out the package format they use. “g0s” Extracting the files it seems they have used zlib chunks on textures .ftex. Heres something funny, on top of the encryption the package archives use they xor encrypt their shader files… It’s a dead giveaway when you open the shader binary up in a hex editor.

For example GrModelShaders_dx11.fsop you notice the 0x9c repeated and repeated.


Lets Xor that selection of bytes by 0x9C see what happens.


8-) Easy right?

Heres an overview of what their model format looks like (FMDL). Pretty straight forward..




Posted in Main | Tagged , , , , | Leave a comment

Circumvent (Themida/Hackshield/Etc..) Ultimate Memory Dump Tutorial

Backstory & Information

This tutorial was made possible by Nexon’s Counter-Strike Online 2 that nasty piece of shit left me no choice but to resort to this brutal nasty method.

Now to give a little info first in case anyone reading this has no idea what I’m talking about or doesn’t understand the concept of memory. Games & Applications that run on your system all use RAM. Sometimes they store sensitive information or valuable data there that shouldn’t be accessed by the end-user, for example an AES encryption key or maybe game assets like models/textures/scripts. This data isn’t usually protected as you can force a dump of an application’s memory, however some software/game developers like to restrict user access to this data usually to stop cheaters or people exploiting their software (like myself :twisted: ). Now I won’t go into detail on what the kernel is nor what userland means but I will say that these developers use methods of protecting memory data which can be circumvented with a simple trick. The example case I will be using in this tutorial is the game Counter-Strike Online 2. Nexon the developers of this game are utilizing a technique to elevate the game process into kernel level. This means trying to access the game process or memory isn’t possible by the user anymore, normally achieved via a driver installed on the system. In CS Online2’s case Hackshields EagleNT.SYS elevates the process CounterStrikeOnline2.exe and access is not possible anymore.


So how do we circumvent this?

Since the user can’t access the process and process memory there are two ways around this. The first won’t be covered in this tutorial but requires you to write a driver of your own which has kernel level access. The Second will be to force the system into a BSOD (Blue Screen Of Death), normally this occurring would be a bad thing (faulty hardware/bad drivers) but we are using it to our advantage as you can force the system to dump all of it’s memory to a single file before rebooting.

Prepare for the BSOD memory dump

The first thing that needs to be done and you can read more about this over at this Microsoft site is to configure the system to capture a “complete dump”. A complete dump as stated by MS is:

A memory dump that records all the contents of the system memory when your computer stops unexpectedly.
A complete memory dump may contain data from processes that were running when the memory dump was collected.

This is what we want, a full capture of the system’s memory. The steps are below:

1. Open the Control Panel and double-click on System (alternate method: right-click on My Computer)
2. Select the Advanced tab
3. Under “Startup and Recovery” click the Settings button
4. Under “Write debugging information” select “Complete memory dump” from the drop down list box.
5. Check the box “Overwrite any existing file
6. Click OK
7. A message about pagefile requirements may be displayed — if so, click Yes
8. Click OK

If there is no option for Complete memory dump you can manually enable it through the registry. Firstly exit the Startup and Recovery window then:

1. Open up the Registry Editor regedit (click start & type “regedit” hit enter)
2. Navigate to  HKLM\System\CurrentControlSet\Control\CrashControl
3. Change CrashDumpEnabled to
4. This should now enable the complete memory dump option


A word of warning, if you own a Solid State Drive (SSD) I would recommend you set the dump location to another disk drive as this will degrade your SSDs life if it was to dump a whole 16GB file onto the disk. Make sure you have enough disk space!


Registry key method didn’t work?

You can try using the html application I have packed here to do it in case the above method didn’t work

Causing the BSOD

Now there are many ways to trigger a BSOD but the “safest” would be to use a manual interrupt which can be done by pressing a few keyboard shortcuts. Once again you need to enable this feature in the registry. More on that here:

I have packed up a zip file with the required registry keys to enable this here. Now depending on your keyboard (PS/2 or USB) Run the required key files. Some times you will need to run both the PS/2 one and the USB one


Once you have activated the keyboard shortcut for manual interrupt which is defaulted to:


Prepare your computer by exiting all other applications that you wish not to capture from, for example your antivirus protection and your Internet browser. Exit as many applications as you can except of course the application you wish to capture from. Once this is done hit those keys and your system should now BSOD, here is a picture from when I did it on my Asus laptop.



The dump process

You will now need to wait a while (depending on the size of your RAM) for the dump to take place. Once this has completed your system should reboot.

Analysis and Gold panning!

Alright now navigate to the folder you had set for the dump file


Have fun digging through it with a hex editor :)

Reference & Sources

Alternative way

  1. Visit the following Microsoft Web site to download the NotMyFault tool:
  2. Click Start, and then click Command Prompt.
  3. At the command line, type NotMyfault.exe /crash, and then press ENTER.


Posted in Main | Tagged , , , , , , , , , | Leave a comment

Alien Isolation (Omodel) WIP (Vertex Format)

We have figured out the pak tree currently working on each vertex format structure the game throws at us! Up next rigged models


Posted in Main | Tagged , , , , | Leave a comment

Alien Isolation (Omodel) Progress (Vertices/UVs/Textures)

General Progress Info

Progress has been slow for Alien Isolation since I’ve been busy with other things however a friend of mine volfin has been helping out with this project. We have been working on the model pak files which store the level geometry props and characters. The devs seem to love storing data in separate files as the paks themselves only contain the vertices and faces for each model. Omodels as I like to call them store a piece of a model mesh though sometimes they just contain the entire model itself like in the example mesh I’m about to talk about below.



As evident from the ninjaripper mesh rips the vertices seem to be at a very small scale which could only mean one thing, they are packing them. Turns out this was in fact what was happening, same goes for the UVs. The only problem right now that needs to be fixed to automate the extraction process is to figure out where they are storing the information that determines the size for the dynamic vertex buffers. Since DX11 doesnt have a FVF (Flexible Vertex Format) structure there must be something else denoting this which is what we are working on..

Example Mesh (Sumo.obj) Omodel4874 

3DS Max




Posted in Main | Tagged , , , , , , , | Leave a comment

Tutorial: Intel GPA – Ripping geometry from 3D applications

Background Information

Intel GPA wasn’t initially designed to be used to rip assets from 3D applications but basically what we are doing here is hooking into the GPA application and dumping the vertex buffer and index buffer for the (ergs/drawcalls) it captured.

Lets start by gathering our ingredients  ;-)

What you will need:

Setup and Capture

Once you have setup Intel GPA begin by running the gpamonitor. Browse to your desired 3D application and hit Run. (In this example I have TitanFall)


Oh, it crashed :-x


Thats fine Intel GPA 2014 doesn’t work well with 3rd party 3D applications so disabling tracing remedies this issue. Right-click the tray icon and hit preferences. Then tick the box to disable tracing and hit OK.



Once you re-launch the 3D application it should show the Intel GPA overlay. Now if you don’t see all these graphs and options hit CTRL+F1 and it should toggle through all the modes. Now find yourself a nice place and hit the Frame Capture hotkeys that should be CTRL+SHIFT+C (you can change these in the graphic monitor settings if you wish)


The game will now hang or freeze give it a moment to capture the current frame. Once it has captured the frame it should notify you. Alt-tab out and fire up the patched FrameAnalyzer selecting your captured frame from the capture list.


Open it and you should be presented with the main window of the Frame Analyzer. From here sort the Erg list by the primitive count and select one of the groups or all its entirely up to you.


Ok now click over to the geometry tab and you will be presented with all the drawcalls/ergs rendered for this frame.


Find the mesh piece you desire to rip, rightclick the 3D viewport and click Save Geometry. You should be now presented with a popup window displaying the export formats supported for export. (along with master131’s mpgh avatar Roxas looking at the Intel logo  :mrgreen: ) Select an export format and hit save!


Tutorial End







Posted in Main | Tagged , , , , , , , , , , , , | Leave a comment