Commit Graph

43 Commits

Author SHA1 Message Date
otavepto
3b5fea61f3 disable char8_t to be able to use u8"" strings in a normal manner for overlay translations 2024-03-08 18:13:29 +02:00
otavepto
42a5c14ec3 allow -j 1 for build scripts 2024-03-08 18:13:29 +02:00
otavepto
c13f636c11 update windows build script for the new ingame overlay dependency 2024-03-08 18:13:29 +02:00
otavepto
3474c703e3 we need that #define for dx12 when compiling for x32 according to docs 2024-02-09 20:39:01 +02:00
otavepto
1a5998d13b * initial wiki
* reduce code in linux build script

* make steamnetworkingsockets.cpp compile (Win + Linux)
2024-01-26 21:31:26 +02:00
otavepto
6249d7ca4d * attempt to auto detect mods with the same behavior as if they were defined in mods.json, for an easier config
* new function in local storage to get list of folders at root level, given some path

* use last week epoch as the default time for mods dates (created, added, etc...)

* UGC: some params checks according to SDK docs for CreateQueryXXX() functions

* fixed some mistakes
2024-01-20 18:46:43 +02:00
otavepto
e2cb2e0f38 allow specifying a load order via a file called load_order.txt inside the root of the dlls to inject folder + updated readmes 2024-01-19 04:28:03 +02:00
otavepto
91aac61e23 a working stub patcher + lots of changes to cold client loader 2024-01-19 04:28:03 +02:00
otavepto
d1fdde23cc fixed some win build errors 2024-01-19 04:28:03 +02:00
otavepto
705a1b925a added helper functions + restructure folders 2024-01-19 04:28:03 +02:00
otavepto
9a1b49b103 use the dos stb changer during build 2024-01-19 04:28:03 +02:00
otavepto
b69973a37d use the undocumented linker flag to prevent adding the MSVC Rich Header 2024-01-19 04:28:03 +02:00
otavepto
40ef939ad9 build cold client loader in 32 and 64 bit modes 2024-01-19 04:28:03 +02:00
otavepto
b14a3e7f54 fixed a mistake in win build script 2024-01-19 04:28:03 +02:00
otavepto
6efc5b5e8e updated build scripts for the crash printer 2024-01-19 03:51:44 +02:00
otavepto
fbaad96afc check for signing tool 2023-12-31 21:06:44 +02:00
otavepto
8fa92eef93 updated win build script to sign each file after build 2023-12-31 21:06:44 +02:00
otavepto
e326c1d556 don't cleanup protoc generated files, because VScode gets confused and cannot find files/types 2023-12-31 01:35:16 +02:00
otavepto
f6bb934c1e exit early when protoc or rc.exe fails 2023-12-31 01:35:16 +02:00
otavepto
8b9e366441 added version resource for .exe launcher 2023-12-31 01:35:16 +02:00
otavepto
e5f59ad952 updated win build script to compile and use the .rc file 2023-12-31 01:35:16 +02:00
otavepto
77d6b7d1ec refactor the win build script to make it similar to the linux one and reduce dupe + ensure /MT when compiling + introduce -verbose flag + fix missing quote! 2023-12-28 22:12:08 +02:00
otavepto
9fafde917e output protoc generated in a subfolder in dll/ for easier code reference 2023-12-28 22:10:55 +02:00
otavepto
475cbe5da4 update all build scripts:
+ use new sdk folder

+ build proto files in build/tmp folder

+ update global includes to recognize the new structure

+ copy post build stuff

+ Linux: count protoc error

+ Windows: use nested dir for each build
2023-12-28 01:30:46 +02:00
otavepto
1ce0e823c4 change deps build dir to: build/deps/linux (example) to make them independant from emu build folder, which is for example build/linux/... 2023-12-28 01:30:46 +02:00
otavepto
5e57643f3a changed tmp dir for builds 2023-12-28 01:30:46 +02:00
otavepto
25ebb7c117 Windows build script: sanity check for directory validity + deprecated low perf & win xp options + restructure the order of variables + "clean" vs "-clean" arg 2023-12-28 01:30:46 +02:00
otavepto
8ab7d9608a in Windows build script disable copying the example readmes temporarily 2023-12-28 01:30:46 +02:00
otavepto
334ef9ae4a in Windows build script copy the cold client loader .ini from the new dir 2023-12-28 01:30:46 +02:00
otavepto
e25431f164 update Windows build script to use the new folder structure + add some new dirs as include folders 2023-12-28 01:30:46 +02:00
otavepto
eedb6f0af8 in Windows build script build everything inside build/win/ 2023-12-28 01:30:46 +02:00
otavepto
82197aefdd update Windows build script to avoid removing the entire build folder before building + introduce -clean flag 2023-12-25 18:30:44 +02:00
otavepto
36f57bfd04 remove +lowperf flag for now from all build scripts 2023-12-25 18:30:44 +02:00
otavepto
a642521a88 updated Windows build script to add the mbedtls static lib and its include dir to the build process 2023-12-25 18:30:44 +02:00
otavepto
13bc94ad75 for Windows build script, inline the cleanup procedure and deprecate the separate/dedicated cleanup script 2023-12-25 01:58:45 +02:00
otavepto
c190c6ff93 updated the Windows build script to include the source files of the Mbed TLS library + refactored to be similar to the Linux script & use a common variable for source files 2023-12-24 14:33:40 +02:00
otavepto
bdd0bf3bda updated Windows + Linux build scripts to add the includes folder for the new Mbed TLS library 2023-12-24 14:33:40 +02:00
otavepto
a1c41db373 updated Windows + Linux build scripts to include the new folder for fifo_map library 2023-12-24 14:33:40 +02:00
otavepto
6374c9e7f3 + in Linux build scripts don't use -d flag with rm
+ add global build stat message
2023-12-21 19:33:05 +02:00
otavepto
0b49bd3338 + fixed error propagation in Windows build script, apparently set /a var+=another_var works only if another_var is a defined env var but NOT one of the "magic" builtins like errorlevel
+ output niceness when running protob compiler in Linux build
2023-12-20 05:30:17 +02:00
ota
2e69c038cc + check for vswhere before attempting any detection
+ niceness for terminal output

+ update Windows + Linux scripts to use the new directories of third party + propagate exit error code + fix line ending

+ update Windows deps build script to clean generated build files by cmake after install + propagate exit code of all builds

+ update Linux deps build script to clean generated build files by cmake after install + propagate exit code of all builds

+ fix line ending!
2023-12-18 02:50:05 +02:00
a
ce0d862b67 updated Windows build script for the utf-8 lib 2023-12-14 04:48:25 +02:00
a
37f8c34dc8 added proper build scripts for Windows + clean build script 2023-12-14 04:41:30 +02:00