1.7.3 Release tweaks

- Bumped up version number to 1.7.3
- Bumped up supported scenery version to 31
- Updated README.md
- Cleaned up package.json and package-lock.json
This commit is contained in:
izawartka 2026-08-15 13:07:20 +02:00
parent ce4c90cbc7
commit 783610d21d
4 changed files with 10 additions and 1066 deletions

View File

@ -1,33 +1,27 @@
# td2-visualizer # td2-visualizer
Narzędzie do przeglądania plików scenerii symulatora Train Driver 2 (.SC) w przeglądarce. Umożliwia szybkie podejrzenie układu torowego dowolnej scenerii, jej szlaków zewnętrzych, semaforów, wskaźników, spawnów, numerów rozjazdów i wiele więcej, a także eksport mapy do SVG. Z powodów praw autorskich wersja github nie posiada dołączonych plików scenerii. Narzędzie do przeglądania plików scenerii symulatora Train Driver 2 (.SC) w przeglądarce. Umożliwia szybkie podejrzenie układu torowego dowolnej scenerii, jej szlaków zewnętrzych, semaforów, wskaźników, spawnów, numerów rozjazdów i wiele więcej, a także eksport mapy do SVG. Z powodów praw autorskich wersja git nie posiada dołączonych plików scenerii.
A tool for viewing Train Driver 2 simulator scenery files (.SC) in the browser. It allows for quick lookup of the track layout of any scenery, its external routes, signals, signs, spawns, switch numbers, and much more, as well as exporting the map to SVG. Due to copyright reasons, the github version does not include scenery files. A tool for viewing Train Driver 2 simulator scenery files (.SC) directly in the browser. It allows for quick lookup of the track layout of any scenery, its external routes, signals, signs, spawns, switch numbers, and much more, as well as exporting the map to SVG. Due to copyright reasons, the git version does not include scenery files.
Wątek na forum / Forum thread: Wątek na forum / Forum thread:
https://td2.info.pl/narzedzie-tools/nowy-td2-visualizer!/ https://td2.info.pl/narzedzie-tools/nowy-td2-visualizer!/
#
## Controls ## Controls
- **Mouse wheel** - przybliżanie/oddalanie **/** zoom in/out - **Mouse wheel** - przybliżanie/oddalanie **/** zoom in/out
- **Mouse drag** - przesuwanie widoku **/** move view - **Mouse drag** - przesuwanie widoku **/** move the view
- **ALT + Mouse drag** - obracanie widoku **/** rotate view - **ALT + Mouse drag** - obracanie widoku **/** rotate the view
- **Mouse double click on track** - dostosowanie obrotu widoku do toru **/** align view to track - **Mouse right click on track** - dostosowanie obrotu widoku do toru **/** align the view to the track
## Online demo ## Online demo
Wersja online może nie zawsze być aktualna<br>
The online version may not always be up to date
https://maseuko.pl/soft/td2-visualizer-2/ https://maseuko.pl/soft/td2-visualizer-2/
## Known issues ## Known issues
- Not all signs have their icons - Not all signs have their icons
- Electrification resolution fails with some sceneries (not no be fixed) - Electrification resolution fails with some sceneries (not no be fixed)
- Sloped switches are not rendered correctly
## Authors ## Authors

1036
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "visualizer2", "name": "visualizer2",
"version": "1.7.2", "version": "1.7.3",
"homepage": "/soft/td2-visualizer-2/", "homepage": "/soft/td2-visualizer-2/",
"private": true, "private": true,
"dependencies": { "dependencies": {
@ -14,26 +14,8 @@
"build": "vite build --mode prod", "build": "vite build --mode prod",
"preview": "vite preview" "preview": "vite preview"
}, },
"eslintConfig": {
"extends": [
"react-app"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": { "devDependencies": {
"@vitejs/plugin-react": "^6.0.5", "@vitejs/plugin-react": "^6.0.5",
"vite": "^8.2.1", "vite": "^8.2.1"
"vite-plugin-svgr": "^5.2.0"
} }
} }

View File

@ -22,7 +22,7 @@ const Constants = {
parser: { parser: {
logSceneryAfterFinished: readEnvBool('VITE_DO_LOG_SCENERY') ?? false, logSceneryAfterFinished: readEnvBool('VITE_DO_LOG_SCENERY') ?? false,
sceneryInfoVersionMin: 29, sceneryInfoVersionMin: 29,
sceneryInfoVersionMax: 30, sceneryInfoVersionMax: 31,
alwaysShowLogDialog: false, alwaysShowLogDialog: false,
runTracksConnectionTest: false, runTracksConnectionTest: false,
tracksConnectionTestIgnoreY: true, tracksConnectionTestIgnoreY: true,