Help. Updated OpenMSX release 19, and not able to recognize any rom in any directory (machines list --> Empty)

By javihuix

Supporter (6)

javihuix's picture

31-07-2023, 21:16

Hi! Installed the new release and all what I had in release 18 is not valid anymore. Not able to recognize any machine or extension.

Error message -->
Fatal error: SHGetSpecialFolderPathW failed: 5

Thanks for any possible indication I can investigate....

Login or register to post comments

By Manuel

Ascended (19678)

Manuel's picture

31-07-2023, 22:50

Did you install it in a different folder or on a different user?

Quote:

Error Code 5 is a Windows error code that appears when the user does not have sufficient permission to access the requested file or location. It appears when the software was denied access to a location for the purposes of saving, copying, opening, or loading files.

By javihuix

Supporter (6)

javihuix's picture

01-08-2023, 07:16

Thanks Manuel.
I selected the same folder as the previous release, and with the same windows user.
Afterwards, I tried many different options.
- Old release (16) in "Program files (x86)"
- New release (19) in "Program files (64)"
Non of them are working.
Looks a WinSh*t of access rights to the folders...
Thanks again!

By javihuix

Supporter (6)

javihuix's picture

07-08-2023, 17:25

Solved!
Folder access rights issue (Windows 10)
Thanks Manuel!

By Manuel

Ascended (19678)

Manuel's picture

07-08-2023, 21:37

How did you solve it?

By Parn

Paladin (854)

Parn's picture

09-08-2023, 16:17

I personally like to put my System ROMs in %USERPROFILE%\Documents\openMSX\share\systemroms\ (Windows user here). Never gave me any access rights problems.

By Manuel

Ascended (19678)

Manuel's picture

09-08-2023, 17:29

@Parn I think that that is the recommended location which is also in the manual.

By javihuix

Supporter (6)

javihuix's picture

20-08-2023, 10:42

Right!
%USERPROFILE%\Documents\openMSX\share\systemroms\machines\ for machine ROMs
%USERPROFILE%\Documents\openMSX\share\machines\ for .XML files (machine ROMs)

Same for extensions.

By sdsnatcher73

Enlighted (4298)

sdsnatcher73's picture

20-08-2023, 11:20

It would be nice if openMSX would support a registry setting to overrule the location of the openMSX folder (I personally don’t like having it in my Documents folder). I’d much rather have it in my home directory as .openMSX as it is in Linux and MacOS…

By Manuel

Ascended (19678)

Manuel's picture

20-08-2023, 18:26

You can modify the location with environment variables: see https://openmsx.org/manual/setup.html#settings

...if you really insist :)