View Single Post
  #27  
Old 12-12-2019, 03:52
GrafSchmidt GrafSchmidt is offline
Registered User
 
Join Date: Aug 2011
Location: Francrucchia
Posts: 80
Thanks: 10
Thanked 8 Times in 7 Posts
GrafSchmidt is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
It works, but you have to adjust Data2 sizes and move command for Data2 then.

Edit: Replace this inside the batch

Code:
:LangChoice1
cls
echo.
echo.--------------------------------------------------------------------
echo.Which language you did want to use? 
echo.--------------------------------------------------------------------
echo. 0=Keep all languages^^!
echo. 1=English
echo. 2=French
echo. 3=German
echo.

set /p langchoice=
if "%langchoice%"=="" goto LangChoice1
if "%langchoice%"=="0" goto NoHDData
if "%langchoice%"=="1" goto English
if "%langchoice%"=="2" goto French
if "%langchoice%"=="3" goto German
However, you have to edit this part too

Code:
if "!hdcontent1!"=="false" (
	move .\Output\Data2.bin.001 "Output\%GameName% DVD7"
)

if "!hdcontent1!"=="true" (
	mkdir ".\Output\%GameName% DVD9"
	move .\Output\Data2.bin.001 "Output\%GameName% DVD8"
	move .\Output\Data2.bin.002 "Output\%GameName% DVD9"
	if exist "Output\Data2.bin.003" (
		mkdir ".\Output\%GameName% DVD10"
		move .\Output\Data2.bin.003 "Output\%GameName% DVD10"
		xcopy /e /i /y /q "%choice%\_CommonRedist" ".\Output\%GameName% DVD10\_CommonRedist" >nul 2>&1
	)
)
I would say just compress the thing and look how many Data2 archives you have and edit the move commands + make new folders for each disk.
Thanks.
Last time I tried just deleting lines it created 2 more data2 out of the folders. So it should be fine with 11 disks.

That's my test code. Let's see if it works.

Code:
if "!hdcontent1!"=="false" (
	move .\Output\Data2.bin.001 "Output\%GameName% DVD7"
)

if "!hdcontent1!"=="true" (
	mkdir ".\Output\%GameName% DVD9"
	move .\Output\Data2.bin.001 "Output\%GameName% DVD8"
	move .\Output\Data2.bin.002 "Output\%GameName% DVD9"
	if exist "Output\Data2.bin.003" (
		mkdir ".\Output\%GameName% DVD10"
		move .\Output\Data2.bin.003 "Output\%GameName% DVD10"
		if not exist "Output\Data2.bin.004" (
			xcopy /e /i /y /q "%choice%\_CommonRedist" ".\Output\%GameName% DVD10\_CommonRedist" >nul 2>&1
		)
	)
		if exist "Output\Data2.bin.004" (
		mkdir ".\Output\%GameName% DVD11"
		move .\Output\Data2.bin.004 "Output\%GameName% DVD11"
		xcopy /e /i /y /q "%choice%\_CommonRedist" ".\Output\%GameName% DVD11\_CommonRedist" >nul 2>&1
	)
)

Last edited by GrafSchmidt; 12-12-2019 at 03:55.
Reply With Quote