Skip to content

Commit b737252

Browse files
authored
Merge branch 'ArchipelagoMW:main' into newmain
2 parents 53ff5c9 + 8bb2364 commit b737252

File tree

189 files changed

+4715
-3021
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+4715
-3021
lines changed

.dockerignore

Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
.git
2+
.github
3+
.run
4+
docs
5+
test
6+
typings
7+
*Client.py
8+
9+
.idea
10+
.vscode
11+
12+
*_Spoiler.txt
13+
*.bmbp
14+
*.apbp
15+
*.apl2ac
16+
*.apm3
17+
*.apmc
18+
*.apz5
19+
*.aptloz
20+
*.apemerald
21+
*.pyc
22+
*.pyd
23+
*.sfc
24+
*.z64
25+
*.n64
26+
*.nes
27+
*.smc
28+
*.sms
29+
*.gb
30+
*.gbc
31+
*.gba
32+
*.wixobj
33+
*.lck
34+
*.db3
35+
*multidata
36+
*multisave
37+
*.archipelago
38+
*.apsave
39+
*.BIN
40+
*.puml
41+
42+
setups
43+
build
44+
bundle/components.wxs
45+
dist
46+
/prof/
47+
README.html
48+
.vs/
49+
EnemizerCLI/
50+
/Players/
51+
/SNI/
52+
/sni-*/
53+
/appimagetool*
54+
/host.yaml
55+
/options.yaml
56+
/config.yaml
57+
/logs/
58+
_persistent_storage.yaml
59+
mystery_result_*.yaml
60+
*-errors.txt
61+
success.txt
62+
output/
63+
Output Logs/
64+
/factorio/
65+
/Minecraft Forge Server/
66+
/WebHostLib/static/generated
67+
/freeze_requirements.txt
68+
/Archipelago.zip
69+
/setup.ini
70+
/installdelete.iss
71+
/data/user.kv
72+
/datapackage
73+
/custom_worlds
74+
75+
# Byte-compiled / optimized / DLL files
76+
__pycache__/
77+
*.py[cod]
78+
*$py.class
79+
80+
# C extensions
81+
*.so
82+
*.dll
83+
84+
# Distribution / packaging
85+
.Python
86+
build/
87+
develop-eggs/
88+
dist/
89+
downloads/
90+
eggs/
91+
.eggs/
92+
lib/
93+
lib64/
94+
parts/
95+
sdist/
96+
var/
97+
wheels/
98+
share/python-wheels/
99+
*.egg-info/
100+
.installed.cfg
101+
*.egg
102+
MANIFEST
103+
104+
# Installer logs
105+
pip-log.txt
106+
pip-delete-this-directory.txt
107+
installer.log
108+
109+
# Unit test / coverage reports
110+
htmlcov/
111+
.tox/
112+
.nox/
113+
.coverage
114+
.coverage.*
115+
.cache
116+
nosetests.xml
117+
coverage.xml
118+
*.cover
119+
*.py,cover
120+
.hypothesis/
121+
.pytest_cache/
122+
cover/
123+
124+
125+
# Flask stuff:
126+
instance/
127+
.webassets-cache
128+
129+
# Scrapy stuff:
130+
.scrapy
131+
132+
# Sphinx documentation
133+
docs/_build/
134+
135+
# PyBuilder
136+
.pybuilder/
137+
target/
138+
139+
# Jupyter Notebook
140+
.ipynb_checkpoints
141+
142+
# IPython
143+
profile_default/
144+
ipython_config.py
145+
146+
# vim editor
147+
*.swp
148+
149+
# SageMath parsed files
150+
*.sage.py
151+
152+
# Environments
153+
.env
154+
.venv*
155+
env/
156+
venv/
157+
/venv*/
158+
ENV/
159+
env.bak/
160+
venv.bak/
161+
*.code-workspace
162+
shell.nix
163+
164+
# Spyder project settings
165+
.spyderproject
166+
.spyproject
167+
168+
# Rope project settings
169+
.ropeproject
170+
171+
# mkdocs documentation
172+
/site
173+
174+
# mypy
175+
.mypy_cache/
176+
.dmypy.json
177+
dmypy.json
178+
179+
# Pyre type checker
180+
.pyre/
181+
182+
# pytype static type analyzer
183+
.pytype/
184+
185+
# Cython debug symbols
186+
cython_debug/
187+
188+
# Cython intermediates
189+
_speedups.c
190+
_speedups.cpp
191+
_speedups.html
192+
193+
# minecraft server stuff
194+
jdk*/
195+
minecraft*/
196+
minecraft_versions.json
197+
!worlds/minecraft/
198+
199+
# pyenv
200+
.python-version
201+
202+
#undertale stuff
203+
/Undertale/
204+
205+
# OS General Files
206+
.DS_Store
207+
.AppleDouble
208+
.LSOverride
209+
Thumbs.db
210+
[Dd]esktop.ini

.github/workflows/build.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ on:
1919

2020
env:
2121
ENEMIZER_VERSION: 7.1
22-
APPIMAGETOOL_VERSION: 13
22+
# NOTE: since appimage/appimagetool and appimage/type2-runtime does not have tags anymore,
23+
# we check the sha256 and require manual intervention if it was updated.
24+
APPIMAGETOOL_VERSION: continuous
25+
APPIMAGETOOL_X86_64_HASH: '363dafac070b65cc36ca024b74db1f043c6f5cd7be8fca760e190dce0d18d684'
26+
APPIMAGE_RUNTIME_VERSION: continuous
27+
APPIMAGE_RUNTIME_X86_64_HASH: 'e3c4dfb70eddf42e7e5a1d28dff396d30563aa9a901970aebe6f01f3fecf9f8e'
2328

