mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
GitHub action for NanoMap generation
Number 1 Number 2 Number 3 God I wish there was a decent way to test these AAAAAAAAA Begin the null diffs Oh ffs wrong branch chmod Forgot to mod the renderer itself Number 23452354235 It just keeps going I think this might be it Lets try that again aaaaaaaaaa *scream *sigh Dont tell me that a newline broke it ... aaaaaaaaaaaaa *scream This worked THATS WHAT KILLED IT?!?!?!?!?!?!?!? ... I THINK ITS READY Ok final commit Line endings are the bane of my existence This has really made me feel stupid CRLF AAAAAAAAAA Changes DM side
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# GitHub Actions Scripts
|
||||
|
||||
This folder contains all the script and tools required for GitHub actions. If you add something to this directory, **PLEASE** document it in here
|
||||
|
||||
- `nanomap-renderer` - A linux application to render NanoMap images of the ingame maps automatically
|
||||
- `nanomap-renderer-invoker.sh` - A script which invokes the render tool and clones the maps to the correct directory
|
||||
Executable
BIN
Binary file not shown.
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Generate maps
|
||||
tools/github-actions/nanomap-renderer minimap "./_maps/map_files/cyberiad/cyberiad.dmm"
|
||||
tools/github-actions/nanomap-renderer minimap "./_maps/map_files/Delta/delta.dmm"
|
||||
tools/github-actions/nanomap-renderer minimap "./_maps/map_files/MetaStation/MetaStation.v41A.II.dmm"
|
||||
# Move and rename files so the game understands them
|
||||
cd "data/nanomaps"
|
||||
mv "cyberiad_nanomap_z1.png" "Cyberiad_nanomap_z1.png"
|
||||
mv "delta_nanomap_z1.png" "Delta_nanomap_z1.png"
|
||||
mv "MetaStation.v41A.II_nanomap_z1.png" "MetaStation_nanomap_z1.png"
|
||||
cd "../../"
|
||||
cp "data/nanomaps/Cyberiad_nanomap_z1.png" "nano/images"
|
||||
cp "data/nanomaps/Delta_nanomap_z1.png" "nano/images"
|
||||
cp "data/nanomaps/MetaStation_nanomap_z1.png" "nano/images"
|
||||
Reference in New Issue
Block a user