Merge branch 'main' of https://git.nostalgica.net/Lasting-Legacy/Lasting-Legacy-Monorepo
@@ -85,10 +85,6 @@ jobs:
|
|||||||
- name: Validate Manifest
|
- name: Validate Manifest
|
||||||
run: npx tsx tools/manifest/validate.ts "${{ matrix.manifest }}"
|
run: npx tsx tools/manifest/validate.ts "${{ matrix.manifest }}"
|
||||||
|
|
||||||
- name: Generate Changelog
|
|
||||||
id: changelog
|
|
||||||
run: npx tsx tools/changelog/generate-changelog.ts "${{ matrix.manifest }}"
|
|
||||||
|
|
||||||
- name: Cache Publisher Binary
|
- name: Cache Publisher Binary
|
||||||
id: cache-publisher
|
id: cache-publisher
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -133,6 +129,10 @@ jobs:
|
|||||||
mkdir -p ./builder-bin
|
mkdir -p ./builder-bin
|
||||||
cp src/actions/builder/target/release/minify-json ./builder-bin/minify-json
|
cp src/actions/builder/target/release/minify-json ./builder-bin/minify-json
|
||||||
|
|
||||||
|
- name: Generate Changelog
|
||||||
|
id: changelog
|
||||||
|
run: npx tsx tools/changelog/generate-changelog.ts "${{ matrix.manifest }}"
|
||||||
|
|
||||||
- name: Cache Packwiz Binaries
|
- name: Cache Packwiz Binaries
|
||||||
id: cache-go
|
id: cache-go
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -166,10 +166,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
chmod +x ./builder-bin/minify-json
|
chmod +x ./builder-bin/minify-json
|
||||||
|
|
||||||
MANIFEST='${{ matrix.manifest }}'
|
MANIFEST='${{ matrix.manifest }}'
|
||||||
PACK_DIR="$(dirname "$MANIFEST")"
|
PACK_DIR="$(dirname "$MANIFEST")"
|
||||||
|
|
||||||
if [[ "$MANIFEST" == datapacks/* ]]; then
|
if [[ "$MANIFEST" == datapacks/* ]]; then
|
||||||
TARGET="${PACK_DIR}/content"
|
TARGET="${PACK_DIR}/content"
|
||||||
if [ -d "$TARGET" ]; then
|
if [ -d "$TARGET" ]; then
|
||||||
@@ -199,7 +197,6 @@ jobs:
|
|||||||
set -eu
|
set -eu
|
||||||
MANIFEST='${{ matrix.manifest }}'
|
MANIFEST='${{ matrix.manifest }}'
|
||||||
PACK_DIR="$(dirname "$MANIFEST")"
|
PACK_DIR="$(dirname "$MANIFEST")"
|
||||||
|
|
||||||
if [[ "$MANIFEST" == datapacks/* ]]; then
|
if [[ "$MANIFEST" == datapacks/* ]]; then
|
||||||
TARGET="${PACK_DIR}/content"
|
TARGET="${PACK_DIR}/content"
|
||||||
if [ -d "${TARGET}.original" ]; then
|
if [ -d "${TARGET}.original" ]; then
|
||||||
@@ -217,16 +214,27 @@ jobs:
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload to Platforms
|
- name: Upload to Modrinth
|
||||||
if: "steps.meta.outputs.mr_id != '' || steps.meta.outputs.cf_id != ''"
|
if: steps.meta.outputs.mr_id != ''
|
||||||
uses: https://github.com/Kir-Antipov/mc-publish@v3.3
|
uses: https://github.com/Kir-Antipov/mc-publish@v3.3
|
||||||
with:
|
with:
|
||||||
modrinth-id: ${{ steps.meta.outputs.mr_id }}
|
modrinth-id: ${{ steps.meta.outputs.mr_id }}
|
||||||
modrinth-token: ${{ secrets.MR }}
|
modrinth-token: ${{ secrets.MR }}
|
||||||
modrinth-files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*.mrpack"
|
files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*.mrpack"
|
||||||
|
name: "${{ steps.meta.outputs.name }}"
|
||||||
|
version: "${{ steps.meta.outputs.ver }}"
|
||||||
|
version-type: ${{ steps.meta.outputs.release_type }}
|
||||||
|
changelog: "${{ steps.changelog.outputs.notes }}"
|
||||||
|
loaders: ${{ steps.meta.outputs.type == 'modpack' && steps.meta.outputs.loader || 'minecraft' }}
|
||||||
|
game-versions: "${{ steps.meta.outputs.mc }}"
|
||||||
|
|
||||||
|
- name: Upload to CurseForge
|
||||||
|
if: steps.meta.outputs.cf_id != ''
|
||||||
|
uses: https://github.com/Kir-Antipov/mc-publish@v3.3
|
||||||
|
with:
|
||||||
curseforge-id: ${{ steps.meta.outputs.cf_id }}
|
curseforge-id: ${{ steps.meta.outputs.cf_id }}
|
||||||
curseforge-token: ${{ secrets.CF }}
|
curseforge-token: ${{ secrets.CF }}
|
||||||
curseforge-files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*.zip"
|
files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*.zip"
|
||||||
name: "${{ steps.meta.outputs.name }}"
|
name: "${{ steps.meta.outputs.name }}"
|
||||||
version: "${{ steps.meta.outputs.ver }}"
|
version: "${{ steps.meta.outputs.ver }}"
|
||||||
version-type: ${{ steps.meta.outputs.release_type }}
|
version-type: ${{ steps.meta.outputs.release_type }}
|
||||||
|
|||||||
@@ -186,5 +186,19 @@
|
|||||||
"legacy.options.controlType.xbox_one": "Xbox One Controller",
|
"legacy.options.controlType.xbox_one": "Xbox One Controller",
|
||||||
"legacy.options.controllerVirtualCursor": "V-Mouse",
|
"legacy.options.controllerVirtualCursor": "V-Mouse",
|
||||||
"legacy.options.creativeTab": "Legacy Creative Interface",
|
"legacy.options.creativeTab": "Legacy Creative Interface",
|
||||||
"legacy.options.cursorMode": "Mouse Mode"
|
"legacy.options.cursorMode": "Mouse Mode",
|
||||||
|
"legacy.options.optionsPreset.gcn": "Low (GameCube)",
|
||||||
|
"legacy.options.optionsPreset.gcn.tooltip": "This Graphics Preset makes it optimized if it was for the GameCube. Born to Play.",
|
||||||
|
"legacy.options.optionsPreset.default": "Default",
|
||||||
|
"legacy.options.optionsPreset.default.tooltip": "The default preset with none of the LCE UI Enhancements.",
|
||||||
|
"legacy.options.optionsPreset.default_lce": "Default LCE",
|
||||||
|
"legacy.options.optionsPreset.default_lce.tooltip": "The default preset with the LCE UI Enhancements.",
|
||||||
|
"legacy.options.optionsPreset.ps2": "Medium (PS2)",
|
||||||
|
"legacy.options.optionsPreset.ps2.tooltip": "This Graphics Preset makes it optimized for the PlayStation® 2, this is similar to the Xbox Preset, but it's reduced. Live in Your World. Play in Ours.",
|
||||||
|
"legacy.options.optionsPreset.xbox": "Medium+ (Xbox)",
|
||||||
|
"legacy.options.optionsPreset.xbox.tooltip": "This Graphics Preset makes it optimized for the Original Xbox. Now you are playing with power!",
|
||||||
|
"legacy.options.optionsPreset.dreamcast": "High (Dreamcast)",
|
||||||
|
"legacy.options.optionsPreset.dreamcast.tooltip": "This preset will have graphics similar to PC since it utilizes Windows CE technology to make it smooth.",
|
||||||
|
"legacy.options.optionsPreset.pc": "High+ (PC)",
|
||||||
|
"legacy.options.optionsPreset.pc.tooltip": "This Graphics Preset is made for the `puters that have a powerful CPU such as the Intel Core 2 Duo and AMD Athlon 64, but also a dedicated GPU such as the ATI Radeon 9000 Series and Ge-Force 5000 Series of Cards. Here be dragons!"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 34,
|
"pack_format": 69,
|
||||||
"description": "Default Resources, DO NOT REMOVE!"
|
"pack_format": 16,
|
||||||
|
"min_format": 16,
|
||||||
|
"max_format": 999,
|
||||||
|
"supported_formats": [ 16, 999 ]
|
||||||
|
"description": "Default Resources for 2000s Edition, DO NOT REMOVE!"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 592 B After Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 745 B |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 763 B After Width: | Height: | Size: 763 B |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 837 B |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 496 B |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 583 B |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 721 B |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |