Skip to content

[Feature] Can steam_api_c.dll be reimplemented? #565

Description

@TheKingFireS

Is your feature request related to a problem? Please describe.
Since gbe_fork still haven't implemented steam_api_c.dll, I decided to ask.

Describe the solution you'd like
Getting steam_api_c.dll reimplemented

Describe alternatives you've considered
I shitcoded (unironically) my own steam_api_c.dll with AI (half of time) that stubbed some functions, redirected some functions to main steam_api.dll and steamclient.dll. I got Cry of Fear running without ColdClientLoader, but it's currently unplayable due to "Invalid Steam certification" on everything.

Are you comfortable implementing it yourself?
No, I don't know how to implement it correctly.

Additional context
Cry of Fear and some games that refuse to run without steam_api_c.dll.

steam_c functions:

//OLD steam_c stuff

steam_api_c.dll functions required by hw.dll, only show missing one (most of existing functions are in steam_api.dll):

This functions does exist, but only included in ColdClientLoader's steamclient.dll:
Steam_FreeLastCallback
Steam_BGetCallback

Click to expand
(0x0000000f), ISteamGameServer_SendUserDisconnect
              (but there's SteamAPI_ISteamGameServer_SendUserDisconnect)
(0x0000000e), ISteamGameServer_SendUserConnectAndAuthenticate
              (but there's SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate)
(0x0000000d), ISteamGameServer_GetSteamID
              (but there's SteamAPI_ISteamGameServer_GetSteamID)
(0x0000000a), ISteamGameServer_BSecure
              (but there's SteamAPI_ISteamGameServer_BSecure)
(0x00000005), ISteamApps_BIsSubscribedApp
              (but there's SteamAPI_ISteamApps_BIsSubscribedApp)
(0x0000000c), ISteamGameServer_CreateUnauthenticatedUserConnection
              (but there's SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection)
(0x0000000b), ISteamGameServer_BUpdateUserData
              (but there's SteamAPI_ISteamGameServer_BUpdateUserData)
(0x00000025), ISteamUtils_GetAppID
              (but there's SteamAPI_ISteamUtils_GetAppID)
(0x00000003), ISteamApps_BIsLowViolence
              (but there's SteamAPI_ISteamApps_BIsLowViolence)
(0x00000023), ISteamUser_InitiateGameConnection
              (but there's SteamAPI_ISteamUser_InitiateGameConnection)
(0x00000007), ISteamApps_GetCurrentGameLanguage
              (but there's SteamAPI_ISteamApps_GetCurrentGameLanguage)
(0x00000024), ISteamUser_TerminateGameConnection
              (but there's SteamAPI_ISteamUser_TerminateGameConnection)
(0x00000009), ISteamGameServer_BLoggedOn
              (but there's SteamAPI_ISteamGameServer_BLoggedOn)

(0x00000021), ISteamMasterServerUpdater_WasRestartRequested
(0x00000018), ISteamMasterServerUpdater_GetNextOutgoingPacket
(0x0000001e), ISteamMasterServerUpdater_SetBasicServerData
(0x00000015), ISteamMasterServerUpdater_ClearAllKeyValues
(0x00000020), ISteamMasterServerUpdater_SetKeyValue
(0x0000001b), ISteamMasterServerUpdater_NotifyShutdown
(0x0000001d), ISteamMasterServerUpdater_SetActive
(0x0000001f), ISteamMasterServerUpdater_SetHeartbeatInterval
(0x0000001a), ISteamMasterServerUpdater_HandleIncomingPacket
(0x00000016), ISteamMasterServerUpdater_ForceHeartbeat
(0x00000013), ISteamGameServer_UpdateStatus
(0x0000001c), ISteamMasterServerUpdater_RemoveMasterServer
(0x00000014), ISteamMasterServerUpdater_AddMasterServer
(0x00000017), ISteamMasterServerUpdater_GetMasterServerAddress
(0x00000019), ISteamMasterServerUpdater_GetNumMasterServers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions