Skip to content

Instantly share code, notes, and snippets.

View dsvensson's full-sized avatar
🖖
if the scatman can do it then so can you

Daniel Svensson dsvensson

🖖
if the scatman can do it then so can you
View GitHub Profile
---- qbsp / ericw-tools 2.0.0-alpha3-37-gde0f66c1 ----
--- Options Summary ---
"threads" was set to "32" (from command line)
"nocolor" was set to "1" (from command line)
"wadpath" was set to "C:/QuakeDev" (from command line)
running with 32 thread(s)
running with lower priority
Input file: C:\QuakeDev\projects\build\outpost96-compile.map
@dsvensson
dsvensson / CMakePresets.json
Created September 14, 2023 20:52
vcpkg static linux build setup
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 9,
"patch": 0
},
"configurePresets": [
{
"name": "default",
qbool ReSearchInitEx(const char *wildcard, qbool case_sensitive)
{
int error;
pcre2_code *re;
PCRE2_SIZE error_offset;
if (wildcard_level == 4) {
Com_Printf("Error: Regexp commands nested too deep\n");
return false;
}
COMPLETE LISTING OF CTFBot+ IMPULSES
1 Axe/Grapple
2 Shotgun
3 Super Shotgun
4 Nailgun
5 Super Nailgun
6 Grenade Launcher
7 Rocket Launcher
8 Lightning Gun
diff --git a/predict.py b/predict.py
index 4b9df0a..ecc9b74 100644
--- a/predict.py
+++ b/predict.py
@@ -14,6 +14,9 @@ from image_to_image import (
preprocess_mask,
)
+def dummy(images, **kwargs):
+ return images, False
--- /c/Users/dsven/Downloads/fragfile.dat 2022-09-21 21:38:03.224956000 +0200
+++ /c/Quake2/qw/fragfile.dat 2022-05-04 20:22:30.640857600 +0200
@@ -10,7 +10,7 @@
#META DESCRIPTION "frag messages for DM and TDM, additionaly support KTPRO and KTX mods"
#META AUTHOR "fuh but slightly modified by ezquake team"
#META EMAIL none
-#META WEBPAGE http://ezquake.sf.net
+#META WEBPAGE https://ezquake.github.io/
@dsvensson
dsvensson / effectinfo.cfg
Created September 13, 2022 00:27
Arcane Dimensions effectinfo.txt converted to FTEQW particle script
r_part TE_GUNSHOT
{
type cdecal
blend premul_subtract
texture "particles/particlefont"
tcoords 0.000488281 0.437012 0.0620117 0.375488 1 8 0.0625
count 0 0 1
rgbf 1 1 1
alpha 0.125
alpharand 0.25
@PointClass base(AppearFlags,targetname) size(-16 -16 -16,16 16 16) color(255 128 128) flags(Angle) = misc_camera : "Ingame cinematic camera(No COOP/DM), will fade/move based on times in seconds. The first fade (out) is from previous camera to background colour. The second fade (in) is to current camera view. The linear movementwill start at the same time as the fade in process. Start -> Fade Out(waitmin1) -> Fade In(waitmin2) / Movement (waitmin3) Once 'Fade in' has finshed then the pause timer (wait) starts.Waitmin3 = Waitmin2 + Wait (Sync everything to finish together) To sync the final camera to a player start, finish 22 map units above angles = up/down, angle, tilt left/right 'pitch roll yaw'up/left = negative value, down/right = positive valuedeathtarget, modeltarget & returntarget have to be defined on first cameraBe aware that coop is not supported, so be careful of trigger eventsand decide on a coop not working message2." [
spawnflags(Flags) = [
1 : "Player" : 0 : "Show the player mod
#!/bin/bash
rm -rf build
mkdir -p build/target
cd build || exit 1
mkdir pak0
unpak -q -d pak0 ../dist/pak0.pak
mkdir -p dist
fetch() {
name=$1
url=$2
if [ ! -f "dist/${name}" ]; then
echo "Fetching ${name} from ${url}"
curl -s -L -o "dist/${name}" "${url}"
else
echo "Already have ${name}"