Modding:C Sharp Scripting: Difference between revisions

Jump to navigation Jump to search
Line 28: Line 28:
#* Make sure you have the [.net Core SDK](https://download.visualstudio.microsoft.com/download/pr/19f39d7d-3296-4ed2-af75-f0190d074d43/84949e2b33ccdc6b7c51d5835df2844e/dotnet-sdk-2.2.301-osx-gs-x64.pkg)
#* Make sure you have the [.net Core SDK](https://download.visualstudio.microsoft.com/download/pr/19f39d7d-3296-4ed2-af75-f0190d074d43/84949e2b33ccdc6b7c51d5835df2844e/dotnet-sdk-2.2.301-osx-gs-x64.pkg)
# Open up a terminal and install ilspycmd: dotnet tool install ilspycmd -g
# Open up a terminal and install ilspycmd: dotnet tool install ilspycmd -g
# Find the directory Caves of Qud is installed in - for Steam this is '~/Library/Application Support/Steam/steamapps/common/Caves of Qud/CoQ.app'
# Find the directory Caves of Qud is installed in - for Steam this is "$HOME/Library/Application Support/Steam/steamapps/common/Caves of Qud/CoQ.app"
# Using the full path of the Assembly file, run the following in a terminal:
# Using the full path of the Assembly file, run the following in a terminal:
#* ilspycmd -p -o ~/Qud_Code '~/Library/Application Support/Steam/steamapps/common/Caves of Qud/CoQ.app/Contents/Resources/Data/Managed/Assembly-CSharp.dll'
#* ilspycmd -p -o ~/Qud_Code "$HOME/Library/Application Support/Steam/steamapps/common/Caves of Qud/CoQ.app/Contents/Resources/Data/Managed/Assembly-CSharp.dll"
#* You can replace '~/Qud_Code' with any other directory, if you have a certain place you want to put it
#* You can replace '~/Qud_Code' with any other directory, if you have a certain place you want to put it
# Open Visual Studio, then open the csproj file a ~/Qud_Code/Assembly-CSharp.csproj
# Open Visual Studio, then open the csproj file a ~/Qud_Code/Assembly-CSharp.csproj
Anonymous user

Navigation menu