View Single Post
Author Message
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 12-07-2022 , 19:30   Utility to fix ff2 files for sourcemod 1.11
Reply With Quote #1

Sourcemod 1.11 does not allow you to load .ff2 files. However just renaming .ff2 to .smx does not work because include files in all ff2 plugins have .ff2 hardcoded into the logic in freak_fortress_2_subplugin.inc and other custom includes like ff2_ams.inc.

Over the years our server has accumulated a lot of .ff2 plugins and some of the source code has been lost to time. Some only exist as broken links to dead dropboxes or the forum is filled with countless older versions.

I've uploaded a tool that will automatically fix the ff2 files so you do not have to recompile them.

Thanks to Kailo for making this tool that makes it possible. https://forums.alliedmods.net/showthread.php?t=304137

Instructions.
  1. unzip the file somewhere
  2. put your ff2 files in the ff2fix/freaks folder
  3. Install Python https://www.python.org/downloads/
  4. Go into command prompt and go into the ff2fix directory and type python fix.py
  5. Upload the fixed files in the freaksdone folder

NOTICE

You also need to edit the ff2 plugin and replace ff2 with smx to get this to work.
Attached Files
File Type: zip ff2fix.zip (58.9 KB, 280 views)
__________________

Last edited by bottiger; 12-08-2022 at 16:40.
bottiger is offline