X4: Foundations

X4: Foundations

27 ratings
SirNukes Mod Support APIs Community Edition
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.094 MB
Jul 1 @ 7:28pm
Jul 11 @ 9:56pm
3 Change Notes ( view )

Subscribe to download
SirNukes Mod Support APIs Community Edition

In 1 collection by Valador
GeForce Now Mod Collection *Modified* 2025
61 items
Description
Community Version of MIT licensed SirNuke's collection of APIs for modding support. Components include: Lua Loader API, Time API, Named Pipes API, Hotkey API, Interact Menu API, Simple Menu API. 2025-05 Source for X4 8.0+: https://github.com/iomatix/x4-projects/tree/master/extensions/sn_mod_support_apis

Mods that need updated to the newest MSAPI can follow these directions to get back to playing asap:

1. Go to the mods local folders (steam/steamapps/common/X4/extensions) all the extension directories contain a content.xml file.
2. Open the content.xml for each mod that needs updated in vscode or notepad++ you will see they have a dependency set at the bottom of the file and they have used the old ws_2xxxxxxxxx ID.
3. Replace that ID with this Community Edition mods ID ws_3514258146 in the line for name="SirNukes Mod Support APIs" it will override the build in dependencies the game is reading from the file.
4. Load up X4 and all the mods you changed the dependencies of will load perfectly and work no problem now.

I know this is a pain point between developers, users and code repositories but this manual fix should work no problem.


Under active development by Iomatix.
17 Comments
Raven 17 hours ago 
Hi. I'm coming back to X4 after more than a year away and 7.6 is crashing with one or more of my mods. Trying the above steps just creates a duplicate of each mod folder in my install, and some of them can't be deactivated in the in-game extensions list. How do I figure out which mod is causing the problems and get rid of the duplicate folders?
sfingers02 21 hours ago 
I don't see any dependency in the content.xml files for Kuda AI Tweaks or Kuda API. Is there anything else to do?
endeyfire Jul 30 @ 4:04am 
thank you for this mod btw. sirnukes had been givin me issues for the past 2 major updates, to the point where i would often toggle safemode UI on or off depending on what i was doing due to wayy too much UI menus having a fit. this community patch has been significantly more stable and the painpoint to get it all running wasnt too big of a deal for my non tech savy brain to fix.

thank you lots.
Sakata Jul 28 @ 9:38am 
@Valador
Is there any discussion between mod devs regarding moving their projects to using the community edition since it is being maintained?
Also, I'm hoping that this version is being maintained in such a way that if something happens and you are no longer able to maintain the mod that someone else can seamlessly pick it up, hopefully without steam complicating things.

On that note, I've often wondered why the mods use ws_### instead of folder names. Is this a Steam limitation?
*sm1Ly Jul 21 @ 3:52am 
I really don't understand how to make it work.
I using 7.6v of game.
I trying reemergence and it want DA scripts. I fixed to ws_3514258146 as u told.
but I still have no extensions configurations
dmansail Jul 13 @ 11:45pm 
I had a problem with your previous version, is incompatible with the player NPC mod and sometimes you can not teleport .
Bussy Jul 12 @ 8:51am 
I am assuming the only reason to update to this version is 8.0? I am still waiting for Keurtee to update his UI Extensions for 8.0 before trying the beta again.

Also it seems the problem I was having with CE breaking Better target monitor requires a simple manual fix you mentioned, ill try that next time. As it stands if i am using 7.6 sirnukes original still works with everything I am using currently with no issues.

Appreciate the effort to continue supporting the mod
Valador  [author] Jul 11 @ 10:16pm 
The easiest way to answer you is with the manual way of fixing the problem.
So the mods you mention, if you were to go to their local folders (steam/steamapps/common/X4/extensions) all contain a content.xml.
If you open this in vscode or notepad++ you will see they have a dependency at the bottom and they have used the old ws_2xxxxxxxxx ID. If you replace that ID with this mods ID ws_3514258146 in the line for name="SirNukes Mod Suppor APIs"
When you load up X4 all the mods you changes the dependencies of will load perfectly and work no problem.
I know this is a pain point between developers, users and code repositories but this manual fix should work no problem. Hope this helps!
Sakata Jul 11 @ 4:21pm 
Or is that something that is hardcoded in the other mods that I should take to them to resolve?
Sakata Jul 11 @ 4:17pm 
@Valador Thanks for the quick replies!

So can I ignore the in-game mod manager complaints?
Looks like other mods are still looking for the SN version:
Better Target Monitor, Static Defence, Subsystem Targeting Orders, Urgent Orders, Wing Hotkeys are colored red and show
"Newer version of extension 'SirNukes Mod Support APIs' required: 1.00"
And the mod seems to have a placeholder with v0.1 that X4 puts in on its own on launch. (Along with VRO and a few other mods)