From e5b017f1159b92c7d4620d6aa75471b53f256327 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Sat, 30 Mar 2024 09:29:33 -0400 Subject: [PATCH] Remove dev scripts nobody uses, will likely make new ones --- developer/clang.sh | 16 ---------------- developer/discord.sh | 21 --------------------- developer/dummy.sh | 12 ------------ developer/dx.sh | 1 - developer/flags.sh | 29 ----------------------------- developer/network.sh | 37 ------------------------------------- developer/profile.sh | 16 ---------------- developer/proto-4.sh | 21 --------------------- developer/proto-8.sh | 29 ----------------------------- developer/sdl1.sh | 13 ------------- 10 files changed, 195 deletions(-) delete mode 100755 developer/clang.sh delete mode 100755 developer/discord.sh delete mode 100755 developer/dummy.sh delete mode 100755 developer/dx.sh delete mode 100755 developer/flags.sh delete mode 100755 developer/network.sh delete mode 100755 developer/profile.sh delete mode 100755 developer/proto-4.sh delete mode 100755 developer/proto-8.sh delete mode 100755 developer/sdl1.sh diff --git a/developer/clang.sh b/developer/clang.sh deleted file mode 100755 index e15e5ecd..00000000 --- a/developer/clang.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -set -e -if [ $# -eq 0 ]; then - make DEBUG=1 DEVELOPMENT=1 STRICT=1 COMPILER=clang -j -else - make DEBUG=1 DEVELOPMENT=1 COMPILER=clang -j -fi - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e -fi - -$FILE & diff --git a/developer/discord.sh b/developer/discord.sh deleted file mode 100755 index 24fbf297..00000000 --- a/developer/discord.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -set -e -if [ $# -eq 0 ]; then - make DEBUG=1 DEVELOPMENT=1 STRICT=1 -j -else - make DEBUG=1 DEVELOPMENT=1 -j -fi - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -WINPTY=winpty -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e - WINPTY= -fi - -# no debug, discord -$FILE --discord 2 --configfile sm64config_server.txt & -$FILE --discord 1 --configfile sm64config_client.txt & -exit diff --git a/developer/dummy.sh b/developer/dummy.sh deleted file mode 100755 index 6ff0f2fc..00000000 --- a/developer/dummy.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -set -e -make RENDER_API=DUMMY AUDIO_API=DUMMY CONTOLLER_API= -j - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e -fi - -$FILE --server 7777 --savepath ./build/us_pc/ diff --git a/developer/dx.sh b/developer/dx.sh deleted file mode 100755 index 625abc74..00000000 --- a/developer/dx.sh +++ /dev/null @@ -1 +0,0 @@ -make RENDER_API=D3D12 WINDOW_API=DXGI DEBUG=1 DEVELOPMENT=1 -j && ./build/us_pc/sm64.us.f3dex2e.exe diff --git a/developer/flags.sh b/developer/flags.sh deleted file mode 100755 index e812675a..00000000 --- a/developer/flags.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -set -e - -function compiler() { - make clean - make RENDER_API=$1 WINDOW_API=$2 AUDIO_API=$3 CONTROLLER_API=$4 TARGET_BITS=$5 - mv ./build ./build_$6 -} - -function compiler_no_discord() { - make clean - make DISCORD_SDK=0 - mv ./build ./build_no_discord -} - -compiler DUMMY DUMMY DUMMY "" 64 dummy_64 -compiler GL_LEGACY SDL1 SDL1 SDL1 64 legacy_1 -#compiler GL SDL1 SDL1 SDL1 64 gl_1 -#compiler D3D11 DXGI SDL1 SDL1 64 d3d11_1 -#compiler D3D12 DXGI SDL1 SDL1 64 d3d12_1 - -compiler GL_LEGACY SDL2 SDL2 SDL2 64 legacy_2 -compiler GL SDL2 SDL2 SDL2 64 gl_2 -compiler D3D11 DXGI SDL2 SDL2 64 d3d11_2 -compiler D3D12 DXGI SDL2 SDL2 64 d3d12_2 - -compiler GL SDL2 SDL2 SDL2 32 gl_2_32 - -compiler_no_discord diff --git a/developer/network.sh b/developer/network.sh deleted file mode 100755 index 0cd2d88f..00000000 --- a/developer/network.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -set -e -if [ $# -eq 0 ]; then - make DEBUG=1 DEVELOPMENT=1 STRICT=1 -j -else - make DEBUG=1 DEVELOPMENT=1 -j -fi - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -WINPTY=winpty -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e - WINPTY= -fi - -# no debug, direct -$FILE --server 7777 --configfile sm64config_server.txt & -sleep 2 -$FILE --client 127.0.0.1 7777 --configfile sm64config_client.txt & -exit - -# no debug, discord -#$FILE --discord 2 --configfile sm64config_server.txt & -#$FILE --discord 1 --configfile sm64config_client.txt & -#exit - -# debug on server -#$FILE --client 127.0.0.1 7777 --configfile sm64config_client.txt & > /dev/null -#$WINPTY cgdb $FILE -ex 'break debug_breakpoint_here' -ex 'run --server 7777 --configfile sm64config_server.txt' -ex 'quit' -#exit - -# debug on client -$FILE --server 7777 --configfile sm64config_server.txt & > /dev/null -$WINPTY cgdb $FILE -ex 'network_receive_download' -ex 'break debug_breakpoint_here' -ex 'run --client 127.0.0.1 7777 --configfile sm64config_client.txt' -ex 'quit' -exit diff --git a/developer/profile.sh b/developer/profile.sh deleted file mode 100755 index 35d6eb71..00000000 --- a/developer/profile.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -set -e -if [ $# -eq 0 ]; then - make DEBUG=1 DEVELOPMENT=1 STRICT=1 PROFILE=1 -j -else - make DEBUG=1 DEVELOPMENT=1 PROFILE=1 -j -fi - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e -fi - -$FILE & diff --git a/developer/proto-4.sh b/developer/proto-4.sh deleted file mode 100755 index 3c54ef06..00000000 --- a/developer/proto-4.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -set -e -if [ $# -eq 0 ]; then - make DEBUG=1 DEVELOPMENT=1 STRICT=1 -j -else - make DEBUG=1 DEVELOPMENT=1 -j -fi - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e -fi - -$FILE --server 27015 --configfile sm64config_p1.txt & -sleep 4 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p2.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p3.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p4.txt & diff --git a/developer/proto-8.sh b/developer/proto-8.sh deleted file mode 100755 index 7ccaff36..00000000 --- a/developer/proto-8.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -set -e -if [ $# -eq 0 ]; then - make DEBUG=1 DEVELOPMENT=1 STRICT=1 -j -else - make DEBUG=1 DEVELOPMENT=1 -j -fi - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e -fi - -$FILE --server 27015 --configfile sm64config_p1.txt & -sleep 4 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p2.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p3.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p4.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p5.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p6.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p7.txt & -sleep 2 -$FILE --client 127.0.0.1 27015 --configfile sm64config_p8.txt & diff --git a/developer/sdl1.sh b/developer/sdl1.sh deleted file mode 100755 index cc49d2e4..00000000 --- a/developer/sdl1.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e - -make RENDER_API=GL WINDOW_API=SDL1 AUDIO_API=SDL1 CONTROLLER_API=SDL1 DEBUG=1 DEVELOPMENT=1 -j - -# find file -FILE=./build/us_pc/sm64.us.f3dex2e.exe -if [ ! -f "$FILE" ]; then - FILE=./build/us_pc/sm64.us.f3dex2e -fi - -$FILE &