From c3704878d6bfd7f58da70f3b6dc1e60fedc5a903 Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 30 Oct 2026 14:19:25 +0100 Subject: [PATCH] Restore direct-installation Classic baseline for OpenBMH 1.0 (by Codex) --- .github/workflows/ci.yml | 10 +- .github/workflows/editor.yml | 127 - .github/workflows/release.yml | 23 +- CMakeLists.txt | 62 +- README.md | 41 +- THIRD_PARTY_NOTICES.md | 14 +- assets/editor/editor.rml | 15 - assets/editor/theme.rcss | 306 --- assets/launcher/launcher.rml | 45 - assets/launcher/provenance.json | 20 - assets/launcher/stadium.tga | Bin 4719980 -> 0 bytes assets/launcher/theme.rcss | 74 - docs/BUILDING.md | 14 +- docs/COMPATIBILITY.md | 28 - docs/CONSOLE_CLIENTS.md | 4 +- docs/DIFFERENCES.md | 2 - docs/EDITOR.md | 171 -- docs/ENGINE_SPLIT.md | 190 -- docs/ROADMAP.md | 13 +- docs/architecture.md | 33 +- docs/formats/OBW.md | 110 +- docs/formats/README.md | 2 +- docs/formats/obw/classic-v1.md | 206 -- docs/formats/obw/editor-v1.md | 160 -- docs/formats/obw/import.md | 158 -- docs/formats/obw/runtime-0.2.md | 107 - docs/formats/obw/schema/1.0/asset-index.json | 55 - docs/formats/obw/schema/1.0/calendar.json | 58 - .../formats/obw/schema/1.0/classic-bytes.json | 20 - .../obw/schema/1.0/classic-driver.json | 402 --- .../obw/schema/1.0/classic-highscore.json | 34 - .../obw/schema/1.0/classic-inventory.json | 41 - .../obw/schema/1.0/classic-layout.json | 34 - .../obw/schema/1.0/classic-palette.json | 26 - .../obw/schema/1.0/classic-resources.json | 200 -- docs/formats/obw/schema/1.0/classic-rng.json | 56 - docs/formats/obw/schema/1.0/classic-seal.json | 27 - .../obw/schema/1.0/classic-session.json | 72 - .../obw/schema/1.0/classic-settings.json | 34 - .../obw/schema/1.0/classic-startup.json | 189 -- .../formats/obw/schema/1.0/classic-state.json | 542 ---- docs/formats/obw/schema/1.0/clubs.json | 55 - docs/formats/obw/schema/1.0/common.json | 42 - docs/formats/obw/schema/1.0/competitions.json | 171 -- docs/formats/obw/schema/1.0/contracts.json | 49 - docs/formats/obw/schema/1.0/finance.json | 39 - docs/formats/obw/schema/1.0/manifest.json | 235 -- docs/formats/obw/schema/1.0/nations.json | 55 - docs/formats/obw/schema/1.0/players.json | 153 -- docs/formats/obw/schema/1.0/portrait-set.json | 85 - docs/formats/obw/schema/1.0/rules.json | 35 - .../obw/schema/1.0/save-integrity.json | 22 - .../formats/obw/schema/1.0/save-manifest.json | 31 - docs/formats/obw/schema/1.0/stadiums.json | 52 - docs/formats/obw/schema/1.0/staff.json | 43 - docs/formats/obw/schema/1.1/editor-world.json | 41 - docs/licenses/FreeType-BDF.txt | 152 -- docs/licenses/FreeType-FTL.txt | 169 -- docs/licenses/FreeType-PCF.txt | 96 - docs/licenses/FreeType-zlib.txt | 29 - docs/licenses/FreeType.txt | 46 - docs/licenses/LunaSVG.txt | 21 - docs/licenses/PlutoVG.txt | 21 - docs/licenses/README.md | 4 - docs/licenses/RmlUi-Khronos.txt | 22 - docs/licenses/RmlUi-containers.txt | 58 - docs/licenses/RmlUi-fonts.txt | 316 --- docs/licenses/RmlUi.txt | 22 - docs/licenses/SDL2_image.txt | 17 - docs/licenses/cpp-httplib.txt | 22 - docs/licenses/libwebp-PATENTS.txt | 23 - docs/licenses/libwebp.txt | 30 - docs/licenses/nlohmann-json.txt | 21 - docs/licenses/pugixml.txt | 24 - docs/licenses/stb-image.txt | 36 - docs/qa/editor-comparison/README.md | 51 - .../before-players-0.5.0.png | Bin 207994 -> 0 bytes .../editor-comparison/columns-midnight-de.png | Bin 133111 -> 0 bytes .../editor-comparison/leagues-matchday-de.png | Bin 140638 -> 0 bytes .../editor-comparison/players-midnight-de.png | Bin 193659 -> 0 bytes .../players-scroll-midnight-de.png | Bin 188802 -> 0 bytes docs/qa/editor-comparison/teams-silver-en.png | Bin 152935 -> 0 bytes docs/qa/editor-dropdown-arrow/README.md | 31 - .../editor-dropdown-arrow/after-dropdown.png | Bin 119348 -> 0 bytes .../after-matchday-1440x900.png | Bin 108425 -> 0 bytes .../after-midnight-1080x720.png | Bin 79918 -> 0 bytes .../after-midnight-1440x900.png | Bin 116607 -> 0 bytes .../after-midnight-2560x1600.png | Bin 231867 -> 0 bytes .../after-silver-1440x900.png | Bin 121718 -> 0 bytes .../editor-dropdown-arrow/after-toolbar.png | Bin 146288 -> 0 bytes .../qa/editor-dropdown-arrow/before-0.5.4.png | Bin 116670 -> 0 bytes .../native-captures.json | 65 - docs/qa/editor-images/README.md | 27 - docs/qa/editor-images/before-club-image.png | Bin 144383 -> 0 bytes docs/qa/editor-images/linked-asset.png | Bin 131326 -> 0 bytes docs/qa/editor-images/preview-matchday-de.png | Bin 84843 -> 0 bytes docs/qa/editor-images/preview-midnight-de.png | Bin 89909 -> 0 bytes docs/qa/editor-images/preview-silver-en.png | Bin 93749 -> 0 bytes docs/qa/editor-navigation/README.md | 64 - .../before-options-0.5.3.png | Bin 114670 -> 0 bytes .../dropdown-matchday-de.png | Bin 111160 -> 0 bytes .../dropdown-midnight-de.png | Bin 119819 -> 0 bytes .../editor-navigation/dropdown-silver-en.png | Bin 124572 -> 0 bytes .../editor-navigation/history-midnight-de.png | Bin 148566 -> 0 bytes docs/qa/editor-navigation/idle-cpu-linux.json | 40 - .../editor-navigation/options-midnight-de.png | Bin 117067 -> 0 bytes docs/qa/editor-poc/README.md | 84 - docs/qa/editor-poc/clubs-matchday-de.png | Bin 137709 -> 0 bytes docs/qa/editor-poc/clubs-midnight-de.png | Bin 183334 -> 0 bytes docs/qa/editor-poc/clubs-silver-de.png | Bin 160904 -> 0 bytes docs/qa/editor-poc/gui-search.png | Bin 134124 -> 0 bytes .../editor-poc/image-editor-matchday-de.png | Bin 94915 -> 0 bytes .../editor-poc/image-editor-midnight-de.png | Bin 99748 -> 0 bytes docs/qa/editor-poc/image-editor-silver-de.png | Bin 105535 -> 0 bytes docs/qa/editor-poc/options-matchday-de.png | Bin 101055 -> 0 bytes docs/qa/editor-poc/options-midnight-de.png | Bin 108387 -> 0 bytes docs/qa/editor-poc/options-silver-de.png | Bin 117581 -> 0 bytes docs/qa/editor-poc/players-silver-en.png | Bin 182201 -> 0 bytes docs/qa/editor-poc/roster-matchday-de.png | Bin 163421 -> 0 bytes docs/qa/editor-regulations/README.md | 41 - .../before-competitions-0.5.1.png | Bin 191940 -> 0 bytes .../game-rules-midnight-de.png | Bin 155441 -> 0 bytes docs/qa/editor-regulations/make_fixture.py | 54 - .../qualification-midnight-de.png | Bin 168542 -> 0 bytes .../editor-regulations/rules-matchday-de.png | Bin 142304 -> 0 bytes .../editor-regulations/rules-midnight-de.png | Bin 162060 -> 0 bytes .../qa/editor-regulations/rules-silver-en.png | Bin 150123 -> 0 bytes docs/release/0.1/RELEASE_NOTES.md | 26 - docs/release/0.2/RELEASE_NOTES.md | 79 - docs/release/editor-0.5/RELEASE_NOTES.md | 125 - src/app/career_session.cpp | 277 +- src/app/career_session.hpp | 7 +- src/app/controller.cpp | 17 +- src/app/main.cpp | 259 +- src/app/quit_confirmation.hpp | 63 - src/audio/original.cpp | 26 +- src/audio/original.hpp | 18 - src/audio/sound_driver.cpp | 290 -- src/cli/console/windows_info.cpp | 4 +- src/cli/console/windows_start.cpp | 10 +- src/cli/main.cpp | 87 +- src/content/digest.cpp | 63 - src/content/digest.hpp | 7 - src/content/package.cpp | 134 - src/content/package.hpp | 15 - src/content/save.cpp | 263 -- src/content/save.hpp | 23 - src/editor/CMakeLists.txt | 118 - src/editor/archive.cpp | 326 --- src/editor/archive.hpp | 28 - src/editor/comparison.cpp | 307 --- src/editor/comparison.hpp | 11 - src/editor/images.cpp | 316 --- src/editor/images.hpp | 22 - src/editor/main.cpp | 174 -- src/editor/mcp.cpp | 397 --- src/editor/mcp.hpp | 28 - src/editor/options.cpp | 578 ---- src/editor/options.hpp | 16 - src/editor/regulations.cpp | 250 -- src/editor/regulations.hpp | 10 - src/editor/session.cpp | 597 ----- src/editor/session.hpp | 48 - src/editor/types.hpp | 75 - src/editor/ui.cpp | 2369 ----------------- src/editor/ui.hpp | 11 - src/editor/version.hpp | 9 - src/editor/world.cpp | 555 ---- src/editor/world.hpp | 42 - src/formats/audio_layout.hpp | 10 - src/formats/binary.cpp | 3 - src/formats/content.cpp | 69 - src/formats/content.hpp | 54 - src/formats/executable_layout.hpp | 7 +- src/formats/font.cpp | 7 - src/formats/le.cpp | 14 +- src/formats/le.hpp | 42 +- src/formats/m3d.cpp | 11 +- src/formats/m3d.hpp | 1 - src/formats/native_file.cpp | 64 - src/formats/native_file.hpp | 7 - src/formats/native_state.cpp | 195 -- src/formats/native_state.hpp | 11 - src/formats/palette.cpp | 6 - src/formats/textd.cpp | 6 - src/formats/vga.cpp | 13 +- src/game/highscore.cpp | 30 +- src/game/highscore.hpp | 4 +- src/game/memory.hpp | 7 - src/game/messages.cpp | 10 - src/game/messages.hpp | 6 - src/game/random.hpp | 8 - src/game/reality_motion.cpp | 57 - src/game/reality_motion.hpp | 21 +- src/game/reschedule.cpp | 9 +- src/game/reschedule.hpp | 4 +- src/game/save.cpp | 6 +- src/game/state.hpp | 1 - src/import/CMakeLists.txt | 59 - src/import/assets.cpp | 335 --- src/import/assets.hpp | 11 - src/import/classic.cpp | 532 ---- src/import/classic.hpp | 18 - src/import/detail.hpp | 83 - src/import/main.cpp | 83 - src/import/obw.cpp | 699 ----- src/import/obw.hpp | 41 - src/import/save.cpp | 207 -- src/import/save.hpp | 9 - src/launch/fltd.cpp | 12 +- src/launch/fltd.hpp | 2 +- src/launch/fltd_map.inc | 3 - src/launch/game_data.cpp | 3 +- src/launch/launcher.cpp | 97 - src/launch/launcher.hpp | 6 - src/launch/launcher_rmlui.cpp | 508 ---- src/launch/launcher_ui.hpp | 27 - src/launch/mods.cpp | 190 -- src/launch/mods.hpp | 41 - src/launch/process.cpp | 115 - src/launch/process.hpp | 11 - src/launch/rml_path.hpp | 35 - src/launch/rml_video.cpp | 236 -- src/launch/rml_video.hpp | 71 - src/launch/rmlui.cmake | 49 - src/launch/startup_error.hpp | 10 - src/ui/desk_state.cpp | 3 +- src/ui/host_path.hpp | 13 - src/ui/save_load.cpp | 49 +- src/ui/save_load.hpp | 1 - src/ui/settings.cpp | 32 +- src/ui/setup.cpp | 3 - src/ui/sportschau.cpp | 9 - tests/editor_comparison_tests.cpp | 258 -- tests/editor_core_tests.cpp | 292 -- tests/editor_gui_smoke.py | 315 --- tests/editor_regulations_tests.cpp | 164 -- tests/editor_startup_smoke.py | 72 - tests/fltd_translation_unit_tests.cpp | 51 - tests/host_path_display_unit_tests.cpp | 25 - tests/launcher_document_tests.cpp | 115 - tests/launcher_gui_smoke.cpp | 33 - tests/native_content_tests.cpp | 160 -- tests/native_runtime_tests.cpp | 230 -- tests/obw_classic_installation_tests.cpp | 124 - tests/obw_import_tests.cpp | 355 --- tests/package_tests.py | 31 +- tests/quit_confirmation_unit_tests.cpp | 60 - tests/reschedule_tests.cpp | 5 - tests/runtime_fixture_tables.hpp | 5 +- tools/package/make_editor_package.py | 127 - tools/package/make_package.py | 18 +- tools/package/make_source_package.py | 28 +- tools/public_release/check_public_tree.py | 172 +- tools/public_release/test_public_tree.py | 17 - 255 files changed, 311 insertions(+), 21131 deletions(-) delete mode 100644 .github/workflows/editor.yml delete mode 100644 assets/editor/editor.rml delete mode 100644 assets/editor/theme.rcss delete mode 100644 assets/launcher/launcher.rml delete mode 100644 assets/launcher/provenance.json delete mode 100644 assets/launcher/stadium.tga delete mode 100644 assets/launcher/theme.rcss delete mode 100644 docs/EDITOR.md delete mode 100644 docs/ENGINE_SPLIT.md delete mode 100644 docs/formats/obw/classic-v1.md delete mode 100644 docs/formats/obw/editor-v1.md delete mode 100644 docs/formats/obw/import.md delete mode 100644 docs/formats/obw/runtime-0.2.md delete mode 100644 docs/formats/obw/schema/1.0/asset-index.json delete mode 100644 docs/formats/obw/schema/1.0/calendar.json delete mode 100644 docs/formats/obw/schema/1.0/classic-bytes.json delete mode 100644 docs/formats/obw/schema/1.0/classic-driver.json delete mode 100644 docs/formats/obw/schema/1.0/classic-highscore.json delete mode 100644 docs/formats/obw/schema/1.0/classic-inventory.json delete mode 100644 docs/formats/obw/schema/1.0/classic-layout.json delete mode 100644 docs/formats/obw/schema/1.0/classic-palette.json delete mode 100644 docs/formats/obw/schema/1.0/classic-resources.json delete mode 100644 docs/formats/obw/schema/1.0/classic-rng.json delete mode 100644 docs/formats/obw/schema/1.0/classic-seal.json delete mode 100644 docs/formats/obw/schema/1.0/classic-session.json delete mode 100644 docs/formats/obw/schema/1.0/classic-settings.json delete mode 100644 docs/formats/obw/schema/1.0/classic-startup.json delete mode 100644 docs/formats/obw/schema/1.0/classic-state.json delete mode 100644 docs/formats/obw/schema/1.0/clubs.json delete mode 100644 docs/formats/obw/schema/1.0/common.json delete mode 100644 docs/formats/obw/schema/1.0/competitions.json delete mode 100644 docs/formats/obw/schema/1.0/contracts.json delete mode 100644 docs/formats/obw/schema/1.0/finance.json delete mode 100644 docs/formats/obw/schema/1.0/manifest.json delete mode 100644 docs/formats/obw/schema/1.0/nations.json delete mode 100644 docs/formats/obw/schema/1.0/players.json delete mode 100644 docs/formats/obw/schema/1.0/portrait-set.json delete mode 100644 docs/formats/obw/schema/1.0/rules.json delete mode 100644 docs/formats/obw/schema/1.0/save-integrity.json delete mode 100644 docs/formats/obw/schema/1.0/save-manifest.json delete mode 100644 docs/formats/obw/schema/1.0/stadiums.json delete mode 100644 docs/formats/obw/schema/1.0/staff.json delete mode 100644 docs/formats/obw/schema/1.1/editor-world.json delete mode 100644 docs/licenses/FreeType-BDF.txt delete mode 100644 docs/licenses/FreeType-FTL.txt delete mode 100644 docs/licenses/FreeType-PCF.txt delete mode 100644 docs/licenses/FreeType-zlib.txt delete mode 100644 docs/licenses/FreeType.txt delete mode 100644 docs/licenses/LunaSVG.txt delete mode 100644 docs/licenses/PlutoVG.txt delete mode 100644 docs/licenses/RmlUi-Khronos.txt delete mode 100644 docs/licenses/RmlUi-containers.txt delete mode 100644 docs/licenses/RmlUi-fonts.txt delete mode 100644 docs/licenses/RmlUi.txt delete mode 100644 docs/licenses/SDL2_image.txt delete mode 100644 docs/licenses/cpp-httplib.txt delete mode 100644 docs/licenses/libwebp-PATENTS.txt delete mode 100644 docs/licenses/libwebp.txt delete mode 100644 docs/licenses/nlohmann-json.txt delete mode 100644 docs/licenses/pugixml.txt delete mode 100644 docs/licenses/stb-image.txt delete mode 100644 docs/qa/editor-comparison/README.md delete mode 100644 docs/qa/editor-comparison/before-players-0.5.0.png delete mode 100644 docs/qa/editor-comparison/columns-midnight-de.png delete mode 100644 docs/qa/editor-comparison/leagues-matchday-de.png delete mode 100644 docs/qa/editor-comparison/players-midnight-de.png delete mode 100644 docs/qa/editor-comparison/players-scroll-midnight-de.png delete mode 100644 docs/qa/editor-comparison/teams-silver-en.png delete mode 100644 docs/qa/editor-dropdown-arrow/README.md delete mode 100644 docs/qa/editor-dropdown-arrow/after-dropdown.png delete mode 100644 docs/qa/editor-dropdown-arrow/after-matchday-1440x900.png delete mode 100644 docs/qa/editor-dropdown-arrow/after-midnight-1080x720.png delete mode 100644 docs/qa/editor-dropdown-arrow/after-midnight-1440x900.png delete mode 100644 docs/qa/editor-dropdown-arrow/after-midnight-2560x1600.png delete mode 100644 docs/qa/editor-dropdown-arrow/after-silver-1440x900.png delete mode 100644 docs/qa/editor-dropdown-arrow/after-toolbar.png delete mode 100644 docs/qa/editor-dropdown-arrow/before-0.5.4.png delete mode 100644 docs/qa/editor-dropdown-arrow/native-captures.json delete mode 100644 docs/qa/editor-images/README.md delete mode 100644 docs/qa/editor-images/before-club-image.png delete mode 100644 docs/qa/editor-images/linked-asset.png delete mode 100644 docs/qa/editor-images/preview-matchday-de.png delete mode 100644 docs/qa/editor-images/preview-midnight-de.png delete mode 100644 docs/qa/editor-images/preview-silver-en.png delete mode 100644 docs/qa/editor-navigation/README.md delete mode 100644 docs/qa/editor-navigation/before-options-0.5.3.png delete mode 100644 docs/qa/editor-navigation/dropdown-matchday-de.png delete mode 100644 docs/qa/editor-navigation/dropdown-midnight-de.png delete mode 100644 docs/qa/editor-navigation/dropdown-silver-en.png delete mode 100644 docs/qa/editor-navigation/history-midnight-de.png delete mode 100644 docs/qa/editor-navigation/idle-cpu-linux.json delete mode 100644 docs/qa/editor-navigation/options-midnight-de.png delete mode 100644 docs/qa/editor-poc/README.md delete mode 100644 docs/qa/editor-poc/clubs-matchday-de.png delete mode 100644 docs/qa/editor-poc/clubs-midnight-de.png delete mode 100644 docs/qa/editor-poc/clubs-silver-de.png delete mode 100644 docs/qa/editor-poc/gui-search.png delete mode 100644 docs/qa/editor-poc/image-editor-matchday-de.png delete mode 100644 docs/qa/editor-poc/image-editor-midnight-de.png delete mode 100644 docs/qa/editor-poc/image-editor-silver-de.png delete mode 100644 docs/qa/editor-poc/options-matchday-de.png delete mode 100644 docs/qa/editor-poc/options-midnight-de.png delete mode 100644 docs/qa/editor-poc/options-silver-de.png delete mode 100644 docs/qa/editor-poc/players-silver-en.png delete mode 100644 docs/qa/editor-poc/roster-matchday-de.png delete mode 100644 docs/qa/editor-regulations/README.md delete mode 100644 docs/qa/editor-regulations/before-competitions-0.5.1.png delete mode 100644 docs/qa/editor-regulations/game-rules-midnight-de.png delete mode 100644 docs/qa/editor-regulations/make_fixture.py delete mode 100644 docs/qa/editor-regulations/qualification-midnight-de.png delete mode 100644 docs/qa/editor-regulations/rules-matchday-de.png delete mode 100644 docs/qa/editor-regulations/rules-midnight-de.png delete mode 100644 docs/qa/editor-regulations/rules-silver-en.png delete mode 100644 docs/release/0.2/RELEASE_NOTES.md delete mode 100644 docs/release/editor-0.5/RELEASE_NOTES.md delete mode 100644 src/app/quit_confirmation.hpp delete mode 100644 src/content/digest.cpp delete mode 100644 src/content/digest.hpp delete mode 100644 src/content/package.cpp delete mode 100644 src/content/package.hpp delete mode 100644 src/content/save.cpp delete mode 100644 src/content/save.hpp delete mode 100644 src/editor/CMakeLists.txt delete mode 100644 src/editor/archive.cpp delete mode 100644 src/editor/archive.hpp delete mode 100644 src/editor/comparison.cpp delete mode 100644 src/editor/comparison.hpp delete mode 100644 src/editor/images.cpp delete mode 100644 src/editor/images.hpp delete mode 100644 src/editor/main.cpp delete mode 100644 src/editor/mcp.cpp delete mode 100644 src/editor/mcp.hpp delete mode 100644 src/editor/options.cpp delete mode 100644 src/editor/options.hpp delete mode 100644 src/editor/regulations.cpp delete mode 100644 src/editor/regulations.hpp delete mode 100644 src/editor/session.cpp delete mode 100644 src/editor/session.hpp delete mode 100644 src/editor/types.hpp delete mode 100644 src/editor/ui.cpp delete mode 100644 src/editor/ui.hpp delete mode 100644 src/editor/version.hpp delete mode 100644 src/editor/world.cpp delete mode 100644 src/editor/world.hpp delete mode 100644 src/formats/audio_layout.hpp delete mode 100644 src/formats/content.cpp delete mode 100644 src/formats/content.hpp delete mode 100644 src/formats/native_file.cpp delete mode 100644 src/formats/native_file.hpp delete mode 100644 src/formats/native_state.cpp delete mode 100644 src/formats/native_state.hpp delete mode 100644 src/import/CMakeLists.txt delete mode 100644 src/import/assets.cpp delete mode 100644 src/import/assets.hpp delete mode 100644 src/import/classic.cpp delete mode 100644 src/import/classic.hpp delete mode 100644 src/import/detail.hpp delete mode 100644 src/import/main.cpp delete mode 100644 src/import/obw.cpp delete mode 100644 src/import/obw.hpp delete mode 100644 src/import/save.cpp delete mode 100644 src/import/save.hpp delete mode 100644 src/launch/launcher.cpp delete mode 100644 src/launch/launcher.hpp delete mode 100644 src/launch/launcher_rmlui.cpp delete mode 100644 src/launch/launcher_ui.hpp delete mode 100644 src/launch/mods.cpp delete mode 100644 src/launch/mods.hpp delete mode 100644 src/launch/process.cpp delete mode 100644 src/launch/process.hpp delete mode 100644 src/launch/rml_path.hpp delete mode 100644 src/launch/rml_video.cpp delete mode 100644 src/launch/rml_video.hpp delete mode 100644 src/launch/rmlui.cmake delete mode 100644 src/launch/startup_error.hpp delete mode 100644 src/ui/host_path.hpp delete mode 100644 tests/editor_comparison_tests.cpp delete mode 100644 tests/editor_core_tests.cpp delete mode 100644 tests/editor_gui_smoke.py delete mode 100644 tests/editor_regulations_tests.cpp delete mode 100644 tests/editor_startup_smoke.py delete mode 100644 tests/fltd_translation_unit_tests.cpp delete mode 100644 tests/host_path_display_unit_tests.cpp delete mode 100644 tests/launcher_document_tests.cpp delete mode 100644 tests/launcher_gui_smoke.cpp delete mode 100644 tests/native_content_tests.cpp delete mode 100644 tests/native_runtime_tests.cpp delete mode 100644 tests/obw_classic_installation_tests.cpp delete mode 100644 tests/obw_import_tests.cpp delete mode 100644 tests/quit_confirmation_unit_tests.cpp delete mode 100644 tools/package/make_editor_package.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0484a1..d782334 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: Build without game data on: push: - branches: [main, assist/codex-0.2-launcher] + branches: [main] pull_request: workflow_dispatch: workflow_call: @@ -37,7 +37,7 @@ jobs: if: runner.os == 'Linux' run: sudo apt-get update && sudo apt-get install -y build-essential git cmake ninja-build pkg-config libgtk-3-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxfixes-dev libxss-dev libasound2-dev libpulse-dev libgl1-mesa-dev libudev-dev - name: Verify source export - run: python3 tools/public_release/check_public_tree.py --root . --history --revision HEAD + run: python3 tools/public_release/check_public_tree.py --root . --history - name: Set up MSVC x64 if: runner.os == 'Windows' uses: ilammy/msvc-dev-cmd@a102174a2b586eec2ea151a69e6fd14404a8ce7c # v1.13.0 @@ -66,12 +66,6 @@ jobs: run: cmake --build build --config Release --parallel 2 - name: Run synthetic tests and report data tests as skipped run: ctest --test-dir build -C Release --output-on-failure --output-junit test-results.xml - - name: Windows Server launcher with WARP software graphics - if: runner.os == 'Windows' - env: - SDL_VIDEODRIVER: windows - OPENBMH_RML_DRIVER: warp - run: build/launcher_gui_smoke.exe - name: Package products and licenses run: python3 tools/package/make_package.py --build build --out dist --platform ${{ matrix.platform }} - name: Package corresponding source and pinned dependencies diff --git a/.github/workflows/editor.yml b/.github/workflows/editor.yml deleted file mode 100644 index c839fb8..0000000 --- a/.github/workflows/editor.yml +++ /dev/null @@ -1,127 +0,0 @@ -# SPDX-License-Identifier: GPL-3.0-only -name: OBW Editor -on: - push: - branches: [main, feat/obw-editor-poc] - tags: ['editor-v*'] - workflow_dispatch: -permissions: - contents: read -concurrency: - group: obw-editor-${{ github.ref }} - cancel-in-progress: true -jobs: - editor: - strategy: - fail-fast: false - matrix: - include: - - runner: ubuntu-24.04 - platform: linux-x64 - - runner: windows-2022 - platform: windows-x64 - - runner: macos-14 - platform: macos-arm64 - runs-on: ${{ matrix.runner }} - timeout-minutes: 45 - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - with: - fetch-depth: 0 - persist-credentials: false - - name: Check public sources - run: python3 tools/public_release/check_public_tree.py --root . --history --revision HEAD - - name: Existing package boundaries - if: runner.os == 'Linux' - run: python3 tests/package_tests.py - - name: Linux dependencies - if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install -y ninja-build pkg-config libgtk-3-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxfixes-dev libxss-dev libgl1-mesa-dev xvfb xauth xdotool - - name: MSVC x64 - if: runner.os == 'Windows' - uses: ilammy/msvc-dev-cmd@a102174a2b586eec2ea151a69e6fd14404a8ce7c - with: - arch: x64 - - name: Configure - shell: bash - run: | - args=() - if [[ "$RUNNER_OS" == "macOS" ]]; then args+=(-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0); fi - cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DOPENBMH_BUILD_EDITOR=ON -DBMH_DATA= "${args[@]}" - - name: Check portable Windows WebP instructions - if: runner.os == 'Windows' - shell: python - run: | - import json, pathlib, re - commands = json.loads(pathlib.Path('build/compile_commands.json').read_text()) - simd = [c for c in commands if 'libwebp' in c['file'] and re.search(r'_sse(?:2|41)\.c$', c['file'])] - assert simd, 'No WebP runtime-dispatched SIMD sources found' - assert all(not re.search(r'/arch:AVX', c['command'], re.I) for c in simd), 'WebP SSE paths must run without AVX' - print('WebP SSE paths retain the Windows x64 baseline and runtime CPU detection') - - name: Build editor and synthetic tests - run: cmake --build build --target openbmh_editor launcher_gui_smoke editor_core_tests editor_comparison_tests editor_regulations_tests --parallel 2 - - name: Native editor core and MCP tests - run: ctest --test-dir build -C Release -R "^editor_(core_tests|comparison_tests|regulations_tests|version)$" --output-on-failure --output-junit editor-tests.xml - - name: Linux native GUI smoke - if: runner.os == 'Linux' - run: | - xvfb-run -a -s '-screen 0 1600x1000x24' python3 tests/editor_gui_smoke.py build/OpenBMHEditor - xvfb-run -a -s '-screen 0 1600x1000x24' build/OpenBMHEditor --demo --page players --settings build/test-options.json --screenshot build/editor.png --quit-after-ms 1800 - xvfb-run -a -s '-screen 0 1600x1000x24' python3 tests/editor_startup_smoke.py build/OpenBMHEditor --launcher build/launcher_gui_smoke - - name: Windows Server native GUI and WARP fallback - if: runner.os == 'Windows' - run: python3 tests/editor_startup_smoke.py build/OpenBMHEditor.exe --launcher build/launcher_gui_smoke.exe - - name: Package editor - shell: bash - run: | - args=() - if [[ "$RUNNER_OS" == "Linux" ]]; then args+=(--source-package); fi - python3 tools/package/make_editor_package.py --build build --out dist --platform ${{ matrix.platform }} "${args[@]}" - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 - with: - name: OpenBMHEditor-${{ matrix.platform }} - path: dist/*.zip - if-no-files-found: error - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 - if: always() - with: - name: editor-checks-${{ matrix.platform }} - path: | - build/editor-tests.xml - build/editor.png - release: - if: startsWith(github.ref, 'refs/tags/editor-v') - needs: editor - runs-on: ubuntu-24.04 - permissions: - contents: write - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - with: - persist-credentials: false - - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 - with: - pattern: OpenBMHEditor-* - path: dist - merge-multiple: true - - name: Prepare editor release for review - shell: python - env: - GH_TOKEN: ${{ github.token }} - RELEASE_TAG: ${{ github.ref_name }} - run: | - import os, pathlib, re, subprocess - tag = os.environ['RELEASE_TAG'] - match = re.fullmatch(r'editor-v([0-9]+)\.([0-9]+)\.[0-9]+', tag) - if not match: - raise SystemExit('Invalid editor release tag') - version = tag.removeprefix('editor-v') - notes = pathlib.Path('docs/release') / ('editor-' + match[1] + '.' + match[2]) / 'RELEASE_NOTES.md' - packages = sorted(pathlib.Path('dist').glob('*.zip')) - expected = {'OpenBMHEditor-' + version + '-' + kind + '.zip' - for kind in ('windows-x64', 'linux-x64', 'macos-arm64', 'source')} - if {p.name for p in packages} != expected or not notes.is_file(): - raise SystemExit('Missing or mismatched editor release files') - subprocess.run(['gh', 'release', 'create', tag, *map(str, packages), '--draft', - '--verify-tag', '--title', 'OpenBMH Editor ' + version, - '--notes-file', str(notes)], check=True) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39c9bb1..6c9ff24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,23 +27,14 @@ jobs: path: dist merge-multiple: true - name: Create draft for review - shell: python env: GH_TOKEN: ${{ github.token }} RELEASE_TAG: ${{ github.ref_name }} run: | - import os, pathlib, re, subprocess - tag = os.environ['RELEASE_TAG'] - match = re.fullmatch(r'v([0-9]+)\.([0-9]+)\.[0-9]+(?:[-+][A-Za-z0-9.-]+)?', tag) - if not match: - raise SystemExit('Invalid release tag') - notes = pathlib.Path('docs/release') / (match[1] + '.' + match[2]) / 'RELEASE_NOTES.md' - packages = sorted(pathlib.Path('dist').glob('*.zip')) - expected = {'OpenBMH-' + tag[1:] + '-' + kind + '.zip' - for kind in ('windows-x64', 'linux-x64', 'macos-arm64', 'source')} - if {p.name for p in packages} != expected: - raise SystemExit('Missing, unexpected or mismatched release package') - if not notes.is_file(): - raise SystemExit('Release notes missing for ' + tag) - subprocess.run(['gh', 'release', 'create', tag, *map(str, packages), '--draft', - '--verify-tag', '--title', 'OpenBMH ' + tag, '--notes-file', str(notes)], check=True) + for package in dist/*.zip; do + case "$(basename "$package")" in + OpenBMH-${RELEASE_TAG#v}-*.zip) ;; + *) echo "Release tag and package version differ" >&2; exit 1 ;; + esac + done + gh release create "$RELEASE_TAG" dist/*.zip --draft --verify-tag --title "OpenBMH $RELEASE_TAG" --notes-file docs/release/0.1/RELEASE_NOTES.md diff --git a/CMakeLists.txt b/CMakeLists.txt index f3bac51..9b107ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,6 @@ # SPDX-License-Identifier: GPL-3.0-only cmake_minimum_required(VERSION 3.24) -project(OpenBMH VERSION 0.2.1 LANGUAGES CXX C) -if(APPLE) - enable_language(OBJC OBJCXX) - set(CMAKE_OBJCXX_STANDARD 20) - set(CMAKE_OBJCXX_STANDARD_REQUIRED ON) -endif() +project(OpenBMH VERSION 0.1.2 LANGUAGES CXX C) # the one place of the version: --version of both programs and the window title (src/version.hpp) add_compile_definitions(OPENBMH_VERSION="${PROJECT_VERSION}") @@ -201,10 +196,6 @@ bmh_add_data_test(NAME highscore_tests REQUIRED_OPTIONS BMH_TEST_HIGHSCORE_TESTS # Engine core: file formats and game logic, no platform dependencies add_library(bmhcore STATIC src/formats/binary.cpp - src/formats/content.cpp - src/formats/native_state.cpp - src/formats/native_file.cpp - src/cli/json.cpp src/formats/palette.cpp src/formats/vga.cpp src/formats/font.cpp @@ -273,10 +264,10 @@ else() target_compile_options(bmhcore PRIVATE -Wall -Wextra) endif() -add_executable(openbmh_inspect src/main.cpp) -target_link_libraries(openbmh_inspect PRIVATE bmhcore ${BMH_SDL_TARGET}) +add_executable(openbmh src/main.cpp) +target_link_libraries(openbmh PRIVATE bmhcore ${BMH_SDL_TARGET}) if(MSVC) - target_compile_options(openbmh_inspect PRIVATE /utf-8) + target_compile_options(openbmh PRIVATE /utf-8) endif() # --- Game data launcher (src/launch): find, unpack and check the original game data --------- @@ -325,12 +316,6 @@ if(MSVC) endif() add_subdirectory(src/ui) -add_subdirectory(src/import) -option(OPENBMH_BUILD_EDITOR "Build the standalone OBW editor" OFF) -if(OPENBMH_BUILD_EDITOR) - add_subdirectory(src/editor) -endif() -target_link_libraries(bmhui PUBLIC bmh_content) add_executable(driver_barrier_tests tests/driver_barrier_tests.cpp) target_link_libraries(driver_barrier_tests PRIVATE bmhcore) add_test(NAME driver_barrier_tests COMMAND driver_barrier_tests) @@ -453,15 +438,10 @@ add_executable(openbmh_play src/app/main.cpp ${BMH_APP_CONTROLLER_SOURCE} ${BMH_APP_SESSION_SDL_SOURCE}) -target_link_libraries(openbmh_play PRIVATE bmhui bmh_launcher bmhlaunch_dialog openbmh_audio ${BMH_SDL_TARGET}) +target_link_libraries(openbmh_play PRIVATE bmhui bmhlaunch_dialog openbmh_audio ${BMH_SDL_TARGET}) # a game without a console window on double-click (SDL2main provides WinMain); started from a # console it attaches to that one for --version, --help and start errors (src/app/main.cpp) -set_target_properties(openbmh_play PROPERTIES WIN32_EXECUTABLE TRUE OUTPUT_NAME OpenBMH) -if(CMAKE_CONFIGURATION_TYPES) - add_custom_command(TARGET openbmh_play POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_BINARY_DIR}/assets/launcher" - "$/assets/launcher") -endif() +set_target_properties(openbmh_play PROPERTIES WIN32_EXECUTABLE TRUE) if(MSVC) target_compile_options(openbmh_play PRIVATE /utf-8) # App sources also compile in headless tests/helpers without target /utf-8. @@ -641,7 +621,7 @@ add_executable(openbmh_cli src/cli/seat_hub.cpp src/cli/json.cpp ${BMH_APP_SESSION_SOURCE}) -target_link_libraries(openbmh_cli PRIVATE bmh_launcher bmhui bmhlaunch) +target_link_libraries(openbmh_cli PRIVATE bmhui bmhlaunch) if(WIN32) target_link_libraries(openbmh_cli PRIVATE ws2_32) # --listen (Winsock) endif() @@ -1068,15 +1048,12 @@ bmh_add_data_test(NAME sportschau_app_tests REQUIRED_OPTIONS BMH_TEST_SPORTSCHAU install(TARGETS openbmh_play openbmh_cli RUNTIME DESTINATION . COMPONENT Runtime) install(FILES README.md LICENSE THIRD_PARTY_NOTICES.md ACKNOWLEDGEMENTS.md CONTRIBUTING.md DESTINATION . COMPONENT Runtime) -install(DIRECTORY docs/ DESTINATION docs COMPONENT Runtime PATTERN "qa" EXCLUDE) +install(DIRECTORY docs/ DESTINATION docs COMPONENT Runtime) if(MSVC) set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION .) set(CMAKE_INSTALL_SYSTEM_RUNTIME_COMPONENT Runtime) set(CMAKE_INSTALL_UCRT_LIBRARIES TRUE) include(InstallRequiredSystemLibraries) - if(OPENBMH_BUILD_EDITOR) - install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION . COMPONENT Editor) - endif() endif() add_executable(tax_animation_unit_tests tests/tax_animation_unit_tests.cpp) @@ -1092,25 +1069,6 @@ if(MSVC) endif() add_test(NAME launch_unit_tests COMMAND launch_unit_tests) -add_executable(fltd_translation_unit_tests tests/fltd_translation_unit_tests.cpp) -target_link_libraries(fltd_translation_unit_tests PRIVATE bmhlaunch) -add_test(NAME fltd_translation_unit_tests COMMAND fltd_translation_unit_tests) - -add_executable(host_path_display_unit_tests tests/host_path_display_unit_tests.cpp) -target_include_directories(host_path_display_unit_tests PRIVATE src) -if(MSVC) - target_compile_options(host_path_display_unit_tests PRIVATE /utf-8) -endif() -add_test(NAME host_path_display_unit_tests COMMAND host_path_display_unit_tests) - -add_executable(quit_confirmation_unit_tests tests/quit_confirmation_unit_tests.cpp) -target_include_directories(quit_confirmation_unit_tests PRIVATE src) -target_link_libraries(quit_confirmation_unit_tests PRIVATE ${BMH_SDL_TARGET}) -if(MSVC) - target_compile_options(quit_confirmation_unit_tests PRIVATE /utf-8) -endif() -add_test(NAME quit_confirmation_unit_tests COMMAND quit_confirmation_unit_tests) - add_executable(fixture_table_tests tests/fixture_table_tests.cpp) target_link_libraries(fixture_table_tests PRIVATE bmhcore) add_test(NAME fixture_table_unit_tests COMMAND fixture_table_tests) @@ -1119,10 +1077,8 @@ bmh_add_data_test(NAME english_fixture_table_data_tests DATA_DIR "${BMH_ENGLISH_ COMMAND fixture_table_tests "${BMH_ENGLISH_DATA}") # Private build paths are inputs to the source-package tool, never shipped in its manifest. -FetchContent_GetProperties(rmlui) -FetchContent_GetProperties(freetype) set(package_dependencies "{}") -foreach(dependency IN ITEMS SDL2 miniz lzma_sdk nfd rmlui freetype) +foreach(dependency IN ITEMS SDL2 miniz lzma_sdk nfd) string(REPLACE "\\" "/" dependency_path "${${dependency}_SOURCE_DIR}") if(dependency STREQUAL "SDL2" AND sdl2_SOURCE_DIR) set(dependency_path "${sdl2_SOURCE_DIR}") diff --git a/README.md b/README.md index 6e0f217..8ef4baf 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,10 @@ # OpenBMH -The separate [OpenBMH Editor 0.5.5](docs/EDITOR.md) uses native RmlUI, -supports German/English, three themes, image editing and a local MCP server. -Download its own `editor-v0.5.5` release or build with -`-DOPENBMH_BUILD_EDITOR=ON`. Edited worlds are independent of the Classic runtime. - A modern and faithful open source rebuild of the *Bundesliga Manager Hattrick* engine. OpenBMH is a standalone C++20 engine with an SDL2 interface for *Bundesliga Manager Hattrick* (1994/95) and its English edition, *Football Limited*. The project develops a playable reconstruction alongside a platform for new rules, content and interfaces. Keeping the familiar game enjoyable and making it easier to extend are equally important goals. -Version 0.2 imports a game installation supplied by the player into a portable Classic mod. The running game reads the converted OBW content. Game data, artwork, music, manuals and the original executable are not distributed with OpenBMH. Its aim is recognisable behaviour and plausible results; documented compatibility decisions and safety fixes take precedence over reproducing every original fault. +The engine reads a game installation supplied by the player. Game data, artwork, music, manuals and the original executable are not distributed with OpenBMH. Its aim is recognisable behaviour and plausible results; documented compatibility decisions and safety fixes take precedence over reproducing every original fault. This is an independent community project, with no affiliation with or endorsement by the original rights holders, the DFL or the Bundesliga. It is an engine implementation, not an official source release or a remaster. @@ -17,26 +12,18 @@ This is an independent community project, with no affiliation with or endorsemen Check the [releases page](https://github.com/Weyoune/openbmh/releases) for available packages and their platform notes. A Windows package uses the name `OpenBMH--windows-x64.zip`. Availability and native validation are stated for each release; source build instructions do not establish platform support on their own. -These instructions describe **0.2.1**, released separately from the editor. See the [0.2 release notes](docs/release/0.2/RELEASE_NOTES.md). +1. Have your own supported game installation available. +2. Extract the OpenBMH package into a separate directory, or alongside the game files. +3. Start `openbmh_play` (`openbmh_play.exe` on Windows). Select the game directory or executable when prompted. A ZIP or 7z containing one game installation can also be selected. -1. Extract OpenBMH into a writable directory. -2. Start `OpenBMH.exe` on Windows, or `OpenBMH` on Linux/macOS. Its RmlUI launcher initially has an empty **Name | Art** list. The night-stadium design uses a small version label in the lower-right corner. -3. Choose **Add**, select your own BMH or Football Limited installation, and enter a unique mod name and starting display year. The default names are `BMH-classic` and `FTDL-classic` (the English format identifier is `FLTD-classic`). -4. Optionally transfer saved games and settings from the installation or another folder. The import reports files it could not migrate. -5. Select the resulting Classic mod and choose **Start**. After import, its original installation is no longer needed for play. - -Converted contents live in `mods//content.obw` next to the program. Saves (`.obs`), settings (`.obsettings`), desktop layouts (`.oblayout`) and high scores (`.obscore`) live separately in `userdata//`. **Delete** asks before removing a mod and retains personal data; importing identical contents reconnects them. **Rename** renames the mod directory. Externally modified Classic packages are rejected; import the installation again to repair them. Keep backups of the portable directory. - -For direct startup or the console: +From a terminal: ```sh -./OpenBMH --mod "mods/BMH-classic/content.obw" -./openbmh_cli --console --mod "mods/BMH-classic/content.obw" +openbmh_play --data "path/to/game" --save-directory "path/to/saves" +openbmh_cli --console --data "path/to/game" --saves "path/to/saves" ``` -Both frontends use native content and saves. Use **Add** to migrate older files rather than passing an original executable or `.FBM` to the running game. The starting year changes the Classic year display; original weekday and scheduling rules are preserved. Modern worlds are reserved for a later version. - -The launcher uses SDL2 and RmlUI, with Direct3D 11 and automatic WARP software fallback on Windows, OpenGL 3.3 on Linux and OpenGL 4.1 on macOS; keep its `assets` directory next to the executable. Folder selection uses the operating system's dialog. See the [0.2 migration contract](docs/formats/obw/runtime-0.2.md) for compatibility and validation limits. Platform builds and automated tests are separate from human interactive acceptance on Windows and macOS. +Use a writable save directory and keep backups of existing games. German editions are the primary compatibility target. **Football Limited / English data support is experimental**; original V2.20 save import and some edition-specific behaviour remain limited. See the [0.1 release notes](docs/release/0.1/RELEASE_NOTES.md). ## Features and direction @@ -44,11 +31,9 @@ The graphical client and console share career management, matches, transfers, co Version 0.1 establishes the playable engine and development interfaces. Later milestones introduce an open data format and typed model, configurable rules, a scalable interface and independently distributable content. These are goals rather than delivery dates; the [roadmap](docs/ROADMAP.md) describes their dependencies. -The standalone [`openbmh_import` tool](docs/formats/obw/import.md) produces the same complete Classic content packages, including media and frozen player portrait recipes. A mod directory contains its sealed `content.obw`; legacy save migration is performed through the launcher. - ## Build from source -The following recipes target version 0.2. They require Git, CMake 3.24 or newer and a C++20 compiler. The first configure fetches pinned open-source dependencies. Native build and package results are documented for each release; these instructions do not claim an untested platform result. +The following recipes target v0.1.2. They require Git, CMake 3.24 or newer and a C++20 compiler. The first configure fetches pinned open-source dependencies. Native build and package results are documented for each release; these instructions do not claim an untested platform result. Clone the public repository, then run the commands for your system: @@ -65,7 +50,7 @@ Install Visual Studio 2022 or its Build Tools with **Desktop development with C+ cmake -S . -B build-windows -G "Visual Studio 17 2022" -A x64 cmake --build build-windows --config Release ctest --test-dir build-windows -C Release --output-on-failure -.\build-windows\Release\OpenBMH.exe +.\build-windows\Release\openbmh_play.exe --data "path/to/game" --save-directory "path/to/saves" ``` ### Linux @@ -77,7 +62,7 @@ sudo apt install build-essential git cmake ninja-build pkg-config libgtk-3-dev l cmake -S . -B build-linux -G Ninja -DCMAKE_BUILD_TYPE=Release cmake --build build-linux ctest --test-dir build-linux --output-on-failure -./build-linux/OpenBMH +./build-linux/openbmh_play --data "path/to/game" --save-directory "path/to/saves" ``` Use a newer CMake if your distribution ships a version older than 3.24. A Linux binary can still require system libraries such as GTK3; a ZIP is not a guarantee of portability across distributions. @@ -92,7 +77,7 @@ brew install cmake ninja cmake -S . -B build-macos -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 cmake --build build-macos ctest --test-dir build-macos --output-on-failure -./build-macos/OpenBMH +./build-macos/openbmh_play --data "path/to/game" --save-directory "path/to/saves" ``` On Intel Macs omit the arm64 setting or select `x86_64`. These commands build terminal executables; they do not create a signed application bundle. @@ -118,6 +103,6 @@ The implementation grew from study of file formats and behaviour of a legally ob OpenBMH's own code and documentation are licensed under **GNU GPL version 3 only**, SPDX **GPL-3.0-only**. [LICENSE](LICENSE) contains the unchanged GPLv3 text; the example wording in its appendix does not change this project's version choice. Game content has separate ownership and is not covered by this license. -Release source is identified by the matching version tag: [v0.1.2](https://github.com/Weyoune/openbmh/tree/v0.1.2) for the published 0.1.2 version. This branch develops 0.2; it is not a published release. Binary releases must accompany or offer the corresponding source and build/relinking materials required by the applicable licenses. The tag identifies application source; it does not replace required materials for linked third-party components. +Release source is identified by the matching version tag: [v0.1.2](https://github.com/Weyoune/openbmh/tree/v0.1.2) for this version. Binary releases must accompany or offer the corresponding source and build/relinking materials required by the applicable licenses. The tag identifies application source; it does not replace required materials for linked third-party components. Bundled components retain their own licenses, including Nuked OPL3 under LGPL-2.1-or-later. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) and [ACKNOWLEDGEMENTS.md](ACKNOWLEDGEMENTS.md). diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 0190308..6014a32 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -10,21 +10,9 @@ OpenBMH's own code and documentation use GPL-3.0-only. This does not replace the | [miniz](https://github.com/richgel999/miniz/releases/tag/3.0.2) | 3.0.2 amalgamation | MIT; embedded public-domain notices remain in its source | [miniz.txt](docs/licenses/miniz.txt), [source notices](docs/licenses/miniz-source-notices.txt) | | [LZMA SDK decoder files](https://github.com/ip7z/7zip/tree/24.09/C) | Selected C files from 7-Zip 24.09 | Public domain, as marked in the selected files | [LZMA-SDK.txt](docs/licenses/LZMA-SDK.txt) | | [nativefiledialog-extended](https://github.com/btzy/nativefiledialog-extended/tree/v1.2.1) | 1.2.1 | zlib license | [nativefiledialog-extended.txt](docs/licenses/nativefiledialog-extended.txt) | -| [RmlUi](https://github.com/mikke89/RmlUi/tree/6.3) | 6.3, Core and SDL2/OpenGL backend | MIT | [RmlUi.txt](docs/licenses/RmlUi.txt), [containers](docs/licenses/RmlUi-containers.txt), [Khronos notice](docs/licenses/RmlUi-Khronos.txt) | -| [FreeType](https://github.com/freetype/freetype/tree/VER-2-13-3) | 2.13.3 | FreeType License (FTL) | [license choices](docs/licenses/FreeType.txt), [FTL](docs/licenses/FreeType-FTL.txt), [BDF](docs/licenses/FreeType-BDF.txt), [PCF](docs/licenses/FreeType-PCF.txt), [internal gzip/zlib](docs/licenses/FreeType-zlib.txt) | -| LatoLatin Regular and Bold | Unmodified fonts included with RmlUi 6.3 | SIL Open Font License 1.1 | [font notices](docs/licenses/RmlUi-fonts.txt) | -| nlohmann/json (optional editor) | 3.12.0 | MIT | [notice](docs/licenses/nlohmann-json.txt) | -| cpp-httplib (optional editor) | 0.63.0, local HTTP without TLS | MIT | [notice](docs/licenses/cpp-httplib.txt) | -| SDL2_image (optional editor) | 2.8.8, selected static codecs | zlib | [notice](docs/licenses/SDL2_image.txt) | -| stb_image (SDL2_image PNG/JPEG decoder) | Version supplied by SDL2_image 2.8.8 | MIT option | [verbatim alternatives](docs/licenses/stb-image.txt) | -| libwebp (optional editor) | SDL2_image's pinned `1.0.3-SDL` fork, commit `05b15cb8`, including upstream backported fixes | BSD-3-Clause and patent grant | [license](docs/licenses/libwebp.txt), [patents](docs/licenses/libwebp-PATENTS.txt) | -| LunaSVG / bundled PlutoVG (optional editor) | LunaSVG 3.5.0 and its tracked PlutoVG sources | MIT | [LunaSVG](docs/licenses/LunaSVG.txt), [PlutoVG](docs/licenses/PlutoVG.txt) | -| pugixml (optional editor) | 1.15 | MIT | [notice](docs/licenses/pugixml.txt) | | [Nuked OPL3](https://github.com/nukeykt/Nuked-OPL3/tree/765ec962e473aeb767e4cba74ffdc8f588ffbfe8) | Commit `765ec962e473aeb767e4cba74ffdc8f588ffbfe8` | LGPL-2.1-or-later | [LGPL-2.1.txt](docs/licenses/LGPL-2.1.txt), [copyright and source notice](docs/licenses/Nuked-OPL3-notices.txt) | -The miniz implementation provides a zlib-compatible API; it is not the zlib library. FreeType's internal gzip module includes its bundled zlib code; an external zlib library is not linked by the pinned build. SDL2 and nativefiledialog-extended use the **zlib license**, which is distinct from using zlib code. A system-library build or distributor's package can have additional runtime dependencies; its notices must match the libraries actually included. - -Portions of this software are copyright © the FreeType Project (www.freetype.org). All rights reserved. The pinned build uses the FreeType License option, with the included module notices retained. RmlUi and FreeType are linked statically; their corresponding pinned source is included in the source package. +The miniz implementation provides a zlib-compatible API; it is not the zlib library. OpenBMH does not directly link a separate zlib dependency. SDL2 and nativefiledialog-extended use the **zlib license**, which is distinct from using zlib code. A system-library build or distributor's package can have additional runtime dependencies; its notices must match the libraries actually included. Only the public-domain C decoding subset is taken from the 7-Zip source package. This statement does not describe all of 7-Zip: other parts of that upstream project have different licenses and are not included here. diff --git a/assets/editor/editor.rml b/assets/editor/editor.rml deleted file mode 100644 index df38174..0000000 --- a/assets/editor/editor.rml +++ /dev/null @@ -1,15 +0,0 @@ - - -OpenBMH Editor - -
-
OB

