Closed szpic closed 3 years ago
the source code is made for v2021.3.31.3.
The source code has been updated for 2021.5.10s as the csproj
file references it, but there's some other mapping file I think that's required, but that repo isn't updated and it's not included here?
Similar to #118, it'd be great to have some info on how to compile the mod and be able to make contributions to the project.
The source code has been updated for 2021.5.10s as the
csproj
file references it, but there's some other mapping file I think that's required, but that repo isn't updated and it's not included here?Similar to #118, it'd be great to have some info on how to compile the mod and be able to make contributions to the project.
the mappings is empty actually.. he added it so that Reactor.OxygenFilter wont complain
you can have the mappings by using the unofficial fork of Reactor by @DaemonBeast here https://github.com/DaemonBeast/Reactor
The 2021.5.10s release of Town Of Us comes with a 2021.5.10s build of Reactor with it if I recall correctly. That build and my build should be almost identical though, so choose whichever.
Also, I don't think Slushiegoose made the mappings public (since the csproj references a file on their computer). You'll have to set the mappings to DaemonBeast/Mappings:0.5.0
(the mappings are identical to what Slushiegoose used, or at least I think they are. I just put them on GitHub).
Thanks @DaemonBeast, I had tried just putting DaemonBeast/Mappings:0.5.0
string in for the Mappings property, but it still gave an error. Do I need to clone your repo alongside or something?
@hawkerm Make sure you have a 2021.5.10s version of Reactor and the correct unhollowed dlls for 2021.5.10s (remember to delete the BepInEx/unhollowed folder after updating Among Us, then start Among Us to regenerate the correct unhollowed dlls).
If you're using Visual Studio, try running dotnet build
in a cmd in the project's directory.
Thanks @DaemonBeast, dotnet build
worked when I pointed to the modded town-of-us version so it could reference the right reactor.dll. Not entirely sure how I'm supposed to generate it on it's own without the copy of Town of Us already though.
@hawkerm You could use my Reactor fork instead. It should be fully compatible as far as I know. Alternatively, you could compile Slushiegoose's Reactor fork. Just change the mappings to DaemonBeast/Mappings:0.5.0
before compiling.
Hello i downloaded source code. Opened it in visual studio but when i try to build it i receive error:
Before build i modified csproj file:
my dependencies tree looks like below:
probably it is connected to this issue with mono file but as you can see all those dll are correctly downloaded from nuget. I have also set environment variable set with correct path to the game folder.