Skip to content

fix: initial RetroRewind installation crashes WheelWizard#177

Merged
DirkDoes merged 3 commits into
TeamWheelWizard:devfrom
Umbrason:fixRRInstall
Jun 30, 2025
Merged

fix: initial RetroRewind installation crashes WheelWizard#177
DirkDoes merged 3 commits into
TeamWheelWizard:devfrom
Umbrason:fixRRInstall

Conversation

@Umbrason

Copy link
Copy Markdown
Contributor

Purpose of this PR:

this PR fixes the crash when freshly installing RR.

How to Test:

  1. delete the Riivolution or WheelWizard directory of the <UserFolderPath>/Load/Riivolution/WheelWizard/ path.
  2. try installing RetroRewind via the GUI

What Has Been Changed:

inserted a few lines in WheelWizard/Features/CustomDistributions/RetroRewind.cs before copying the extracted RR files to create the parent directory if necessary.

Related Issue Link:

#168

Checklist before merging

  • You have created relevant tests

Creating the parent directory for the 'finalDestination' recursively to avoid a potential crash from Directory.Move
@Umbrason Umbrason changed the base branch from main to dev June 29, 2025 18:20
DirkDoes
DirkDoes previously approved these changes Jun 29, 2025
@DirkDoes

Copy link
Copy Markdown
Member

thanks for the fix!

@Umbrason

Copy link
Copy Markdown
Contributor Author

np!
thanks for the amazing tool!

@DirkDoes

Copy link
Copy Markdown
Member

also, @patchzyy , this seems to throw an error rather than returning a Operation result

But i think we cant simply replace it with returning an operation result due to there being a final clause.
This also might be looked at at the actual return of one of the operation results, since i think that is already incorrect to begin with.
(this means once you return an operation result, no tempZipPath file and TempExtracitonPath gets deleted)

Not sure what your thought on this is. I think we can just let it slide for now and fix that in a seperate PR since that is not related to this fix.

fixed by also moving over the riivolution/ folder contents.
skips existing files. RetroRewind6.xml is deleted before copying to replace when updating.
@Umbrason

Copy link
Copy Markdown
Contributor Author

Updated to also fix the missing RetroRewind6.xml in the riivolution folder

@DirkDoes DirkDoes merged commit e296216 into TeamWheelWizard:dev Jun 30, 2025
1 check passed
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