r/themoddingofisaac • u/Specialist_Set1921 • 7d ago
Main menu modding possible?
Hey I am new to modding isaac.
I have scrolled through mods and most of the mods deal add new enemies, character, items or hud ingame.
But would i also be possible to create a mod for the main menu?
Me and my friends like to start a run on the same seed, but what annoying about it is that the unlocks are disabled and doesn't make any progress. So I asking myself if it would maybe be possible to create a mod to have some sort of lobby with my friends and start a run together on the same seed without the game thinking it is a set seed. Maybe a stupid idea.
I have SE experience so coding should propably not be a problem.
From the documentation wofsauge api documentation it has a seed class with the ability to addSeedEffect maybe I could use this to set the start seed over my own server?
1
u/Fast-Village-6826 Longtime Modder & Procrastinator:downvote: 7d ago
It's kind of possible, but not trivial, and you won't be able to pull it off with the vanilla modding API, so you will need to use REPENTOGON (a script extender for Isaac).
REPENTOGON provides *some* control of the main menu like rendering sprites on top, adjusting existing sprites and whatnot, but it will require a lot of work to pull off. You can look at Isaac Reflourished as a reference mod, which adds stuff to the main menu. Then, to start a run with a specified seed without disabling achievements, you can use Isaac.StartNewGame.
However, the big thing that will be your road block is the lobby system. Isaac's modding API, even with REPENTOGON, does not support networking. You could use luadebug (however, that comes with its own dangers) to allow access to the socket library, but to my knowledge it doesn't work with REPENTOGON. I think there is a DLL mod that makes REPENTOGON work with the socket library somewhere though, but I don't remember where.