Skip to content

Commit

Permalink
Merge branch 'dev-renderer'
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Sep 20, 2023
2 parents fe8ae6c + 4fa5d27 commit 7328c19
Show file tree
Hide file tree
Showing 413 changed files with 316,263 additions and 41,445 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/docker.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/main.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ node_modules
/build

# docker-compose prefabs
/docker-compose
/docker-compose

/client/dist

/dist
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions adapter-iron-harvest/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/dist
/private
File renamed without changes.
5 changes: 5 additions & 0 deletions adapter-iron-harvest/adapter.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: Iron Harvest Benchmark Maps
version: 1.0.1
description: Grid Maps from the Iron Harvest Pathfinding Benchmark
maps: "./content/maps"
port: 8220
66 changes: 66 additions & 0 deletions adapter-iron-harvest/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#!/bin/bash

rm -rf dist

# Build

npx --yes vite build

# Copy files

mkdir -p dist/content
cp -r content dist
cp -r adapter.config.yaml dist

# Make executables

npx --yes pkg \
--out-path dist \
--compress GZip \
--target node18-windows,node18-linux \
dist/main.js

# Compress executables

gzexe dist/main-linux
rm dist/main-linux~

# Add metadata to Windows executable

npx --yes resedit-cli \
--in dist/main-win.exe \
--out dist/main-win.exe \
--icon "1,icon.ico" \
--product-name "Waypoint" \
--product-version "0.1.0.0" \
--file-version "0.1.0.0" \
--file-description "Waypoint Adapter Server"

# Sign Windows executable

if which osslsigncode >/dev/null; then
if ! test -f "private/cert.p12"; then
mkdir -p private
openssl req -x509 \
-newkey rsa:2048 \
-keyout private/key.pem \
-out private/cert.pem \
-nodes
openssl pkcs12 -export \
-out private/cert.p12 \
-inkey private/key.pem \
-in private/cert.pem
fi
osslsigncode sign -pkcs12 private/cert.p12 \
-n "Waypoint Adapter Server" \
-i "https://github.com/path-visualiser" \
-in dist/main-win.exe \
-out dist/main-win-signed.exe
rm dist/main-win.exe
mv dist/main-win-signed.exe dist/main-win.exe
fi

rm dist/main.js

mv dist/main-win.exe dist/adapter-win.exe
mv dist/main-linux dist/adapter-linux
1,916 changes: 1,916 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_2p_01.grid

Large diffs are not rendered by default.

2,460 changes: 2,460 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_2p_02.grid

Large diffs are not rendered by default.

3,124 changes: 3,124 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_2p_03.grid

Large diffs are not rendered by default.

2,748 changes: 2,748 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_2p_04.grid

Large diffs are not rendered by default.

3,348 changes: 3,348 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_4p_01.grid

Large diffs are not rendered by default.

4,956 changes: 4,956 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_4p_02.grid

Large diffs are not rendered by default.

3,732 changes: 3,732 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_4p_03.grid

Large diffs are not rendered by default.

5,108 changes: 5,108 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_6p_01.grid

Large diffs are not rendered by default.

4,140 changes: 4,140 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_6p_02.grid

Large diffs are not rendered by default.

4,228 changes: 4,228 additions & 0 deletions adapter-iron-harvest/content/maps/scene_mp_6p_03.grid

Large diffs are not rendered by default.

2,716 changes: 2,716 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_cha_01.grid

Large diffs are not rendered by default.

4,876 changes: 4,876 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_cha_02.grid

Large diffs are not rendered by default.

3,788 changes: 3,788 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_cha_03.grid

Large diffs are not rendered by default.

3,884 changes: 3,884 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_cha_04.grid

Large diffs are not rendered by default.

6,404 changes: 6,404 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_endmaps.grid

Large diffs are not rendered by default.

3,612 changes: 3,612 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_pol_01.grid

Large diffs are not rendered by default.

4,908 changes: 4,908 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_pol_02.grid

Large diffs are not rendered by default.

4,676 changes: 4,676 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_pol_03.grid

Large diffs are not rendered by default.

3,068 changes: 3,068 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_pol_04.grid

Large diffs are not rendered by default.

4,180 changes: 4,180 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_pol_05.grid

Large diffs are not rendered by default.

4,332 changes: 4,332 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_pol_06.grid

Large diffs are not rendered by default.

3,700 changes: 3,700 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_rus_01.grid

Large diffs are not rendered by default.

3,996 changes: 3,996 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_rus_02.grid

Large diffs are not rendered by default.

3,740 changes: 3,740 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_rus_03.grid

Large diffs are not rendered by default.

4,652 changes: 4,652 additions & 0 deletions adapter-iron-harvest/content/maps/scene_sp_rus_04.grid

Large diffs are not rendered by default.

Loading

0 comments on commit 7328c19

Please sign in to comment.