New memory optimization script has untranslated error messages

Asterelle - Sanctuary
Asterelle - Sanctuary Posts: 930 Arc User
edited March 2015 in Quality Corner
The memory management section has a new feature which prompts you to run a batch script that allocates more windows memory to user processes.

HacUXps.png

The batch file has untranslated error messages though.

sUcCRCV.png
It's in ....Pwi_en\element\enablemoremem_vista_win7_32bit.bat
and also Pwi_en\element\disablemoremem_vista_win7_32bit.bat
[sigpic][/sigpic]
PWI Calculators - aster.ohmydays.net/pw
Post edited by Asterelle - Sanctuary on

Comments

  • Burnificator - Archosaur
    Burnificator - Archosaur Posts: 170 Arc User
    edited March 2015
    @echo off
    setlocal

    if defined ProgramW6432 goto 64bit

    if not exist %SystemRoot%\system32\bcdedit.exe goto withoutbcdedit

    :withbcdedit
    bcdedit /set increaseUserVa 2560
    if %ERRORLEVEL% == 0 (
    'program returned 0 = success
    echo Memory increase successful
    ) else (
    'my batch file skills are rusty, not sure if the () are needed, or if they actually **** with the code
    echo Error : ERRORLEVEL=%ERRORLEVEL%
    'very unhelpful error message but better than nothing
    )
    goto exit

    :64bit
    echo Unavailable on 64 bit systems
    goto exit

    :withoutbcdedit
    echo Error : missing file %SystemRoot%\system32\bcdedit.exe
    goto exit

    :exit
    pause


    or something... that's one thing we can easily translate :P
    [SIGPIC][/SIGPIC]
    Wizards - the only pyromaniac class.
  • Evryn - Morai
    Evryn - Morai Posts: 1,437 Arc User
    edited March 2015
    That's a rather scary way to fix it. This suggests that this game requires over 2 GB of memory available to run properly... I thought this "new" engine was supposed to be -more- efficient?
    I'm so P.R.O... I Press Respawn Often.

    Ulsyr 103/103/104 BM. Working on the last R9 part (Axe).
    Khelvan 103/103/103 LA Cler. LA? LA. Deal with it.
    Evryn 103/102/101 Sagely Mystical Myst of Mystiness.
    Gromth 102/102/102 Sage Panda.
    StoneSnake - Snakeshop for everyone's common stones.