Commit Graph

122 Commits

Author SHA1 Message Date
otavepto
a0885417c6 generate *spec file inside build temp dir for all py scripts 2024-04-25 11:31:08 +02:00
otavepto
ad07ff0fb1 revert the changes to the old steam interfaces parser 2024-04-23 04:58:36 +02:00
otavepto
425baa4e2a refactor lobby_connect code + return! + set appid via env var (not needed but just in case) 2024-04-23 02:16:02 +02:00
otavepto
65147c22b9 small note and refactor 2024-04-21 00:41:59 +02:00
otavepto
0cd1711bcf * new switches for the generate_emu_config tool
- `-skip_ach`: skip downloading & generating achievements and their images
  - `-skip_con`: skip downloading & generating controller configuration files
  - `-skip_inv`: skip downloading & generating inventory data (`items.json` & `default_items.json`)

* copy the readme of the migration tool after build
* let the migration tool exit with code 1 if nothing was found
2024-04-20 20:15:47 +02:00
otavepto
0c50f6b4c7 refactor comments 2024-04-20 19:36:18 +02:00
otavepto
2bde7e4eba disable friend avatar functionality by default + new option to enable it 2024-04-20 19:29:54 +02:00
otavepto
0e694f1e86 * write dlc to [app:dlcs] inside .ini
* fix a mistake when mixing output from generate_emu_config tool
* ensure output from generate_emu_config tool is written as soon as possible in case another stage threw an exception
* fix a bug when writing .ini, ensure everything is a string
* new readme for the migration tool
2024-04-20 17:30:04 +02:00
otavepto
d6643124ae new tool migrate_gse to migrate old folder structure to the new ini format 2024-04-20 05:08:01 +02:00
otavepto
803a79690c update generate_emu_config tool to use the new format 2024-04-20 01:23:28 +02:00
otavepto
4b7f408e4f update find_interfaces tool to use the new format 2024-04-20 01:22:55 +02:00
otavepto
893f566375 workaround to make Steam Input work, not guaranteed 2024-04-20 01:13:10 +02:00
otavepto
aa53202022 some refactoring 2024-04-20 01:09:55 +02:00
otavepto
35c0c408b9 * allow changing the name of the base folder used to store save data via saves_folder_name, by default it would be Goldberg SteamEmu Saves
* changed the environment variable `SteamAppPath` to `GseAppPath`
* allow loading `config.ini` from global settings path + merge it with the local one, and allow the local one to override the global one
* fixed the path returned by `get_user_appdata_path()` to include the path separator
* updated readmes
2024-04-16 22:59:27 +02:00
otavepto
e7bc867b56 deep merge dict 2024-04-16 00:08:58 +02:00
otavepto
1e1a2b6849 update gen_emu_config tool 2024-04-14 19:54:36 +02:00
otavepto
484fc2a982 * set these env vars for a more accurate emulation:
- `SteamAppUser`
  - `SteamUser`
  - `SteamClientLaunch`
  - `SteamEnv`
  - `SteamPath`
2024-04-13 17:35:10 +02:00
otavepto
4c8bc9c3cd removed debug flag 2024-04-10 11:05:26 +02:00
otavepto
2deda8a2eb disable the overlay by default, and only enable it via the config file enable_experimental_overlay.txt, avoiding many crashes 2024-04-09 15:45:54 +02:00
otavepto
6c99b29d24 for gen_emu_config: allow specifying the username and password via env vars GSE_CFG_USERNAME and GSE_CFG_PASSWORD 2024-04-02 03:48:40 +02:00
otavepto
07f3c7a2d2 for generate_emu_config: new options -de and -cve to generate some disable_xxx files, or enable some convenient features 2024-04-01 19:23:55 +02:00
otavepto
93172e642e allow disabling the new options via config files 2024-04-01 19:23:55 +02:00
otavepto
5b55d448f7 * new stub dll GameOverlayRenderer for the experiemntal steamclient setup
* for windows build script: prevent permissive language extensions via the compiler flag `/permissive-`
2024-03-21 00:50:58 +02:00
otavepto
16a241599f updated stub drm patterns (for v2) and added a workaround for older variants 2024-03-18 03:32:37 +02:00
otavepto
4bf76af19b * point at updated deps submodule
* fixed mistakes in win deps build script + gen_emu_config package script

* update linux deps build script
2024-03-08 18:13:29 +02:00
otavepto
c38601fdcd Restore networking, source query, avatar, friends changes/additions from: 75e6d7c8ab, 4399c0b12b 2024-02-29 19:59:53 +02:00
otavepto
001e74aafa revert all networking, source query, avatar, friends changes/additions from: 75e6d7c8ab, 4399c0b12b 2024-02-29 19:59:53 +02:00
otavepto
7e240ffec0 new flag -reldir for the generate_emu_config script to use everything relatively 2024-02-24 20:49:31 +02:00
otavepto
883dfac04f * build the python scripts achievements_gen.py and parse_controller_vdf.py into binary form using pyinstaller
* change the scripts `achievements_gen.py` and `parse_controller_vdf.py` to accept multiple files
2024-02-24 17:12:38 +02:00
otavepto
44275decd4 add -nd flag for gen_emu_config to readme 2024-02-20 19:13:23 +02:00
otavepto
bf413fc12a report missing key binding 2024-02-17 12:53:12 +02:00
otavepto
c1d1779624 update the code which parses controller inputs 2024-02-17 10:17:55 +02:00
otavepto
210c86c1a3 add an example website 2024-02-17 10:17:55 +02:00
otavepto
df2f38f589 * create an empty example file on build
* don't strip spaces for login data

