PowerShell based automation for Far Cry 2 modding.
Here is a video showcasing the usage of FC2.Schteve.ps1
version 2.4.5.
This video displays:
- Mass unpacking Far Cry 2
.dat
/.fat
files. - Replacing Far Cry 2 watermark with one of the watermarks from my Far Cry 2: Modernized mod.
- Re-packing
patch_unpack
and moving the output files into the original folder Far Cry 2 directory (Data_Win32
) - Launching
FarCry2.exe
from the menu.
Alternative NexusMods download link.
Supports both PowerShell (desktop) and PowerShell Core.
Relative paths are all irrelevant; the Tools
directory and FC2.Schteve.ps1
can be place wherever desired, completely
unrelated. The only pre-requisite is that you don't modify the names of the directories / files contained within Tools
or the folders created by initializing the sandbox.
The Sandbox is the base directory where everything happens; that's where files are output, converted, decoded, packed, etc. Once you input your desired Sandbox, remember to initialize -- this will create the directories used.
When setting up your three main directories, don't add a slash (\
) at the end of the input directory.
Menu and directory structure are color coated:
- Red = Filepath does not exist / Menu option unavailable due to missing filepath.
- White = Filepath exists / Menu option fully available
- White (with Red Asterisk) = Base filepath exists, but at least one important derivative filepath does not.
Included with this repo are fragments of tools that were not created by me -- some slightly modified, others untouched. I did not include them to claim credit from the original creators' hard work; they're included for ease of use and forrmatting.
- Gibbed.Dunia -- unmodified; just stripped down to the files utilized by
FC2.Schteve.ps1
Binaries used: Gibbed.Dunia.Pack.exe, Gibbed.Dunia.Unpack.exe, Gibbed.Dunia.ConvertBinary.exe, Gibbed.Dunia.ConvertXml.exe
---> Original Repository
---> Tweaked Variant I Downloaded
- xbt2dds -- slightly modified to
FC2.xbt2dds.exe
; cleaned up some code, changed terminal output and binary details, added burger icon, recompiled, etc. Maintains original functionality, minus slight terminal syntax change:
Syntax: FC2.xbt2dds.exe -io C:\Input.xbt C:\OutputFolder
---> Original Repository
- FarCry2 XML Decoder -- changed batch file to internal Schteve functionality; not sure who the original creator is.
---> Download I Used