- Put this Batch Script in FarCry install folder inside FCData folder (C:\Games\Far Cry\FCData):
- Name this script RenameAndExtractScriptsPakFile.bat
@echo off && setlocal
copy /b /v /y Scripts.pak Scripts.zip
md Backups && copy /b /v /y Scripts.pak ".\Backups"
powershell Expand-Archive Scripts.zip -DestinationPath .
del /a /f /s /q ".\Scripts.zip"
start "" ".\SCRIPTS\Default\Entities\Weapons"
endlocal && exit /b && exit
-
Make the changes you wish in any Scripts\*.lua files and then goto Step3 to pack it back to *.pak.
-
Now use this script(same Path: FarCry install folder inside FCData folder (C:\Games\Far Cry\FCData)) to pack it back:
- Name this script CompressAndRenameToScriptsPakFile.bat
@echo off && setlocal
powershell Compress-Archive ".\Scripts" -DestinationPath ".\Scripts.zip"
move ".\Scripts.zip" ".\Scripts.pak"
endlocal && exit /b && exit
- Refer these modding helper scripts to know more about editing/modding other *.pak files. Download them from here. Also you can direct download the modded Scripts.pak file from here