FireHawkX Posted February 27, 2018 Share Posted February 27, 2018 I have been playing this game for a few days... enjoying greatly the few mods that are availlable...I would however very much like to create my own... I have tons of ideas and improvements that I could try to bring to the scene...I have been creating games in Unity for the past 2 years so I know my way around C#... I however, have never touched a dll file... nor do I have any clue on where to start... I tried opening dll files in monodevelop from the mods I use (blueprint tracker, map, easy craft) to see how they were made or what type of code is in them, but nothing happens...Anyone has any suggestion or tips on where I could get the info needed to get started? :)Thank you very much for your time and have a nice day! Link to comment Share on other sites More sharing options...
nyxeka Posted March 1, 2018 Share Posted March 1, 2018 A few things.Learn how to code with CSharp in Unity, or just CSharp in general, using Visual Studio Community or somethingLearn how to compile and use DLL's (will be part of learning how to code with CSharp)Learn how to use Harmony to modify games made in Unity. it's an extensionGet yourself acquainted with source control (github), and check out the source code on various mods already doneModding Subnautica will require experience in all of those things. If you're truly motivated, I hope this sets you on the right path. Good luck :) Link to comment Share on other sites More sharing options...
FireHawkX Posted March 2, 2018 Author Share Posted March 2, 2018 Well first of all thank you very much for taking the time to answer! :) Much appreciated!However, I am guessing you didnt quite read my entire post fully... I know I tend to ramble on and write too much :PI have been making games in Unity for about 2 years now... got a few online games availlable... so I know my way around C# (CSharp) :) I however have been using unity monodevelopp to code... as I cannot seem to install Visual Studio for some reason (and I always postpone formatting my computer)I also know github/gitlab enough... so that is not a problem..Now the only 2 things left are point #2 and 3... how to compile DLL (which i never had to do in CSharp or Unity), and what is Harmony...Still, I thank you again for taking the time to reply! that is great info and will definitely get me started! :) Link to comment Share on other sites More sharing options...
weeks Posted March 4, 2018 Share Posted March 4, 2018 Harmony, presumably: https://assetstore.unity.com/packages/tools/integration/harmony-game-sdk-31211 Edit: Definitely NOT what I was looking for. THIS is the correct link: https://github.com/pardeike/Harmony/wiki Are there any links to existing mod githubs floating around? Link to comment Share on other sites More sharing options...
weeks Posted March 4, 2018 Share Posted March 4, 2018 Found a great one: https://github.com/Qwiso/QMultiMod Link to comment Share on other sites More sharing options...
nyxeka Posted March 8, 2018 Share Posted March 8, 2018 @FireHawkX you're right, I misread some stuff. I think I read it then I was like f*#@ it 4 hours later so I came back and decided to pass along some info. Knowing how to develop software in general is broken down into two things: 10% problem solving 90% knowing how to use google ;) google "harmony c#", then google "harmony c# subnautica" google "compile dll from C#"click on every single link that pops up and scour every single result for information unless its pinterest or some random german forum about leather bags. Here's some links to help you get started: https://gist.github.com/pardeike/c02e29f9e030e6a016422ca8a89eefc9 https://github.com/pardeike/Harmony/wiki https://github.com/hdurdle/harmony https://github.com/SubnauticaNitrox https://forum.unity.com/threads/harmony-patching-net-methods-during-runtime-non-destructive.450987/ https://www.nexusmods.com/subnautica/mods/33?tab=description <- read the description and go through the code in the guys github https://www.nexusmods.com/subnautica/mods/16?tab=description <- same thing here http://www.c-sharpcorner.com/article/creating-C-Sharp-class-library-dll-using-visual-studio-net/ https://stackoverflow.com/questions/15567893/creating-a-dll-file-in-c-net https://stackoverflow.com/questions/19115804/change-dll-in-runtime https://stackoverflow.com/questions/29938768/is-it-possible-to-switch-dlls-at-runtime-so-as-to-use-a-different-version What you are asking to do isn't super simple. There are no pre-built tools and IDE's ready to compile and go with the click of a button, or environments and tutorials that explain every step. Modding out of the way games like this is really like exploring the amazon rain-forest of 100 years ago. Also best done in a group. If you can, get involved on .stack or discord boards to do with subnautica modding, forums, etc. Reach out and contact people asking for some info, but not before doing research on your own. No one wants to hold your hand, you have to be willing to spend hours searching long-forgotten forum posts, old blogs and pages upon pages of abandoned source code. I also recommend picking up another programming language like C++, and try doing some low-level stuff. Write a couple libraries for an exercise. Learn all the coding fundamentals ;) Once again, good luck friend Link to comment Share on other sites More sharing options...
FireHawkX Posted March 8, 2018 Author Share Posted March 8, 2018 wow what an amazing post! thank you so very much @nyxeka :)I did not come back to post my progress... I had found the github and download of the harmony dll... also did some digging in the compilation mod from "Q" ported from lilin's version... very interesting stuff!As much as I "know" C# and have been making an actual game with unity, this is indeed another level and very impressive!I am not sure when i'll have enough time to dedicate to learning all of that, but I definitely put a bookmark on your post as the references would be super useful.Again, thank you for taking the time to write all that! I am sure it could help someone else in a similar situation :)Have a great day! Link to comment Share on other sites More sharing options...
Recommended Posts