Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- rem skk.50@outlook.com September 2023
- rem ChampollionDecompile.cmd
- rem Edited By BB84
- for %%I in (.) do set MO2MODFOLDER=%%~nxI
- set "MO2MODSPATH=D:\Starfield MO2\mods"
- set "CHAMPOLLIONPATH=D:\SteamLibrary\steamapps\common\Starfield\Tools\Champollion"
- cls
- echo *****************************************************
- echo Champollion decompile Starfield base game scripts 003
- echo.
- :SETMO2MODFOLDER
- set "WORKINGDIR=%MO2MODSPATH%\%MO2MODFOLDER%"
- set "SCRIPTPATH=%WORKINGDIR%\Scripts"
- set "SOURCEDESTINATION=%WORKINGDIR%\Scripts\Source\User"
- echo.
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%" "%SCRIPTPATH%\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fx" "%SCRIPTPATH%\fx\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fxscripts" "%SCRIPTPATH%\fxscripts\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\nativeterminal" "%SCRIPTPATH%\nativeterminal\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments" "%SCRIPTPATH%\fragments\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments\packages" "%SCRIPTPATH%\fragments\packages\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments\perks" "%SCRIPTPATH%\fragments\perks\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments\quests" "%SCRIPTPATH%\fragments\quests\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments\scenes" "%SCRIPTPATH%\fragments\scenes\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments\terminals" "%SCRIPTPATH%\fragments\terminals\*.pex"
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE -r -d -p "%SOURCEDESTINATION%\fragments\topicinfos" "%SCRIPTPATH%\fragments\topicinfos\*.pex"
- echo.
- %CHAMPOLLIONPATH%\CHAMPOLLION.EXE --version
- echo.
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement