M7MXsalar2 / Steam-Emulator-by-CODEX

CODEX emulator - Steamclient version (x64-x86)
42 stars 3 forks source link

steam_api.dll / steam_api64.dll not present #2

Open Pandoriaantje opened 1 year ago

Pandoriaantje commented 1 year ago

The README mentions:

But there is no steam_api.dll or steam_api64.dll included in the project. Wich one is it?

  1. GameOverlayRenderer64.dll
  2. codex64.dll
  3. steam_emu.ini
  4. steamclient64.dll

What are the other dll files for? i'm Guessing Steam Overlay Fix, but no info provided.

Pandoriaantje commented 1 year ago

So, I've found out there are 2 versions. CODEX api only build and Steamclient build. For the steamclient build, as archived here, one needs to (hex) edit the original steam_api(64).dll manually, and replace "SHELL32" with "CODEX(64)".

Don't forget to rename the original (unedited) steam_api(64).dll to steam_api(64).cdx for CODEX redirection purposes. The README is certainly not complete or accurate.

M7MXsalar2 commented 1 year ago

Thank you for the heads up, @Pandoriaantje. I've tested this release on one game and just uploaded it to be easier to find. I will update README.md with the info you've provided.

Pandoriaantje commented 1 year ago

For completeness sake: 64-bit 53 48 45 4C 4C 33 32 2E 64 6C 6C -> 43 4F 44 45 58 36 34 00 57 55 53 (SHELL32.dll -> CODEX64.WUS) 32-bit 53 48 45 4C 4C 33 32 2E 64 6C 6C -> 43 4F 44 45 58 00 21 57 55 53 21 (SHELL32.dll -> CODEX.!WUS!)

As for the [Interfaces] section in the ini, one can use the _generate_interfacesfile.exe inluded in the Golberg emu, in the tools subfolder or do a manual search in the original dll.

RoskoDaneworth commented 5 months ago

For completeness sake: 64-bit 53 48 45 4C 4C 33 32 2E 64 6C 6C -> 43 4F 44 45 58 36 34 00 57 55 53 (SHELL32.dll -> CODEX64.WUS) 32-bit 53 48 45 4C 4C 33 32 2E 64 6C 6C -> 43 4F 44 45 58 00 21 57 55 53 21 (SHELL32.dll -> CODEX.!WUS!)

As for the [Interfaces] section in the ini, one can use the _generate_interfacesfile.exe inluded in the Golberg emu, in the tools subfolder or do a manual search in the original dll.

Hello, i have changed things in hex editor, renamed files accordingly (.cdx for unedited and .dll for modified) but game demo im trying to launch just return system error. Game demo in question - DongWu (was available in november but now is pulled off; i managed to download it before closure).

Pandoriaantje commented 5 months ago

For completeness sake: 64-bit 53 48 45 4C 4C 33 32 2E 64 6C 6C -> 43 4F 44 45 58 36 34 00 57 55 53 (SHELL32.dll -> CODEX64.WUS) 32-bit 53 48 45 4C 4C 33 32 2E 64 6C 6C -> 43 4F 44 45 58 00 21 57 55 53 21 (SHELL32.dll -> CODEX.!WUS!) As for the [Interfaces] section in the ini, one can use the _generate_interfacesfile.exe inluded in the Golberg emu, in the tools subfolder or do a manual search in the original dll.

Hello, i have changed things in hex editor, renamed files accordingly (.cdx for unedited and .dll for modified) but game demo im trying to launch just return system error. Game demo in question - DongWu (was available in november but now is pulled off; i managed to download it before closure).

Did you remove the steam DRM? https://github.com/atom0s/Steamless

RoskoDaneworth commented 5 months ago

Game doesnt have DRM recognisable by steamless.

Tried every possible emu api in the world - no results. Just want to make sure that CODEX has something to show (same result or not), but cant even make .exe run.

Pandoriaantje commented 4 months ago

If you are sure there is no DRM, i'dd suggest trying my universal patcher to patch the DLL and generate the [Interfaces]. UniversalSteamApiPatcher-1.1.1.zip try with the latest RUNE steamclient emu (continuation of the CODEX emu). RUNE Steamclient Emu v1.0.1.48 (x64-x86).zip

Start with a clean game folder, use my patcher on the game folder (you can drag-and-drop multiple dll file(s) or folders(s)) to patch the steamclient(64).dll with the RUNE patch style, and extract the 'Interfaces'. My app is fully interactive. Then add the missing emu files, and modify the steam_emu.ini with the appropriate AppId (i believe it is 2582800), and add the interfaces from the generated .txt file to the ini under [Interfaces].

usap1 usap2 usap3