AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 Utility to fix ff2 files for sourcemod 1.11 (https://forums.alliedmods.net/showthread.php?t=340758)

bottiger 12-07-2022 19:30

Utility to fix ff2 files for sourcemod 1.11
 
1 Attachment(s)
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.

GANGST 12-07-2022 23:51

Re: Utility to fix ff2 files for sourcemod 1.11
 
Am I doing something wrong? evetime I try to use "python fix.py" I get this error.

https://steamuserimages-a.akamaihd.n...etterbox=false

Naydef 12-08-2022 05:46

Re: Utility to fix ff2 files for sourcemod 1.11
 
Execute the command in the C:\Users\rober\Desktop\ff2fix folder, not in the /freaks subfolder.

GANGST 12-09-2022 14:27

Re: Utility to fix ff2 files for sourcemod 1.11
 
Okay so I got it to work but is there a specific area I need to put the new smx files? Also, I'm still using the unoffical FF2 build

bottiger 12-11-2022 16:34

Re: Utility to fix ff2 files for sourcemod 1.11
 
You put it in the same place and you need to edit the plugin to replace all instances of .ff2 with .smx

DIO the trash 12-13-2022 02:20

Re: Utility to fix ff2 files for sourcemod 1.11
 
1 Attachment(s)
Hi there
I turn all my sub-plugins into .smx files by using this tool,but still there are a lot of plugins being unable to load,specifically, sub-plugins related to rage abilities,everything else works fine(dynamic defaults and stuff).Any way to get rage plugins get back on work again?

Naydef 12-14-2022 06:17

Re: Utility to fix ff2 files for sourcemod 1.11
 
Quote:

Originally Posted by DIO the trash (Post 2795083)
Hi there
I turn all my sub-plugins into .smx files by using this tool,but still there are a lot of plugins being unable to load,specifically, sub-plugins related to rage abilities,everything else works fine(dynamic defaults and stuff).Any way to get rage plugins get back on work again?

The exact error is not on the screenshot...

JuegosPablo 12-14-2022 12:12

Re: Utility to fix ff2 files for sourcemod 1.11
 
Quote:

Originally Posted by Naydef (Post 2795174)
The exact error is not on the screenshot...

the error is native is not bound

Naydef 12-14-2022 12:19

Re: Utility to fix ff2 files for sourcemod 1.11
 
Quote:

Originally Posted by JuegosPablo (Post 2795192)
the error is native is not bound

Probably load order issue. The freak_fortress_2.smx plugin needs to load first. Since subplugins now have .smx extension and they are in a folder, they seem to get loaded before the FF2 plugin.

JuegosPablo 12-14-2022 12:21

Re: Utility to fix ff2 files for sourcemod 1.11
 
Quote:

Originally Posted by Naydef (Post 2795193)
Probably load order issue. The freak_fortress_2.smx plugin needs to load first. Since subplugins now have .smx extension and they are in a folder, the seem to get loaded before the FF2 plugin.

that explain a lot tbh


All times are GMT -4. The time now is 12:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.