Skip to content

Commit

Permalink
try to fix rendernanomaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendaxe committed Apr 20, 2024
1 parent 943bc62 commit 4f068bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/render_nanomaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
with:
token: ${{ steps.create_token.outputs.token }}

- name: Install dmm-tools
run: bash tools/ci/install_spaceman_dmm.sh dmm-tools

- name: Branch
run: |
git branch -f nanomap-render
Expand Down
12 changes: 6 additions & 6 deletions tools/nanomap_renderer/nanomap-renderer-invoker.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
set -e
# Generate maps
tools/nanomap_renderer/nanomap-renderer minimap -w 2040 -h 2040 "./_maps/map_files/Birdshot/birdshot.dmm"
tools/nanomap_renderer/nanomap-renderer minimap -w 2040 -h 2040 "./_maps/map_files/Deltastation/DeltaStation2.dmm"
tools/nanomap_renderer/nanomap-renderer minimap -w 2040 -h 2040 "./_maps/map_files/IceBoxStation/IceBoxStation.dmm"
tools/nanomap_renderer/nanomap-renderer minimap -w 2040 -h 2040 "./_maps/map_files/MetaStation/MetaStation.dmm"
tools/nanomap_renderer/nanomap-renderer minimap -w 2040 -h 2040 "./_maps/map_files/Northstar/north_star.dmm"
tools/nanomap_renderer/nanomap-renderer minimap -w 2040 -h 2040 "./_maps/map_files/tramstation/tramstation.dmm"
~/dmm-tools minimap -w 2040 -h 2040 "./_maps/map_files/Birdshot/birdshot.dmm"
~/dmm-tools minimap -w 2040 -h 2040 "./_maps/map_files/Deltastation/DeltaStation2.dmm"
~/dmm-tools minimap -w 2040 -h 2040 "./_maps/map_files/IceBoxStation/IceBoxStation.dmm"
~/dmm-tools minimap -w 2040 -h 2040 "./_maps/map_files/MetaStation/MetaStation.dmm"
~/dmm-tools minimap -w 2040 -h 2040 "./_maps/map_files/Northstar/north_star.dmm"
~/dmm-tools minimap -w 2040 -h 2040 "./_maps/map_files/tramstation/tramstation.dmm"
# Move and rename files so the game understands them
cd "data/nanomaps"
mv "birdshot_nanomap_z1.png" "Birdshot Station_nanomap_z1.png"
Expand Down

0 comments on commit 4f068bc

Please sign in to comment.