Then you can edit it by right clicking within the method you want to edit (the "Vibrate" method in this case) and then click Edit Method and modify it as shown before. Then open that up to here where you can see like a million classes that make up the code of the game: Īnd then in that list you should be able to find a class called "Vibrator" Yeah ok so, in DnSpy you want to open Cuphead\Cuphead_Data\Managed\Assembly-CSharp.dll If anyone wants to talk unity modding i guess im Bolt X#6265 on Discord Also if anyone wants more info id be glad to try and help. also feel free to share this somewhere else if you think it would help someone. That last paragraph or so probably doesn't make the most sense if you're not familiar with all this stuff and software dev, but i leave it here for anyone possibly reading who might want to actually mod the game or some other game and stumble on this by chance. ) for interfacing with the games code base. by default you wont have access to unity or the games code stuff while making a mod with the IPA, but you can easily get access to it by adding references to the unity dll for access to unity namespaces and stuff and the games assembly dll (the same dll you would open for modding with DnSpy. you just inject on top of it and run code to interface with the base game. Its more versatile because you dont have to modify the game's assembly directly and thus you dont have to worry about the games assembly being updated in a patch or something and overriding your changes and needing to reapply them. The IPA tho just allows injection of code via a dll and patched game launcher. (fun fact: The IPA was originally developed to mod lewd games by Japanese erotic game developer Illusion, hence the name) but for the injection route i think the best tool for that is the Illusion Plugin Architecture or IPA, developed by Eusth on github. (by limitations i mean sometimes you'll go to edit a portion of code but it doesn't decompile properly and thus becomes just about impossible to recompile it) But DnSpy also isn't the only way of modding unity games, its extra powerful because it allows you to directly modify the games code instead of injecting on top of it. Some things might not work due to limitations of like DnSpy. All im really saying is that its possible but id be pretty impressed if anyone actually did. And all this without the unity editor to help you lay it all out. (for instance something like adding a leaderboard would require adding more UI to the game which would require either somehow creating an entirely new unity canvas in the game at runtime or finding the games own canvas and figuring out how to use that. I would note that modding a game like this would be harder than modding a game with actual mod support and harder yet still than making the same stuff from scratch in your own game because you need to also study the original game to understand how it works before you can just go modifying it, on top of understanding the more janky techniques needed to get things to work when injected into the game. so either modifying the original dll or injecting new code I'm sure you could do it. like the games code is all laid out for anyone to see in a completely non-obfuscated manner. and like realistically im pretty sure you could totally overhaul the game to be like an arcade game with enough effort. and just running that when nobody is playing. A demo mode might be easiest to accomplish by just recording game footage and doing it up like a demo screen rather than making some simple ai to play the game or something. Sorry for a late response, i don't check reddit very often.Īnyway, as far as it goes i think anything is possible, just a matter of whether or not you want to put in the time and effort.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |