How do i edit the menu addon?
Reply on sbox.game-
Does anyone know how to modify the main menu addon code and make it work outside of the editor? (in the game files SteamLibrary\steamapps\common\sbox\addons\menu)
Modifying the scene or scss files does apply the modifications when we launch the game normally, but modifications to .cs or .razor files doesnt change anything.
Is there some kind of protection against editing base game code or am i missing something? -
There is a compiled version of the menu in the .bin folder in the menu folder, if you delete that you can modify the menu.
Obviously you're gonna fuck yourself over when the game updates and decides to keep your changes over ours. -
Yes i'm aware that whatever modifications i do might completely break whenever facepunch updates the menu but i still want to do it.
I've already tried removing the dll in menu/.bin but it leads to a crash when you launch s&box:I've also tried to replace the dll with the one compiled in menu/code/obj/Debug but it loaded the game without any changes applied (not quite sure when they get recompiled in the Debug folder but they did contain my modifications)

