Merge pull request #5 from Golumpa/dev/0.1.9

Added Shinku
This commit is contained in:
Golumpa 2026-07-08 12:59:47 +01:00 • committed by GitHub
commit c4dda4fb28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 64 additions and 46 deletions

View file

@ -15,7 +15,7 @@ decoder-only offsets.
"capture_source": "npcap", "capture_source": "npcap",
"exporter": { "exporter": {
"name": "nte-history-exporter", "name": "nte-history-exporter",
"version": "0.1.8" "version": "0.1.9"
}, },
"banner": { "banner": {
"id": "Lottery_Permanent", "id": "Lottery_Permanent",

View file

@ -5,7 +5,7 @@
Build the Windows console executable with: Build the Windows console executable with:
```powershell ```powershell
.\tools\build-windows.ps1 .\tools\build-windows.cmd
``` ```
The output is: The output is:

View file

@ -44,5 +44,6 @@
"fork_Whale": {"name": "Song of the Whale", "rank": "S"}, "fork_Whale": {"name": "Song of the Whale", "rank": "S"},
"fork_worldrain": {"name": "The Rain That Shook the World", "rank": "S"}, "fork_worldrain": {"name": "The Rain That Shook the World", "rank": "S"},
"fork_Wushoutieyu": {"name": "Raging Flames", "rank": "S"}, "fork_Wushoutieyu": {"name": "Raging Flames", "rank": "S"},
"fork_GoldWool": {"name": "What's Desired", "rank": "S"} "fork_GoldWool": {"name": "What's Desired", "rank": "S"},
"fork_LunarPhase": {"name": "Blushing Mirage", "rank": "S"}
} }

View file

@ -18,5 +18,6 @@
"1056": {"name": "Lacrimosa", "rank": "S"}, "1056": {"name": "Lacrimosa", "rank": "S"},
"1070": {"name": "Aurelia", "rank": "A"}, "1070": {"name": "Aurelia", "rank": "A"},
"1071": {"name": "Chaos", "rank": "S"}, "1071": {"name": "Chaos", "rank": "S"},
"1073": {"name": "Chiz", "rank": "S"} "1073": {"name": "Chiz", "rank": "S"},
"1076": {"name": "Shinku", "rank": "S"}
} }

View file

@ -3,16 +3,24 @@
"Dice_ticket_01": {"type": "item", "name": "Warp Piece", "rank": "S"}, "Dice_ticket_01": {"type": "item", "name": "Warp Piece", "rank": "S"},
"Dice_ticket_02": {"type": "item", "name": "Lost Piece", "rank": "A"}, "Dice_ticket_02": {"type": "item", "name": "Lost Piece", "rank": "A"},
"Dicelimite": {"type": "item", "name": "Solid Dice", "rank": "S"}, "Dicelimite": {"type": "item", "name": "Solid Dice", "rank": "S"},
"Fashion_Glide_1010": {"type": "cosmetic", "name": "Underboss-of-the-Underboss", "rank": "A"},
"Fashion_vehicle_1010_V008": {"type": "cosmetic", "name": "Tiger Incoming! - Livery", "rank": "S"}, "Fashion_Glide_1010": {"type": "cosmetic", "name": "Glider - Underboss-of-the-Underboss", "rank": "A"},
"Fashion_1010_2": {"type": "cosmetic", "name": "Phoenix Kick", "rank": "S"}, "Fashion_vehicle_1010_V008": {"type": "cosmetic", "name": "Mod Parts - Tiger Incoming! - Livery", "rank": "S"},
"Fashion_Glide_1052": {"type": "cosmetic", "name": "Orchid Breeze", "rank": "A"}, "Fashion_1010_2": {"type": "cosmetic", "name": "Character Skin - Phoenix Kick", "rank": "S"},
"Fashion_vehicle_1052_V024": {"type": "cosmetic", "name": "Autumn Haze - Livery", "rank": "S"},
"Fashion_1052_1": {"type": "cosmetic", "name": "Priceless Orchid", "rank": "S"}, "Fashion_Glide_1052": {"type": "cosmetic", "name": "Glider - Orchid Breeze", "rank": "A"},
"Fashion_Glide_1004": {"type": "cosmetic", "name": "Tomato Duo", "rank": "A"}, "Fashion_vehicle_1052_V024": {"type": "cosmetic", "name": "Mod Parts - Autumn Haze - Livery", "rank": "S"},
"Fashion_vehicle_1004_V021": {"type": "cosmetic", "name": "Tomato Cruise - Livery", "rank": "S"}, "Fashion_1052_1": {"type": "cosmetic", "name": "Character Skin - Priceless Orchid", "rank": "S"},
"Fashion_1004_1": {"type": "cosmetic", "name": "Gilded Rhapsody", "rank": "S"},
"Fashion_Glide_1071": {"type": "cosmetic", "name": "Skyrider", "rank": "A"}, "Fashion_Glide_1004": {"type": "cosmetic", "name": "Glider - Tomato Duo", "rank": "A"},
"Fashion_vehicle_1071_V010": {"type": "cosmetic", "name": "Novis ST-X 950 Livery", "rank": "S"}, "Fashion_vehicle_1004_V021": {"type": "cosmetic", "name": "Mod Parts - Tomato Cruise - Livery", "rank": "S"},
"Fashion_1071_1": {"type": "cosmetic", "name": "Clear Skies", "rank": "S"} "Fashion_1004_1": {"type": "cosmetic", "name": "Character Skin - Gilded Rhapsody", "rank": "S"},
"Fashion_Glide_1071": {"type": "cosmetic", "name": "Glider - Skyrider", "rank": "A"},
"Fashion_vehicle_1071_V010": {"type": "cosmetic", "name": "Mod Parts - Novis ST-X 950 - Livery", "rank": "S"},
"Fashion_1071_1": {"type": "cosmetic", "name": "Character Skin - Clear Skies", "rank": "S"},
"Fashion_Glide_1076": {"type": "cosmetic", "name": "Glider - Overcast Canopy", "rank": "A"},
"Fashion_vehicle_1076_V024": {"type": "cosmetic", "name": "Mod Parts - Hidden Dragon - Livery", "rank": "S"},
"Fashion_1076_1": {"type": "cosmetic", "name": "Character Skin - Student of Terrasea", "rank": "S"}
} }

