2024-06-02 13:32:19 +08:00
* **[Detanup01]** added `premake` build scripts, allowing the project to be built with different toolsets with ease on diffrerent platforms
2024-06-07 02:17:13 +08:00
for example the project could be built with `Visual Studio` on Windows, or via the `make` tool on Linux
* **[schmurger]** added progress bar in the achievements list, for achievements that are not earned yet in the overlay.
also implemented notifications for these progress indications (whenever the game indicates a new progress).
you can disable the achievement progress notifications via `disable_achievement_progress` inside `configs.overlay.ini`
* **[schmurger]** implemented the function `Steam_User_Stats::GetAchievementProgressLimits()`
* **[Detanup01]** added missing interfaces `ISteamScreenshot` `v001` and `v002` + fixed lots of build warnings in Visual Studio
* initial support for building with `MSYS2` on Windows, this is still highly experimental and not everything might work as expected, for example the overlay will crash at runtime
2024-06-02 13:32:19 +08:00
* third-party dependencies could now be built with a `premake` script, offering more flexibility.
for example you can choose to extract or build certain libraries only
---
**check the updated readme**
**rebuild your dependencies + project!**
---
* enable controller support by default for the regular emu build
2024-06-07 02:17:13 +08:00
* fixed an old buffer overrun bug in `Steam_User_Stats::UpdateAvgRateStat()`
* fixed an old bug in the shutdown functions, now they will refuse incorrect requests like the original API library, solving a crash in some games
2024-06-02 13:32:19 +08:00
* fixed a mistake which led to a missing export `g_pSteamClientGameServer` for the API library
2024-05-08 05:30:23 +08:00
* for Windows ColdClientLoader: allow loading `.ini` file with the same name as the loader
ex: if the loader is named `game_cold_loader.exe` , then it will first try to load `game_cold_loader.ini` ,
if that doesn't exist, it will fallback to `ColdClientLoader.ini`
2024-06-02 13:32:19 +08:00
* added missing callback in `Steam_UGC::RequestUGCDetails()`
* re-implemented the way the background thread is spawned & terminated to fix its cleanup sequence + spawn it for gameservers as well
2024-06-07 02:17:13 +08:00
* enhanced the overlay shutdown sequence, making it able to handle rapid init/shutdown sequence, fixing a crash in some games
2024-06-02 13:32:19 +08:00
* corrected callback vs call result in `Steam_Apps::RequestAllProofOfPurchaseKeys()`
2024-06-07 02:17:13 +08:00
* added new button to the overlay `toggle user info` to show/hide user info, also + make user info hidden by default
* made all overlay popups toggleable, clicking its button another time will hide or show the popup, depending on its previous state
2024-05-22 00:45:32 +08:00
* deprecated and removed the special Git branches `ci-build-*` , they were intended for automation but no longer maintained
2024-05-08 05:30:23 +08:00
---
2024-05-06 01:09:30 +08:00
## 2024/5/5
2024-05-02 18:02:33 +08:00
* **[Clompress]** update Turkish translation
2024-05-05 09:22:28 +08:00
* fixed a mistake where the interface `ISteamUser` `v022` was not added to the list of supported versions
2024-05-03 19:08:41 +08:00
* increase polling of the run callbacks background thread to `300 ms`
* refactored all code inside `.h/.cpp` pair, all source code in `dll/` is no longer written inside `.h` files
2024-05-02 18:02:33 +08:00
---
2024-05-01 01:14:45 +08:00
## 2024/4/30
2024-04-30 05:58:19 +08:00
* **[schmurger]** added a sliding animation for the overlay notifications
the duration of the animation could be changed using the new option `Notification_Animation` in `configs.overlay.ini`
* **[Detanup01]** fixed a bug which resulted in a crash when the generated auth ticket size exceeded the max buffer size
* use `std::filesystem::u8path` to support `utf-8` paths, suggested by ** [Clompress]**
this fixes a bug where non-ascii paths were not being recognized in many places
* fixed an undesired behavior where the steam pre-owned ids were being merged with user's dlc list or installed apps list,
this option is now disabled by default and the option `disable_steam_preowned_ids` is deprecate in favor of the new `enable_steam_preowned_ids`
* fixed a bug where sanitizing paths in the settings parser would remove the colon ':' character,
preventing the usage of absolute paths on Windows, like: `C:\aa\bb`
* corrected the size of the auth ticket used in `Steam_User::GetAuthTicketForWebApi()`
2024-04-30 08:16:16 +08:00
* added 2 new options to the overlay appearance `Notification_Margin_x` and `Notification_Margin_y` which allow specifying a small gap horizontally or vertically for the notifications
2024-04-30 05:58:19 +08:00
* added a new switch `-revert` for the tool `migrate_gse` , which allows converting `.ini` files back to `.txt` files,
also added some common switches for the help page `/?` , `-?` , etc...
2024-05-01 01:14:45 +08:00
**note that this option isn't 100% perfect**
2024-04-30 08:16:16 +08:00
* updated the built-in overlay appearance & the example overlay ini file with a darker look and feel + changed some defaults, inspired by additions of ** [schmurger]**
2024-04-30 05:58:19 +08:00
---
2024-04-25 18:43:55 +08:00
## 2024/4/25 (hotfix 1)
* fixed mismatching push/pop for the overlay style, resulting in a crash when the default colors are changed
2024-04-30 05:58:19 +08:00
---
2024-04-25 09:17:36 +08:00
## 2024/4/25
* **[schmurger]** improved achievement notification:
- added new overlay appearance option `Notification_Rounding` which allows increasing the roundness of the notifications corners
- the overlay ini file now contains color scheme similar to the one used in steam for the notification background
2024-04-25 18:43:55 +08:00
* added a new button to the overlay `"Test achievement"` which triggers a test achievement, suggested by ** [Kirius88]**
2024-04-25 09:17:36 +08:00
note that the icon for this test achievement is selected randomly from the current list of achievements
* added a new overlay appearance option `Achievement_Unlock_Datetime_Format` which allows changing the date/time format of the unlocked achievements, suggested by ** [Clompress]**
* removed the condition which disabled the overlay sounds when it is shown, suggested by ** [Vlxst]**
* calculate all notifications heights dynamically
---
2024-04-24 04:42:31 +08:00
## 2024/4/23
2024-04-23 11:20:20 +08:00
* fixed local saving + ignore the global settings folder entirely when using the local save option for a full portable behavior
* reverted all changes made to `find_interfaces` tool and reverted the format back to the original one, which allows loading `steam_interfaces.txt`
* fixed a bug in the `settings_parser` which lead to unwanted disk write operations in the `lobby_connect` tool
2024-04-24 04:42:31 +08:00
* don't use global appdata path in `matchmaking` + `matchmaking_servers` , instead use current/active save directory, in case we're using local_save_path
2024-04-23 11:20:20 +08:00
---
2024-04-22 03:42:36 +08:00
## 2024/4/21
2024-04-13 16:04:30 +08:00
* **[Clompress]** corrected Turkish translation
2024-04-22 03:42:36 +08:00
* allow changing the name of the base/global folder used to store save data, suggested by ** [Clompress]**
by default it would be the new folder `GSE Saves` (instead of `Goldberg SteamEmu Saves` )
this could be changed only by setting the option `saves_folder_name` inside the local file `steam_settings/configs.user.ini` , the global one will not work
* new switches for the `generate_emu_config` tool, suggested by ** [M4RCK5]**
- `-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` )
2024-04-15 01:57:39 +08:00
---
2024-04-20 07:23:43 +08:00
* **[breaking]** move most settings inside `.ini` files:
- `configs.main.ini` : configurations for the emu itself
- `configs.user.ini` : configurations specific to the user
- `configs.app.ini` : configurations specific to the game/app
- `configs.overlay.ini` : configurations of the overlay
they could be placed inside the local `steam_settings` folder,
or inside the new global settings folder `GSE Saves/settings` , located at `%appdata%\GSE Saves\settings\` on Windows for example.
2024-04-22 03:42:36 +08:00
you can create a global `.ini` file `GSE Saves/settings/config.xxx.ini` for the common options, and another local one `steam_settings/config.xxx.ini` for the game-specific options, and the emu will merge them.
2024-04-15 01:57:39 +08:00
2024-04-22 03:42:36 +08:00
To avoid confusion, the global saves folder is changed to be `GSE Saves` by default.
2024-04-21 02:15:47 +08:00
2024-04-20 11:08:01 +08:00
* new tool `migrate_gse` to convert either your global `settings` folder, or your local `steam_settings` folder from the old format to the new one
- run the tool without arguments to let it convert the global settings folder
- run the tool and pass the target `steam_settings` or `settings` folder as an argument to convert the structure of that folder
2024-04-21 02:15:47 +08:00
in both cases, the tool will create a new folder `steam_settings` in the current directory with all the results of the conversion
2024-04-22 03:42:36 +08:00
2024-04-21 02:15:47 +08:00
check its own dedicated readme
2024-04-22 03:42:36 +08:00
---
2024-04-17 04:58:05 +08:00
* **[breaking]** changed the environment variable `SteamAppPath` to `GseAppPath` , which is used to override the program path detected by the emu
2024-04-21 01:29:54 +08:00
* **[breaking]** removed the setting `disable_account_avatar` in favor of the new one `enable_account_avatar` , this feature is now disabled by default
2024-04-22 03:42:36 +08:00
* introduced a new behavior in the emu, which makes it by default add a lot of Steam builtin and preowned IDs to the DLC list, and the emu's list of installed apps
you can disable this via the option `disable_steam_preowned_ids` in `configs.main.ini`
2024-04-21 01:28:50 +08:00
* added a workaround for Steam Input, set `disable_steamoverlaygameid_env_var=1` inside `configs.main.ini` , might not work though
2024-04-21 01:30:29 +08:00
* reverted the changes to `Steam_Apps::BIsAppInstalled()` , now it will return true when the given app id is found in the DLC list, this function is also controlled via `installed_app_ids.txt`
2024-04-20 07:23:43 +08:00
* removed the limit on the amount of characters for local saves
* allow specifying absolute paths for local saves
* removed the warning for using `force_xxx.txt` files from the overlay, since it's no longer relevant, also removed the code which disables the user input when this warning was displayed
2024-04-13 16:04:30 +08:00
* increase run callbacks background thread polling time to `~200ms`
* changed the overlay title to give proper credits to its author
2024-04-13 23:35:10 +08:00
* set these env vars for a more accurate emulation:
- `SteamAppUser`
- `SteamUser`
- `SteamClientLaunch`
- `SteamEnv`
- `SteamPath`
2024-04-12 16:25:34 +08:00
---
2024-04-22 03:42:36 +08:00
2024-04-11 13:21:54 +08:00
## 2024/4/11 (2)
2024-04-11 07:16:53 +08:00
2024-04-11 20:43:29 +08:00
* **[Clompress]** Turkish translation for the overlay
2024-04-12 03:26:09 +08:00
* added callbacks alongside call results in various interfaces, allowing some games to work properly
* trigger additional `UserAchievementStored_t` callbacks in `Steam_User_Stats::StoreStats()` for all the unlocked achievements prior to calling this function
* trigger `UserStatsStored_t` callback in `Steam_User_Stats::IndicateAchievementProgress()` instead of a call result (call result is removed),
might break stuff
* trigger `UserStatsReceived_t` callback as well as call result in `Steam_User_Stats::RequestUserStats()` , needed by some games
* trigger additional `PersonaStateChange_t` callback in `Steam_Friends::SetPersonaName()`
* trigger `SteamInventoryRequestPricesResult_t` callback as well as call result in `Steam_Inventory::RequestPrices()`
* trigger `SteamUGCQueryCompleted_t` callback as well as call result in `Steam_UGC::SendQueryUGCRequest()`
* trigger callback as well as call result in many places including the following classes:
- `Steam_User_Stats`
- `Steam_HTTP`
- `Steam_HTMLsurface`
2024-04-11 12:40:29 +08:00
---
## 2024/4/11
2024-04-11 07:16:53 +08:00
* **[breaking]** load overlay audio from `sounds` subfolder, either from the local game settings folder `steam_settings/sounds` ,
or from the global settings folder `Goldberg SteamEmu Settings/settings/sounds`
* allow loading the overlay fonts from the global settings folder `Goldberg SteamEmu Settings/settings/fonts`
* added missing example overlay `.wav` file
* updated readme files + added some which were missing + removed invalid avatar example
2024-04-11 06:14:01 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/4/10
2024-04-06 14:21:13 +08:00
* properly implement `Steam_Apps::GetAvailableGameLanguages()`
* ensure current emu language is inside `supported_languages` list
2024-04-09 16:38:56 +08:00
* run the callbacks background thread earlier inside `Steam_Client::ConnectToGlobalUser()`
2024-04-06 14:21:13 +08:00
since some games don't call `SteamAPI_RunCallbacks()` or `SteamAPI_ManualDispatch_RunFrame()` or `Steam_BGetCallback()`
hence all run_callbacks() will never run, also networking callbacks won't run
2024-04-09 21:45:54 +08:00
---
2024-04-10 14:10:50 +08:00
* **[breaking]** introduced a new config file `enable_experimental_overlay.txt` , which deprecates the config file `disable_overlay.txt`
2024-04-09 21:45:54 +08:00
in many occasions this feature was a source of crashes, so it's better to make it an opt-in option.
2024-04-10 14:10:50 +08:00
otherwise, the `experimental` and `Cold Client` builds of the emu will crash by default on startup for some apps/games
2024-04-09 21:45:54 +08:00
---
2024-04-06 14:21:13 +08:00
* decrease the periodicity of the background thread to `~100ms` , also prevent it from running if the callbacks are already running
2024-04-10 17:22:05 +08:00
* output each function name in the debug log
2024-04-09 16:38:56 +08:00
* imitate Windows resources of gameoverlayrenderer + add resources to networkingsocketslib
2024-04-09 17:13:36 +08:00
* force add gameserver if `always_lan_type` was specified, not necessary but just in case
2024-04-10 16:59:51 +08:00
* allow injecting id string during build via command line switch `+build_str <str>`
2024-04-06 14:21:13 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/4/3 (hotfix 1)
2024-04-04 08:47:12 +08:00
* load achievements strings before creating fonts, so that their glyphs ranges are taken into consideration
---
2024-04-10 17:22:05 +08:00
## 2024/4/3
2024-04-04 02:20:14 +08:00
2024-03-19 06:18:21 +08:00
* **[detiam]** fix linking errors when building on archlinux
* **[detiam]** optimize Linux deps build script:
- new argument `-packages_skip` : allows skipping installation of distro packages, such as `build-essential` , `gcc-multilib` , etc...
- the above command introduced the ability to run without root
- if the script was ran without root, and `-packages_skip` wasn't specified,
the script will attempt to detect and use the built-in tool `sudo` if it was available
2024-04-02 07:21:42 +08:00
* **[Detanup01]** Added Steamwork SDK version 159
2024-04-02 09:38:51 +08:00
* **[detiam]** added schinese and tchinese translations to the overlay
2024-04-03 19:22:18 +08:00
* **[detiam]** enhanced the overlay font
- replace the builtin font with `Unifont`
2024-04-04 02:20:14 +08:00
- allow loading a custom font whose location is defined in `overlay_appearance.txt`
fonts with relative paths will be loaded from `steam_settings\fonts`
2024-04-02 09:38:51 +08:00
* allow sharing leaderboards scores with connected players, adjust players ranks locally, and sort entries as needed by the game, suggested by ** [M4RCK5]**
this will only work when people connected on the same network are playing the same game, once they disconnect their leaderboard entry will be lost (no data persistence for other players), also it doesn't work well with VPN clients.
2024-04-01 03:15:28 +08:00
this behavior could be enabled via `share_leaderboards_over_network.txt`
2024-03-31 06:02:02 +08:00
* implemented the missing interface `ISteamGameServerStats` , allowing game servers to exchange user stats & achievements with players
2024-04-01 08:40:51 +08:00
could be disabled via `disable_sharing_stats_with_gameserver.txt` ,
2024-04-02 09:38:51 +08:00
you can also create `immediate_gameserver_stats.txt` to sync data immediately, but **not recommended**
2024-03-19 06:18:21 +08:00
* for windows: updated stub drm patterns and added a workaround for older variants,
this increases the compatibility, but makes it easier to be detected
2024-04-04 02:20:14 +08:00
* for windows: new stub/mock dll `GameOverlayRenderer(64).dll` for the experimental cold client setup,
2024-03-17 07:15:48 +08:00
some apps verify the existence of this dll, either on disk, or inside their memory space.
2024-03-23 13:22:47 +08:00
**not recommended** to ignore it
2024-04-02 09:38:51 +08:00
* separated the config file `disable_leaderboards_create_unknown.txt` , previously it was tied to `leaderboards.txt` ,
2024-03-30 14:00:05 +08:00
by default the emu will create any unknown leaderboards, you can disable this behavior with this file
**not recommended** to disable this behavior
2024-04-02 09:38:51 +08:00
* for the tool `generate_emu_config` :
2024-04-01 03:12:50 +08:00
- don't generate `disable_xxx` config files by default
- new option `-de` : generate config files inside `steam_settings` folder to disable some extra features of the emu
note that this option deprecates the option `-nd`
- new option `-cve` : generate config files inside `steam_settings` folder to enable some convenient extra features of the emu
2024-04-02 09:38:51 +08:00
- allow specifying the username and password via the environment variables `GSE_CFG_USERNAME` and `GSE_CFG_PASSWORD` ,
this will override the data specified in `my_login.txt`
2024-04-01 08:40:51 +08:00
* properly implement `Steam_User_Stats::ResetAllStats()`
2024-03-17 07:15:48 +08:00
* added missing example file `disable_lobby_creation.txt` in `steam_settings` folder + updated release `README`
2024-04-02 09:38:51 +08:00
* allow overlay invitations to obscure game input to be able to accept/reject the request
* fixed a problem in the overlay where players connected on the same network might be ignored during startup, resulting in an empty friend list
* set the minimum game server latency/ping to `2ms`
2024-03-27 05:48:57 +08:00
* added new function `rmCallbacks()` for the networking, to be able to cleanup callbacks on object destruction
2024-04-02 09:38:51 +08:00
* missing `delete` (cleanup) for `ugc_bridge` instance + reset pointers on client objects destruction
2024-03-17 07:15:48 +08:00
* for windows build script: prevent permissive language extensions via the compiler flag `/permissive-`
2024-03-18 06:58:48 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/3/17
2024-03-17 10:37:49 +08:00
* **[bitsynth]** Fix Age of Empires 2: Definitive Edition, the game expects the app itself to be an owned DLC,
2024-03-17 07:22:18 +08:00
otherwise most options will be disabled
2024-03-17 07:58:57 +08:00
* `Steam_Apps::GetCurrentBetaName()` make sure the out buffer is null terminated
2024-03-17 07:22:18 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/3/16
2024-03-17 10:37:49 +08:00
2024-03-12 06:25:47 +08:00
* manage overlay cursor input/clipping and internal frame processing in a better way,
should prevent more games from pausing to display notifications
2024-03-15 01:23:39 +08:00
* initially attempt to load the icons of all achievements, this will slow things down at startup,
but avoids having to load the achievement icon during gameplay which causes micro-stutter
2024-03-13 03:21:09 +08:00
* avoid loading and resizing the achievement icon each time it's unlocked
* Local_Storage: avoid allocating buffers unless `stbi_load()` was successfull
2024-03-16 16:53:17 +08:00
* changed how manual callback dispatch is handled, now it won't run the background thread,
this might break stuff
* removed an outdated example file for dll injection in the `ColdClientLoader`
* refactor/restructure `steam_utils` into a separate cpp file
2024-03-12 06:25:47 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/3/9
2024-03-10 00:38:05 +08:00
* prevent notifications that do not require interaction from stealing focus
* check for success when creating the overlay popup window
* make the backgrounds of notifications and popups less transparent (more visible), for easier visibility
* show hidden achievement description in the overlay if it was unlocked
* don't fail loading both achievement icons, locked and unlocked, if eihter one of them wasn't loaded but the other was
---
2024-04-10 17:22:05 +08:00
## 2024/3/8 (hotfix 1)
2024-03-09 09:45:21 +08:00
* don't allow posting overlay achievements notifications when the overlay isn't ready yet
* don't run overlay callback when it isn't ready yet
* don't initialize or setup the overlay when `disable_overlay.txt` is used
---
2024-04-10 17:22:05 +08:00
## 2024/3/8
2024-03-08 09:50:37 +08:00
* updated the ingame overlay project, suggested by ** [CHESIRE721]**
Thanks to ** [Nemirtingas]** for the amazing project: https://github.com/Nemirtingas/ingame_overlay
* for Linux: new experimental build of the emu with overlay support
currently only *some* 64-bit games using OpenGL will work
2024-03-08 20:15:38 +08:00
* use a new method to initialize the overlay on a separate thread with a configurable initialization delay and renderer detection timeout
2024-03-09 03:28:17 +08:00
- the new config file `overlay_hook_delay_sec.txt` controls the initial delay (default = `0 seconds` )
2024-03-08 20:15:38 +08:00
- the new config file `overlay_renderer_detector_timeout_sec.txt` controls the detection timeout (default = `15 seconds` )
check the updated `README`
2024-03-08 09:50:37 +08:00
* added builtin fonts to properly render all overlay translations:
- `NotoSansJP-SemiBold` : for japanese
- `NotoSansKR-SemiBold` : for korean
- `NotoSansSC-SemiBold` : for simplified chinese
- `NotoSansTC-SemiBold` : for traditional chinese
- `NotoSansThai-SemiBold` : for Thai
- `Google-Roboto-Medium` : for other languages
2024-03-08 20:15:38 +08:00
* added 2 new entries for the config file `overlay_appearance.txt`
- `Font_Glyph_Extra_Spacing_x` : controls the extra horizontal spacing of characters (default = 1.0)
- `Font_Glyph_Extra_Spacing_y` : controls the extra vertical spacing of characters (default = 0.0)
the extra horizontal spacing is especially needed for non-latin characters, otherwise they are squeezed
2024-03-08 09:50:37 +08:00
* removed the source files of the ingame overlay project, it is now a dependency,
**rebuild your dependencies!**
2024-03-02 22:15:07 +08:00
* removed the code which locks the cursor inside the overlay window
2024-03-08 09:50:37 +08:00
* attempt to load the locked achievement icon from the json key `icongray` if the normal one failed, adding compatibility with older format
* cleanup/free overlay images on unhook
2024-03-06 04:59:17 +08:00
* free the detector instance once it's no longer needed
* use locks everywhere in the overlay + more debug messages
2024-03-09 00:31:56 +08:00
* fixed a bug in the settings parser where lines with 1 single character would be completely erased after trimming spaces
2024-03-03 09:45:01 +08:00
* fixed all compilation warnings produced by the overlay on Linux
2024-03-08 09:50:37 +08:00
* updated all build scripts
2024-03-02 22:15:07 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/2/29
2024-03-01 03:09:23 +08:00
2024-02-29 07:16:01 +08:00
* revert the changes to `steam_matchmaking_servers` and only enable them via the 2 new config files:
2024-03-01 02:20:01 +08:00
- `matchmaking_server_list_actual_type.txt` : enable the behavior which allows steam matchmaking to use the actual type of the requestd server list, otherwise it's always LAN
- `matchmaking_server_details_via_source_query.txt` : enable the behavior which allows steam matchmaking to use actual source server query to grab the server info
2024-02-29 07:16:01 +08:00
thanks a lot to ** [LuKeSt0rm]** for the help and testing
2024-02-25 01:41:14 +08:00
* added a new flag `-reldir` for the `generate_emu_config` script which allows it to generate temp files/folders, and expect input files, relative to the current workig directory, suggested by ** [ImportTaste]**
2024-03-19 06:18:21 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/2/24
2024-02-24 20:58:58 +08:00
* build the python scripts `achievements_gen.py` and `parse_controller_vdf.py` into binary form using `pyinstaller` for a more user friendly usage, suggested by ** [DogancanYr]**
* change the scripts `achievements_gen.py` and `parse_controller_vdf.py` to accept multiple files
2024-03-19 06:18:21 +08:00
---
2024-04-10 17:22:05 +08:00
## 2024/2/23
2024-02-24 02:44:12 +08:00
2024-02-24 02:41:30 +08:00
* more accurately handle and download steamhttp requests in multi-threaded manner:
- hanlde `GET` , `HEAD` , `POST`
- properly set `POST` data (raw and parameterized), and `GET` parameters
- properly set request headers
* new config file `force_steamhttp_success.txt` in `steam_settings` folder, which forces the API `Steam_HTTP::SendHTTPRequest()` to always succeed
---
* **[breaking]** deprecated the config file `http_online.txt` in favor of the new one `download_steamhttp_requests.txt`
---
2024-04-10 17:22:05 +08:00
## 2024/2/20
2024-02-21 01:15:45 +08:00
2024-02-17 11:18:48 +08:00
* generate_emu_config: allow setting the steam id of apps/games owners from an external file `top_owners_ids.txt` beside the script, suggested by ** [M4RCK5]**
2024-02-16 21:57:52 +08:00
* generate_emu_config: support the new format for `supported_languages`
2024-02-17 16:15:25 +08:00
* generate_emu_config: update the code which parses controller inputs
2024-02-16 21:22:30 +08:00
* generate_emu_config: always use the directory of the script for: the data `backup` folder, the `login_temp` folder, the `my_login.txt` file
---
2024-02-13 08:08:14 +08:00
## 2024/2/13
* cold client loader: validate the PE signature before attempting to detect arch
---
2024-02-10 12:53:45 +08:00
## 2024/2/10
* a hacky fix for the overlay on directx12, currently very slow when loading images
* limit the attempts to load the achievements images, to prevent a never ending FPS drop
---
2024-02-06 04:18:00 +08:00
## 2024/2/7
* new persistent modes for cold client loader, mode 2 is a more accurate simulation and allows launching apps from their .exe
2024-02-07 10:22:33 +08:00
* allow setting the IP country via the file `ip_country.txt`
2024-02-06 04:18:00 +08:00
---
* **[Breaking]** changed the ini sections of the cold client loader
---
2024-01-26 11:56:06 +08:00
## 2024/1/26
2024-01-26 11:49:03 +08:00
* **[Detanup01]** added a new command line option for the tool `generate_emu_config` to disable the generation of `disable_xxx.txt` files,
suggested by ** [Vlxst]**
2024-01-26 11:56:06 +08:00
* added new settings to the overlay which allow specifying the notifications positions, check the example file `overlay_appearance.EXAMPLE.txt` ,
suggested by ** [ugurkahriman]**
2024-01-26 11:49:03 +08:00
* fixed a mistake when discarding the utf8 bom marker
---
## 2024/1/25
2024-01-25 08:43:02 +08:00
* added new options to the overlay to allow copying a friend's ID, plus current player ID, suggested by ** [Vlxst]**
* added a new option to the overlay to invite all friends playing the same game, suggested by ** [Vlxst]**
2024-01-26 02:33:02 +08:00
* added new `auto_accept_invite.txt` setting to automatically accept game/lobby invites from this list, each SteamID64 on a separate line
2024-01-25 08:43:02 +08:00
also you can leave the file empty to accept invitations from anyone, check the updated release readme, suggested by ** [Vlxst]**
* added new `disable_overlay_warning_*.txt` settings to disable certain or all warnings in the overlay, suggested by ** [Vlxst]**
2023-12-29 10:03:50 +08:00
* `disable_overlay_warning_forced_setting.txt` :
- disable the warning for the usage of any file `force_*.txt` in the overlay
2024-01-26 02:33:02 +08:00
- unlocks the settings menu, this may result in an undesirable output
2023-12-29 10:03:50 +08:00
* `disable_overlay_warning_bad_appid.txt` : disable the warning for bad app ID (when app ID = 0) in the overlay
* `disable_overlay_warning_local_save.txt` : disable the warning for using local save in the overlay
* `disable_overlay_warning_any.txt` : all the above
2024-01-25 05:11:11 +08:00
* **deprecated** `disable_overlay_warning.txt` in `steam_settings` folder in favor of new the options/files
* added more Stub variants
* fixed the condition of `warn_forced_setting` , previously it may be reset back to `false` accidentally
* fixed a casting mistake when displaying friend ID
* avoid spam loading the achievements forever on failure, only try 3 times
* removed a debug flag in `UGC::GetItemState()` left by mistake
2023-12-29 10:03:50 +08:00
---
2024-01-21 02:18:35 +08:00
## 2024/1/20
* **[Detanup01]** added implementation for `Steam_Remote_Storage::EnumerateUserSubscribedFiles()` +
mods files handles in `Steam_Remote_Storage::UGCDownload()` + `Steam_Remote_Storage::UGCDownloadToLocation()`
which makes mods now work for many games
* **[Kola124]** enhanced the settings parser to detect primary and preview mod files sizes automatically +
use the base Steam URL by default for workshop URL + auto calculate the mod `score` from up/down votes
also thanks to ** [BTFighter]** for providing logs
* **Breaking change** mod preview image file must exist in `steam_settings\mod_images\<MOD_ID>`
* an enhancement to the settings parser to attempt to auto detect mods when `mods.json` is not present, with the same behavior as when the json file was created.
this works for mods with only 1 primary file and only 1 preview file
* fixed the generated path of mod `preview_url` , previously it would contain back slashes `\` on Windows
* use last week epoch as the default time for mods dates (created, added, etc...)
* make sure the mod path is always normalized and absolute, required by some APIs
* `Steam UGC` : implement `SetUserItemVote()` , `GetUserItemVote()` , `AddItemToFavorites()` , `RemoveItemFromFavorites()` ,
favorite mods list are now saved in `favorites.txt` in the user save data folder
* cold client loader can now inject user dlls, and force inject the `steamclient(64).dll` library,
also you can control the injection order via a file `load_order.txt` , check its readme and the provided example
* a new experimental dll (which must be injected first) to patch Stub drm v3.1 in memory, check the injection example of the cold client loader
* cold client loader will now treat relative paths as relative to its own path, previously it used the current active directory
* cold client loader no longer needs an explicit setting for the `ExeRunDir` , by default it would be the folder of the exe
* in cold client loader, the option `ResumeByDebugger` is now available for the release build
* cold client loader is now built for 32-bit and 64-bit separately, and will display a nag about architecture difference if for example the app was 32-bit and the loader was 64-bit, this could be disabled via the setting `IgnoreLoaderArchDifference=1`
2024-01-14 08:50:35 +08:00
* the cold client loader will output useful debug info when the debug build is used
2024-01-21 02:18:35 +08:00
* added a very basic crashes logger/printer, enabled by creating a file called `crash_printer_location.txt` inside the `steam_settings` folder, check README.realease.md for more details
2024-01-14 08:50:35 +08:00
* fixed a problem in the overlay which would cause a crash for the guest player when an invitation was sent
2024-01-21 02:18:35 +08:00
* `Steam UGC` : make sure returned mod folder from `GetItemInstallInfo()` is null terminated, previously some apps would get a bad malformed string because of this
* `Steam_RemoteStorage` : very basic implementation for `GetQueryUGCNumTags()` , `GetQueryUGCTag()` , `GetQueryUGCTagDisplayName()`
* new function in local storage to get list of folders at root level, given some path
2024-01-14 08:50:35 +08:00
* imitate how the DOS Stub is manipulated during/after the build
* some fixes to the win build script + use the undocumented linker flag `/emittoolversioninfo:no` to prevent adding the MSVC Rich Header
2024-01-21 02:18:35 +08:00
* debug messages are now mostly scoped, ex: `Steam_Ugc::XXX`
* added a bunch of helper functions, `common_helpers::XXX` + `pe_helpers::XXX`
2024-01-07 21:43:53 +08:00
---
2024-01-06 04:36:17 +08:00
## 2024/1/5
* **[Detanup01]** Fixed parsing of old Steam interfaces, reported by ** [LuKeStorm]**: https://cs.rin.ru/forum/viewtopic.php?p=2971639#p2971639
* refactored the tool `find_intrfaces` to search accurately for old interfaces
---
2024-01-03 07:59:51 +08:00
## 2024/1/3
2024-01-03 07:56:26 +08:00
* added a new option to the Windows version of the client loader to aid in debugging.
the option is called `ResumeByDebugger` , and setting it to `1` will prevent the loader from
auto resuming the main app thread, giving you a chance to attach your debugger.
2024-01-01 03:19:06 +08:00
* make the script `generate_emu_config` generate an empty `DLC.txt` if the app has no DLCs
* windows build: sign each file after build with a self-signed generated certificate + note in the release readme regarding false-positives
* windows build: note in readme about Windows SDK
* windows build: added vesion resource (.rc file)
* gen emu config: readme + icon attribution
* added anonymous login to gen emu script, these accounts have very limited access
* linux + win build scripts: introduce -verbose flag
* windows build script: ensure /MT when compiling
* output protoc generated in a subfolder in dll/ for easier code reference +
don't cleanup protoc generated files, because VScode gets confused and cannot find files/types
---
2023-12-28 04:35:39 +08:00
## 2023/12/21 - 2023/12/27
* **[Detanup01]** added option to send auth token with new Ticket! + an option to include the GC token
by default the emu will send the old token format for various APIs, like:
* `Steam_GameServer::GetAuthSessionTicket()`
* `Steam_User::GetAuthSessionTicket()`
* `Steam_User::GetAuthTicketForWebApi()`
this allows the emu to generate new ticket data, and additionally the GC token.
check the new config files `new_app_ticket.txt` and `gc_token.txt` in the `steam_settings` folder
* **[Detanup01]** fixed print issues in some places
* **[remelt]** use the `index` argument to grab the preview URL from UGC query result, fixed by: https://cs.rin.ru/forum/viewtopic.php?p=2964432#p2964432
* **[remelt]** allow overriding mod `path` & mod `preview_url` in the `mods.json` file, suggested by: https://cs.rin.ru/forum/viewtopic.php?p=2964432#p2964432
* allow setting the mod `score` in the `mods.json`
* when the mod `preview_url` is not overridden, don't set it automatically if `preview_filename` was empty, otherwise the `preview_url` will be pointing to the entire `mod_images` folder, like: `file://C:/my_game/steam_settings/mod_images/`
instead set it to an empty string
* updated `mods.EXAMPLE.json`
* added 2 new config files `is_beta_branch.txt` and `force_branch_name.txt`
by default the emu will report a `non-beta` branch with the name `public` when the game calls `Steam_Apps::GetCurrentBetaName()`
these new config files allow changing that behavior, check the `steam_settings` folder
* refactored the `steamclient_loader` script for Linux + new options and enhancements to make it similar to the Windows version, check its new README!
* for steamclient loader (Windows + Linux): pass loader arguments to the target exe, allowing it to be used from external callers, example by the `lobby_connect` tool
* deprecated the `find_interface` scripts, now the executable is built for Windows & Linux!
* included the `steam_settings.EXAMPLE` for Linux build
* updated release READMEs!
* added a README for the repo with detailed build steps
>>>>>>>>> ---
* check for invalid data pointer in `GetAuthSessionTicket()`
* additional sanity check in `InitiateGameConnection()` + print input data address in debug build
* moved the example `app id` and `interfaces` files inside `steam_settings` folder, to avoid encouraging putting files outside
>>>>>>>>> ---
* fixed all debug build warnings for Linux & Windows (no more scary messages!)
* updated Linux & Windows build scripts to avoid removing the entire build folder before building + introduced `clean` flag
* added licenses & sources of all extrnal libraries + added a new cryptography library `Mbed TLS`
you have to rebuilt the deps
* deprecated the separate/dedicated cleanup script for Windows, it's now inlined in the main build script
* For Windows build script: deprecated `low perf` & `win xp` options
* For Linux build script: deprecated `low perf` option
* restored all original but unused repo files into their separate folder
* lots of refactoring and relocation in the source repo:
- all build stuff will be inside `build` folder
- restructured the entire repo
- generate proto source files in the `build\tmp` folder insead of the actual source folder
>>>>>>>>> ---
2023-12-22 03:25:37 +08:00
2023-12-22 02:06:05 +08:00
* `settings_parser.cpp` :
- cleanup the settings parser code by split it into functions
- increase the buffer size for `account_name` to 100 chars
- increase the buffer size for `language` to 64 chars
* `common_includes.h` :
- refactor includes order
- added new helper function to keep yielding the thread for a given amount of time (currently unused)
* build scripts:
- in Linux build scripts don't use `-d` flag with `rm`
- added global build stat message
2023-12-28 04:35:39 +08:00
- use an obnoxious name for the file handle variable used if the PRINT_DEBUG macro to avoid collisions, in the caller has a variable with same name
2023-12-22 02:06:05 +08:00
* don't cache deps build when pushing tag or opening pull requests
* remove hardcoded repo path + remove Git LFS flag since it's no longer needed
---
2023-12-28 04:35:39 +08:00
## 2023/12/20
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* fixed the implementation of `BIsAppInstalled()` , it must lock the global mutex since it is thread-safe, otherwise it will cause starvation and the current thread wion't yield, which triggers some games
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* more accurate behavior for `BIsAppInstalled()` , reject app ID if it was in the DLC list and isUnlockAllDlc was false
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* basic implementation for `RequestAppProofOfPurchaseKey()` and `RequestAllProofOfPurchaseKeys()`
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* a simple implementation for `GetEarliestPurchaseUnixTime()`
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* more accurate implementation for `BGetSessionClientResolution()` , set both x & y to 0
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* return false in `BIsDlcInstalled()` when the given app ID is the base game
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* check for invalid app ID `uint32_max` in different places
2023-12-20 11:22:02 +08:00
2023-12-22 02:06:05 +08:00
* more accurate implementation for `BReleaseSteamPipe()` , return true if the pipe was released successfully
2023-12-20 11:22:02 +08:00
* lock the global mutex and the overlay mutex in different places just to be on the safe side, without it, some games suffer from thread starvation, might slow things down
2023-12-22 02:06:05 +08:00
* added missing env var `SteamOverlayGameId` to steam_client and client_loader
2023-12-20 11:22:02 +08:00
* added a startup timer + counter for reference, currently used to print timestamp in debug log
* consistent debug log location, for games that change cwd multiple times while running
* 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
2023-12-22 02:06:05 +08:00
---
2023-12-28 04:35:39 +08:00
## 2023/12/17
2023-12-18 11:33:55 +08:00
* More accurate implementation for BIsAppInstalled(), it now rejects uint32_max
* Allow behavior customizization via installed_app_ids.txt config file
* Limit/Lock list of installed apps on an empty file (similar to dlc.txt)
* Changed the behavior of GetCurrentBetaName() to comply with the docs, might break stuff
2023-12-22 02:06:05 +08:00
* Allow customizing the behavior via ne config files: `is_beta_branch.txt` + `force_branch_name.txt`
2023-12-18 11:33:55 +08:00
* New script to generate native executable for `generate_emu_config` on Linux using pyinstaller
2023-12-22 02:06:05 +08:00
* Deprecate the old `RtlGenRandom()` in favor of the new `BCryptGenRandom()`
2023-12-18 11:33:55 +08:00
* Setup Github Worflows to:
* Build `generate_emu_config` for `Linux` when you push code to a branch whose name matches the pattern `ci-build-gen-linux*`
* Build `generate_emu_config` for `Windows` when you push code to a branch whose name matches the pattern `ci-build-gen-win*`
* Build the emu for `Linux` when you push code to a branch whose name matches the pattern `ci-build-emu-linux*`
* Build the emu for `Windows` when you push code to a branch whose name matches the pattern `ci-build-emu-win*`
* Build everything when you push code to a branch whose name is `ci-build-all`
* Build everything and create a release when you push a tag whose name matches the pattern `release*`
* Packaging scripts for both Windows & Linux, usable locally and via Github Workflows
* For the emu:
* First run `build_win_deps.bat` (Windows)
or `sudo ./build_linux_deps.sh` (Linux)
* Run `build_win.bat release` + `build_win.bat debug` (Windows)
or `./build_linux.sh release` + `./build_linux.sh debug` (Linux)
* Finally run `package_win.bat release` + `package_win.bat debug` (Windows)
or `sudo ./package_linux.sh release` + `sudo ./package_linux.sh debug` (Linux)
* The same goes for `generate_emu_config` (scripts folder) but the scripts do not take any arguments, so no `release` or `debug`
* Added all third-party dependencies as local branches in this repo + refer to these branches as submodules, making the repo self contained
2023-12-22 02:06:05 +08:00
---
2023-12-28 04:35:39 +08:00
## 2023/12/14
2024-03-19 06:18:21 +08:00
* based on cvsR4U1 by ** [ce20fdf2]** from viewtopic.php?p=2936697#p2936697
2023-12-09 18:58:35 +08:00
* apply the fix for the Linux build (due to newer glibc) from this pull request by Randy Li: https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/merge_requests/42/
* add updated translation of Spanish + Latin American to the overlay by dragonslayer609 from viewtopic.php?p=2936892#p2936892
* add updated translation of Russian to the overlay by GogoVan from viewtopic.php?p=2939565#p2939565
* add more interfaces to look for in the original steam_api by alex47exe from viewtopic.php?p=2935557#p2935557
* add fix for glyphs icons for xbox 360 controller by 0x0315 from viewtopic.php?p=2949498#p2949498
* bare minimum implementation for SDK 1.58a
+ backup the current version of the interface 'steam ugc'
- create new file: isteamugc017.h
2023-12-22 02:06:05 +08:00
+ copy the current version of the interface to this file
+ don't copy enums, structs, constants, etc..., just copy the pure virtual (abstract) class of the interface
+ rename the abstract class to include the current version number in its name, i.e. 'class ISteamUGC017'
+ create a file header guard containing the interface version in its name, i.e. 'ISTEAMUGC017_H'
+ if the file has '#pragma once', then guard this line with '#ifdef STEAM_WIN32' ... '#endif', I don't know why
2023-12-09 18:58:35 +08:00
+ isteamugc.h (this always contains the declaration of latest interface version)
- declare the new API: GetUserContentDescriptorPreferences()
- update the API: SetItemTags() to use the new argument
- update the interface version to STEAMUGC_INTERFACE_VERSION018
+ steam_ugc.h (this always contains the implementation of ALL interfaces versions)
- add the backed-up abstract class to the list of inheritance, i.e. 'public ISteamUGC017'
- (needs revise) implement the new API: GetUserContentDescriptorPreferences()
- add a new overload of the API: SetItemTags() which takes the new additional argument
+ backup the current version of the interface 'steam remote play'
- create new file: isteamremoteplay001.h
2023-12-22 02:06:05 +08:00
+ copy the current version of the interface to this file
+ don't copy enums, structs, constants, etc..., just copy the pure virtual (abstract) class of the interface
+ rename the abstract class to include the current version number in its name, i.e. 'class ISteamRemotePlay001'
+ create a file header guard containing the interface version in its name, i.e. 'ISTEAMREMOTEPLAY001_H'
+ if the file has '#pragma once', then guard this line with '#ifdef STEAM_WIN32' ... '#endif', I don't know why
2023-12-09 18:58:35 +08:00
+ isteamremoteplay.h (this always contains the declaration of latest interface version)
- declare the new API: BStartRemotePlayTogether()
- update the interface version to STEAMREMOTEPLAY_INTERFACE_VERSION002
- fix file header guard from _WIN32 to STEAM_WIN32
+ steam_remoteplay.h (this always contains the implementation of ALL interfaces versions)
- add the backed-up abstract class to the list of inheritance, i.e. 'public ISteamRemotePlay001'
- (needs revise) implement the new API: BStartRemotePlayTogether()
+ steam_api.h
- #include the backed-up interface files:
2023-12-22 02:06:05 +08:00
+ #include "isteamugc017.h"
+ #include "isteamremoteplay001.h"
2023-12-09 18:58:35 +08:00
- declare the new API: SteamInternal_SteamAPI_Init()
- add a new enum ESteamAPIInitResult
- fix return type of SteamAPI_InitSafe() from bool to steam_bool (some stupid games read the whole EAX register)
- add a useless inline implementation for the API: SteamAPI_InitEx(), not exported yet but just in case for the future
+ steam_gameserver.h
- declare the new API: SteamInternal_GameServer_Init_V2()
- fix return type of SteamGameServer_Init() from bool to steam_bool (some stupid games read the whole EAX register)
- add a useless inline implementation for the API: SteamGameServer_InitEx(), not exported yet but just in case for the future
+ steam_api_common.h
- declare a new type: SteamErrMsg
+ dll.cpp (this has the implementation of whatever inside steam_api.h + steam_gameserver.h)
- (needs revise) implement the new API: SteamInternal_SteamAPI_Init()
- (needs revise) implement the new API: SteamInternal_GameServer_Init_V2()
- read some missing interfaces versions when parsing steam_interfaces.txt
- initialize all interfaces versions with the latest ones available, instead of hardcoding them
+ steam_client.cpp
- add a new version string for the interface getter GetISteamUGC()
- add a new version string for the interface getter GetISteamRemotePlay()
+ isteamnetworkingsockets.h
- fix the signatures of the APIs: (ISteamNetworkingConnectionCustomSignaling vs ISteamNetworkingConnectionSignaling)
2023-12-22 02:06:05 +08:00
+ ConnectP2PCustomSignaling()
+ ReceivedP2PCustomSignal()
2023-12-09 18:58:35 +08:00
+ isteamnetworkingsockets009.h
- fix the signatures of the APIs: (ISteamNetworkingConnectionCustomSignaling vs ISteamNetworkingConnectionSignaling)
2023-12-22 02:06:05 +08:00
+ ConnectP2PCustomSignaling()
+ ReceivedP2PCustomSignal()
2023-12-09 18:58:35 +08:00
+ steam_networking_sockets.h
- implement the missing overloads of the APIs: (ISteamNetworkingConnectionCustomSignaling vs ISteamNetworkingConnectionSignaling)
2023-12-22 02:06:05 +08:00
+ ConnectP2PCustomSignaling()
+ ReceivedP2PCustomSignal()
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ steam_api_flat.h
////////////////////
2023-12-09 18:58:35 +08:00
- declare new interfaces getters:
2023-12-22 02:06:05 +08:00
+ SteamAPI_SteamUGC_v018()
+ SteamAPI_SteamGameServerUGC_v018()
2023-12-09 18:58:35 +08:00
- declare the new API: SteamAPI_ISteamUGC_GetUserContentDescriptorPreferences()
- (needs revise) update signature of the API: SteamAPI_ISteamUGC_SetItemTags() to add the new argument
2023-12-22 02:06:05 +08:00
this will potentially break compatibility with older version of the flat API
////////////////////
2023-12-09 18:58:35 +08:00
- declare new interface getter: SteamAPI_SteamRemotePlay_v002()
2023-12-22 02:06:05 +08:00
- declare the new API: SteamAPI_ISteamRemotePlay_BStartRemotePlayTogether()
////////////////////
2023-12-09 18:58:35 +08:00
- fix the signatures of the APIs: (ISteamNetworkingConnectionCustomSignaling vs ISteamNetworkingConnectionSignaling)
2023-12-22 02:06:05 +08:00
+ SteamAPI_ISteamNetworkingSockets_ConnectP2PCustomSignaling()
+ SteamAPI_ISteamNetworkingSockets_ReceivedP2PCustomSignal()
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ flat.cpp
////////////////////
2023-12-09 18:58:35 +08:00
- implement new interfaces getters:
2023-12-22 02:06:05 +08:00
+ SteamAPI_SteamUGC_v018()
+ SteamAPI_SteamGameServerUGC_v018()
2023-12-09 18:58:35 +08:00
- implement the new API: SteamAPI_ISteamUGC_GetUserContentDescriptorPreferences()
- (needs revise) update signature of the API: SteamAPI_ISteamUGC_SetItemTags() to use the new argument
2023-12-22 02:06:05 +08:00
this will potentially break compatibility with older version of the flat API
////////////////////
2023-12-09 18:58:35 +08:00
- implement new interface getter SteamAPI_SteamRemotePlay_v002()
2023-12-22 02:06:05 +08:00
- implement the new API: SteamAPI_ISteamRemotePlay_BStartRemotePlayTogether()
////////////////////
2023-12-09 18:58:35 +08:00
- fix the signatures of the APIs: (ISteamNetworkingConnectionCustomSignaling vs ISteamNetworkingConnectionSignaling)
2023-12-22 02:06:05 +08:00
+ SteamAPI_ISteamNetworkingSockets_ConnectP2PCustomSignaling()
+ SteamAPI_ISteamNetworkingSockets_ReceivedP2PCustomSignal()
2023-12-09 18:58:35 +08:00
+ isteamfriends.h
- (needs revise) add a missing (or new?) member m_dwOverlayPID to the struct GameOverlayActivated_t, hopefully this doesn't break stuff
+ steamnetworkingtypes.h
- add new (or missing?) members to the enum ESteamNetworkingConfigValue:
2023-12-22 02:06:05 +08:00
+ k_ESteamNetworkingConfig_RecvBufferSize
+ k_ESteamNetworkingConfig_RecvBufferMessages
+ k_ESteamNetworkingConfig_RecvMaxMessageSize
+ k_ESteamNetworkingConfig_RecvMaxSegmentsPerPacket
2023-12-09 18:58:35 +08:00
+ add the file isteamdualsense.h, it isn't used currently but just in case for the future
+ update descriptions/comments or refactor/spacing
- isteamapplist.h
- isteamgamecoordinator.h
- isteamps3overlayrenderer.h
- isteamuserstats.h
- isteamutils.h
- isteamvideo.h
- steamhttpenums.h
- steamtypes.h
* use Unicode when sanitizing settings, mainly for local_save.txt config file
+ new dir "utfcpp": containg all the source/include files of this library: https://github.com/nemtrif/utfcpp
+ common_includes.h: include the new library "utfcpp"
+ settings.cpp: in Settings::sanitize(): convert to utf-32 first, do the sanitization, then convert back to std::string and return the result
* avoid locking the global mutex every time when getting the global steamclient instance
+ dll.cpp: in get_steam_client(): only lock when the instance is null and double check for null, should speed up things a little bit
* in different places, avoid locking gloal mutex if the relevant functionality was disabled
+ example in steam_user_stats.h: SetAchievement()
+ example in steam_overlay.cpp:
2023-12-22 02:06:05 +08:00
+ Steam_Overlay::AddMessageNotification()
+ Steam_Overlay::AddInviteNotification()
2023-12-09 18:58:35 +08:00
* explicitly use the ASCII version of Windows APIs to avoid conflict when building with define symbols UNICODE + _UNICODE
- base.cpp: GetModuleHandleA()
- steam_overlay.cpp: PlaySoundA()
* fix the implementation of RtlGenRandom stub:
+ return a number
+ use extern "C" if building in C++ mode
2023-12-22 02:06:05 +08:00
* add new build scripts for both Windows and Linux for a much easier dev/build experience,
both Windows and Linux scripts will run parallel build jobs for a much faster build times,
by default, the scripts will use 70% of the max available threads, but if the auto detection didn't work,
you can pass for example `-j 10` to the scripts to use 10 parallel jobs
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
on Linux, archives (.a files) of third party libraries are bundled wholly, and built statically via:
`-Wl,--whole-archive -Wl,-Bstatic -lssq -lcurl ... -Wl,-Bdynamic -Wl,--no-whole-archive`
2023-12-09 18:58:35 +08:00
this ensures that the final output binary (for example: libsteam.so) won't require these libraries at runtime
+ to build on Linux (I'm using latest Ubuntu on WSL)
2023-12-22 02:06:05 +08:00
- run as `sudo ./build_linux_deps.sh` , this will do the following:
+ download and install the required build tools via `apt-install`
+ unpack the third party libraries (protobuf, zlib, etc...) from the folder `third-party` to `build-linux-deps`
+ build the unpacked libraries from `build-linux-deps`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
you only need this step once, additionally you can pass these arguments to the script:
+ `-verbose` : force cmake to display extra info
+ `-j <n>` : force cmake to use `<n>` parallel build jobs
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
- without sudo, run `./build_linux.sh` and pass the argument `release` or `debug` to build the emu in the corresponding mode, this will build the emu inside the folder `build-linux`
some additional arguments you can pass to the script:
+ `-lib-32` : prevent building 32-bit libsteam_api.so
+ `-lib-64` : prevent building 64-bit libsteam_api.so
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-client-32` : prevent building 32-bit steamclient.so
+ `-client-64` : prevent building 64-bit steamclient.so
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-tool-clientldr` : prevent copying the script steamclient_loader.sh
+ `-tool-itf` : prevent copying the script find_interfaces.sh
+ `-tool-lobby-32` : prevent building executable lobby_connect_x32
+ `-tool-lobby-64` : prevent building executable lobby_connect_x64
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `+lowperf` : (UNTESTED) pass some arguments to the compiler to prevent emmiting instructions for: SSE4, popcnt, AVX
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-j <n>` : force build operations to use `<n>` parallel jobs
2023-12-09 18:58:35 +08:00
+ to build on Windows (just install Visual Studio 2019/2022)
2023-12-22 02:06:05 +08:00
- without admin, run `build_win_deps.bat` , this will do the following:
+ unpack the third party libraries (protobuf, zlib, etc...) from the folder `third-party` to `build-win-deps`
+ build the unpacked libraries from `build-win-deps`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
you only need this step once, additionally you can pass these arguments to the script:
+ `-verbose` : force cmake to display extra info
+ `-j <n>` : force cmake to use `<n>` parallel build jobs
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
- without admin, run `build_win.bat` and pass the argument `release` or `debug` to build the emu in the corresponding mode,
this will build the emu inside the folder `build-win`
2023-12-09 18:58:35 +08:00
some additional arguments you can pass to the script:
2023-12-22 02:06:05 +08:00
+ `-lib-32` : prevent building 32-bit steam_api.dll
+ `-lib-64` : prevent building 64-bit steam_api64.dll
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-ex-lib-32` : prevent building `experimental steam_api.dll`
+ `-ex-lib-64` : prevent building `experimental steam_api64.dll`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-ex-client-32` : prevent building `experimental steamclient.dll`
+ `-ex-client-64` : prevent building `experimental steamclient64.dll`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-exclient-32` : prevent building experimental `client steamclient.dll`
+ `-exclient-64` : prevent building experimental `client steamclient64.dll`
+ `-exclient-ldr` : prevent building experimental `client loader steamclient_loader.exe`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-tool-itf` : prevent building executable `find_interfaces.exe`
+ `-tool-lobby` : prevent building executable `lobby_connect.exe`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `+lowperf` : (UNTESTED) for 32-bit build only, pass the argument `/arch:IA32` to the compiler
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
+ `-j <n>` : force build operations to use `<n>` parallel jobs
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
* added all required third-party libraries inside the folder `third-party`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
* greatly enhanced the functionality of the `generate_emu_config` script + add a build script
+ run `recreate_venv.bat` to
+ create a python virtual environemnt
+ install all required packages inside this env
+ run `rebuild.bat` to produce a bootstrapped .exe built using `pyinstaller`
2023-12-09 18:58:35 +08:00
+ inside the folder of the built executable
2023-12-22 02:06:05 +08:00
+ create a file called `my_login.txt` , then add your username in the first line, and your password in the second line
+ run the .exe file without any args to display all available options
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
* revert the changes to `SetProduct()` and `SetGameDescription()`
* in `steam_overlay.cpp` , in `AddAchievementNotification()` : prefer original paths of achievements icons first, then fallback to `achievement_images/`
2023-12-09 18:58:35 +08:00
2024-03-19 06:18:21 +08:00
---
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
## Older changes
* add missing implementation of (de)sanitize_string when `NO_DISK_WRITE` is defined which fixes compilation of `lobby_connect`
2023-12-09 18:58:35 +08:00
* check for empty string in (de)sanitize_file_name() before accessing its items
2023-12-22 02:06:05 +08:00
* implement new API: `GetAuthTicketForWebApi()`
+ `base.h` : declare the new API: `getWebApiTicket()`
+ `base.cpp` : implement the new API: `Auth_Ticket_Manager::getWebApiTicket()`
+ `steam_user.h` : call the new API inside `GetAuthTicketForWebApi()`
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
* add an updated and safer impl for `Local_Storage::load_image_resized()` by RIPAciD from viewtopic.php?p=2884627#p2884627
2023-12-09 18:58:35 +08:00
2023-12-22 02:06:05 +08:00
* add missing note in ReadMe about `libssq`
2023-12-09 18:58:35 +08:00
2024-03-19 06:18:21 +08:00
* add new release 4 by ** [ce20fdf2]** from viewtopic.php?p=2933673#p2933673
* add hotfix 3 by ** [ce20fdf2]** from viewtopic.php?p=2921215#p2921215
* add hotfix 2 by ** [ce20fdf2]**: viewtopic.php?p=2884110#p2884110
* add initial hotfix by ** [ce20fdf2]**