Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cead1f217 | ||
|
|
941c0c1b73 | ||
|
|
a2798e2a2f | ||
|
|
61551e9ef2 | ||
|
|
76e95cd951 | ||
|
|
280d44a282 | ||
|
|
7ac1b9f83e | ||
|
|
d5c325f0c7 | ||
|
|
e5c6b72678 | ||
|
|
43731ea4bf | ||
|
|
481ec2a6cd | ||
|
|
0565000f23 | ||
|
|
a0958fe146 | ||
|
|
118437d731 | ||
|
|
318d649e21 | ||
|
|
eb35fe6899 |
No files matched your search
@@ -48,7 +48,14 @@ jobs:
|
||||
- name: Install native and private-display test tools
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends build-essential cmake pkg-config python3-pil python3-numpy libssl-dev libsdl2-dev libcairo2-dev libfreetype-dev libfontconfig-dev libpango1.0-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl1-mesa-dev xvfb xauth xdotool imagemagick
|
||||
sudo apt-get install -y --no-install-recommends build-essential cmake pkg-config python3-pil python3-numpy ffmpeg libssl-dev libsdl2-dev libcairo2-dev libfreetype-dev libfontconfig-dev libpango1.0-dev libgtk-3-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl1-mesa-dev xvfb xauth xdotool imagemagick
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
- uses: mymindstorm/setup-emsdk@v14
|
||||
with:
|
||||
version: '6.0.6'
|
||||
actions-cache-folder: emsdk-cache
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
@@ -71,6 +78,29 @@ jobs:
|
||||
run: sh tests/run_local.sh
|
||||
- name: Exercise the app on its own private display
|
||||
run: python3 tests/private_ui_test.py
|
||||
- name: Build and exercise the shared account interface
|
||||
run: |
|
||||
python3 tools/build_desktop.py
|
||||
python3 tests/account_ui_test.py
|
||||
- name: Build and play the browser edition
|
||||
run: |
|
||||
python3 tools/build_web.py
|
||||
CHROMIUM="$(command -v google-chrome || command -v chromium)" node tests/web_test.mjs
|
||||
- name: Package the verified browser edition
|
||||
env:
|
||||
VERSION: ${{ steps.version.outputs.version }}
|
||||
run: |
|
||||
python3 - <<'PY'
|
||||
import os, zipfile
|
||||
from pathlib import Path
|
||||
root = Path('build/web')
|
||||
output = Path('build/downloads')
|
||||
output.mkdir(parents=True, exist_ok=True)
|
||||
with zipfile.ZipFile(output / ('wurm-web-v' + os.environ['VERSION'] + '.zip'), 'w', zipfile.ZIP_DEFLATED) as archive:
|
||||
for path in sorted(root.rglob('*')):
|
||||
if path.is_file():
|
||||
archive.write(path, path.relative_to(root))
|
||||
PY
|
||||
- name: Build both ARM architectures in one production APK
|
||||
run: python3 tools/build_android.py --release --abi universal
|
||||
- name: Sign and verify the standard and F-Droid-style downloads
|
||||
@@ -94,6 +124,7 @@ jobs:
|
||||
run: |
|
||||
test -f "build/downloads/wurm-v$VERSION.apk"
|
||||
test -f "build/downloads/wurm-$VERSION-fdroid.apk"
|
||||
test -f "build/downloads/wurm-web-v$VERSION.zip"
|
||||
cmp "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk"
|
||||
python3 - <<'PY' > build/release-notes.md
|
||||
import os, re
|
||||
@@ -119,5 +150,5 @@ jobs:
|
||||
if [ "$state" = missing ]; then
|
||||
gh release create "$tag" --draft --target "$GITHUB_SHA" --title "Apfelwurm $VERSION" --notes-file build/release-notes.md
|
||||
fi
|
||||
gh release upload "$tag" "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk" --clobber
|
||||
gh release upload "$tag" "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk" "build/downloads/wurm-web-v$VERSION.zip" --clobber
|
||||
gh release edit "$tag" --draft=false --latest
|
||||
@@ -3,3 +3,5 @@ backup/
|
||||
droid/
|
||||
ziran.local.toml
|
||||
__pycache__/
|
||||
assets/campaign-levels/
|
||||
assets/entity.zx
|
||||
@@ -1,5 +1,61 @@
|
||||
# Changelog
|
||||
|
||||
## [0.2.2] - 2026-10-27
|
||||
|
||||
- Set an account alias with capitals, an @ or spaces; a taken alias now says so.
|
||||
|
||||
## [0.2.1] - 2026-10-26
|
||||
|
||||
- Use Arcade or Inner Breeze's Profile, Dew and navigation when playing inside them, without duplicate title controls or an extra Back button.
|
||||
- Open the shared Profile reliably from the skin shop's sign-in button.
|
||||
|
||||
## [0.2.0] - 2026-10-26
|
||||
|
||||
- Play with softer Dusk, Forest and Sage themes, with saved sound and control settings.
|
||||
- See a continuous painted meadow instead of a repeating grass grid, and clear Profile and Dew icons on the title.
|
||||
- Sign in through the shared Profile to sync completed levels, playtime, settings and your chosen character across devices.
|
||||
- Browse the skin shop from the title beside Profile and your Dew balance. Mint, Berry and Rose cost 10, 20 and 30 Dew, with confirmation before buying.
|
||||
- Earn Night owl after five hours of active play, Golden apple by reaching level 40, and Explorer by visiting waozi.xyz. Purchased skins belong to your account.
|
||||
- Unlock all 200 levels by playing. The mobile selector shows large previews for unlocked levels and only a lock for later ones. Dew is used for optional cosmetics.
|
||||
|
||||
## [0.1.8] - 2026-10-26
|
||||
|
||||
- Level previews now appear only after you unlock them.
|
||||
|
||||
## [0.1.7] - 2026-10-26
|
||||
|
||||
- See a glowing touch guide follow your finger while swipe steering.
|
||||
- Steer with a larger direction pad, with more space from the edges in portrait and landscape.
|
||||
|
||||
## [0.1.6] - 2026-10-26
|
||||
|
||||
- Try again after game over starts the furthest unlocked level with three lives and a fresh score.
|
||||
- Choose level from the title to browse all five landscapes, preview each board and replay any unlocked level. Future levels remain locked until you reach them.
|
||||
- Use Escape to pause or go back in the browser without stopping the game.
|
||||
|
||||
## [0.1.5] - 2026-10-26
|
||||
|
||||
- Continue from the furthest level unlocked on this device with three lives and a fresh score. Progress saves after every completed level and survives closing the game or a game over.
|
||||
- Play from start for a full run, carrying score and lives between levels without erasing unlocked progress.
|
||||
- Keep levels reached in existing saves available through Continue.
|
||||
|
||||
## [0.1.4] - 2026-10-25
|
||||
|
||||
- Press Play and go straight into the game: no stage or level select. Play every level in order through all five landscapes, earning lives as your score grows; a game over starts again from level 1.
|
||||
- Continue your run from the start of the level you reached; existing stage progress continues from your first uncleared level.
|
||||
|
||||
## [0.1.3] - 2026-10-25
|
||||
|
||||
- Play the complete game in your browser at wurm.waozi.xyz, with progress and personal levels saved on your device.
|
||||
|
||||
- Explore 200 distinct levels inspired by the original Worm game, with 40 challenges in each landscape and more demanding encounters as the journey climbs.
|
||||
- Meet wandering fire, bouncing patrols and chasing enemies among original-inspired rooms, spirals, islands and mountain passes.
|
||||
- Unlock each landscape by completing its 40 levels, then return to any unlocked stage or level from Your journey.
|
||||
- Choose swipe steering or a direction pad on first play, remember that choice and change it from Pause.
|
||||
- Learn at a gentler pace in the opening Meadow levels before reaching the original speed.
|
||||
- Edit and playtest independent Landscape and Portrait layouts; start missing portrait boards from a best guess, with clear gate approaches and a separate portrait level 2.
|
||||
- Browse all 200 boards in the editor while keeping edits from the earlier campaign separate.
|
||||
|
||||
## [0.1.2] - 2026-10-25
|
||||
|
||||
- Travel through all 66 levels from Meadow through deciduous Leafwood, coniferous Pinewood and Lake to the Mountains, with distinct terrain and challenges throughout.
|
||||
|
||||
@@ -1,199 +1,111 @@
|
||||
<p align="center">
|
||||
<img src="assets/art/title.png" alt="Apfelwurm — a little orange worm, an apple meadow and a mountain to climb" width="100%">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<strong>A little worm. A long journey.</strong><br>
|
||||
<a href="https://wurm.waozi.xyz/"><strong>Play free in your browser</strong></a>
|
||||
· <a href="https://github.com/waozixyz/wurm/releases/latest"><strong>Download for Android</strong></a>
|
||||
· <a href="CHANGELOG.md">What's new</a>
|
||||
</p>
|
||||
|
||||
# Apfelwurm
|
||||
|
||||
Application id `xyz.waozi.wurm`.
|
||||
Collect the apples. Find the gate. Keep growing.
|
||||
|
||||
Guide a little orange worm from sunny apple meadows through woodland and
|
||||
lakeshores to the mountains. Apfelwurm brings the spirit of the original
|
||||
Worm game to **200 distinct levels**, with illustrated landscapes, a gentle
|
||||
acoustic soundtrack and controls that respond while your finger stays down.
|
||||
|
||||
A native Ziran and Kryon game. The illustrated Apfelwurm title has one
|
||||
**Play** button. Follow the little orange worm towards the mountain in the
|
||||
title picture through **66 unique designed levels**: Meadow (14), deciduous
|
||||
Leafwood (13), coniferous Pinewood (13), Lake (13), then Mountains (13).
|
||||
Every landscape has its own terrain, wide routes and solid obstacles on the
|
||||
original 40x30 grid. Lakes use shore paths, reed banks and water crossings;
|
||||
mountains lead through stone terraces and high passes. The opening levels
|
||||
need five apples, with longer goals and gentler breaks later on.
|
||||
The campaign contains no passive decoration props or monsters.
|
||||
`tools/design_levels.py` regenerates all boards and complete route
|
||||
certificates. Local tests complete every level in both orientations with
|
||||
three apple seeds. Existing editor overrides and level IDs are preserved.
|
||||
The **99 recovered levels** from the owner's `The-Worm_Win_EN/ONLY.ONE`
|
||||
archive stay the byte-exact reference in `assets/original`.
|
||||
The game uses new art and sound with the same worm and apples throughout.
|
||||
Recovered tilesets, title artwork, sounds and scores remain in
|
||||
`assets/original` as reference material.
|
||||
Free to play. All 200 levels can be unlocked through play. No ads. An optional account keeps your
|
||||
progress and character choices in sync, with cosmetic skins available for Dew.
|
||||
|
||||
The executable was disassembled to recover the single-player rules: movement
|
||||
by four pixels every 25 Ms, sequential apples, progressive growth, passable
|
||||
decorative tiles, six monster types, lives, scoring, and the bottom entrance
|
||||
and top exit. Collect the level's apples, then guide the worm through the
|
||||
opening at the top centre. An extra life is awarded every 33 points. You start with three lives;
|
||||
losing the last one ends the game at zero.
|
||||
## Five landscapes. Forty levels each.
|
||||
|
||||
## Controls
|
||||
- **Meadow:** find your rhythm among grass, hedges and orchard paths, with a slower opening pace.
|
||||
- **Leafwood:** weave through leafy rooms, mossy courtyards and branching trails.
|
||||
- **Pinewood:** follow fir-lined passages and watch the patrols around the next corner.
|
||||
- **Lake:** cross the shores, channels and islands without running out of room.
|
||||
- **Mountains:** wind through rock corridors, terraces and the final ascent.
|
||||
|
||||
- Click Play, Enter or Space: start immediately; Enter or Space also retries
|
||||
- Arrows, WASD or move a held finger over the board: steer immediately
|
||||
- Escape, Space or P: pause and resume
|
||||
- Q while paused: back to the title
|
||||
- R: restart the current level
|
||||
- M: mute and unmute
|
||||
- E on the title: open the level editor
|
||||
Layouts take inspiration from the recovered original game's rooms, spirals
|
||||
and crossings. Wandering fire, bouncing patrols and chasing enemies make the
|
||||
journey more demanding as you climb.
|
||||
|
||||
Collect the apples, then leave through the top opening. All five landscapes
|
||||
connect automatically, keeping your lives and score until the mountain finale.
|
||||
Press **Play** and you are straight in the game. The levels follow one after
|
||||
another through all five landscapes. You start
|
||||
with three lives and earn more as your score grows. Score and lives carry
|
||||
between levels throughout your run. **Continue** starts the furthest level
|
||||
reached in your journey with three lives and a fresh score, even after a game
|
||||
over or closing the game. **Play from start** begins a new run at level 1
|
||||
without erasing your progress.
|
||||
|
||||
## Mobile-first layout
|
||||
**Choose level** lets you browse all five landscapes, see a large board preview for unlocked levels and a lock for later levels.
|
||||
Complete a level to unlock the next one.
|
||||
After a game over, **Try again** starts the furthest unlocked level with
|
||||
three lives and a fresh score.
|
||||
|
||||
In play, a cream status bar shows the chapter, level, hearts, apples and score.
|
||||
Its status chips move onto a second row on narrow phones, keeping the 48-unit
|
||||
Pause button clear. Pause, game-over and completion dialogs use large stacked
|
||||
touch buttons and a compact composition for short landscape screens; the title artwork fills the
|
||||
whole screen with a composition for each orientation. Landscape letterboxes
|
||||
the 640x480 board. In portrait
|
||||
the same level data stands on its side as a 30x40 board that fills the
|
||||
screen edge to edge, and the gates follow the board: the worm still enters
|
||||
from the bottom edge and exits at the top. Steering keys and finger movements stay
|
||||
natural, so Up is always visually up. The gates carve only their own hole;
|
||||
the neighbouring walls keep their tiles. Open entrance and exit gates show
|
||||
stone posts on both sides, in either orientation. The worm follows its full
|
||||
long path with slightly spaced orange segments and a top-down head whose
|
||||
mouth faces the direction of travel. The desktop window opens from
|
||||
`WURM_WINDOW=WxH` (default 1280x760); `WURM_WINDOW=480x700` shows the
|
||||
portrait phone layout.
|
||||
## Play your way
|
||||
|
||||
Touching hedge, stone and water tiles have borders only on exposed edges.
|
||||
Leafwood walls sample one continuous overhead woodland image; the portrait
|
||||
version rotates that same field so neighbouring tiles keep matching.
|
||||
Choose **swipe steering** or a **direction pad** on first play. With swipe
|
||||
steering, move your finger in the direction you want to turn and keep it on
|
||||
the screen for the next corner. Change your choice from Pause at any time.
|
||||
|
||||
## Level editor
|
||||
On a keyboard, use the arrow keys or WASD. Space or Escape pauses; M mutes.
|
||||
Collect every apple, then leave through the opening at the top of the board.
|
||||
|
||||
Press E from the title, or launch with `WURM_START=editor`;
|
||||
the editor opens facing its level selector: use its landscape arrows to browse all five chapters, then
|
||||
choose a card with the
|
||||
level's rendered board as its picture, a green frame on saved edits, and
|
||||
one click to edit that level. Tab or Enter playtests. The held left button paints the selected brush across the canvas, the
|
||||
right button restores the recovered original tile, and the palette offers the
|
||||
stage's floors and solid obstacles. The apple goal
|
||||
is set with the - and + buttons or keys. Up/Down switches through all 66 levels (saving
|
||||
first), Enter playtests from the entrance, and E returns to the title.
|
||||
Saving is automatic on switch, exit and playtest, plus the Save button; Reset
|
||||
(deleting the override) restores the designed campaign level. T or the turn
|
||||
button stands the working level up exactly as portrait plays it and back,
|
||||
so the sideways view can be edited and playtested directly.
|
||||
Portrait and landscape use their own board layouts. Your unfinished run stays
|
||||
on this device. Android and the browser can play offline after their assets
|
||||
are loaded. Signing in syncs earned completion marks and preferences.
|
||||
|
||||
Edits live in `assets/levels/level<N>.dat`, one file per edited level:
|
||||
apple count, the 40x30 tiles, then the 40x30 object ids, all in column
|
||||
order. The palette paints floors (grass, dirt, sand), a smart hedge that
|
||||
fits its own edge and corner pieces, plain hedges, stone and solid water.
|
||||
Existing object data remains readable, but passive props are not rendered.
|
||||
A level without a file plays its designed campaign board, so removing a file
|
||||
restores it. The entrance (bottom centre, green marker) and exit (top centre, red
|
||||
marker) are carved at runtime from the tiles above and below the edges; the
|
||||
editor warns when a level could not be entered or left. `WURM_LEVEL_DIR`
|
||||
redirects where overrides are read and written.
|
||||
## Make a path of your own
|
||||
|
||||
## Build
|
||||
Open the level editor with **E** from the title. Browse all 200 boards,
|
||||
paint terrain and enemies, adjust the apple goal, then playtest from the entrance.
|
||||
|
||||
Arcade builds `catalog.json`'s portable entry from this repository and offers
|
||||
`wurm.zx` as an individual download. It uses the same campaign, artwork,
|
||||
controls and editor; private editor records belong to `xyz.waozi.wurm`.
|
||||
The portable host plays packed sound effects. The native editions keep the
|
||||
streaming soundtrack and secondary-pointer editor controls.
|
||||
**Landscape** and **Portrait** are independent editor modes. Start a missing
|
||||
portrait layout from a best guess, refine it, and save without changing the
|
||||
other version. Playtest always uses the selected layout.
|
||||
|
||||
<p align="center"><img src="assets/marketing/editor.png" alt="The portrait level editor with separate Landscape and Portrait modes, terrain brushes and six enemies" width="85%"></p>
|
||||
|
||||
## Keep the journey yours
|
||||
|
||||
Open **Settings** on the title to choose the softer Dusk, Forest or Sage theme,
|
||||
change controls or switch sound on and off. **Profile** uses the same account
|
||||
system as Shovey: create an account, import your key or link another device.
|
||||
Inside Arcade or Inner Breeze, the host supplies Profile, Dew and navigation;
|
||||
the game's title keeps Shop and Settings without duplicating those controls.
|
||||
Completion marks, active playtime, preferences and your chosen skin follow the
|
||||
signed-in account. Guest progress and each account stay separate. Your
|
||||
unfinished run and personal editor records stay on this device.
|
||||
|
||||
The title's **Skin shop** offers Mint for **10 Dew**, Berry for **20 Dew** and
|
||||
Rose for **30 Dew**, with confirmation before buying. Retrying a purchase,
|
||||
including from another device, cannot charge for that skin twice. Earn
|
||||
**Night owl** by playing actively for **5 hours**, **Golden apple** by
|
||||
reaching **level 40**, or **Explorer** by opening **waozi.xyz** from the shop.
|
||||
Levels unlock through play; Dew buys optional cosmetics.
|
||||
|
||||
Account sync and Dew need a connection. There is no advertising or analytics,
|
||||
and personal editor records are kept out of published packages.
|
||||
|
||||
[Play Apfelwurm](https://wurm.waozi.xyz/)
|
||||
· [Android downloads](https://github.com/waozixyz/wurm/releases/latest)
|
||||
· [Browser privacy](https://wurm.waozi.xyz/privacy.html)
|
||||
|
||||
## Build and contribute
|
||||
|
||||
Built with [Ziran](https://ziran-lang.org) and [Kryon](https://kryonlabs.com).
|
||||
The desktop, Android and browser editions share the same game rules.
|
||||
|
||||
```sh
|
||||
ziran run --locked desktop
|
||||
python3 tools/build_android.py --abi arm64-v8a
|
||||
ziran run --locked shot > build/stages.ppm
|
||||
WORM_SHOT_LEVEL=66 ziran run --locked shot > build/forest-finale.ppm
|
||||
ziran check --locked
|
||||
python3 tools/build_desktop.py
|
||||
build/account-desktop/wurm
|
||||
sh tests/run_local.sh
|
||||
```
|
||||
|
||||
`tests/private_ui_test.py` additionally exercises the real desktop build on
|
||||
its own verified Xvfb server. It checks all three dialogs in 320x568 portrait
|
||||
and 640x360 landscape, including their primary and Back to title actions.
|
||||
It never uses the owner's desktop. The audio
|
||||
test uses SDL's dummy drivers and verifies that all effects and scores mix.
|
||||
|
||||
The Android debug APK is written to `build/android/`. Use `--abi armeabi-v7a`
|
||||
for the development Moto. `tests/android_controls_test.py APK` verifies touch
|
||||
start, pause, resume, steering and return to the title on that USB device.
|
||||
Use `--verification` on both commands for the separate
|
||||
`xyz.waozi.wurm.verification` install, preserving the normal game and data.
|
||||
The device test leaves its own game open on the title.
|
||||
On phones, keep your finger down and move it in the direction you want to
|
||||
turn. You can make successive corners without lifting or returning to the
|
||||
press position; a small movement is enough, and lifting makes no extra turn.
|
||||
Use the top pause button, and tap
|
||||
the pause or game-over card's buttons to continue or return to the title.
|
||||
|
||||
## Signed Android downloads
|
||||
|
||||
Start each numeric release in `CHANGELOG.md`, then run `sh update_version.sh`.
|
||||
The generated `version.json` supplies the Android version and increasing
|
||||
version code. Build and sign both ARM architectures with:
|
||||
|
||||
```sh
|
||||
python3 tools/build_android.py --release --abi universal
|
||||
python3 tools/android_release.py sign build/android/Apfelwurm-universal-release-unsigned.apk
|
||||
```
|
||||
|
||||
Signing uses the preserved private key in ignored `backup/android-signing/`.
|
||||
Only its public certificate is tracked in `packaging/android/certificate.pem`.
|
||||
The signing tool verifies the package, version, certificate, both ARM native
|
||||
libraries, 16 KB ZIP alignment and current game assets. It produces identical
|
||||
signed `wurm-v<VERSION>.apk` and `wurm-<VERSION>-fdroid.apk` downloads, following
|
||||
Shovey's naming format. The F-Droid filename is a source-build distribution
|
||||
artifact; it does not imply a listing or approval in the F-Droid catalog.
|
||||
|
||||
On every push to master, the Downloads workflow runs the game and private
|
||||
display tests, builds a production APK and signs both names using repository
|
||||
secrets `WURM_ANDROID_KEYSTORE` and `WURM_ANDROID_KEYSTORE_PASSWORD`. A new
|
||||
changelog version is published only after those jobs succeed. Tags are created
|
||||
by that workflow. Publishing uploads directly from the verified build to
|
||||
GitHub Releases, without using the shared Actions artifact quota. An already
|
||||
published version is kept; a new download requires a new changelog version.
|
||||
|
||||
## Art and sound
|
||||
|
||||
The landscape and portrait title illustrations were generated with the built-in
|
||||
image tool; `assets/art/title.json` records their prompts. The title assets
|
||||
live at `assets/art/title.png` and `assets/art/title-portrait.png`. Direct
|
||||
launches resolve their assets relative to the executable, including when
|
||||
launched from `build/`.
|
||||
|
||||
The title uses detailed sunlit storybook art, and the tiles and creatures use clean cartoon
|
||||
art generated with the built-in image tool. Source atlases live in
|
||||
`assets/art-source`; their prompts are recorded in `assets/art/title.json`.
|
||||
`tools/make_art.py` crops and packs those cells into the landscape
|
||||
sheets without changing gameplay tile IDs or collision rules. It also writes
|
||||
the display-free `.argb` mirrors. Run it with `--check` to verify the packed
|
||||
art matches its sources. `assets/art-source/journey-terrain.png` supplies
|
||||
the five landscape materials; its built-in image-generation prompt is recorded
|
||||
in `assets/art/title.json`. The same golden orange worm and red apples appear
|
||||
throughout the journey. `assets/sounds/sounds.json` records the OpenRouter model and prompt
|
||||
of every sound. The current acoustic garden score was AI-generated with
|
||||
Lyria; it is not the recovered original MIDI. It plays continuously through
|
||||
level and landscape transitions. Loop reads wrap without padding silence,
|
||||
and the native mixer buffers enough audio to tolerate slower phone frames.
|
||||
The soundtrack itself is preserved; this update repairs playback.
|
||||
|
||||
## Recover the assets again
|
||||
|
||||
```sh
|
||||
python3 tools/extract_original.py /mnt/storage/Games/The-Worm_Win_EN
|
||||
python3 tools/render_music.py
|
||||
```
|
||||
|
||||
The extractor validates the complete archive, preserves every packed file,
|
||||
decodes the original PIX run-length encoding and VGA palettes, and generates
|
||||
`src/original_levels.zi` without changing tile values or column order.
|
||||
`assets/original/manifest.json` records the archive and extracted file hashes.
|
||||
The original executable remains outside this repository and is never modified.
|
||||
|
||||
Recovery uses Python/Pillow and FFmpeg. Offline music rendering additionally
|
||||
uses libfluidsynth and a General MIDI soundfont (TimGM6mb by default). MIDI
|
||||
events and timing are preserved; instrument timbre depends on the soundfont,
|
||||
as the original depended on the Windows MIDI synthesizer.
|
||||
|
||||
The maintained game is single-player, with desktop and Android builds. The
|
||||
original Windows dialogs and DirectPlay multiplayer have not been ported.
|
||||
See the [build and development guide](docs/building.md) for the editor's
|
||||
save files, Android and portable builds, asset recovery and verification.
|
||||
[Report a bug or suggest a level](https://github.com/waozixyz/wurm/issues).
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"tool": "built-in image_gen",
|
||||
"prompt": "Use case: stylized-concept. Asset type: transparent 2D game sprite atlas, four animation frames for the ORIGINAL Wurm game's wandering fire enemy, redrawn to match Apfelwurm's clean friendly storybook cartoon sprites. Use the reference sheet only for line weight, clean shading and visual style; do not copy any worms, apples or insects. Create EXACTLY a 2 by 2 grid of four equal square transparent cells, no border, no gutters, no text. Each cell contains the SAME small upright flame hazard centered at the same baseline and scale, four successive gentle flickering poses, row-major. Hot red-orange outer flame silhouette, golden yellow core, a slight soft glow INSIDE the silhouette, crisp readable outline. No face, limbs, eyes, props, ground, cast shadow or background. Leave clean transparent space around each frame and preserve genuine alpha transparency. This is a moving hazard, clearly distinct from the orange worm and beetles. All four flames fill about 78 percent of their square's height and 60 percent of its width, consistent proportions and pivot. Square atlas.",
|
||||
"layout": "2 by 2 flame animation frames",
|
||||
"file": "fire.png"
|
||||
}
|
||||
|
After Width: | Height: | Size: 742 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"tool": "built-in image_gen",
|
||||
"prompt": "Use case: illustration-story. Asset type: a production landscape cover atlas for the five Apfelwurm stages, matching the supplied approved-direction stage-selector concept's soft detailed storybook nature paintings. Create EXACTLY FIVE equal horizontal strips stacked vertically with no borders, labels, UI, text, frames or gaps. Each strip is a distinct wide landscape painting, 3:1 aspect ratio, all five fill a single 3:5 portrait atlas. Top to bottom: 1 a sunny green apple meadow with short grass, red apples on trees, a low rustic fence and distant mountains; 2 a leafy deciduous woodland with broad oak and beech crowns, dappled sunlight, a moss path and roots; 3 a conifer forest with recognizable pointed firs and pines, cool blue-green needles, mossy gray rocks and a clear narrow trail; 4 a bright turquoise mountain lake with rounded pebble shores, reeds, little islands and a distant wooded bank; 5 a rugged pale-gray alpine mountain pass with sparse alpine grass, rocky terraces, distant snowy peaks and warm sunlight. Cool green and blue palette, earthy brown and restrained warm orange, calm gentle adventure. No characters, no worms, no fire, no signs, no words, no watermarks. Clean edge-to-edge artwork; exact boundaries at one fifth, two fifths, three fifths and four fifths of image height so cells can be cropped mathematically.",
|
||||
"layout": "five equal landscape strips",
|
||||
"file": "stage-covers.png"
|
||||
}
|
||||
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 15 KiB |