Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 15-09-2026, 22:54
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,809
Thanks: 1,117
Thanked 7,458 Times in 2,900 Posts
KaktoR is on a distinguished road
That's because the Setup.exe has no [CMDCommand] executed after install process.

Code:
[CMDCommands]
@ECHO OFF
SETLOCAL EnableDelayedExpansion EnableExtensions
IF NOT EXIST "{app}\mgstpp_wwise.xtl" GOTO End
CD /D "{app}"
IF EXIST "{app}\wem-unpacker.exe" CALL "{app}\wem-unpacker.exe" "{app}"
"{app}\XTool.exe" decode "{app}\mgstpp_wwise.xtl" "{app}\wwise.tar_extract" "{app}\wwise.tar"
"{app}\7z.exe" x -aoa "{app}\wwise.tar" -o"{app}"
TITLE Repack files, please wait...
SET /A "FileList.Count=2"
SET "FileList[1].Name=00"
SET "FileList[2].Name=01"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\master\0\!FileList[%%i].Name!.inf" (
	CALL "{app}\MGSV_QAR_Tool.exe" "{app}\master\0\!FileList[%%i].Name!.inf" -r
	RD /S /Q "{app}\master\0\!FileList[%%i].Name!"
	DEL /F /S /Q "{app}\master\0\!FileList[%%i].Name!.inf"
	REN "{app}\master\0\!FileList[%%i].Name!.dat" "!FileList[%%i].Name!.tmp"
)
SET /A "FileList.Count=2"
SET "FileList[1].Name=00"
SET "FileList[2].Name=01"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.inf" (
	CALL "{app}\MGSV_QAR_Tool.exe" "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.inf" -r
	RD /S /Q "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!"
	DEL /F /S /Q "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.inf"
	REN "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.dat" "!FileList[%%i].Name!.tmp"
)
SET /A "FileList.Count=11"
SET "FileList[1].Name=chunk0"
SET "FileList[2].Name=chunk1"
SET "FileList[3].Name=chunk2"
SET "FileList[4].Name=chunk3"
SET "FileList[5].Name=chunk4"
SET "FileList[6].Name=data1"
SET "FileList[7].Name=texture0"
SET "FileList[8].Name=texture1"
SET "FileList[9].Name=texture2"
SET "FileList[10].Name=texture3"
SET "FileList[11].Name=texture4"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\master\!FileList[%%i].Name!.inf" (
	CALL "{app}\MGSV_QAR_Tool.exe" "{app}\master\!FileList[%%i].Name!.inf" -r
	RD /S /Q "{app}\master\!FileList[%%i].Name!"
	DEL /F /S /Q "{app}\master\!FileList[%%i].Name!.inf"
	REN "{app}\master\!FileList[%%i].Name!.dat" "!FileList[%%i].Name!.tmp"
)
SET /A "FileList.Count=2"
SET "FileList[1].Name=chunk0"
SET "FileList[2].Name=texture0"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\mgo\!FileList[%%i].Name!.inf" (
	CALL "{app}\MGSV_QAR_Tool.exe" "{app}\mgo\!FileList[%%i].Name!.inf" -r
	RD /S /Q "{app}\mgo\!FileList[%%i].Name!"
	DEL /F /S /Q "{app}\mgo\!FileList[%%i].Name!.inf"
	REN "{app}\mgo\!FileList[%%i].Name!.dat" "!FileList[%%i].Name!.tmp"
)
TITLE Applying patch files, please wait...
SET /A "FileList.Count=2"
SET "FileList[1].Name=00"
SET "FileList[2].Name=01"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\master\0\!FileList[%%i].Name!.tmp" (
	CALL "{app}\xdelta3.exe" -d -s "{app}\master\0\!FileList[%%i].Name!.tmp" "{app}\master\0\!FileList[%%i].Name!.dat.diff" "{app}\master\0\!FileList[%%i].Name!.dat"
	DEL /F /S /Q "{app}\master\0\!FileList[%%i].Name!.tmp"
	DEL /F /S /Q "{app}\master\0\!FileList[%%i].Name!.dat.diff"
)
SET /A "FileList.Count=2"
SET "FileList[1].Name=00"
SET "FileList[2].Name=01"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.tmp" (
	CALL "{app}\xdelta3.exe" -d -s "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.tmp" "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.dat.diff" "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.dat"
	DEL /F /S /Q "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.tmp"
	DEL /F /S /Q "{app}\master\1\MGSVTUPDATEV0110\0\!FileList[%%i].Name!.dat.diff"
)
SET /A "FileList.Count=11"
SET "FileList[1].Name=chunk0"
SET "FileList[2].Name=chunk1"
SET "FileList[3].Name=chunk2"
SET "FileList[4].Name=chunk3"
SET "FileList[5].Name=chunk4"
SET "FileList[6].Name=data1"
SET "FileList[7].Name=texture0"
SET "FileList[8].Name=texture1"
SET "FileList[9].Name=texture2"
SET "FileList[10].Name=texture3"
SET "FileList[11].Name=texture4"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\master\!FileList[%%i].Name!.tmp" (
	CALL "{app}\xdelta3.exe" -d -s "{app}\master\!FileList[%%i].Name!.tmp" "{app}\master\!FileList[%%i].Name!.dat.diff" "{app}\master\!FileList[%%i].Name!.dat"
	DEL /F /S /Q "{app}\master\!FileList[%%i].Name!.tmp"
	DEL /F /S /Q "{app}\master\!FileList[%%i].Name!.dat.diff"
)
SET /A "FileList.Count=2"
SET "FileList[1].Name=chunk0"
SET "FileList[2].Name=texture0"
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "{app}\mgo\!FileList[%%i].Name!.tmp" (
	CALL "{app}\xdelta3.exe" -d -s "{app}\mgo\!FileList[%%i].Name!.tmp" "{app}\mgo\!FileList[%%i].Name!.dat.diff" "{app}\mgo\!FileList[%%i].Name!.dat"
	DEL /F /S /Q "{app}\mgo\!FileList[%%i].Name!.tmp"
	DEL /F /S /Q "{app}\mgo\!FileList[%%i].Name!.dat.diff"
)
DEL /F /S /Q "{app}\wem-unpacker.exe"
DEL /F /S /Q "{app}\XTool.exe"
DEL /F /S /Q "{app}\mgstpp_wwise.xtl"
DEL /F /S /Q "{app}\7z.exe"
DEL /F /S /Q "{app}\MGSV_QAR_Tool.exe"
DEL /F /S /Q "{app}\zlib1.dll"
DEL /F /S /Q "{app}\dictionary.txt"
DEL /F /S /Q "{app}\xdelta3.exe"
DEL /F /S /Q "{app}\wwise.tar"
RD /S /Q "{app}\wwise.tar_extract"
TIMEOUT 3
:End
ENDLOCAL
DEL "%~f0"
You can also use this manually, just save it in game folder as batch file and remove
Code:
"{app}\"
from the code inside the batch file.

PS: And don't delete the backup folder until everything is done. Check game files after compressing and installation. If they match the checksum then you should delete the backup folder. There is a reason I made it this way.
This game uses encryption on the game files that's why they has to be extracted first, otherwise ratio is bad.
__________________
Haters gonna hate

Last edited by KaktoR; 15-09-2026 at 23:09.
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
Jarmen_Kell (16-09-2026), mausschieber (16-09-2026)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** Grumpy PC Games - CD/DVD Conversions 252 16-07-2024 21:35
Metal Gear Solid V TPP Complete (6xDVD5) CIUv2.0.4 By *Yener90* GTX590 PC Games - CD/DVD Conversions 2 30-12-2022 00:45
Metal Gear Solid V: The Phantom Pain gatosky1620 PC Games - CD/DVD Conversions 6 29-06-2019 03:21
Metal Gear Solid V The Phantom Pain 5xDVD5 CIUV2 pakrat2k2 PC Games - CD/DVD Conversions 35 19-01-2017 10:29
Metal Gear Solid V The Phantom Pain XDVD5 CIUV2 karim147 PC Games - CD/DVD Conversions 5 27-09-2015 17:22



All times are GMT -7. The time now is 15:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com