sourcemod icon indicating copy to clipboard operation
sourcemod copied to clipboard

[Discussion] AlliedModders wiki page for transistioning from x86 to x64 for plugins/extensions

Open KaelaSavia opened this issue 1 year ago • 2 comments

With TF2 x64 update looming closer, I figured we could perhaps brainstorm and setup page that would provide crucial information on migrating from x86 to x64 environment in SourceMod

Similar to this:

  • https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax

Things things such as dhooks are not yet ported over but I figured it won't hurt to have a bit of brainstorming about this.

Potential Future Subjects of interest:

  • Installing x64 SourceMod/Metamod under previously x86 installation
  • Updating Gamedata in x64 ( "linux64" stuff)
  • Compiling previously x86 extensions under x64
  • Updating x86 plugins using gamedata (sdkcall, storetoaddress, loadfromaddress, getentityaddress)
  • Updating x86 plugins using dhooks
  • Sample Extension but for x64
  • etc.

KaelaSavia avatar Feb 13 '24 14:02 KaelaSavia

Sample Extension but for x64

The sample extension's code already works on x64. The AMBuildScript needs to be updated to allow compiling for x86_64. This is already done in PR #2107

caxanga334 avatar Feb 13 '24 15:02 caxanga334

A lot of this is either trivial (eg, updating sourcemod) or still up in the air.

Regardless, i've started a page here: https://wiki.alliedmods.net/Porting_to_x64

If you would like changes and you don't have a wiki account, please put the requested changes in this issue and I'll try to include them

Mooshua avatar May 08 '24 22:05 Mooshua