Describe the bug
When two redscript mods with the same name but different paths exist, the game will flatline at the game loading step. This can happens hen a mod with no top level folder under r6/scripts is patched by another mod on the same page. In the case below, the main mod file is called "Darks Night City Marketplace" and the patch file is called "Darks Night City Marketplace - Sasquatch Replacement" This places the file z27_aterlier_store_tygerclaw_iconic.reds in r6/scripts/modfilename/ in staging for both mods resulting in the crash.
Expected behavior
Path munging done based on the mod page name rather than the downloaded filename would obviate this issue and instead pop up a file conflict (which the user can fix)
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: Windows 11
Mod Night City Marketplace for Virtual Atelier
Extension Version 0.9.7
Additional context
Add any other context about the problem here.
Describe the bug When two redscript mods with the same name but different paths exist, the game will flatline at the game loading step. This can happens hen a mod with no top level folder under r6/scripts is patched by another mod on the same page. In the case below, the main mod file is called "Darks Night City Marketplace" and the patch file is called "Darks Night City Marketplace - Sasquatch Replacement" This places the file
z27_aterlier_store_tygerclaw_iconic.reds
in r6/scripts/modfilename/ in staging for both mods resulting in the crash.To Reproduce Steps to reproduce the behavior:
Expected behavior Path munging done based on the mod page name rather than the downloaded filename would obviate this issue and instead pop up a file conflict (which the user can fix)
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.