Code Diving

For the purposes of Code Diving, to understand how the game works, it's possible to look at the first steps of more advanced Modding. The reason for this is simple: To change something, you must first know how it works.
== Basics of Code Diving ==
Datamining the content and functionalities of Amazing Cultivation Simulator allows to verify what things are and how they work. This is useful for mod development related tasks.
For related software, see Software Tools.
== Setting up a Code Diving Environment ==
Using Visual Studio Code (mentioned in Software Tools) with its Workspaces functionality is a widely used option.
* For going over vanilla content, add the following Folders:
* [Amazing Cultivation Simulator Install Directory]/Settings
* [Amazing Cultivation Simulator Install Directory]/Scripts
* [Path to decompiled assemblies and/or assets]
With those folders, using the explorer and global search options allows the user to look up and reference the content and functionalities with great ease. Additionally, one might consider:
* [Amazing Cultivation Simulator Install Directory]/Mods/Example (the example mod) can be included if additional examples are required.
* [Amazing Cultivation Simulator Install Directory]/saves and its subfolders should be only added if you have a need for them.
== To Be Added ==
Assembly Decompilation
Asset Decompilation
Content Decryption
== Useful Files and Locations ==
* [Amazing Cultivation Simulator Install Directory]/Amazing Cultivation Simulator_Data/Managed/Assembly-CSharp.dll - Majority of the game functionalities.
* [Amazing Cultivation Simulator Install Directory]/Amazing Cultivation Simulator_Data/Managed/Assembly-CSharp-firstpass.dll - Auxiliary functionalities, rarely used but still relevant.
=== "Unusable" content ===
Not everything can be reasonably mined. The following list contains such files.
* Settings/Jianghu/Hobby/Hobby.txt - List of Anxieties/Regrets/Obsessions.
* Settings/Jianghu/Npc/Npc.xml and Npc_DLC_WuDang.xml - Preset Jianghu NPC Definitions
* Settings/Jianghu/Secret/Clue/Clue.txt - Mystery Clues.
* Settings/Jianghu/Secret/Type/Type.txt - The Mysteries themselves.
* Settings/Jianghu/Talk content - Social Minigame chat entries
* Settings/RPG/Dialogues content - (adventure mode related dialogues)
* Language/OfficialEnglish/Settings - translations of the folders and files mentioned above.
* Any compiled lua scripts (.luac extension) - Can be seen in some mods.
== External Links ==
* A guide on the topic (Setting up your developing and code diving environment)
Category:Modding