Simple Mod Framework

Hey everyone, any idea why I cannot deploy my mods?
Log

It looks like Lighting Ultimate - Landslide Vanilla + is incompatible with a mod

That shouldn’t be an issue, maybe the log isn’t displaying properly and it’s actually The Author LU option, which is a known incompatibility with Freelancer Variations. Turn them both off to be safe.

Also Chongqing LU option if you have that on. And if you still get an error then try GOTY version of The Vector Colorado instead of Vanilla+

That seems to be it, while I was trying to fix it, I saw your pinned post on freelancer variations which explained the incompatibilities with LU and after changing Colorado and Chongqing, everything worked fine and deployed correctly. Thanks!

1 Like

Hi, I am fairly new to the modding community. I followed the instructions and tried to install a couple of mods. Then since the mods were not being deployed I decided to install only the Realistic AI one, but still even thought it is just one mod it keeps on giving me the Error Spawn wmic ENOENT

I have the game on Epic Games and the SMF is on the following directory:
A:\HITMAN3\Simple Mod Framework

I have been googling but nothing with my mistake pops up and no mod seems to be deployed.

INFO Initialising error reporting
INFO Discovering mod contents
INFO Discovering mod: Realistic AI
INFO Invalidating cache
INFO Analysing framework mod: Realistic AI
INFO Deploying Atampy26.RealisticAI
DEBUG Applying repository patch A:\HITMAN3\Simple Mod Framework\Mods\Realistic AI\content-normal\chunk0\Realistic AI Normal.repository.json
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: spawn wmic ENOENT

Could you try going to the folder in Explorer, replacing the folder path at the top with cmd and pressing enter? It should launch the Command Prompt. Then, type Deploy --logLevel verbose --logLevel debug --logLevel info --logLevel warn --logLevel error and press enter and it should run the SMF deploy but giving more information before the error.

1 Like

Hi sorry for the delay! I believe there may be a time difference! I did as you asked and the CMD threw back this log at me.
Thank you for your help :slight_smile:

A:\HITMAN3\Simple Mod Framework>Deploy --logLevel verbose --logLevel debug --logLevel info --logLevel warn --logLevel error
INFO Initialising error reporting
DETAIL Initialising RPKG instance
DETAIL Removing existing patch files
DETAIL Emptying folders
DETAIL Beginning discovery
INFO Discovering mod contents
DETAIL Resolving Atampy26.RealisticAI
DETAIL Beginning mod discovery of Realistic AI
INFO Discovering mod: Realistic AI
DETAIL Validating manifest
DETAIL Getting folders
DETAIL Merging mod options
DETAIL Validating manifest requirements
DETAIL Discovering scripts
DETAIL Discovering content
DETAIL Discovering blobs
DETAIL Discovering manifest keys
DETAIL Checking cache versions
DETAIL Beginning difference
INFO Invalidating cache
DETAIL Calculating changed files
DETAIL Calculating hashes to invalidate
DETAIL Invalidating dependencies
DETAIL Summarising
DETAIL Writing cache
DETAIL Beginning deploy
DETAIL Resolving Atampy26.RealisticAI
INFO Analysing framework mod: Realistic AI
DETAIL Merging mod options
DETAIL Registering repository.json file A:\HITMAN3\Simple Mod Framework\Mods\Realistic AI\content-normal\chunk0\Realistic AI Normal.repository.json
INFO Deploying Atampy26.RealisticAI
DETAIL Content
DETAIL Check contracts ORES necessary
DETAIL Staging repository.json file A:\HITMAN3\Simple Mod Framework\Mods\Realistic AI\content-normal\chunk0\Realistic AI Normal.repository.json
DEBUG Applying repository patch A:\HITMAN3\Simple Mod Framework\Mods\Realistic AI\content-normal\chunk0\Realistic AI Normal.repository.json
DETAIL Getting RPKG of hash 00204D1AFD76AB13
DETAIL No cache hit: Realistic AI chunk0\5c8a8d809c8cfabe A:\HITMAN3\Simple Mod Framework\temp\chunk0patch3
DETAIL Extract or copy to temp: chunk0patch3 00204D1AFD76AB13 REPO chunk0
DETAIL Executing RPKG function -hash_meta_to_json “A:\HITMAN3\Simple Mod Framework\temp\chunk0patch3\REPO\00204D1AFD76AB13.REPO.meta”
DETAIL Executing RPKG function -json_to_hash_meta “A:\HITMAN3\Simple Mod Framework\temp\chunk0patch3\REPO\00204D1AFD76AB13.REPO.meta.JSON”
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: spawn wmic ENOENT

Could you try typing “environment variables” into the Start menu and opening the “Edit the system environment variables” option, then clicking Environment Variables in the bottom-right, scrolling to the “Path” option in the upper box, clicking Edit and then adding a new element with the text %SystemRoot%\System32\Wbem?

In theory this should fix your deploy.

2 Likes

Yes! This did indeed work! Thank you so much for your help! I did not know about the Environment Variables at all :blush:

1 Like

“Poorly designed” bruv its a 1:1 copy from the steam version, literally the same game design

1 Like

It’s obviously not a 1:1 copy because that’s the whole reason SMF fails, it doesn’t detect a known copy based on the content of the files; if it was a 1:1 copy do you think the framework would be able to magically know it’s pirated?

2 Likes

INFO Initialising error reporting
INFO Discovering mod contents
INFO Discovering RPKG mod: John Wick Mod-237-1-0-1640462957
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: ENOTDIR: not a directory, scandir ‘D:\GAMEPASS\PC - HITMAN 3 - Base Game\Content\Simple Mod Framework\Mods\John Wick Mod-237-1-0-1640462957\chunk0patch5.rpkg’
at discover (C:\snapshot\simple-mod-framework\compiled\discover.js)
at async doTheThing (C:\snapshot\simple-mod-framework\compiled\main.js)

1 Like

Thank you for that amazing tool :blush:

@Atampy26 Hey would you be able to help with my SMF issue. I get an error I that I’m not seeing on this forum. I got an picture attached for ya.

This is why every tutorial tells you to use the Add a Mod button and not just arbitrarily extract files to the Mods folder.

Try again with the latest version on Nexus Mods.

So I tried downloading the newest version on nexus, so it should give an actual error and there it is, hopefully it will help.

For me it was when the installer just closes after a few seconds after opening it.

Thanks for the response. Got the latest version, and got to the screen where I click ‘install the framework’. It spun for a few secs, before closing itself. Now, when I open the installer, I get the following error;

I deleted Hitman 3, reinstalled it, and when I try to install “Simple Mod Framework” I get this message:

Welcome to the Simple Mod Framework!
It seems a critical error has occurred. Try restarting the installation process, or give Atampy26 the following error message on Hitman Forum (note that this does not say Nexus Mods).
missing field ‘MostRecent’

@Atampy26 for me it doesnt work, its ben stuck on this


every time i open it, i tried to reinstall it, tried to verify hitman 3 game files, but no good, it doesnt work, any tips?

Hello! I’ve been trying to download the new version, but after a good 15-20 mins, the installer crashes.
I’ve tried restarting my computer and verifying my game files.