View file

@ -1,6 +1,6 @@
[project] [project]
name = "nte-history-exporter" name = "nte-history-exporter"
version = "0.1.8" version = "0.1.9"
description = "Cross-platform Neverness to Everness pull-history exporter." description = "Cross-platform Neverness to Everness pull-history exporter."
requires-python = ">=3.10" requires-python = ">=3.10"
dependencies = [] dependencies = []

View file

@ -1 +1 @@
__version__ = "0.1.8" __version__ = "0.1.9"

View file

@ -11,7 +11,7 @@ LIMITED_CHARACTER_BANNER_NAME = "Limited Character Board"
ARC_BANNER_ID = "Arc_MiracleBox" ARC_BANNER_ID = "Arc_MiracleBox"
ARC_BANNER_NAME = "Arc Miracle Box" ARC_BANNER_NAME = "Arc Miracle Box"
EXPORTER_NAME = "nte-history-exporter" EXPORTER_NAME = "nte-history-exporter"
EXPORTER_VERSION = "0.1.8" EXPORTER_VERSION = "0.1.9"
HISTORY_REQUEST_BANNER = 4220 HISTORY_REQUEST_BANNER = 4220
HISTORY_REQUEST_LENGTH = 45 HISTORY_REQUEST_LENGTH = 45

35
tools/build-windows.cmd Normal file
View file

@ -0,0 +1,35 @@
@echo off
setlocal
cd /d "%~dp0\.."
set "PYTHON=.venv\Scripts\python.exe"
if not exist "%PYTHON%" (
python -m venv .venv
if errorlevel 1 exit /b %errorlevel%
)
"%PYTHON%" -m pip install --upgrade pip
if errorlevel 1 exit /b %errorlevel%
"%PYTHON%" -m pip install -e ".[build]"
if errorlevel 1 exit /b %errorlevel%
"%PYTHON%" -m PyInstaller --clean --noconfirm "packaging\NTE History Exporter.spec"
if errorlevel 1 (
echo PyInstaller failed.
exit /b %errorlevel%
)
set "EXE=%CD%\dist\nte-history-exporter.exe"
if not exist "%EXE%" (
echo Expected build output was not created: %EXE%
exit /b 1
)
echo Built %EXE%
"%EXE%" --help
if errorlevel 1 (
echo Built executable smoke test failed.
exit /b %errorlevel%
)

View file

@ -1,27 +0,0 @@
$ErrorActionPreference = 'Stop'
Set-Location (Split-Path -Parent $PSScriptRoot)
$python = Join-Path $PWD '.venv\Scripts\python.exe'
if (-not (Test-Path $python)) {
python -m venv .venv
}
& $python -m pip install --upgrade pip
& $python -m pip install -e '.[build]'
& $python -m PyInstaller --clean --noconfirm 'packaging\NTE History Exporter.spec'
if ($LASTEXITCODE -ne 0) {
throw "PyInstaller failed with exit code $LASTEXITCODE"
}
$exe = Join-Path $PWD 'dist\nte-history-exporter.exe'
if (-not (Test-Path $exe)) {
throw "Expected build output was not created: $exe"
}
Write-Host "Built $exe"
& $exe --help
if ($LASTEXITCODE -ne 0) {
throw "Built executable smoke test failed with exit code $LASTEXITCODE"
}