X4: Foundations

X4: Foundations

SirNukes Mod Support APIs Community Edition
17 Comments
Raven Aug 2 @ 10:47am 
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 Aug 2 @ 7:11am 
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)
Valador  [author] Jul 11 @ 2:43pm 
@Sakata Original Pipe server from Sir Nukes and the current updated community repo pipe server are not working for me either. I had intended to utilize the pipe server for a project I have coming up so I too am watching it's development and waiting for a fix. As far as I am aware it does not currently work until the points that changed with the game get updated. {Looks activated in-game but missing data and doesn't attempt to connect. Powershell commands hit the pipe server but not X4.)
The upcoming 8.0 release doesn't help as most mod authors like to wait until after the updates settle before they start pushing mod updates/changes.
I will be sure to communicate when the pipes server fix is available!
Sakata Jul 11 @ 2:35pm 
@Valador Thanks for the heads up. With all the mod breakage I'm resetting to no mods and restarting.
Since @SirNukes is also the pipe server author, is there a possibility that it is broken?
Valador  [author] Jul 11 @ 6:52am 
Github resource is forked. Original ws_ID is NOT able to be duplicated/re-uploaded. Only sir nukes can do that.
Unsubscribe from any and all other versions of mod_support_apis and only use this one and you will be fine.

The pipes issue has been reported and is actively being worked on.:

iomatix
05 Jul 2025, 11:29AM
I'll try to get back to the Hotkeys fixes soon.
There were changes to the Lua files in X4, and scripts in Mods APIs must be readjusted to them and later this logic must apply to md files so it'll take time.
Sakata Jul 10 @ 8:12pm 
Additionally, I'm having issues getting the pipe server to connect.
Console shows:
```X4 Python Pipe Server v1.4.2

Loaded permissions file at D:\Gaming Apps\X4\permissions.json

Started serving: \\.\pipe\x4_python_host
Connected to client
Received: ping
Received: modules:extensions/sn_mod_support_apis/python/Send_Keys.py;extensions/sn_mod_support_apis/python/Time_API.py;```
Game shows x43_python_host connected, but x4_keys disconnected.
Sakata Jul 10 @ 8:11pm 
So if I download the folder directly from your github, the extension name and ID are correct. Through steam, the mod name and ID are incorrect.
Zane Nightshade Jul 6 @ 10:17pm 
Mod ID of the APIs should remain the same as the original APIs. Please verify that because if it's not the same here on steam (nexus provides this compatibility) then mods won't work with this anyway.
InfiniteSpaces Jul 3 @ 5:19am 
Many thanks to all involved! :steamthumbsup: