Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed mods not loading from app_extra_mod_path #3161

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

ohlidalp
Copy link
Member

Fixes #3149

Problem was caused by myself in 74ed108 - apart from fixing the bug, I also made a cosmetic edit of resource group names - Instead of it being 'bundle $FULLPATH', I made it '{bundle $LOCALPATH}'. But I botched the code, causing exception "invalid string position" to be thrown.

Solution: keep pretifying the resource group names, but account for all locations. I added a location-label to the name to avoid RG name clashes.

  • prepackaged mods, i.e. {bundle BIN:\content\simple2-terrain.zip}
  • extra mod path, i.e. {bundle EXTRA:\DI_SportsCar.zip}
  • mod dirs under user profile, i.e. {bundle USER:\mods\vehicles\Desperado.zip}

Fixes RigsOfRods#3149

Problem was caused by myself in 74ed108 - apart from fixing the bug, I also made a cosmetic edit of resource group names - Instead of it being 'bundle $FULLPATH', I made it '{bundle $LOCALPATH}'. But I botched the code, causing exception "invalid string position" to be thrown.

Solution: keep pretifying the resource group names, but account for all locations. I added a location-label to the name to avoid RG name clashes.
* prepackaged mods, i.e. {bundle BIN:\content\simple2-terrain.zip}
* extra mod path, i.e. {bundle EXTRA:\DI_SportsCar.zip}
* mod dirs under user profile, i.e. {bundle USER:\mods\vehicles\Desperado.zip}
@RoRAustin
Copy link

Able to successfully load into a terrain and vehicles from extramodpath now. 👍

@ohlidalp ohlidalp merged commit 05f71f5 into RigsOfRods:master Jun 30, 2024
2 checks passed
@ohlidalp ohlidalp deleted the 3145_extramodpath_fix branch June 30, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative mods folder location
2 participants