73 Commits

Author SHA1 Message Date
alex47exe
68e35c17ee generate_emu_config, fix -rel argument
for better customization, it is now split in two arguments:
- rel_out:  generate complete game config in _OUTPUT/appid folder, relative to the bat, sh or app calling generate_emu_config app
- rel_raw:  generate complete game config in the same folder that contains the bat, sh or app calling generate_emu_config app
2024-10-21 02:42:54 +01:00
alex47exe
169d29e53d fix generate_emu_config
fix two controller config related error when generating for appid 427520 and 1477940
2024-10-19 22:47:56 +01:00
alex47exe
766b685b62 update top_owners_ids.txt for generate_emu_config
add top owners_ids.txt to Linux build too
2024-10-14 20:10:36 +01:00
alex47exe
174d2df50a generate_emu_config and migrate_gse:
replaced %outdir% with $outdir for linux build scripts
2024-10-14 15:40:14 +01:00
alex47exe
21c33b3a98 generate_emu_config and migrate_gse:
copy _DEFAULT folders for Linux too
2024-10-14 15:23:21 +01:00
alex47exe
3ccce93a74 fix generate_emu_config login, thanks to Sak32009
replace 'client_id' error with simple 'wrong username and / or password' message, asking for correct username and / or password
add pcgw_page script to download PCGamingWiki page (source code only), not yet enabled in main script
generate steam_emu.ini for CODEX and RUNE versions, update gse_generate_interfaces
2024-10-14 00:24:49 +01:00
alex47exe
6c5819b3f0 release workflow improvements
- added bat scripts to automatically pack latest steam_api dlss and tools for generate_emu_config and migrate_gse
- removed previous steam_api dlls and 7z archives from generate_emu_config and migrate_gse
- removed previous generate_interfaces and lobby_connect 7z archives from generate_emu_config and migrate_gse
- moved some default required files for generate_emu_config from _DEFAULT\1 to _DEFAULT\0 folder, thus eliminating the need to duplicate them for every other default configuration folder you might create (_DEFAULT\2 - _DEFAULT\5)
2024-10-07 15:56:41 +01:00
alex47exe
398ae35d99 fix steam id for generated codex ini
now using steam id3 (correct) instead of steam id64 (wrong)
2024-10-07 15:55:38 +01:00
alex47exe
8141643978 - manually push latest steam api 7z archives required by gse_debug_switch helper tool
- disable overlay by default for generate_emu_config (seems it crashes a lot of games now after some recent updates to the way achivement icons are loaded)
2024-09-24 00:14:28 +01:00
alex47exe
c0b071e78a
Merge branch 'dev' into dev 2024-09-16 15:17:36 +01:00
Detanup01
f7fe813310
fix for "inputs" not exists in vdf 2024-09-15 21:46:09 +02:00
alex47exe
93ba29191c
Merge branch 'dev' into dev 2024-08-26 22:49:44 +01:00
alex47exe
71d6aa7fc4 - manually push latest steam api 7z archives required by gse_debug_switch helper tool
- manually psuh latest generate_interafaces and lobby connect 7z archives
- update ini files in _DEFAULT/1 folder to support latest changes
2024-08-25 14:57:09 +01:00
Sak32009
971e60c85d removed /s option from del command in .bat files 2024-08-25 11:37:01 +02:00
Sak32009
5700a5f886 improved build_win_premake.bat, package_win.bat, rebuild_win.bat and recreate_venv_win.bat and and fixed a sign_helper error that didn't find the input file 2024-08-25 11:30:19 +02:00
alex47exe
08e7473984 - manually push latest steam api 7z archives required by gse_debug_switch helper tool
- fix configs.main.ini for generate_emu_config, to support latest changes
2024-08-19 14:48:09 +01:00
alex47exe
d17334b11a
Merge branch 'dev' into dev 2024-08-18 21:22:04 +01:00
a
41570b0fa5 ensure generated schema from gen_emu_config contains name and description 2024-08-18 05:00:14 +03:00
alex47exe
fb8edcc3af * manually push latest steam api 7z archives required by gse_debug_switch helper tool 2024-08-04 00:26:44 +01:00
alex47exe
32eaea9cdf fix compatibility with upstream fork, re-enabling auto-merge functionality
also corrected Mr_Goldberg's name in some .md files
2024-08-03 23:21:56 +01:00
alex47exe
a37feca3e1 add missing lines for steam_api64 and steamclient64 - fixes gse_debug_switch 2024-08-03 01:52:42 +01:00
alex47exe
6431c17738
extra_acw.zip instead of extra_acw.7z - fixes gse_acw_helper 2024-08-02 16:20:33 +01:00
alex47exe
ae979f1edb * [alex47exe] major overhaul of **generate_emu_config** - custom configs, proper ini parsing, better logging and error handling, helper tools:
* add `-def1` ... `-def5` arguments, which can be used to generate your preferred custom config
    if no `-def` argument is provided, `-def1` will be used by default, to automatically copy from the following folders:
    * `.\_DEFAULT\0` ............... essential emu files, like latest GSE dlls (*steam_api.dll* and *steam_api64.dll*)
    * `.\_DEFAULT\1` ............... other GSE files and folders, including default ini files
    * `.\_DEFAULT\<appid>` ... other GSE files and folders, but only for the current `<appid>`, if the folder exists
  * (Windows only) add some useful helper tools, written in *AutoIt3*:
    * **gse_acw_helper.exe** - add the required achievements schema db files for *Achievement Watcher*, if  .\steam_misc\extra_acw\extra_acw.zip file exists (if generated by `generate_emu_config.exe -acw <appid>`)
    * **gse_debug_switch.exe** - automatically switch between release and debug versions of the emulator, if *steam_api.7z* / *steam_api64.7z* file exists (or *steamclient.7z* / *steamclient64.7z*, if you use the steamclient version)
      paths to release and debug files inside 7z, can be customized in .\steam_misc\tools\au3\scripts\gse_debug_switch.ini
    * **gse_generate_interfaces.exe** - simple x64-x86 launcher for *generate_interfaces.exe*
      it also writes all found steam interfaces to CODEX *steam_emu.ini* (if generated by `generate_emu_config -cdx <appid>`)
      make sure to name your original dll to one of these formats, so it can automatically find its interfaces:
      * `valve_api.dll / valve_api64.dll`
      * `steam_api.dll.bak / steam_api64.dll.bak` or `steam_api.dll.org / steam_api64.dll.org`
      * `steam_api.bak / steam_api64.bak` or `steam_api.org / steam_api64.org`
      * `steam_api_orig.dll / steam_api64_orig.dll` or `steam_api_legit.dll / steam_api64_legit.dll`
    * **gse_lobby_connect.exe** - simple x64-x86 launcher for *lobby_connect.exe*
  * new folder structure, compatible with current and future helper tools --- default arguments are `-acw -cdx -clr <appid>`
    NEVER delete `.\steam_misc\app_backup`, `.\steam_misc\app_info`, `.\steam_misc\tools` and `.\steam_settings` folders
    MIGHT need `.\steam_misc\extra_acw` and `.\steam_misc\extra_cdx` for compatibility with Achievement Watcher and CODEX
  * add `-scx` argument to automatically download images / videos for trading cards, backgrounds, badges, emoticons and other tradable items
    unfortunately I couldn't find any direct steam api method to download the files, so I had to write a rudimentary web scrapper to extract the download links from a third-party website, hence the *scx_gen.py* script might need updating in the future if the website design changes
  * download screenshots and videos:
    * download thumbnails for both screenshots and videos, and compress them to `.zip` files
    * screenshots and videos are now numbered from first to last published, as in the Steam store page
    * add `-vids_low` / `-vids_max` arguments to download all videos, in low and / or high quality
  * create / update .\\*top_owners_ids.txt* when .\\*top_owners_ids.html* is present
  * generate controller action sets txt files for all found controller vdf configs, and zip them inside .\steam_misc\app_backup\app_backup.zip
    by default, the emu supports only `xboxone` and `xbox360` controller configs, though if the're are any issues with the default supported controller action sets inside .\steam_settings\controller folder, you could try to unpack and overwrite action sets for other unsupported controller configs
  * (Windows only) add *AdvancedRun* launchers (cmd console + silent) for `.bat` files and `.py` scripts
