Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/ci-win7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI Windows 7

on:
push:
branches: [main]
pull_request:

concurrency:
group: ci-win7-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
tui:
name: terminal version (win7 target tests, build, import check)
runs-on: windows-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
persist-credentials: false
# dtolnay/rust-toolchain; keep the toolchain in step with tools/win7.mjs.
- uses: dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87
with:
toolchain: nightly-2026-11-17
components: rust-src, llvm-tools
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
- uses: actions/setup-node@v4
- run: npm run check:win7
- run: npm run build:win7 -- --out .
- name: Upload Windows 7 build
# v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: windows7-tui
path: dw4-crown-mod-*-windows7-x86_64.zip
if-no-files-found: error
50 changes: 50 additions & 0 deletions .github/workflows/release-win7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release Windows 7

on:
workflow_call:
inputs:
release_tag:
required: true
type: string

permissions:
# Build-only reusable workflow; the caller publishes every platform together.
contents: read

jobs:
build:
name: Build Windows 7 terminal version (zip)
runs-on: windows-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
persist-credentials: false
# dtolnay/rust-toolchain; keep the toolchain in step with tools/win7.mjs.
- uses: dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87
with:
toolchain: nightly-2026-11-17
components: rust-src, llvm-tools
- uses: actions/setup-node@v4
- name: Prepare version-checked release notes
shell: pwsh
env:
RELEASE_TAG: ${{ inputs.release_tag }}
run: node tools/release-notes.mjs --tag "$env:RELEASE_TAG" --output release-notes.md
- name: Verify application source matches the release tag
shell: pwsh
env:
RELEASE_TAG: ${{ inputs.release_tag }}
run: |
git fetch --depth 1 origin "refs/tags/$env:RELEASE_TAG"
if ($LASTEXITCODE -ne 0) { throw "Release tag was not found" }
git diff --exit-code FETCH_HEAD -- crates src public Cargo.toml Cargo.lock package.json package-lock.json
if ($LASTEXITCODE -ne 0) { throw "Application source differs from the release tag" }
- name: Build, check imports and package (zip)
run: npm run build:win7 -- --out .
- name: Upload Windows 7 assets
# v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: win7-assets
path: dw4-crown-mod-*-windows7-x86_64.zip
if-no-files-found: error
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ jobs:
uses: ./.github/workflows/release-linux.yml
with:
release_tag: ${{ inputs.tag || github.ref_name }}
win7:
uses: ./.github/workflows/release-win7.yml
with:
release_tag: ${{ inputs.tag || github.ref_name }}
publish:
name: Publish complete release
needs: [windows, linux]
needs: [windows, linux, win7]
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -54,6 +58,7 @@ jobs:
for file in \
"dw4-crown-mod-${RELEASE_TAG}-windows-x86_64.zip" \
"dw4-crown-mod-${version}-windows-x86_64.msi" \
"dw4-crown-mod-${RELEASE_TAG}-windows7-x86_64.zip" \
"dw4-crown-mod-${RELEASE_TAG}-linux-x86_64.AppImage" \
"dw4-crown-mod-${RELEASE_TAG}-linux-x86_64.deb" \
"dw4-crown-mod-${RELEASE_TAG}-linux-x86_64.tar.gz"; do
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.21.0

- Added a terminal version for **Windows 7 and later** (`dw4-crown-mod-v0.21.0-windows7-x86_64.zip`): the same patcher in a console window, for PCs that can't run the desktop app. Unzip it, then double-click `dw4-crown-mod-tui.exe` or drag your disc image onto it. It has every option, and it can load and save the same settings files as the desktop app.

## v0.20.0

- Random bosses now also shuffles the repeat boss fights (Blossomon in Abyss of Grief, SkullGreymon in Grief Wasteland, ShogunGekomon in Mangrove Forest) and the Quest 1, 4, 7 and 8 bosses. Only the four world bosses stay fixed.
Expand Down
Loading
Loading