Difference between revisions of "Install.bat"

From eXo Wiki
Jump to navigation Jump to search
(Blanked the page)
 
Line 1: Line 1:
eXo created a special install.bat for the language packs


Eulisker and Timber translated the text-strings in this file
=== Special info about the file: ===
To allow the language pack to use the original eXoDOS-Base pack files if the game is already as a multilingual version in eXoDOS, we added some lines to the install.bat.
we added between
cd ..
and
IF EXIST ".\eXoDOS\%LangDir%\%GameDir%\" GOTO dele
this:
for /F "delims=" %%a in ('findstr /C:"%GameName%" .\util\!german\multilanguage.txt') do (set mla=yes)
and between
:unzip
and
IF NOT EXIST "exodos\%LangDir%\%GameName%.zip" goto exit
this:
if not defined %mla goto nomla
IF NOT EXIST "exodos\%GameName%.zip" goto exit
copy ".\eXoDOS\%GameName%.zip" ".\eXoDOS\%LangDir%\%GameName%.zip"
:nomla
It is needed to let the install.bat check the "multilanguage.txt" file, if the "Gamename (YEAR)" is listed inside the file.
If so, it copies the Gamename (YEAR).zip from the eXoDOS base package to the language pack folder
If not, it simply skips this steps and continues with the next step to unzip the Gamename (YEAR).zip
And between
rd /q /s ".\eXoDOS\%LangDir%\%GameDir%\"
and
:end
we added this:
if not defined %mla goto end
del ".\eXoDOS\%LangDir%\%GameName%.zip"
This is needed to delete the Gamename (YEAR).zip we've copied in the first step

Latest revision as of 09:43, 12 November 2021