File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
name = " ArcadeLearningEnvironment"
2
2
uuid = " b7f77d8d-088d-5e02-8ac0-89aab2acc977"
3
- version = " 0.2.2 "
3
+ version = " 0.2.3 "
4
4
5
5
[deps ]
6
6
ArcadeLearningEnvironment_jll = " 52cbb755-00ff-5a24-b23e-8a91c598877e"
7
+ LibArchive_jll = " 1e303b3e-d4db-56ce-88c4-91e52606a1a8"
7
8
MD5 = " 6ac74813-4b46-53a4-afec-0b5dc9d7885c"
8
9
Pkg = " 44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
9
10
10
11
[compat ]
11
- julia = " 1.4"
12
- MD5 = " 0.2"
13
12
ArcadeLearningEnvironment_jll = " 0.6"
13
+ LibArchive_jll = " 3"
14
+ MD5 = " 0.2"
15
+ julia = " 1.3, 1.4"
14
16
15
17
[extras ]
16
18
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ paper to acknowledge the work that went into ALE.
36
36
## Installation
37
37
38
38
The package automatically downloads version 0.6.1 of the ArcadeLearningEnvironment
39
+ and the ROMS from www.atarimania.com .
39
40
40
41
``` julia
41
42
Pkg. add (" ArcadeLearningEnvironment" )
@@ -47,6 +48,7 @@ Pkg.add("ArcadeLearningEnvironment")
47
48
``` julia
48
49
using ArcadeLearningEnvironment
49
50
51
+ getROMList ()
50
52
51
53
episodes = 50
52
54
Original file line number Diff line number Diff line change 1
1
using MD5
2
+ using LibArchive_jll
2
3
using Pkg. Artifacts
3
4
4
5
function import_roms (dir)
@@ -36,8 +37,10 @@ if rom_hash == nothing || !artifact_exists(rom_hash)
36
37
download (" https://raw.githubusercontent.com/mgbellemare/Arcade-Learning-Environment/v0.6.1/md5.txt" , joinpath (artifact_dir, " md5.txt" ))
37
38
download (" http://www.atarimania.com/roms/Roms.rar" , joinpath (artifact_dir, " Roms.rar" ))
38
39
cd (artifact_dir)
39
- run (` 7z e $(joinpath (artifact_dir, " Roms.rar" )) ` )
40
- run (` 7z x $(joinpath (artifact_dir, " ROMS.zip" )) ` )
40
+ bsdtar () do exe
41
+ run (` $exe -xf $(joinpath (artifact_dir, " Roms.rar" )) ` )
42
+ run (` $exe -xf $(joinpath (artifact_dir, " ROMS.zip" )) ` )
43
+ end
41
44
rm (joinpath (artifact_dir, " Roms.rar" ))
42
45
rm (joinpath (artifact_dir, " ROMS.zip" ))
43
46
rm (joinpath (artifact_dir, " HC ROMS.zip" ))
You can’t perform that action at this time.
0 commit comments