@echo off
chcp 65001 >nul
title Aion GGWP - Play in ENGLISH
set "D=%~dp0"
echo  Applying English language and starting the game...
if not exist "%D%Data\Strings"          mkdir "%D%Data\Strings"          2>nul
if not exist "%D%l10n\ENG\Data\Strings"  mkdir "%D%l10n\ENG\Data\Strings"  2>nul
if exist "%D%Strings.pak" copy /y "%D%Strings.pak" "%D%Data\Strings\Strings.pak"          >nul
if exist "%D%Strings.pak" copy /y "%D%Strings.pak" "%D%l10n\ENG\Data\Strings\Strings.pak" >nul
if exist "%D%zData.pak"   copy /y "%D%zData.pak"   "%D%l10n\ENG\Data\zData.pak"           >nul
set "BIN=bin64\aion.bin"
if not exist "%D%bin64\aion.bin" set "BIN=bin32\aion.bin"
if not exist "%D%%BIN%" ( echo  ERROR: aion.bin not found - put this .bat in the Aion game folder. & pause & exit /b 1 )
cd /d "%D%"
start "" "%BIN%" -lang:ENG -ip:34.116.133.171 -port:2107 -cc:2 -nobs -noweb -nowebshop -charnamemenu -loginex -hidepromo -megaphone -chatlog
exit
