newman55 / unity-mod-manager

UnityModManager
MIT License
418 stars 98 forks source link

Assembly does not work in Derail Valley for Arch Linux #140

Closed DarthNader26 closed 3 months ago

DarthNader26 commented 3 months ago

I believe this might be related to #139. Whenever I try to install UMM through mono it dumps a ton of File Not Found errors in Derail Valley's console and can't load up the mod manager in game. The game's menus cannot be interacted with, but the music plays as normal. Uninstalling UMM and restoring the files returns the game's functionality.

I am on Manjaro Linux, using version 12b of the mod manager and build 98 of Derail Valley.

I'm happy to provide any logs or further information. I'm just not sure what would be helpful.

newman55 commented 3 months ago

Maybe you downloaded the broken version before I re-uploaded it

DarthNader26 commented 3 months ago

I redownloaded the installer last night to double check before posting this and I got the same result.

I have also tried running UMM through Proton and using the Doorstop method to see if that made a difference. I can interact with the menus in game, but I get weird behavior (I can't interact with my inventory until I open the inventory window i.e. hotkeys don't work) and I still get a bunch of NullReferenceExceptions pointing to the mod manager.

newman55 commented 3 months ago

Try replacing \DerailValley\DerailValley_Data\Managed\UnityModManager\0Harmony.dll this from folder net472 and logs for me please

DarthNader26 commented 3 months ago

That didn't seem to affect it. Unity Mod Manager does not seem to be generating any logs, unless I'm in the wrong place. Are there other logs that would be helpful?

image

Edit: I wanted to include a screenshot of the console errors I was getting in case that helped:

image

newman55 commented 3 months ago

Does version 0.27.10 work?

DarthNader26 commented 3 months ago

I'll check when I get another chance.

I did find something interesting poking around. I tried installing through Proton and using Doorstop. When I checked doorstop_config.ini and tried to cd to the file path there, it threw an error. There are backslashes in the file path, which I think is correct for windows but wrong for Linux (at least Manjaro?). Correcting those backslashes to forward slashes got rid of the NullReferenceException errors. I still wasn't getting the mod manager menu in game (and I don't think the mods I installed were working), but it did clear up the errors.

DarthNader26 commented 3 months ago

Does version 0.27.10 work?

Where can I find this version? I don't see 0.27.10 anywhere. The most recent two versions on Nexus are 0.27.12b and 0.27.7.

newman55 commented 3 months ago

Get any

DarthNader26 commented 3 months ago

I tried the previous available version and it also did not work.

newman55 commented 3 months ago

So the reason is something else unique to you, I haven’t received any more feedback like this. I would like to go back to the assembly again and get more error logs. In Windows, logs are stored in c:\Users\User\AppData\LocalLow\Altfuture\Derail Valley\; in Linux, you need to look for a similar storage.

DarthNader26 commented 3 months ago

Got it.

Player.log

newman55 commented 3 months ago
  1. Try replacing \DerailValley\DerailValley_Data\Managed\UnityModManager\0Harmony.dll this from folder net472 - run

  2. Try older version of UMM - run

and logs

DarthNader26 commented 3 months ago

Harmony Replacement.log

Older Version.log

newman55 commented 3 months ago

In all cases the same error. I don't even have any idea why this is happening. Are you launching the UMM via proton?

DarthNader26 commented 3 months ago

I have tried launching through proton and launching through mono. Nothing seems to effect getting the error. I have also talked to other people using Arch on the Derail Valley server and they don't seem to have this problem. I'm not sure what could be wrong with my exact system that would be causing this. The game itself runs fine without the mod manager. I'd just really like to be able to mod it now that I've beaten it several times.

newman55 commented 3 months ago

What if you move all the files from the \DerailValley\DerailValley_Data\Managed\UnityModManager\ folder to the Managed? Then don't forget to return them back.

DarthNader26 commented 3 months ago

That worked! If they are in the Managed folder it seems to come up just fine. All the mods are working and everything seems to be functioning correctly.

newman55 commented 3 months ago

I have made changes in the new version try it.

DarthNader26 commented 3 months ago

Marking as closed. Thanks for your help!