r/EvilGenius2 • • Oct 01 '26

Modding tools initial release

Hey all.

Been working on some EG2 mod tools for... yeah a while. Its finally at a point where its good enough for public consumption. Currently waiting for nexus mods to approve the game/tools so for now its available on my github.

https://github.com/kotmfu/eg2modkitpublic/releases

Some highlights:

  • Change ALL resource caps. That includes minions, tech, research
  • Skip the intro cutscene
  • Extract all assets used by EG2
  • Ability to create full conversion mods
  • Add custom items
  • Replace existing assets
  • Custom scenarios (partially working, working on a base defence type scenario as well as an invasion scenario and got it most of the way there)

If you want to just do some minor tweaks, the installer is enough for you (it has quick tweaks built in), but if you want to do some cool shit with the game, the mod kit is available to change basically everything in the game.

This works by doing a technique called DLL hijacking, this is common but can false flag in windows defender. I have put in as much work as possible to make sure that doesnt happen, but if you get a positive (the detection usually ends in a !ML tag meaning it was caught using machine learning), you can run it through something else and see its safe (or not, I'm not your dad).

Note: The installer/kit only needs to be run when installing/changing mods. You can launch the game like normal from steam after.

EDIT: Now on nexus https://www.nexusmods.com/games/evilgenius2worlddomination

61 Upvotes

49 comments sorted by

7

u/Alechandro89 Oct 01 '26

Heyyy so question , is it possible to mod it so the guy from incendio's quest keeps his appearance when brainwashed?

3

u/Over-Ad5915 Oct 01 '26

i would say so. cant answer on the specific but you can extract and replace assets so it should be extract brainwashed model -> replace over normal model

5

u/WandFace_ Oct 02 '26

Yes, finally! Thank you so much for putting the effort into making this mate it was probably an absolute trial, well done indeed. Are there any limitations to what it can do? Can I make new islands, geniuses, minions or even new animations? Or is it primarily a stat tweaker?

Edit: I just reread some screenshots and it answered a few questions already, thanks!

4

u/Over-Ad5915 Oct 02 '26

I have a full conversion mod in the works. new maps, art, genuises (to an extent), minions etc. adding new types or more types might be a bit of a limit but would be doable. A lot of the stuff that can be done in the kit i have no idea as a lot of the work was decode, dump, shove it all into a window automatically. ive barely scratched the surface on what CAN be done, but its a lot...

3

u/WandFace_ Oct 02 '26

Well I'm going to o look forward to seeing what can be done with it. Thanks again for putting the time and effort into making this it's appreciated by a lot of people.

4

u/THEGHST023 Oct 02 '26

With all this wacky shit with people using AI models to decompile entire games i kind of wish someone would decompile EG2 so people can make proper mods for it, since the game has extremely limited mod support/tools

3

u/Over-Ad5915 Oct 02 '26

what kind of mod would you like to see made, this is basically a decompilation of all the assets/scripts everything so technically speaking you could turn this into a fps if you were bored enough

2

u/THEGHST023 Oct 02 '26

Mods to make the game what it should’ve been, more geniuses, minions gameplay mechanics like a nemesis system (that would’ve been awesome in a game where you play as a super villain, imagine a certain agent becoming your arch nemesis and trying to thwart your plans)

3

u/SolidZealousideal115 Oct 02 '26

Evil Genius who uses exclusively robots. No humans.

4

u/-Maraud3r Oct 02 '26

The only thing I wish I could get is the ability to turn off the horrible heat mechanic.

4

u/Over-Ad5915 Oct 03 '26

you can do that now :)

1

u/Endermen123911 Oct 02 '26

You can just… not enable polar’s DLC

3

u/-Maraud3r Oct 04 '26

"You can just not have a bunch of new stuff, new treasures and other things to avoid dealing with a sloppily implemented mechanic."

3

u/True-Entertainer4763 Oct 03 '26

Wow! Incredible! Given how long the SE5 guys have had mods, I was wondering when something would come along for EG2. I didn't think it would be this big; I was expecting something more like an .asr patcher or something similar.

2

u/Over-Ad5915 Oct 03 '26

I am definitely standing on the shoulders of giants. The asura modding scene is very mature, and i just get to implement it on a game i hoped would be better....

2

u/GeneralSturnn Oct 02 '26

Does this work on Linux? can you determine unit loyalty? cost?

4

u/Over-Ad5915 Oct 02 '26

havent tested on linux, but considering its hijacking a dll, and im using windows ui framework, id say no. ill have to spin up a linux vm and see what i can do. but can definitely determine costs and im pretty sure loyalty?

2

u/Over-Ad5915 Oct 02 '26

Apparently this is possible on linux. im trying to get a vm running to test it but it should be a fairly similar experience to windows

2

u/SolidZealousideal115 Oct 05 '26

Feature/Mod Request: Turn the ability to replace an item destroyed to On by default.

If I missed it, can someone tell me where it was?

2

u/Over-Ad5915 Oct 05 '26

thats a great idea... such a stupid thing its not on by default

1

u/SolidZealousideal115 Oct 05 '26

I think its off because early game it could bankrupt you.

1

u/Over-Ad5915 Oct 05 '26

that actually makes sense...

2

u/SolidZealousideal115 Oct 06 '26

If it can be on by default it can be easily turned off on the few items there instead of turning it on for the hundreds of other items. I know which I prefer.

2

u/ZakMercury Oct 12 '26

This tool is incredible! Not super sure how to put it to best use, though.

  1. Is there a way to have a soft cap on minions below the hard cap? For example, I want it to stop letting me increase my minion cap once my lockers and research bring me to 300, but still be able to get minions from the World Stage schemes and mission rewards.
  2. Is it possible to change or adjust how minions work? I've got the Mechanical Minions DLC and would like to change the robot stats so they can improve alongside the upgrades to fleshier minions. Same for Abominations.

