Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05952 Interface Minor Always Jun 3, 2015, 01:47 Jun 5, 2015, 21:32
Tester Tafoid View Status Public Platform MAME (Official Binary)
Assigned To wilbert Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver
Version 0.162 Fixed in Version 0.163 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 05952: Hashpath setting in .ini not used/recognized when loading software
Description The loading of software seems to follow a different path than the -listsoftrware function.
If your have a path that is set to something external to your folder where the emulator resides, regardless of where it is, you will not be able to load any software if your current folder doesn't have a "hash" folder populated with xml files. Strangely, HASH seems to be a fallback for the loading function EVEN if it is not explicitly given as a valid path in your .ini file.

Also, use of -rompath and -hashpath from command-line works fine for both -listsoftware and software loading.
Steps To Reproduce The example I'll use is a2600, the game ghostman (Ghost Manor), but any system and valid softlist cartridge will work.

- Create a new folder
- Place emulator in this folder
- Create a new emulator.ini (mame -cc)
- Edit the "rompath" to include roms needed as well as paths to your software (eg. c:\roms;c:\mess\software)
- Edit the "hashpath" to point to a location outside of your new folder, probably where your home folder is (eg. c:\mess\hash)
- Open a command box in this folder (hold down SHIFT+Right Click and choose "Open Command Window Here"
- Type: mame a2600 ghostman

You'll get this back and that is it:
"ghostman" approximately matches the following
supported software items (best match first):

- Type: mame a2600 -listsoftware
Notice the software list XML output still shows. We know it is loading the HASHPATH at least properly.

- Copy your reference HASH folder into the same folder as your test and make sure that the HASHPATH in your .ini does not reference "hash" in the current folder at all.

- Again, Type: mame a2600 ghostman
Now, this time, the game will run, even though HASH isn't a listed or provided as a location for HASHPATH.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.11715
Tafoid
Administrator
Jun 5, 2015, 20:16
Update: Use of media type in the loading allows it to work
mame a2600 -cart ghostman = works
mame a2600 ghostman = doesn't work
User avatar
No.11716
Tafoid
Administrator
Jun 5, 2015, 21:31
Fixed with
https://github.com/mamedev/mame/commit/a1e92d76f6d8185f8192ac5c51d158ca1568aa80