korge icon indicating copy to clipboard operation
korge copied to clipboard

Installation script not working on Windows

Open Trayani opened this issue 5 months ago • 8 comments

Hello, I wanted to check out this engine so I followed the online instructions to install it. But the script always fails.


C:\Users\MyUser\Downloads>install-korge-forge.cmd
KorGE Forge Installer v2024.2.0.2-patch1
Downloading https://github.com/korlibs/universal-jre/releases/download/0.0.1/xzdec.exe into C:\Users\MyUser\.korge\xzdec.exe
The syntax of the command is incorrect.

I tinkered a bit with the script. It seems that the syntax error is coming from this part ↓↓↓.


    IF /i "%DOWNLOAD_SHA256%" == "%EXPECTED_SHA256%" (
        MOVE "%LOCAL_PATH%.tmp" "%LOCAL_PATH%" > NUL 2> NUL
    ) ELSE (
        ECHO ERROR downloading %URL%, SHA256=%DOWNLOAD_SHA256%, but expected SHA256=%EXPECTED_SHA256%
        EXIT /B -1
    )

Once I removed, it, the script returned more output


C:\Users\MyUser\Downloads>install-korge-forge.cmd
KorGE Forge Installer v2024.2.0.2-patch1
A subdirectory or file C:\Users\MyUser\Downloads\korge-forge-installer already exists.
Downloading https://github.com/korlibs/universal-jre/releases/download/0.0.1/xzdec.exe into C:\Users\MyUser\.korge\xzdec.exe
Downloading https://github.com/korlibs/korge-forge-installer/releases/download/v2024.2.0.2-patch1/korge-forge-installer.jar into C:\Users\MyUser\Downloads\korge-forge-installer\korge-forge-installer-v2024.2.0.2-patch1.jar
Downloading https://github.com/korlibs/universal-jre/releases/download/0.0.1/microsoft-jre-21.0.3-windows-x64.tar.xz into C:\Users\JanMyUserkorge\jre-21.tar.xz
Extracting C:\Users\MyUser\.korge\jre-21.tar.xz...
The system cannot find the file specified.

Obviously, I will not try to use the downloaded files since authenticity was not verified. But it prevents me from using the engine, hence the issue :)

Trayani avatar Sep 02 '24 07:09 Trayani