Harvest_ Posted September 3 Report Posted September 3 I recently became interested in creating a tool for filtering seeds or previewing worlds outside of the game, something similar to Chunkbase for Minecraft. As far as I know, this would require decompiling parts of the code and recreating the same worldgen algorithm in the new tool. Would the developers be okay with this? If so, what would be the conditions, like could such a tool be open source, and am I allowed to copy-paste large chunks of the code, or does everything have to be rewritten from scratch?
Diff Posted September 3 Report Posted September 3 You can decompile if you want, sometimes that's necessary. But if all you need is worldgen, it's all on GitHub: Anego Studios It's not open source, so I can't speak on licensing.
Solution MKMoose Posted September 3 Solution Report Posted September 3 There is a chance you won't even need decompiling anything, as a large portion of the code is publicly visible in Anego's GitHub repositories. Worldgen specifically is in https://github.com/anegostudios/vsessentialsmod. Do note, also, that it ought to be possible to directly call existing worldgen functions from the game's DLLs without the need for duplicating any code - the most important ones for this purpose do have PDBs attached for the sake of modding, so it's relatively easy to make use of them. From that repository's license: Quote Proprietary software owned by Anego Studios All rights reserved. You may NOT sell this software in any way, shape or form. You may NOT copy, compile or distribute this software in its unmodified form. You may read it, learn from it, and use it as a basis for mods of the game Vintage Story, but your mod should be made of at least 50% of your original work, measured by lines of code. In other words, please don't distribute just slightly modified versions of this as your own mod. If you're looking for a more concrete answer, then your best course of action might be to directly ask a developer. 3
Harvest_ Posted September 3 Author Report Posted September 3 2 hours ago, MKMoose said: There is a chance you won't even need decompiling anything, as a large portion of the code is publicly visible in Anego's GitHub repositories. Worldgen specifically is in https://github.com/anegostudios/vsessentialsmod. Do note, also, that it ought to be possible to directly call existing worldgen functions from the game's DLLs without the need for duplicating any code - the most important ones for this purpose do have PDBs attached for the sake of modding, so it's relatively easy to make use of them. From that repository's license: If you're looking for a more concrete answer, then your best course of action might be to directly ask a developer. Thank you for a thorough answer! 1
Recommended Posts