2429
permissions: # permissions required for attestation
2530
id-token: 'write'
@@ -98,7 +103,7 @@ jobs:
98103
shell: bash
99104
run: |
100105
cd build/exe*
101-
cp Players/Templates/Clique.yaml Players/
106+
cp Players/Templates/VVVVVV.yaml Players/
102107
timeout 30 ./ArchipelagoGenerate
103108
- name: Store 7z
104109
uses: actions/upload-artifact@v4
@@ -134,10 +139,13 @@ jobs:
134139
- name: Install build-time dependencies
135140
run: |
136141
echo "PYTHON=python3.12" >> $GITHUB_ENV
137-
wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
142+
wget -nv https://github.com/AppImage/appimagetool/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
143+
echo "$APPIMAGETOOL_X86_64_HASH appimagetool-x86_64.AppImage" | sha256sum -c
144+
wget -nv https://github.com/AppImage/type2-runtime/releases/download/$APPIMAGE_RUNTIME_VERSION/runtime-x86_64
145+
echo "$APPIMAGE_RUNTIME_X86_64_HASH runtime-x86_64" | sha256sum -c
138146
chmod a+rx appimagetool-x86_64.AppImage
139147
./appimagetool-x86_64.AppImage --appimage-extract
140-
echo -e '#/bin/sh\n./squashfs-root/AppRun "$@"' > appimagetool
148+
echo -e '#/bin/sh\n./squashfs-root/AppRun --runtime-file runtime-x86_64 "$@"' > appimagetool
141149
chmod a+rx appimagetool
142150
- name: Download run-time dependencies
143151
run: |
@@ -189,7 +197,7 @@ jobs:
189197
shell: bash
190198
run: |
191199
cd build/exe*
192-
cp Players/Templates/Clique.yaml Players/
200+
cp Players/Templates/VVVVVV.yaml Players/
193201
timeout 30 ./ArchipelagoGenerate
194202
- name: Store AppImage
195203
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ on:
99

1010
env:
1111
ENEMIZER_VERSION: 7.1
12-
APPIMAGETOOL_VERSION: 13
12+
# NOTE: since appimage/appimagetool and appimage/type2-runtime does not have tags anymore,
13+
# we check the sha256 and require manual intervention if it was updated.
14+
APPIMAGETOOL_VERSION: continuous
15+
APPIMAGETOOL_X86_64_HASH: '363dafac070b65cc36ca024b74db1f043c6f5cd7be8fca760e190dce0d18d684'
16+
APPIMAGE_RUNTIME_VERSION: continuous
17+
APPIMAGE_RUNTIME_X86_64_HASH: 'e3c4dfb70eddf42e7e5a1d28dff396d30563aa9a901970aebe6f01f3fecf9f8e'
1318

1419
permissions: # permissions required for attestation
1520
id-token: 'write'
@@ -122,10 +127,13 @@ jobs:
122127
- name: Install build-time dependencies
123128
run: |
124129
echo "PYTHON=python3.12" >> $GITHUB_ENV
125-
wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
130+
wget -nv https://github.com/AppImage/appimagetool/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
131+
echo "$APPIMAGETOOL_X86_64_HASH appimagetool-x86_64.AppImage" | sha256sum -c
132+
wget -nv https://github.com/AppImage/type2-runtime/releases/download/$APPIMAGE_RUNTIME_VERSION/runtime-x86_64
133+
echo "$APPIMAGE_RUNTIME_X86_64_HASH runtime-x86_64" | sha256sum -c
126134
chmod a+rx appimagetool-x86_64.AppImage
127135
./appimagetool-x86_64.AppImage --appimage-extract
128-
echo -e '#/bin/sh\n./squashfs-root/AppRun "$@"' > appimagetool
136+
echo -e '#/bin/sh\n./squashfs-root/AppRun --runtime-file runtime-x86_64 "$@"' > appimagetool
129137
chmod a+rx appimagetool
130138
- name: Download run-time dependencies
131139
run: |

.github/workflows/unittests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@ on:
88
paths:
99
- '**'
1010
- '!docs/**'
11+
- '!deploy/**'
1112
- '!setup.py'
13+
- '!Dockerfile'
1214
- '!*.iss'
1315
- '!.gitignore'
16+
- '!.dockerignore'
1417
- '!.github/workflows/**'
1518
- '.github/workflows/unittests.yml'
1619
pull_request:
1720
paths:
1821
- '**'
1922
- '!docs/**'
23+
- '!deploy/**'
2024
- '!setup.py'
25+
- '!Dockerfile'
2126
- '!*.iss'
2227
- '!.gitignore'
28+
- '!.dockerignore'
2329
- '!.github/workflows/**'
2430
- '.github/workflows/unittests.yml'
2531

AdventureClient.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ async def atari_sync_task(ctx: AdventureContext):
407407
except ConnectionRefusedError:
408408
logger.debug("Connection Refused, Trying Again")
409409
ctx.atari_status = CONNECTION_REFUSED_STATUS
410+
await asyncio.sleep(1)
410411
continue
411412
except CancelledError:
412413
pass

0 commit comments

Comments
 (0)