nosoop / SMExt-SourceScramble

A SourceMod extension for dealing with memory-related operations.
https://forums.alliedmods.net/showthread.php?p=2657347
GNU General Public License v3.0
84 stars 12 forks source link

SourceScramble does not recognize the [platform]64 (platform-specific) keyword and fails. #21

Open zxz41 opened 3 months ago

zxz41 commented 3 months ago

SourceScramble does not support the [platform]64 tags and causes all other valid platform-specific patches to fail. (see mempatches.cpp)

sm plugins reload 18
[sourcescramble] Enabled patch "CTFGameRules::RecalculateTruce::SkipIsValveMapCheck" from "tf2.valvemaptrucepatch" at address: 0x6564796E
[SM] Plugin Source Scramble Manager reloaded successfully.
sm plugins reload 18
L 05/11/2024 - 22:25:39: [sscramble] Unexpected subsection "windows64" (expected platform-specific)
L 05/11/2024 - 22:25:39: [sscramble] Unexpected subsection "windows64" (expected platform-specific)
[sourcescramble] Failed to verify patch "CTFGameRules::RecalculateTruce::SkipIsValveMapCheck" from "tf2.valvemaptrucepatch"
[SM] Plugin Source Scramble Manager reloaded successfully.

Here's the config in question. https://github.com/zxz41/disable-truce-hotpatch/blob/d1b57a75b44061a592f4e8dcccbbdc61e958f1a8/gamedata/tf2.valvemaptrucepatch.txt

nosoop commented 1 month ago

Will close when fixed, once 64-bit support lands for Source Scramble (soon™).

nosoop commented 1 month ago

There are now prerelease builds of the extension that introduce 64-bit support.

I briefly tested it against your patches and the manager plugin reports that they were successfully applied, but if you're able to report back with your own testing, it'd be appreciated.