652 Commits

Author SHA1 Message Date
redpolline
fec0391a7e Edit generate_build_win_bat.py
Fix up lobby_connect.
2025-01-31 08:21:16 +00:00
redpolline
3ff16f75f4 Edit generate_build_win_bat.py
Add lobby_connect.exe
2025-01-31 07:58:04 +00:00
redpolline
117ad9ec75 Update .gitlab-ci.yml file
Try fixing translate cmds.
2025-01-31 07:15:41 +00:00
redpolline
fcf1ea94a4 Update .gitlab-ci.yml file
Try fixing translate cmds.
2025-01-31 07:13:09 +00:00
redpolline
60aac21320 Update .gitlab-ci.yml file
Try fixing translate cmds.
2025-01-31 03:38:05 +00:00
redpolline
01e9208d88 Update .gitlab-ci.yml file
Try fixing translate cmds.
2025-01-31 03:35:51 +00:00
redpolline
9f4c48cdc6 Update .gitlab-ci.yml file
Re-enable sed commands.
2025-01-31 03:32:05 +00:00
redpolline
0276fa99da Update .gitlab-ci.yml file
Dump the built bat file.
2025-01-31 03:13:59 +00:00
redpolline
86084d7c6e Update .gitlab-ci.yml file
Try building lobby_connect win release using the bat file in the repo.
2025-01-31 03:12:12 +00:00
redpolline
36adbce8fb Update .gitlab-ci.yml file
Try disabling the DLL_FILES sed commands. (The BATs should handle this anyway....)
2025-01-31 02:40:46 +00:00
redpolline
ed4e4f2fcc Update .gitlab-ci.yml file to skip building the PDBs.
(CI throws errors and skips building the PE files.)
2025-01-31 02:06:41 +00:00
redpolline
b75f324100 Fix build scripts.
Fix list:
 - Make cmd not choke on recursive calls to build_env_x*.bat.
 - Create build directories and move build output there instead of
   polluting the root of the source tree.
 - Make proper debug builds with pdb output.
 - Make proper x64 builds of lobby_connect, and steamclient_loader. (lobby_connect_x64.exe, and steamclient_loader_x64.exe)
 - Rename x86 build of lobby_connect.exe to lobby_connect_x86.exe.
 - Rename x86 build of steamclient_loader.exe to steamclient_loader_x86.exe.
 - Make proper distrib directories. (I.e. <release,debug>/<build type>/<arch>/<binaries>.)
2024-12-21 07:28:48 -05:00
ayaka
ef5c4731b4 dll/wrap: fix build for glibc 2.33
I don't think I need the step that converting to legacy struct.

Signed-off-by: ayaka <ayaka@soulik.info>
2024-01-10 05:17:17 -05:00
redpolline
a2c9f9230f Improve steam_masterserver_updater stub.
This creates a new "custom_master_server.txt" file that can be used to pre-seed a master server list.

This also allows for steam apps to manipulate the master server list in memory.
I.e. This implements:
  Steam_Masterserver_Updater::AddMasterServer()
  Steam_Masterserver_Updater::RemoveMasterServer()
  Steam_Masterserver_Updater::GetNumMasterServers()
  Steam_Masterserver_Updater::GetMasterServerAddress()

Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 05:13:22 -05:00
redpolline
8f212b82ca Generate PDB files for the debug builds.
Allows for better debugging with Windows debuggers.

Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 05:00:43 -05:00
redpolline
d78ab8e8a5 Add missing echo off to build_win_debug_experimental_steamclient.bat.
Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:45:37 -05:00
redpolline
d1a0a68d4f Add relay daemon mode to lobby_connect.
This (along with the existing custom_broadcasts support) allows for users on different read: _routed_ subnets to see and connect to each other's games.

To use this mode:

Build lobby_connect and run it with the "-d" argument.

Create the custom_broadcasts.txt file in the steam_settings folder next to steam_api.dll / steam_api64.dll and put the IP address of the host running lobby_connect in it.

Run games.

Note: This should even work with existing installations, _provided_ that at least one of them creates the custom_broadcasts.txt file as described above.
(This is because existing installations use broadcast packets to establish new connections, forwarding all of their knowledge to each other.
 Thus having at least one host on the current subnet configured in this new way turns it into a "proxy" for the other hosts.)

Caveat: This will _NOT_ work if NAT is involved. This is due to the lack of NAT traversal support in the emu.
(I.e. The lobby_connect daemon will get the info from the NAT'ed hosts and forward it to the others, but hosts outside the NAT won't be able to connect.)

Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:30:17 -05:00
redpolline
98488d6570 Create windows lobby_connect debug build script.
Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:29:06 -05:00
redpolline
92623f586d Fix too many env vars causing build failures, and put debug builds in their own folder like release builds.
Cannot call the vc vars batch too many times. Fix it by calling set/end local.

