RaymanControlPanel icon indicating copy to clipboard operation
RaymanControlPanel copied to clipboard

Error when trying to install certain mods on Rayman Legends.

Open Noenko opened this issue 2 years ago • 8 comments

Whenever I try and install the mods "Uncompressed PS4 Assets" or "Fixed Assets" the launcher does not install them successfully, instead giving me the following error messages:

Uncompressed PS4 Assets: https://imgur.com/a/BJFhbKE

Fixed Assets: https://imgur.com/a/v5WrhUI

This happens whether I am using the launcher in Admin mode or not, I tried it with both the Uplay release and Steam, still get the same error.

Tried removing ".rcp_mods" and reinstalling the mod, this does not fix it either.

Noenko avatar Dec 02 '24 10:12 Noenko

Hi! That's odd. There have been issues in the past with the file length limit on Windows, but I don't think this is it. Does this happen with all mods that you try and install? Is the game installed on your C drive or elsewhere? Also what happens if you try and install the mod but leave it unchecked? Also, could you upload the log file that's in %LocalAppData%\Rayman Control Panel\RCP_Metro\Temp? Make sure the log file has the error in it. Feel free to remove any sensitive paths in it if you'd like, I'd just like to see the full error info, like where in the code it happens.

RayCarrot avatar Dec 03 '24 13:12 RayCarrot

I have Rayman Legends Installed on my "G:" drive, but I couldn't install these mods when I used my Ubisoft Launcher installation either that was on the "C:" drive.

Some mods seem to install. I got "Better Transparent Textures", "DualShock 3 HUD" and "No More Intro" to work.

This error happens after the installation phase, It doesn't show up in "Library" at all. I checked the ".rcp_mods\mods" folder, and the mod has a folder in there though.

Here is the log: Log.txt

Noenko avatar Dec 03 '24 13:12 Noenko

I think it might be related to the file path being too long when copied onto your G drive. What is the full path where you have Rayman Legends installed? Also when you tried having the game installed on your C drive, what error did you get then? It should have been a different one.

RayCarrot avatar Dec 04 '24 12:12 RayCarrot

I think it might be related to the file path being too long when copied onto your G drive. What is the full path where you have Rayman Legends installed? Also when you tried having the game installed on your C drive, what error did you get then? It should have been a different one.

The location that didn't work was "G:\Launcher\Steam\steamapps\common\Rayman Legends", I now installed Rayman Origins into "C:\SteamLibrary\steamapps\common\Rayman Legends" and both mods work.

My "C:" and "G:" are on the same NVME SSD if that helps anything.

Noenko avatar Dec 04 '24 14:12 Noenko

Yeah it's a file path length issue then. It's pretty annoying that most Windows APIs still have the 260 character limit for paths. I think once I migrate RCP over to .NET 9 that most of this should work better since that uses more modern file IO APIs. In the meantime I'll close this issue since there's not much more I can do about it atm. I'm glad it works for you now though and sorry about the inconvenience!

RayCarrot avatar Dec 04 '24 15:12 RayCarrot

Update: I tried installing the mods to "G:\SteamLibrary\steamapps\common\Rayman Legends" and this did not work.

It seems to only install these mods on "C:\SteamLibrary\steamapps\common\Rayman Legends".

Noenko avatar Dec 04 '24 15:12 Noenko

Yeah I think the file path length is mainly an issue when not on the C drive since the file operations work differently then.

RayCarrot avatar Dec 04 '24 15:12 RayCarrot

Ah I see, I'll just use the "C:" drive for Rayman Legends then. Thank you for the help!

Noenko avatar Dec 04 '24 15:12 Noenko