From 75e3d81787ee938c77eb22bd99669ced35ac59ca Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 14 Apr 2019 10:16:31 -0400 Subject: [PATCH] Script to generate steam_interfaces.txt --- scripts/find_interfaces.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 scripts/find_interfaces.sh diff --git a/scripts/find_interfaces.sh b/scripts/find_interfaces.sh new file mode 100644 index 0000000..2531139 --- /dev/null +++ b/scripts/find_interfaces.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +#usage: sh find_interfaces.sh "path to original steam api .dll or .so" > steam_interfaces.txt + +#created by supergoat from cs.rin.ru +#modified by Mr_Goldberg + +fi=$1 + +function findinterface { +strings "$fi" | grep -P "$1\d{3}" +} + +findinterface SteamClient +findinterface SteamGameServer +findinterface SteamGameServerStats +findinterface SteamUser +findinterface SteamFriends +findinterface SteamUtils +findinterface SteamMatchMaking +findinterface SteamMatchMakingServers +findinterface STEAMUSERSTATS_INTERFACE_VERSION +findinterface STEAMAPPS_INTERFACE_VERSION +findinterface SteamNetworking +findinterface STEAMREMOTESTORAGE_INTERFACE_VERSION +findinterface STEAMSCREENSHOTS_INTERFACE_VERSION +findinterface STEAMHTTP_INTERFACE_VERSION +findinterface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION +findinterface STEAMCONTROLLER_INTERFACE_VERSION +findinterface STEAMUGC_INTERFACE_VERSION +findinterface STEAMAPPLIST_INTERFACE_VERSION +findinterface STEAMMUSIC_INTERFACE_VERSION +findinterface STEAMMUSICREMOTE_INTERFACE_VERSION +findinterface STEAMHTMLSURFACE_INTERFACE_VERSION_ +findinterface STEAMINVENTORY_INTERFACE_V +findinterface SteamController