OpenBMH Editor

-
-

-
-
-
-
-
-
-
diff --git a/assets/editor/theme.rcss b/assets/editor/theme.rcss deleted file mode 100644 index a3e0d59..0000000 --- a/assets/editor/theme.rcss +++ /dev/null @@ -1,306 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-only */ -/* The submenu palettes are shared by every surface and control. RmlUI 6.3 - resolves these inherited custom properties when the body class changes. */ -body { - --text: #dce3e9; - --muted: #a8b8c8; - --accent: #a9dccb; - --window-top: #303c49; - --window-bottom: #1a2531; - --chrome: #d5e3ed0a; - --sidebar: #111a2426; - --panel: #111a2433; - --wash: #e3edf605; - --control-top: #c1d1e31c; - --control-bottom: #869eb312; - --input: #17232e99; - --popup: #293744; - --hover: #d0e2f226; - --selected: #a9d4c526; - --selected-hover: #a9d4c53d; - --selected-text: #e8f5ef; - --border: #e2ebf02b; - --divider: #d4e1eb12; - --accent-border: #a9d4c55c; - --focus: #8cc8ff; - --danger: #f0aaa7; - --danger-border: #f0aaa75c; - --warning: #e1c68b; - --positive: #b5dfcf; - --note: #a9d4c50a; - --modal: #283542; - --overlay: #0b11189c; - --image-stage: #1b2733; - --crop: #a9dccb; - --crop-wash: #a9dccb16; - --scrollbar: #a8b8c860; - --scrollbar-hover: #a8b8c899; - --toggle-off: #617483; - --toggle-on: #a9dccb; - margin: 0; width: 100%; height: 100%; overflow: hidden; - font-family: LatoLatin; font-size: 15dp; color: var(--text); - background-color: var(--window-bottom); - decorator: linear-gradient(155deg, var(--window-top), var(--window-bottom)); -} -body.silver { - --text: #233443; - --muted: #526779; - --accent: #25617a; - --window-top: #f0f5f9; - --window-bottom: #d4e0ea; - --chrome: #ffffff45; - --sidebar: #42627d09; - --panel: #f1f6fa80; - --wash: #42627d09; - --control-top: #ffffffb0; - --control-bottom: #bfd0e259; - --input: #ffffffad; - --popup: #f3f7fc; - --hover: #9eb9d43b; - --selected: #a3c3dd54; - --selected-hover: #a3c3dd88; - --selected-text: #193b52; - --border: #6c879c4a; - --divider: #6c879c28; - --accent-border: #356f966e; - --focus: #2b729a; - --danger: #a23f45; - --danger-border: #a23f4566; - --warning: #805b18; - --positive: #2e6953; - --note: #2e69530a; - --modal: #eaf1f7; - --overlay: #21324166; - --image-stage: #cfdae3; - --crop: #25617a; - --crop-wash: #25617a16; - --scrollbar: #6c879c88; - --scrollbar-hover: #526779bb; - --toggle-off: #91a8b8; - --toggle-on: #25617a; -} -body.matchday { - --text: #efeded; - --muted: #b7b4b9; - --accent: #efb2aa; - --window-top: #343338; - --window-bottom: #202126; - --chrome: #ffffff07; - --sidebar: #1d1e2426; - --panel: #1d1e2466; - --wash: #f8e7e00a; - --control-top: #e8d6dc12; - --control-bottom: #a1a0aa0d; - --input: #191a208a; - --popup: #303037; - --hover: #d5b3b423; - --selected: #d48c7b26; - --selected-hover: #d48c7b3d; - --selected-text: #ffe5de; - --border: #ead9da29; - --divider: #ead9da16; - --accent-border: #e5a19770; - --focus: #efb2aa; - --danger: #f0a6a7; - --danger-border: #f0a6a75c; - --warning: #e1c68b; - --positive: #afd1be; - --note: #afd1be0a; - --modal: #2c2c32; - --overlay: #1111149c; - --image-stage: #23242a; - --crop: #efb2aa; - --crop-wash: #efb2aa16; - --scrollbar: #827c8199; - --scrollbar-hover: #b7b4b999; - --toggle-off: #68646c; - --toggle-on: #efb2aa; -} -* { box-sizing: border-box; } -div, h1, h2, p, label, header, aside, section, footer { display: block; } -span { display: inline-block; } -#shell { width: 100%; height: 100%; display: flex; flex-direction: column; } -header { height: 86dp; flex-shrink: 0; display: flex; align-items: center; padding: 0 28dp; background-color: var(--chrome); border-bottom: 1dp var(--border); } -.brand { display: flex; align-items: center; width: 300dp; } -.brand-mark { width: 43dp; height: 43dp; line-height: 43dp; font-size: 21dp; font-weight: bold; text-align: center; border: 1dp var(--accent-border); border-radius: 13dp; color: var(--accent); background-color: var(--wash); margin-right: 13dp; } -.brand-mark span { color: var(--text); } -h1, h2, p { margin: 0; } -h2 { font-size: 20dp; font-weight: bold; } -h2 span { font-weight: normal; color: var(--muted); } -small { display: block; font-size: 12dp; color: var(--muted); margin-top: 4dp; } -#world-caption { flex: 1; font-size: 14dp; color: var(--muted); overflow: hidden; white-space: nowrap; } -#top-actions, #bottom-actions, #page-actions, .button-row { display: flex; align-items: center; gap: 8dp; } -button { font-family: LatoLatin; font-size: 14dp; color: var(--text); background-color: transparent; decorator: linear-gradient(var(--control-top), var(--control-bottom)); border: 1dp var(--border); border-radius: 8dp; padding: 9dp 14dp; cursor: pointer; text-align: center; white-space: nowrap; tab-index: auto; } -button:hover { background-color: var(--hover); decorator: none; } -button.primary { background-color: var(--selected); decorator: none; color: var(--selected-text); border-color: var(--accent-border); font-weight: bold; } -button.primary:hover { background-color: var(--selected-hover); } -button.danger { color: var(--danger); border-color: var(--danger-border); } -button:disabled { opacity: 0.35; cursor: unavailable; } -button.quiet { border-color: transparent; background-color: transparent; decorator: none; } -button.quiet:hover { background-color: var(--hover); } -#main { flex: 1; display: flex; min-height: 0; } -aside { width: 220dp; flex-shrink: 0; padding: 28dp 14dp 18dp; display: flex; flex-direction: column; background-color: var(--sidebar); border-right: 1dp var(--divider); } -.eyebrow { font-size: 11dp; font-weight: bold; letter-spacing: 1.5dp; color: var(--muted); text-transform: uppercase; } -#nav-label { padding: 0 14dp 18dp; } -#navigation { display: flex; flex-direction: column; gap: 5dp; min-height: 0; overflow-y: auto; } -.nav { width: 100%; display: flex; align-items: center; padding: 11dp 13dp; text-align: left; border-color: transparent; background-color: transparent; decorator: none; font-size: 15dp; } -.nav .glyph { width: 20dp; height: 20dp; margin-right: 16dp; flex-shrink: 0; } -.nav.selected { background-color: var(--selected); color: var(--accent); border-color: var(--accent-border); } -.aside-foot { margin-top: auto; padding: 24dp 14dp 0; font-size: 12dp; color: var(--muted); } -.aside-foot small { line-height: 1.45; } -.small-pitch { height: 50dp; width: 84dp; border: 1dp var(--border); border-radius: 4dp; margin-bottom: 15dp; position: relative; } -.small-pitch div { position: absolute; width: 20dp; height: 20dp; border: 1dp var(--border); border-radius: 10dp; left: 31dp; top: 14dp; } -#workspace { flex: 1; padding: 28dp 30dp 16dp; display: flex; flex-direction: column; min-width: 0; } -#page-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23dp; flex-shrink: 0; } -h1 { font-size: 28dp; font-weight: bold; margin-top: 7dp; } -#page-subtitle { color: var(--muted); margin-top: 7dp; font-size: 14dp; } -#toolbar { display: flex; gap: 10dp; margin-bottom: 16dp; flex-shrink: 0; align-items: center; } -input, select, textarea { font-family: LatoLatin; font-size: 14dp; background-color: var(--input); color: var(--text); border: 1dp var(--border); border-radius: 7dp; padding: 9dp 10dp; height: 38dp; tab-index: auto; } -input[type=checkbox] { width: 18dp; height: 18dp; padding: 2dp; background-color: var(--toggle-off); } -input[type=checkbox]:checked { background-color: var(--toggle-on); decorator: none; } -input[type=range] { height: 24dp; padding: 0; } -input[type=range] track { height: 4dp; background-color: var(--scrollbar); margin: 9dp 0; border-radius: 2dp; } -input[type=range] bar { width: 16dp; height: 16dp; border-radius: 8dp; background-color: var(--accent); margin-top: 3dp; } -/* Modern Desktop pickers, in density-independent editor dimensions. The - native RmlUI controls retain their values, input and change events. */ -select { padding-right: 30dp; cursor: pointer; background-color: transparent; decorator: linear-gradient(var(--control-top), var(--control-bottom)); box-shadow: inset 0 1dp #eff6fc12, 0 1dp 2dp #0002; } -select:hover { background-color: var(--hover); decorator: none; } -select selectvalue { padding: 0; } -/* RmlUI anchors the arrow to the content box. Use the reserved right padding - and center the rotated glyph within the control's 18dp content height. */ -select selectarrow { width: 8dp; height: 8dp; margin-right: -15dp; margin-top: 3dp; decorator: none; border-bottom: 1.5dp var(--muted); border-right: 1.5dp var(--muted); transform: rotate(45deg); } -select selectbox { width: 100%; min-width: 180dp; background-color: var(--popup); color: var(--text); border: 1dp var(--border); border-radius: 9dp; padding: 5dp; margin-top: 7dp; margin-bottom: 7dp; max-height: 320dp; overflow-y: auto; box-shadow: 0 9dp 28dp #0008; } -select option { display: flex; align-items: center; min-height: 34dp; padding: 5dp 7dp; border-radius: 5dp; white-space: nowrap; cursor: pointer; } -select option:hover { background-color: var(--hover); } -select option:disabled { opacity: 0.35; cursor: unavailable; } -.option-check { width: 6dp; height: 10dp; margin: 0 12dp 3dp 3dp; flex-shrink: 0; border-right: 1.5dp var(--accent); border-bottom: 1.5dp var(--accent); transform: rotate(45deg); opacity: 0; } -option:checked .option-check { opacity: 1; } -selectvalue .option-check { display: none; } -.option-label { overflow: hidden; text-overflow: ellipsis; } -.option-label, .option-check { pointer-events: none; focus: none; } -#search { width: 250dp; margin-right: auto; } -#filter-nation, #filter-league { width: 205dp; } -#filter-team { width: 240dp; } -#page-content { flex: 1; min-height: 0; display: flex; } -.split { width: 100%; display: flex; gap: 20dp; min-height: 0; } -.list-panel { flex: 1; min-width: 0; border: 1dp var(--border); border-radius: 12dp; overflow: hidden; background-color: var(--panel); display: flex; flex-direction: column; } -.table-header { display: flex; align-items: center; height: 42dp; flex-shrink: 0; padding: 0 16dp; background-color: var(--wash); border-bottom: 1dp var(--divider); } -.table-header button { flex: 1; text-align: left; padding: 0; border: 0; background-color: transparent; decorator: none; font-size: 12dp; color: var(--muted); } -.table-header button:hover { color: var(--text); } -.table-header button:first-child { flex: 2; } -.table-scroll { flex: 1; overflow-y: auto; } -.comparison-layout { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; } -.comparison-bar { display: flex; align-items: center; gap: 12dp; margin-bottom: 14dp; flex-shrink: 0; } -.comparison-bar label, .comparison-bar span { color: var(--muted); font-size: 12dp; } -.comparison-bar span { margin-left: auto; } -#comparison-set { width: 310dp; } -.comparison-panel { min-height: 0; } -.comparison-x { flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; display: flex; } -.comparison-table { flex-shrink: 0; display: flex; flex-direction: column; min-height: 0; } -.comparison-head { display: flex; flex-shrink: 0; align-items: stretch; background-color: var(--wash); border-bottom: 1dp var(--border); padding-right: 20dp; } -.comparison-head button { border: 0; border-radius: 0; decorator: none; background-color: transparent; color: var(--muted); font-size: 13dp; padding: 12dp 10dp; white-space: normal; } -.comparison-head button:disabled { opacity: 1; cursor: default; } -.comparison-head small { font-size: 11dp; } -.comparison-direction { width: 7dp; height: 7dp; border-bottom: 1.5dp var(--accent); border-right: 1.5dp var(--accent); transform: rotate(45deg); margin-left: 8dp; margin-bottom: 3dp; } -.comparison-direction.ascending { transform: rotate(225deg); margin-bottom: 0; } -.comparison-body { flex: 1; min-height: 0; overflow-y: auto; } -.comparison-row { display: flex; align-items: center; border: 0; border-bottom: 1dp var(--divider); border-radius: 0; decorator: none; background-color: transparent; padding: 0; min-height: 47dp; text-align: left; } -.comparison-cell { flex-shrink: 0; padding: 14dp 10dp; text-align: right; font-size: 14dp; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } -.comparison-cell.text { text-align: left; } -.comparison-name-text { display: block; overflow: hidden; text-overflow: ellipsis; } -.comparison-note { flex-shrink: 0; margin-top: 12dp; font-size: 12dp; line-height: 1.6; color: var(--muted); } -.comparison-choices { display: flex; flex-wrap: wrap; max-height: 430dp; overflow-y: auto; margin-top: 16dp; gap: 6dp; } -.comparison-choices label { width: 31%; display: flex; align-items: center; padding: 10dp 4dp; font-size: 14dp; } -.comparison-choices input { flex-shrink: 0; margin-right: 10dp; border-radius: 4dp; } -.record { display: flex; align-items: center; width: 100%; min-height: 49dp; padding: 9dp 16dp; border: 0; border-bottom: 1dp var(--divider); border-radius: 0; background-color: transparent; decorator: none; text-align: left; } -.record:hover { background-color: var(--hover); } -.record.selected { background-color: var(--selected); border-left: 3dp var(--accent); padding-left: 13dp; } -.record .cell { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10dp; font-size: 13dp; color: var(--muted); } -.record .cell:first-child { flex: 2; font-size: 14dp; color: var(--text); display: flex; align-items: center; } -.record.selected .cell { color: var(--selected-text); } -.mini-logo { width: 27dp; height: 27dp; margin-right: 12dp; flex-shrink: 0; } -.inspector { width: 370dp; flex-shrink: 0; border: 1dp var(--border); border-radius: 12dp; background-color: var(--panel); display: flex; flex-direction: column; overflow: hidden; } -.inspector-head { padding: 22dp; border-bottom: 1dp var(--divider); display: flex; align-items: center; flex-shrink: 0; } -.hero-image { width: 70dp; height: 70dp; margin-right: 16dp; } -.inspector-head h2 { font-size: 19dp; } -.inspector-head small { font-size: 10dp; margin-top: 7dp; } -.inspector-scroll { flex: 1; overflow-y: auto; padding: 20dp 22dp; } -.form-field { margin-bottom: 15dp; } -.form-field label { display: block; font-size: 12dp; color: var(--muted); margin-bottom: 6dp; } -.form-field input, .form-field select, .form-field textarea { width: 100%; } -textarea { height: 110dp; font-size: 12dp; line-height: 1.5; } -.form-section { padding-top: 8dp; margin-bottom: 15dp; font-size: 12dp; font-weight: bold; color: var(--accent); } -.form-help { font-size: 11dp; color: var(--muted); line-height: 1.5; margin-top: 6dp; } -.connection-actions { margin-top: 20dp; } -.inspector-actions { padding: 16dp 20dp; border-top: 1dp var(--divider); display: flex; gap: 8dp; flex-shrink: 0; } -.inspector-actions button { flex: 1; } -.empty { margin: auto; padding: 45dp; text-align: center; color: var(--muted); line-height: 1.7; } -#pagination { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; padding-top: 14dp; color: var(--muted); font-size: 12dp; } -footer { height: 57dp; padding: 0 28dp; display: flex; align-items: center; gap: 20dp; flex-shrink: 0; border-top: 1dp var(--divider); background-color: var(--sidebar); font-size: 12dp; } -#state { width: 210dp; color: var(--positive); } -#status-message { flex: 1; color: var(--muted); } -#bottom-actions button { font-size: 12dp; padding: 7dp 11dp; } -.dashboard { width: 100%; overflow-y: auto; padding-right: 7dp; } -.hero { padding: 32dp; border: 1dp var(--border); border-radius: 16dp; background-color: var(--wash); margin-bottom: 22dp; } -.hero h1 { font-size: 32dp; margin: 0 0 12dp; } -.hero p { color: var(--muted); line-height: 1.6; max-width: 700dp; margin-bottom: 23dp; } -.metrics { display: flex; flex-wrap: wrap; gap: 14dp; } -.metric { width: 23%; flex-grow: 1; min-width: 180dp; min-height: 106dp; padding: 20dp; border: 1dp var(--border); border-radius: 12dp; background-color: var(--panel); decorator: none; text-align: left; } -.metric span { display: block; font-size: 28dp; font-weight: bold; color: var(--text); margin-top: 9dp; } -.note { margin-top: 22dp; padding: 18dp 20dp; background-color: var(--note); border: 1dp var(--accent-border); border-radius: 10dp; color: var(--positive); font-size: 13dp; line-height: 1.6; } -.source-json { font-size: 11dp; line-height: 1.5; white-space: pre-wrap; color: var(--muted); margin: 14dp 0; } -.regulation-layout { flex: 1; display: flex; gap: 20dp; min-width: 0; min-height: 0; } -.regulation-list { width: 270dp; flex: none; } -.regulation-choice { display: block; width: 100%; text-align: left; white-space: normal; padding: 15dp 18dp; border-radius: 0; border: 0; border-bottom: 1dp var(--divider); } -.regulation-choice small { font-size: 11dp; } -.regulation-detail { min-width: 0; } -.regulation-scroll { flex: 1; overflow-y: auto; padding: 25dp; } -.regulation-scroll p { margin-top: 12dp; font-size: 15dp; line-height: 1.55; } -.regulation-scroll h2 { line-height: 1.4; } -.regulation-section { margin: 27dp 0; padding-top: 22dp; border-top: 1dp var(--divider); } -.regulation-section h2 { font-size: 18dp; margin-bottom: 13dp; } -.regulation-clause { padding: 15dp 18dp; border: 1dp var(--border); border-radius: 10dp; background-color: var(--wash); margin-bottom: 12dp; } -.regulation-clause p { margin-top: 8dp; } -.regulation-scroll .source-json { font-size: 13dp; line-height: 1.55; } -.history-row, .diagnostic { padding: 15dp 20dp; border-bottom: 1dp var(--divider); line-height: 1.6; } -.diagnostic.error { color: var(--danger); } -.diagnostic.warning { color: var(--warning); } -.badge { display: inline-block; font-size: 11dp; border: 1dp var(--accent-border); color: var(--positive); border-radius: 5dp; padding: 3dp 6dp; } -#overlay { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: var(--overlay); align-items: center; justify-content: center; } -#modal { width: 620dp; max-height: 91%; padding: 27dp; border: 1dp var(--border); border-radius: 18dp; background-color: var(--modal); display: flex; flex-direction: column; } -#modal.wide { width: 880dp; } -.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22dp; flex-shrink: 0; } -.close { padding: 0 7dp; background-color: transparent; decorator: none; border-color: transparent; font-size: 25dp; } -#modal-content { overflow-y: auto; line-height: 1.6; } -#modal-buttons { margin-top: 23dp; display: flex; justify-content: flex-end; gap: 9dp; flex-shrink: 0; } -#modal-error { color: var(--danger); font-size: 13dp; margin-top: 10dp; } -#history-overlay { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 10; } -#history-menu { position: absolute; width: 248dp; padding: 6dp; border: 1dp var(--border); border-radius: 10dp; background-color: var(--popup); } -#history-menu button { width: 100%; display: flex; align-items: center; text-align: left; padding: 10dp; border-color: transparent; decorator: none; font-size: 15dp; } -.history-arrow { width: 28dp; flex-shrink: 0; display: flex; align-items: center; } -.history-arrow .glyph { width: 20dp; height: 20dp; } -#history-menu small { margin: 0 0 0 auto; padding-left: 16dp; } -.image-layout { display: flex; gap: 24dp; } -.image-stage { flex: 1; min-height: 360dp; background-color: var(--image-stage); border: 1dp var(--border); border-radius: 10dp; display: flex; align-items: center; justify-content: center; overflow: hidden; } -.hero-image, .mini-logo { cursor: pointer; } -.readonly-stage { height: 500dp; } -.image-caption { margin-top: 12dp; word-break: break-all; } -#crop-canvas { position: relative; } -#edit-preview { display: block; } -#crop-box { position: absolute; border: 2dp var(--crop); background-color: var(--crop-wash); pointer-events: none; } -.image-controls { width: 215dp; } -.pair { display: flex; gap: 8dp; } -.pair .form-field { flex: 1; min-width: 0; } -.check-label { display: flex; align-items: center; gap: 10dp; font-size: 14dp; margin: 14dp 0; } -scrollbarvertical { width: 7dp; margin: 3dp; } -scrollbarvertical slidertrack { background-color: transparent; } -scrollbarvertical sliderbar { background-color: var(--scrollbar); border-radius: 4dp; min-height: 30dp; } -scrollbarvertical sliderbar:hover { background-color: var(--scrollbar-hover); } -scrollbarvertical sliderarrowdec, scrollbarvertical sliderarrowinc { height: 0; } -scrollbarhorizontal { height: 10dp; margin: 3dp; } -scrollbarhorizontal slidertrack { background-color: transparent; } -scrollbarhorizontal sliderbar { background-color: var(--scrollbar); border-radius: 4dp; min-width: 40dp; } -scrollbarhorizontal sliderbar:hover { background-color: var(--scrollbar-hover); } -scrollbarhorizontal sliderarrowdec, scrollbarhorizontal sliderarrowinc { width: 0; } -button:focus, input:focus, select:focus, textarea:focus { border-color: var(--focus); } -.nav:focus { border-color: var(--focus); } diff --git a/assets/launcher/launcher.rml b/assets/launcher/launcher.rml deleted file mode 100644 index 94671dd..0000000 --- a/assets/launcher/launcher.rml +++ /dev/null @@ -1,45 +0,0 @@ - - - - OpenBMH - - - - -
-
-
-
OpenBMH
-
-
-
-

Deine Spiele

-
Bundesliga Manager Hattrick · Football Limited
-
-
NameArt
-
-
-
0 Mods
-
-
- - - - - -
-
-
-
-