This commit is contained in:
MelTdownG
2026-02-17 19:14:34 +03:00
2419 changed files with 339 additions and 60307 deletions

View File

@@ -1,53 +1,84 @@
name: sorting
on:
push:
branches: [ main ]
branches: [main]
paths:
- '_sprites/**'
- 'scripts/**'
- "_sprites/**"
- "scripts/**"
concurrency:
group: sorting-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
run-scripts:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
uses: actions/setup-node@v4
with:
node-version: '20'
- name: requirments
run: npm ci
- name: scripts
working-directory: ./scripts
run: |
npx tsx write.ts
npx tsx sort.ts
npx tsx unready.ts
- name: commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add ./_sprites/unready
git commit -m "updated unready list" || exit 0
git add ./scripts/data.json
git commit -m "updated data" || exit 0
git push
- name: upload
uses: actions/upload-artifact@v4
with:
name: sorted
path: ./_sprites/sorted
retention-days: 15
- name: remove temp sorted folder
run: rm -rf ./_sprites/sorted
- name: checkout
uses: actions/checkout@v4
- name: setup node + npm cache
uses: actions/setup-node@v6
with:
node-version: "20"
cache: "npm"
cache-dependency-path: ./package-lock.json
- name: npm ci
working-directory: ./scripts
run: npm ci --no-audit --no-fund
- name: setup python + pip cache
uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: ./requirements.txt
- name: install python deps
working-directory: ./scripts
run: pip install -r requirements.txt
- name: scripts
working-directory: ./scripts
run: |
rm -rf ../_sprites/unready
npx tsx write.ts
npx tsx sort.ts
npx tsx unready.ts
- name: commit changes (exclude sorted)
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A .
git reset _sprites/sorted
git reset _sprites/sorted-merged
git commit -m "actions commit" || exit 0
git push
- name: upload sorted
uses: actions/upload-artifact@v4
with:
name: sorted
path: ./_sprites/sorted
retention-days: 15
compression-level: 0
- name: upload sorted-merged
uses: actions/upload-artifact@v4
with:
name: sorted-merged
path: ./_sprites/sorted-merged
retention-days: 15
compression-level: 0
- name: remove temp sorted folder
run: |
rm -rf ./_sprites/sorted
rm -rf ./_sprites/sorted-merged

3
.gitignore vendored
View File

@@ -1,2 +1,3 @@
*.DS_Store
.vscode/
.vscode/
node_modules/

View File

@@ -1,38 +1,36 @@
# СПРАЙТОВСКАЯ КОВАЛЬНЯ ПО ДЕЛЬТА-РУНЕ
Самая умная система перевода спрайтов по Дельта-Руне!
cамая умная система перевода спрайтов по Дельта-Руне! _да-да_
## Как что работает?
[![sorting](https://github.com/snusxd/deltasprite/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/snusxd/deltasprite/actions/workflows/main.yml)
Теперь спрайтерам не нужно вообще что-либо сортировать! Всё делается за них, и за Дюдю! :3
## как что работает?
Все переведённые спрайты лежат в папке `_sprites/translation`. Говоря «все» я **реально** имею ввиду все.
Просто скидывайте свой переведённый спрайт в эту папку, и всё! Везде, где этот спрайт будет использоваться, он и окажется потом!
сортировка спрайтов теперь НЕ НУЖНА! всё делается автоматически! :D
## Папочки... и для чего они...
все переведённые спрайты пихайте в `_sprites/translation`. под «все» я **реально** имею ввиду все.
просто скидывайте переведённый спрайт в эту папку, и всё! везде, где этот спрайт используется в игре, он переведётся!
Краткий экскурс!
## папочки... что куда?
---
краткий экскурс!
**Что спрайтером нужно:**
**ОСНОВНОЕ:**
`_sprites` — общая папка, в которой лежат все картинки
`_sprites` — общая папка для картинок
`_sprites/original` — папка, в которой лежат оригинальные спрайты, не переведённые и отсортированные по главам. от того, что находится в них, зависит, что попадёт в отобранную папку
`_sprites/original` - тут все оригинальные спрайты. от того, как спрайты расположены в этой папке зависит, куда попадут переводённые спрайты после сортировки
`_sprites/translation`папка, в которой и лежат все **русские** спрайты
`_sprites/translation`тут ВСЕ переведёненые спрайты (в одной куче, да)
`_sprites/sorted` — та самая папка, в которой уже отобраны все спрайты по главам (в общем, для общих глаз она так-то бессмысленна... наверное :D)
`_sprites/unready` — вообще не переведённые спрайты
`_sprites/unready` — все спрайты, оставшиеся без перевода!
`_sprites/cut.txt` — вырезня (не идут в учёт непереведённых спрайтов)
**Что спрайтерам не нужно:**
**так, для справочки:**
`node_modules` и `scripts` и все остальные файлы — для общих глазок не нужны, нужны для автоматической системы сортировки
`_sprites/sorted` — та самая папка, в которой все спрайты лежат в отсортированном виде
---
`node_modules`, `scripts` и т.д. это просто шла-а-ак...
# :P

View File

@@ -1,15 +0,0 @@
Для того, чтобы спрайт не шёл в учёт неготовых нужно написать его название в списке ниже!
Просто название спрайта, без каких-либо дополнительных символов.
Вырезня:
spr_ch3_gameshow_round
spr_ch3_GSA01G_tvtimescreenshot
spr_mansion_traffic_2fsign
bg_dw_music_ext_original
spr_board_tile_quiz
spr_ch3_chef_specialguestText
spr_gameshow_halloffame_left
spr_gameshow_halloffame_right
spr_gameshow_screen_halloffame
spr_board_tile_quiz
spr_dw_green_room_poster_left

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 B

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

After

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

Some files were not shown because too many files have changed in this diff Show More