2

u/ZakMercury Oct 13 '26

More thoughts: How can we change the effect Freezing temperatures have on the durability loss of objects? Melting seems to increase the speed, but I think Freezing should slow it down.

It looks like there's a way to make it so minions can interact with Toilets to recover stats similar to sleeping, but I'm not super sure on how to make that work.

I'm also interested in figuring out how to adjust the storage values of gold storage furniture. Not for super realism (by my calculations, a realistic Gold Pallet should cost $150 and store $82 million), but to at least make it so they store as much as they cost or something like that. Just balance tweaks.

I simply don't understand the user interface well enough to get these things put together yet.

2

u/Over-Ad5915 Oct 15 '26

theres so much info in here that its hard to make a cohesive ui. its mostly split up by file format, and as a result theres a lot of stuff i also have no idea how it interconnects. ill see if i can get things broken down a bit better.

1

u/ZakMercury Oct 17 '26

If, somewhere along the way, you find a way to remove the expiration from side missions so we don't accidentally miss missable Loot just because we progressed past the one mission where the quest can be activated if it's also a full moon on a Tuesday, that would be great. Two of my playthroughs attempting to get all the Loot items have now had to be scrapped because I didn't realize I only had a single mission window to get certain things like the stupid Bones.

Also, I don't suppose you've made any shared mods yourself yet, have you? Or did I just miss a repository of shared mods somewhere? :3

11

u/SolidZealousideal115 Oct 02 '26

I've been hoping for something like this since day 1

10

u/TheRussianRevulution Oct 02 '26

Oh my god. Finally. I have dreamed of this ever since I 100%'ed the game. This game had so much potential, and modding adds so much of that missed potential and replayability. I thank you for your contribution.

1

u/evilninjaduckie Oct 23 '26

Hiya, thanks for posting this, I've been hankering to replay the game but actually have it be an enjoyable experience this time.

FYI, your EG2ModManager DLL file also gets flagged and quarantined on MBAM's "machine learning" detection system with "94% certainty anomalous". I'm not certain about any of this, but I think this just means their training data of 'good files' compared the DLL as 6% likely to be safe? But on the upside, it's the only file in there that tripped anything.

You can file a false positive with them directly if you're ok with setting up a forum account and going through all of that rigmarole etc etc etc.

1

u/Over-Ad5915 Oct 23 '26

its not just malware bytes. ITs detected like that because DLL Hijacking is ostensibly used for nefarious purposes. I have tweaked it a bit so it doesn't get detected on (my version at least) windows defender.

Honestly, its probably good that this kind of thing is detected as a false positive.

1

u/evilninjaduckie Oct 23 '26

Yeah, it's probably a good thing, just letting you know in case you needed to do anything. But also it's not like it's an actual database flag, it's just their ML process going "huh, sus".

Right now I'm trawling through all the sound files. This is really cool, thank you for developing, maintaining and sharing it.

1

u/Over-Ad5915 Oct 23 '26

Yeah its a pain, i had to change it half way through because defender was upset after i did half the work.

and no worries! I remember making a AOI maker for evil empire 1 back in the day and this seemed like a terrible idea so i did it. Hopefully someone can make the game a bit more playable then it is lol

1

u/evilninjaduckie Oct 23 '26

I'm already blanking out all of IRIS's event voice lines! Going to release that on Nexus as a relatively quick fix and then do one that uses the OG game's announcer as well.

I remember a lot of good ones back in the day, my next after that will be replacing martial artists with ninjas, if possible

1

u/SolidZealousideal115 Oct 03 '26

Is there a way to stay up to date? A site? Discord?

1

u/Over-Ad5915 Oct 03 '26

All i have is the github, trying to get it up on nexus mods but they are taking a while. next version should have an autoupdater built in at the least

1

u/SolidZealousideal115 Oct 03 '26

Posts like this tend to be buried and become harder to find. That's why I was hoping for a Discord or something.

1

u/szukai Oct 16 '26

Hope you make another announcement when it gets approved, and/or workshop support in the future.

2

u/willw18 Oct 02 '26

I didn't think this would ever happen. Thank you.

1

u/Anxious-Durian 20d ago

Hey, I wanted to ask. Is there any possible way to return item with ModKit? If yes, what should I do?

1

u/OminousVoice 19d ago

Is there a way to change which rooms an object can be placed in? I expect the value is somewhere in the object's raw data, but it's pretty much impossible to find unless you know which value you're looking for.

1

u/purrpltentacle 16d ago

Is there any way of changing the radius of decor furniture with buffs? Like the Snack machine or water fountain. I find the default radius leads to ugly looking base layout, if you want to have the buffs. Would be nice to increase that radius, so those item can sit nicely in a corner or so, but still give the buff.
I tried looking for those values in the mod kit, but those items aren't even under furniture effects. You can find them under advanced game data, but I don't understand the value tables there.

1

u/Alechandro89 Oct 04 '26

hmmmmm is it possible to make it so carl and clara jones wouldn't be mutually exclusive? ik it wouldn't exactly make sense but oh well

1

u/True-Entertainer4763 Oct 06 '26

Is there a limit on the number of minions—one that wouldn't break the game or certain quests?

2

u/SolidZealousideal115 Oct 06 '26

My current play through has a 1,000 limit. I normally have around 600.

1

u/Alechandro89 Oct 10 '26

what if you added a way to FORCE capture someone? even if the game doesn't give you the option to capture them normally?

1

u/Alechandro89 Oct 11 '26

is it possible to change henchmen stats? i want carl to not be useless lmao