* build temp data inside same folder as regular build
2024-02-17 10:17:55 +02:00
otavepto
e62ec772c3 support the new format for supported_languages 2024-02-17 10:17:55 +02:00
otavepto
3a701dfbbd fixed a bug + print stack trace on exception 2024-02-17 10:17:55 +02:00
otavepto
d8c14ab13e * allow setting steam id of apps/games owners from an external file top_owners_ids.txt beside the script
* use the directory of the generate_emu_config script for temp stuff
2024-02-17 10:17:55 +02:00
otavepto
018d4aa2c1 sloppy code is problematic! (at least verify PE signature) 2024-02-13 02:27:09 +02:00
otavepto
0237152b82 fixed some mistakes + missing reg patch 2024-02-07 03:43:20 +02:00
otavepto
7feca7f173 update notes 2024-02-07 03:43:20 +02:00
otavepto
3482c6fae3 added persistent modes to cold client loader + refactored ini sections 2024-02-07 03:43:20 +02:00
otavepto
7e595ce1d9 updated changelog 2024-01-25 23:32:54 +02:00
Detanup01
16e49d9bcb Added option to not generate disable_*.txt"s 2024-01-25 23:14:46 +02:00
otavepto
0e4b6e85e0 fixed a pattern 2024-01-25 03:13:19 +02:00
otavepto
5db4636cf1 updated changelog 2024-01-24 23:11:11 +02:00
otavepto
ad14e7f14e more stub variants 2024-01-24 22:18:07 +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
00ace6727d refactored the entire win client loader to use C++ + use relative paths to the exe itself + added a debug log 2024-01-19 04:28:03 +02:00
otavepto
733e08c3b9 added a new option to the cold client loader to load a dll via createremotethread 2024-01-19 04:28:03 +02:00
otavepto
85abf09650 new id to handle recent games 2024-01-19 03:51:44 +02:00
otavepto
43ce82bf9c fix compilation error + some print messages 2024-01-05 22:10:30 +02:00
otavepto
57a02c7b43 refactor the tool find_intrfaces to search accurately for interfaces 2024-01-05 22:10:30 +02:00
otavepto
ace7aa4acb added a new debug option "ResumeByDebugger" for the Windows version of the client loader 2024-01-03 01:56:26 +02:00
otavepto
41a3adfa33 sign the gen emu script too 2023-12-31 21:06:44 +02:00
otavepto
61ae6711f8 always generate DLC.txt 2023-12-31 21:06:44 +02:00
otavepto
d9261f8500 gen emu config: readme + icon attribution 2023-12-29 23:03:58 +02:00
otavepto
512eb4e0bf added anonymous login to gen emu script, has very limited access 2023-12-29 23:03:58 +02:00
otavepto
b960f6ca1f configureable python version for Linux in gen emu config packaging script 2023-12-28 01:30:46 +02:00
otavepto
56b73df775 in Windows steamclient_loader only spawn the exe after doing all the registery modifications 2023-12-28 01:30:46 +02:00
otavepto
440d8335e2 fixed a bunch of includes 2023-12-28 01:30:46 +02:00
otavepto
8997c70ac6 in Linux steamclient_loader, expand exe and steam runtime exe when provided, this is because we cd before running, and the given relative path will no longer be valid + some fixes after testing it 2023-12-28 01:30:46 +02:00
otavepto
071925106b minor spelling 2023-12-28 01:30:46 +02:00
otavepto
fa99b4f761 rename example files in Linux steamclient_loader script to avoid accidental invokation on first run 2023-12-28 01:30:46 +02:00
otavepto
5e57643f3a changed tmp dir for builds 2023-12-28 01:30:46 +02:00
otavepto
6f2cca7fad gen emu script build scripts: cleanup build tmp folder + use a nested dir for build 2023-12-28 01:30:46 +02:00
otavepto
d5035d3dbd dynamic thread count in packager script for gen emu config 2023-12-28 01:30:46 +02:00
otavepto
7dc92f0bdf fixed packager app path in gen emu config 2023-12-28 01:30:46 +02:00
otavepto
17dadd2e61 moved the steamclient_loader tool into the tools folder 2023-12-28 01:30:46 +02:00
otavepto
1d66836074 moved the lobby_connect tool into the tools folder 2023-12-28 01:30:46 +02:00
otavepto
3c32031596 moved the generate_interaces tool into the tools folder 2023-12-28 01:30:46 +02:00
otavepto
6c07697a6d moved the generate_emu_config into tools folder 2023-12-28 01:30:46 +02:00