* **[alex47exe]** major overhaul of **migrate_gse** - uses the same `.\_DEFAULT\0` and `.\_DEFAULT\1` folder structure for default configs
  it can convert old `.txt` format to `.ini` format, minus *branches.json*, which would require using *top_owners_ids.txt* and some login code from **generate_emu_config**, which should actually be used to properly generate the config files, instead of converting from the old `.txt` format
* [alex47exe] *generate_interfaces.exe* - find all Steam Interfaces instead of only old ones
  the emu will ignore the ones it doesn't require, while we'll have the complete list to write it to CODEX *steam_emu.ini*
* [alex47exe] *lobby_connect.exe* - improve cmd console text alignment
* [alex47exe] `mods_img` instead of `mod_images` (better folder consistency), better example for `mods_img`, minor tweaks to `.ini` and `.md` files
2024-07-30 01:21:09 +01:00
alex47exe
34dd0baf2f
Add files via upload 2024-07-30 01:01:38 +01:00
otavepto
61d519bf0e fix the condition of Steam_Apps::SetActiveBeta() as noted by universal963 + remove deprecated build_id from gen_emu_config 2024-07-07 02:39:21 +03:00
otavepto
3fdb45e43b generate branches.json from app info schema 2024-07-07 02:39:21 +03:00
otavepto
433dc405bd gen_emu_config: make sure each line in supported languages is lowercase 2024-06-30 03:18:39 +03:00
otavepto
4204b356d7 fix python 3.12 installation on ubuntu 22 2024-06-17 10:50:18 +03:00
otavepto
f7e4394f34 this warning might be the reason SSL certificate is failing on Arch (when adding deadsnake PPA): "Note: for jammy and noble, older python versions requre libssl<3 so they are not currently built" 2024-06-17 10:50:18 +03:00
otavepto
b1217657db use requests package instead of urllib 2024-06-17 10:50:18 +03:00
Detanup01
435f9bfd49
fix for real 2024-05-17 21:48:51 +02:00
Detanup01
ea1bb239c3
fix for 282800 2024-05-17 21:37:41 +02:00
otavepto
efbd091a80 Revert all fake changes 2024-05-11 17:38:32 +03:00
otavepto
517648677d fake change to test new workflow 2024-05-11 17:38:32 +03:00
otavepto
f243271feb fix gen_emu_config build 2024-04-25 12:37:26 +02:00
otavepto
a0885417c6 generate *spec file inside build temp dir for all py scripts 2024-04-25 11:31:08 +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
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
803a79690c update generate_emu_config tool to use the new format 2024-04-20 01:23:28 +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
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
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: 75e6d7c8ab466655f563963a3e4ec2edc6a4e1de, 4399c0b12bbbb85de8d121ab81a163c7883b70a7 2024-02-29 19:59:53 +02:00
otavepto
001e74aafa revert all networking, source query, avatar, friends changes/additions from: 75e6d7c8ab466655f563963a3e4ec2edc6a4e1de, 4399c0b12bbbb85de8d121ab81a163c7883b70a7 2024-02-29 19:59:53 +02:00