You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DIAMBRAROMSPATH ENV VAR =
Executing in the docker (CPU image):
Roms path: C:\Users\JOYY\diambraArena\roms\
GUI Active: 0
Command: python -c 'import diambraArena, os; diambraArena.checkGameSha256(os.path.join(os.getenv(\"DIAMBRAROMSPATH\"), \"kof98umh.zip\"))'
Current Directory: "C:\Users\JOYY\diambraArena\examples"
Volume:
--
Correct ROM file for The King Of Fighters '98 UMH, sha256 = beb7bdea87137832f5f6d731fd1abd0350c0cd6b6b2d57cab2bedbac24fe8d0a
diambraArenaGist.py
import diambraArena
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--romsPath', type=str, required=False, help='Absolute path to roms')
opt = parser.parse_args()
print(opt)
# Mandatory settings
settings = {}
# Game selection
settings["gameId"] = "kof98umh"
settings["romsPath"] = "C:\\Users\\JOYY\\diambraArena\\roms\\"
# if opt.romsPath is not None:
# # Path to roms folder
# settings["romsPath"] = opt.romsPath
env = diambraArena.make("TestEnv", settings)
observation = env.reset()
while True:
actions = env.action_space.sample()
observation, reward, done, info = env.step(actions)
if done:
observation = env.reset()
break
env.close()
The text was updated successfully, but these errors were encountered:
This problem is caused by the addition of settings["romsPath"] to the script.
In Docker executions, that parameter should never be added. We will improve robustness adding a check.
Removing that setting, all works fine as expected.
environment:
Installation Tests fail
diambraArena.bat "ROMSPATH=C:\Users\JOYY\diambraArena\roms\" "PYTHONFILE=diambraArenaGist.py"
ROM check works
diambraArena.bat "ROMSPATH=C:\Users\JOYY\diambraArena\roms\" "ROMCHECK=kof98umh.zip"
diambraArenaGist.py
The text was updated successfully, but these errors were encountered: