From 7938d1f5c95f6871054db2e25523a228ff8376de Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sat, 11 May 2019 14:43:34 -0400 Subject: [PATCH] Add linux interface script to release. --- Readme_release.txt | 4 +++- build_steamos.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Readme_release.txt b/Readme_release.txt index 582dcb55..af340c11 100644 --- a/Readme_release.txt +++ b/Readme_release.txt @@ -7,7 +7,9 @@ Put a steam_appid.txt file that contains the appid of the game right beside it i If your game has an original steam_api(64).dll older than may 2016 (Properties->Digital Signatures->Timestamp) you might have to add a steam_interfaces.txt beside my emulator library if the game isn't working. -This file contains interface versions, an example (for resident evil 5) is provided. To get those you can just get a hex editor and search for them (Search for the string: SteamUser0) in the original steam_api dll (or libsteam_api.so on linux) or look in the ini of a crack that works on that game. +This file contains interface versions, an example (for resident evil 5) is provided. +If you are on linux you can look in the linux/tools folder (or the scripts folder in the repo) for a script to generate the steam_interfaces.txt file. +You can also just get a hex editor and search for them (Search for the string: SteamUser0) in the original steam_api dll (or libsteam_api.so on linux) or look in the ini of a crack that works on that game. If the game has DRM (other than steamworks) you need to remove/crack it first. diff --git a/build_steamos.sh b/build_steamos.sh index b5d9f84b..11f799d8 100644 --- a/build_steamos.sh +++ b/build_steamos.sh @@ -3,6 +3,8 @@ rm -rf linux mkdir -p linux/x86 mkdir -p linux/x86_64 mkdir -p linux/lobby_connect +mkdir -p linux/tools +cp scripts/find_interfaces.sh linux/tools/ ../protobuf/prefix_x86/bin/protoc -I./dll/ --cpp_out=./dll/ ./dll/*.proto g++ -m32 -shared -fPIC -fvisibility=hidden -Wl,--exclude-libs,ALL -DGNUC -DEMU_RELEASE_BUILD -DNDEBUG -s -o linux/x86/libsteam_api.so dll/*.cpp dll/*.cc -Wno-return-type -I../protobuf/prefix_x86/include/ -L../protobuf/prefix_x86/lib/ -lprotobuf-lite -std=c++11 && echo built32 g++ -m32 -fvisibility=hidden -Wl,--exclude-libs,ALL -DGNUC -DEMU_RELEASE_BUILD -DNDEBUG -DNO_DISK_WRITES -DLOBBY_CONNECT -s -o linux/lobby_connect/lobby_connect_x86 lobby_connect.cpp dll/*.cpp dll/*.cc -Wno-return-type -I../protobuf/prefix_x86/include/ -L../protobuf/prefix_x86/lib/ -lprotobuf-lite -lpthread -std=c++11 && echo built_lobby_connect32