See also: https://developercommunity.visualstudio.com/t/vcvarsallbat-reports-the-input-line-is-too-long-if/257260

Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:27:41 -05:00
redpolline
2e3f14e7bd Fix copy-paste syntax error in steam_ugc.h.
Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:20:50 -05:00
redpolline
b079607634 Fix linux build script, and add lobby_connect to it.
Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:19:06 -05:00
redpolline
4042974100 Add gitattributes file so shell scripts don't get mangled and break builds.
Signed-off-by: redpolline <11156324-redpolline@users.noreply.gitlab.com>
2024-01-10 04:17:51 -05:00
redpolline
0d0ec28ecb Make a better stub for Steam_RemotePlay functionality.
Note for googler's, this doesn't mean RemotePlay works / is being implemented.

Put the main stuff into its own .cpp.

Set up storage for holding descriptions. (*NOT* thread safe!)

Clears up a crash on init in SAO:FB.
2023-11-28 05:51:00 -05:00
redpolline
d29103bf79 Create shared mem mapping in steamclient_loader.
The mapping and it's event object are needed by some games.
2023-11-28 05:34:38 -05:00
redpolline
9cee5004d7 Fix ISteamClient class member ordering for Steam_Unified_Messages.
Some games, like SAO:FB, require a specific class member order.
2023-11-28 05:34:26 -05:00
Mr_Goldberg
475342f0d8
SDK 1.56 and 1.57 2023-05-08 22:36:51 -04:00
Mr_Goldberg
802d8bcc8f
More accurate SetLobbyData. 2022-09-06 13:30:20 -04:00
Mr_Goldberg
7e1824290a
disable_lan_only.txt can now be put inside the steam_settings folder. 2022-09-06 13:29:39 -04:00
Mr_Goldberg
647e894d62
Add prints for debugging. 2022-09-06 13:29:02 -04:00
Mr_Goldberg
c231c87312
Allow message sending on not yet connected networking sockets. 2022-09-03 04:29:08 -04:00
Mr_Goldberg
373801b3a4
Fix some UDP packet size issues 2022-09-03 04:21:08 -04:00
Mr_Goldberg
05e2c3bef0
Implement TCP_NODELAY, thanks #209 2022-09-03 04:20:03 -04:00
Mr_Goldberg
b1986dfe38
Overlay chat window improvements. 2022-09-03 04:13:58 -04:00
Mr_Goldberg
5d3bbc8529
Fix lobby_connect.exe not building in CI. 2022-09-03 04:13:25 -04:00
Mr_Goldberg
c9a102ee30
Use shared font atlas and fix crash when opening overlay in some games. 2022-08-21 03:45:11 -04:00
Mr_Goldberg
de6805dd8b
Update nemirtingas overlay to latest. 2022-08-21 03:43:24 -04:00
Mr_Goldberg
97a1ff5186
Try to read default num as float in script if int doesn't work. 2022-08-17 20:17:37 -04:00
Mr_Goldberg
7f3eb9970e
Fix protobuf build. 2022-08-16 20:38:16 -04:00
Mr_Goldberg
7e1409596a
Don't crash script when some controller configs don't have URLs. 2022-08-16 19:27:44 -04:00
Mr_Goldberg
3c1fc7f53d
Forgot this. 2022-08-16 12:39:38 -04:00
Mr_Goldberg
077e532bd2
Fix overlay getting stuck if stopped to quickly after being started. 2022-08-16 12:32:28 -04:00
Mr_Goldberg
bc4262a494
Fix stats issue in script. 2022-08-16 12:30:52 -04:00
Mr_Goldberg
276a9902df
Update nemirtingas overlay to latest to fix clipcursor related issue. 2022-08-16 12:29:58 -04:00
Mr_Goldberg
f01bb145b0
Faster CI build. 2022-08-16 12:29:05 -04:00
Mr_Goldberg
f4e6a714a4
generate_emu_config can now generate items config.
Remove the old generate_game_infos.cpp script.
2022-08-14 14:54:12 -04:00
Mr_Goldberg
8b9ce58195
Fix supported_languages in generate_emu_config.py script. 2022-08-13 16:11:07 -04:00
Mr_Goldberg
0800649d8f
Add supported_languages.txt to specify which languages are available in a game. 2022-08-13 14:40:55 -04:00
Mr_Goldberg
63128907fd
Add supported_languages.txt and image downloading to generate_emu_config. 2022-08-13 14:38:37 -04:00
Mr_Goldberg
a4ef72cb3c
Don't create new client instance when unregistering callbacks. 2022-08-13 14:37:23 -04:00
Mr_Goldberg
0082242a6f
LAN only filtering now properly handles mapped ipv4. 2022-08-13 14:36:34 -04:00