commit
c4dda4fb28
10 changed files with 64 additions and 46 deletions
|
|
@ -15,7 +15,7 @@ decoder-only offsets.
|
|||
"capture_source": "npcap",
|
||||
"exporter": {
|
||||
"name": "nte-history-exporter",
|
||||
"version": "0.1.8"
|
||||
"version": "0.1.9"
|
||||
},
|
||||
"banner": {
|
||||
"id": "Lottery_Permanent",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Build the Windows console executable with:
|
||||
|
||||
```powershell
|
||||
.\tools\build-windows.ps1
|
||||
.\tools\build-windows.cmd
|
||||
```
|
||||
|
||||
The output is:
|
||||
|
|
|
|||
|
|
@ -44,5 +44,6 @@
|
|||
"fork_Whale": {"name": "Song of the Whale", "rank": "S"},
|
||||
"fork_worldrain": {"name": "The Rain That Shook the World", "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"}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,5 +18,6 @@
|
|||
"1056": {"name": "Lacrimosa", "rank": "S"},
|
||||
"1070": {"name": "Aurelia", "rank": "A"},
|
||||
"1071": {"name": "Chaos", "rank": "S"},
|
||||
"1073": {"name": "Chiz", "rank": "S"}
|
||||
"1073": {"name": "Chiz", "rank": "S"},
|
||||
"1076": {"name": "Shinku", "rank": "S"}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,16 +3,24 @@
|
|||
"Dice_ticket_01": {"type": "item", "name": "Warp Piece", "rank": "S"},
|
||||
"Dice_ticket_02": {"type": "item", "name": "Lost Piece", "rank": "A"},
|
||||
"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_1010_2": {"type": "cosmetic", "name": "Phoenix Kick", "rank": "S"},
|
||||
"Fashion_Glide_1052": {"type": "cosmetic", "name": "Orchid Breeze", "rank": "A"},
|
||||
"Fashion_vehicle_1052_V024": {"type": "cosmetic", "name": "Autumn Haze - Livery", "rank": "S"},
|
||||
"Fashion_1052_1": {"type": "cosmetic", "name": "Priceless Orchid", "rank": "S"},
|
||||
"Fashion_Glide_1004": {"type": "cosmetic", "name": "Tomato Duo", "rank": "A"},
|
||||
"Fashion_vehicle_1004_V021": {"type": "cosmetic", "name": "Tomato Cruise - Livery", "rank": "S"},
|
||||
"Fashion_1004_1": {"type": "cosmetic", "name": "Gilded Rhapsody", "rank": "S"},
|
||||
"Fashion_Glide_1071": {"type": "cosmetic", "name": "Skyrider", "rank": "A"},
|
||||
"Fashion_vehicle_1071_V010": {"type": "cosmetic", "name": "Novis ST-X 950 Livery", "rank": "S"},
|
||||
"Fashion_1071_1": {"type": "cosmetic", "name": "Clear Skies", "rank": "S"}
|
||||
|
||||
"Fashion_Glide_1010": {"type": "cosmetic", "name": "Glider - Underboss-of-the-Underboss", "rank": "A"},
|
||||
"Fashion_vehicle_1010_V008": {"type": "cosmetic", "name": "Mod Parts - Tiger Incoming! - Livery", "rank": "S"},
|
||||
"Fashion_1010_2": {"type": "cosmetic", "name": "Character Skin - Phoenix Kick", "rank": "S"},
|
||||
|
||||
"Fashion_Glide_1052": {"type": "cosmetic", "name": "Glider - Orchid Breeze", "rank": "A"},
|
||||
"Fashion_vehicle_1052_V024": {"type": "cosmetic", "name": "Mod Parts - Autumn Haze - Livery", "rank": "S"},
|
||||
"Fashion_1052_1": {"type": "cosmetic", "name": "Character Skin - Priceless Orchid", "rank": "S"},
|
||||
|
||||
"Fashion_Glide_1004": {"type": "cosmetic", "name": "Glider - Tomato Duo", "rank": "A"},
|
||||
"Fashion_vehicle_1004_V021": {"type": "cosmetic", "name": "Mod Parts - Tomato Cruise - Livery", "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"}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "nte-history-exporter"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
description = "Cross-platform Neverness to Everness pull-history exporter."
|
||||
requires-python = ">=3.10"
|
||||
dependencies = []
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = "0.1.8"
|
||||
__version__ = "0.1.9"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ LIMITED_CHARACTER_BANNER_NAME = "Limited Character Board"
|
|||
ARC_BANNER_ID = "Arc_MiracleBox"
|
||||
ARC_BANNER_NAME = "Arc Miracle Box"
|
||||
EXPORTER_NAME = "nte-history-exporter"
|
||||
EXPORTER_VERSION = "0.1.8"
|
||||
EXPORTER_VERSION = "0.1.9"
|
||||
|
||||
HISTORY_REQUEST_BANNER = 4220
|
||||
HISTORY_REQUEST_LENGTH = 45
|
||||
|
|
|
|||
35
tools/build-windows.cmd
Normal file
35
tools/build-windows.cmd
Normal 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%
|
||||
)
|
||||
|
|
@ -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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue