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

Add displayGameName() and lootGameName() to plugin-base #141

Merged
merged 2 commits into from
May 23, 2024

Conversation

Twinki14
Copy link
Contributor

@Twinki14 Twinki14 commented May 17, 2024

Modifications

  • Add lootGameName() which will give the plugin a tad bit more control over LOOT cli args
  • Add displayGameName() which will be used to separate display-specific calls & more integral calls to gameName(), will also pave way for deeper plugin localization

Notes

Changes are planned to other pieces of MO in different repositories that will use these additions

# Modifications
- Add `lootGameName()` which gives the plugin a tad bit more control over LOOT cli args
- Add `displayGameName()` which will be used separate display-specific calls & more integral calls to `gameName()`, will also pave way for deeper plugin localization
Twinki14 added a commit to Twinki14/modorganizer that referenced this pull request May 20, 2024
# Motivations
- ModOrganizer2/modorganizer-game_ttw#36 (comment) Surfaced desires to change the Fallout TTW plugin's gameName to something more obvious, from TTW to Tale of Two Wastelands, but that would cause existing profiles to break, `displayGameName()` added in ModOrganizer2/modorganizer-uibase#141 gives us the option to change the way the game plugin is displayed, but leaves the existing integral `gameName()` alone
- Similarly ModOrganizer2/modorganizer-game_ttw#36 attempted to fix the sort button LOOT cli argument by changing the `gameShortName()`, as 'TTW' isn't a valid option for LOOT, but that comes with some pretty concerning possible issues

# Modifications
- Use `displayGameName()` in create instance dialogs & the main window, this doesn't cover all places `gameName()` was being used for purely display reasons, but it covers the bulk
- Use `lootGameName()` instead of `gameShortName()` for LOOT cli initiation
@Holt59 Holt59 merged commit b0b6a70 into ModOrganizer2:master May 23, 2024
2 checks passed
@Twinki14 Twinki14 deleted the plugin-base-additions branch May 26, 2024 20:32
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.

2 participants