Skip to content

Commit bfc99d8

Browse files
committed
fix: update dumping process
1 parent 7ef041c commit bfc99d8

File tree

1 file changed

+65
-3
lines changed

1 file changed

+65
-3
lines changed

.github/workflows/update-dumps.yml

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ jobs:
253253
name: heightmap
254254
path: cache/output/${{ inputs.cache_version }}/heightmap.zip
255255

256-
dump-mapimage:
256+
dump-map:
257257
runs-on: ubuntu-latest
258258
needs: [build-runelite, fetch-openrs2]
259259
steps:
@@ -283,6 +283,36 @@ jobs:
283283
name: map
284284
path: cache/output/${{ inputs.cache_version }}
285285

286+
dump-mapnoicons:
287+
runs-on: ubuntu-latest
288+
needs: [build-runelite, fetch-openrs2]
289+
steps:
290+
- name: Setup Java 11
291+
uses: actions/setup-java@v4
292+
with:
293+
distribution: 'temurin'
294+
java-version: '11'
295+
- name: Download RuneLite artifacts
296+
uses: actions/download-artifact@v4
297+
with:
298+
name: runelite-jars
299+
path: staging
300+
- name: Restore OpenRS2 cache
301+
uses: actions/cache/restore@v4
302+
with:
303+
path: cache/input/${{ inputs.cache_version }}
304+
key: openrs2-cache-${{ inputs.cache_version }}-
305+
- name: Run SimbaMapImageDumper (java)
306+
run: |
307+
mkdir -p cache/output
308+
java -cp staging/cache-*-SNAPSHOT-jar-with-dependencies.jar net.runelite.cache.SimbaMapImageDumper \
309+
--cachedir cache/input --cachename ${{ inputs.cache_version }} --outputdir cache/output --noicons
310+
- name: Upload Map Images
311+
uses: actions/upload-artifact@v4
312+
with:
313+
name: map-noicons
314+
path: cache/output/${{ inputs.cache_version }}
315+
286316
dump-npcs:
287317
runs-on: ubuntu-latest
288318
needs: [build-runelite, fetch-openrs2]
@@ -317,7 +347,7 @@ jobs:
317347
name: npcs
318348
path: cache/output/${{ inputs.cache_version }}/NPCs/npcs.zip
319349

320-
dump-objectinfo:
350+
dump-object:
321351
runs-on: ubuntu-latest
322352
needs: [build-runelite, fetch-openrs2]
323353
steps:
@@ -347,6 +377,36 @@ jobs:
347377
name: objects
348378
path: cache/output/${{ inputs.cache_version }}
349379

380+
dump-object1400:
381+
runs-on: ubuntu-latest
382+
needs: [build-runelite, fetch-openrs2]
383+
steps:
384+
- name: Setup Java 11
385+
uses: actions/setup-java@v4
386+
with:
387+
distribution: 'temurin'
388+
java-version: '11'
389+
- name: Download RuneLite artifacts
390+
uses: actions/download-artifact@v4
391+
with:
392+
name: runelite-jars
393+
path: staging
394+
- name: Restore OpenRS2 cache
395+
uses: actions/cache/restore@v4
396+
with:
397+
path: cache/input/${{ inputs.cache_version }}
398+
key: openrs2-cache-${{ inputs.cache_version }}-
399+
- name: Run Simba1400ObjectInfoDumper (java)
400+
run: |
401+
mkdir -p cache/output
402+
java -cp staging/cache-*-SNAPSHOT-jar-with-dependencies.jar net.runelite.cache.Simba1400ObjectInfoDumper \
403+
--cachedir cache/input --cachename ${{ inputs.cache_version }} --outputdir cache/output
404+
- name: Upload Object Info
405+
uses: actions/upload-artifact@v4
406+
with:
407+
name: objects1400
408+
path: cache/output/${{ inputs.cache_version }}
409+
350410
dump-sprites:
351411
runs-on: ubuntu-latest
352412
needs: [build-runelite, fetch-openrs2]
@@ -383,7 +443,7 @@ jobs:
383443

384444
commit-results:
385445
runs-on: ubuntu-latest
386-
needs: [dump-items, dump-gear, dump-collisionmap, dump-heightmap, dump-mapimage, dump-npcs, dump-objectinfo, dump-sprites, dump-itemfinder]
446+
needs: [dump-items, dump-gear, dump-collisionmap, dump-heightmap, dump-map, dump-mapnoicons, dump-npcs, dump-object, dump-object1400, dump-sprites, dump-itemfinder]
387447
steps:
388448
- name: Checkout repository
389449
uses: actions/checkout@v5
@@ -406,7 +466,9 @@ jobs:
406466
["artifacts/gear/gear.json"]="jsons/gear.json"
407467
["artifacts/npcs/npcs.zip"]="map/npcs_helper.zip"
408468
["artifacts/map/map.zip"]="map/map.zip"
469+
["artifacts/map/map-noicons.zip"]="map/map-noicons.zip"
409470
["artifacts/objects/objects.zip"]="map/objects.zip"
471+
["artifacts/objects/objects1400.zip"]="map/objects1400.zip"
410472
["artifacts/collision/collision.zip"]="map/collision.zip"
411473
["artifacts/heightmap/heightmap.zip"]="map/heightmap.zip"
412474
["artifacts/sprites/sprites.zip"]="sprites/sprites.zip"

0 commit comments

Comments
 (0)