#How to get mod building working

17 messages · Page 1 of 1 (latest)

dreamy finch
#

I'm trying to make a code mod for the first time and I've never worked in c# before so forgive me being bad at this.

I'm running cd /Users/alexa/Library/Application\ Support/Steam/steamapps/common/Celeste/Celeste.app/Contents/Resources/Mods/StunningHelper followed by dotnet build and it is producing a .dll file, however it's not including my entities folder (located at .../Mods/StunningHelper/Source/Entities with two files inside) and so obviously not making the entity. Because I was worried I had messed something up from the template, for this I made the project again and just moved over the files so that things that the template makes would have been the same. I'm clearly missing something or doing something wrong but I don't know what and I can't find what on the wiki. Here's my folder zipped in case its some obvious formatting issues but I don't know.

#

If the goal of the mod is relevant, all I want is to make a version of spinner (and dust bunnies + lightning but first just normal spinners) where I can set the offset value to allow customizing spinner cycles for a map I'm making around those

cobalt bay
#

Did you not add the Entities folder and its contents from within Visual Studio? They don't even show up when I open the csproj thinkeline (idk how you'd add them when not using VS tbh)

dreamy finch
#

ah so I needed to add them to the csproj somehow I just put a folder in the appropriate area

feral breach
cobalt bay
#

File ending should be cs

dreamy finch
#

wait why are my entities .csproj

#

that doesn't make sense

cobalt bay
#

idk how you achieved this

dreamy finch
#

I was realizing this rn at the same time

#

genuinely how

#

ah and now it's erroring on build that's genuinely good since that means it's working

#

missing namespaces etc

dreamy finch
# dreamy finch genuinely how

like if you asked me the extention I would have said they needed to be .cs so the fact that they're csproj is genuinely fascinating and I don't know where I messed that up

feral breach
warped cairn
#

new codemodding just dropped