Arcade High Score saving.....grrrr
-
Firstly, I am very appreciative of any assistance provided by the members of this forum. Very appreciative.
Sooo......
Pi Model or other hardware: 3
Power Supply used: (If using a Pi)
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.3
Built From: retropie-4.2-rpi2_rpi3.img
USB Devices connected: Logitech Gamepad & Keyboard
Controller used:
Error messages received: N/A
Log found in /dev/shm/runcommand.log (if relevant): TBA
Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#high-scores
File: N/A
Emulator: lr mame2003 0.78
Attachment of config files: TBA
How to replicate the problem: TBABasically I have ensured the highscore.dat (generated by the lr mame2003 installer) is in the correct location... BIOS/mame2003, the folder structure is correct..all as per the wiki guide...but none of the arcade games (all running on lr mame2003 0.78) are saving any high scores. At some point they were, I did have some high score save files but since it stopped reading them and writing them I deleted them incase they were affecting the process.... and I can only think that since upgrading to 4.3 (don't know if that is relevant at all) no games high scores are being written or read..not that its relevant..if none are being written. What I am seeing is that the roms/arcade/mame2003/hi folder is always 'read-only' along with all folders back to roms....no matter how many times I set them to not 'read-only'....not sure if that is relevant either but it might be why its not writing the required high score files.
Any further assistance would be very very much appreciated. Please let me know if there are logs or config files I can post up to help with this issue.
From what I've read this should be very very simple and almost automatic...and it did save some high scores for a while....then I noticed it wasnt...and now I'm tearing my hair out.....Many many thx in advance.
-
@skt At this point I've set it to Auto Save every 1 sec and Auto Load on startup. Thats doing the trick..just maybe a little resource hungry and clunky...but does the job.
-
-
@dankcushions said in Arcade High Score saving.....grrrr:
@skt please do this: https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#reset-ownershippermissions-of-homepiretropie-roms
Thank you for your response and assistance...I did as asked and still no hi score saves unfortunately :(
-
@skt are your rom files not 'read only' anymore, at least?
-
@dankcushions said in Arcade High Score saving.....grrrr:
@skt are your rom files not 'read only' anymore, at least?
No....the actual ROM files are not 'read-only'.....but the roms/arcade/mame2003 folder is still 'read-only'.
And by that I mean if I browse to the the pi over my home network with my laptop...then I right click and select properties.....then I see the folder roms/arcade/mame2003 is 'read-only'. As well as the folder roms/arcade.....but the ROM files themselves are not 'read-only'. I'm not sure if this is even relevant...but its about all I can think of that is stopping the writing of files regarding the hi scores and .nv files.
I'm sorry if I am making this a lot harder than it really is. -
@skt i'm not really sure how windows displays linux file permissions. did you previously delete the roms/arcade/mame2003/hi folder?
-
@dankcushions @SKT Windows Explorer alwaws shows folders with the 'read-only' checkbox, even if it's writable by the user, so the resetting of ROM dirs permissions worked.
-
@dankcushions said in Arcade High Score saving.....grrrr:
@skt i'm not really sure how windows displays linux file permissions. did you previously delete the roms/arcade/mame2003/hi folder?
Yeah I'm not sure what I'm seeing either mate. I could be totally barking up the wrong tree. No I've never deleted any folders. Once the hi scores stopped showing up I started fiddling with different hiscore.dat files based on what I'd read about particular version needed for mame2003 0.78 but I'm now running the .dat that gets installed with the package via the Config Tools.
I did see a forum thread about changing the system_directory info in the 'all' config and 'arcade' config from 'default' to 'home/pi/retropi/bios/' but then no 'arcade' games would run at all so I returned it to 'default'. I was changing it in the retroarch.cfg in wach folder because that was where I found the line 'system_directory'. Maybe I was not changing it in the correct location .cfg?
This was the thread.... https://retropie.org.uk/forum/topic/11496/high-scores-not-saving-hiscore-dat-not-creating-hi-files/4
-
@skt hmm, can you please launch a game that you have a .hi for, and when in the runcommand, select 'launch in verbose mode' (or something like that).
then, exit, and paste us the contents of
/dev/shm/runcommand.log
(it probably doesn't matter if you have a .hi already - i think the log will still be helpful)
-
@skt One thing I have noticed is that in the bios/fba folder there are a bunch of .hi files from various games....at this point I'm doing all my testing with Donkey Kong and Wonder Boy, both of which used to have saved hi scores. I also noticed that since playing Donkey Kong using fba a dkong.nv file has been written to the roms folder. So something is going on in there. I deleted the file and ran it again but using mame2003 and no .nv file was written.
-
@dankcushions said in Arcade High Score saving.....grrrr:
@skt hmm, can you please launch a game that you have a .hi for, and when in the runcommand, select 'launch in verbose mode' (or something like that).
then, exit, and paste us the contents of
/dev/shm/runcommand.log
(it probably doesn't matter if you have a .hi already - i think the log will still be helpful)
As far as running games with mame2003.... I no longer have a .hi for any games. As I said previously... I wanted to be sure they were'nt corrupting the process so I deleted them. I do have .hi files for games that have run via fba previously.....in the bios/fba folder...?
Should I just run a game using mame2003 in 'verbose....' anyway? See what we get?
And I'm assuming I'd have to SSH to the pi to get that log?
-
hiscores via fba are a different matter. let's just stick to mame2003 for now. yeah, you'd need to SSH to the pi.
-
You do realize that only a subset of games support high score saving through these methods, right?
-
@zerojay said in Arcade High Score saving.....grrrr:
You do realize that only a subset of games support high score saving through these methods, right?
I do...and as I have stated.....the particular games I am working on now....Donkey Kong and Wonderboy....at some stage....used to save high scores...and no longer do.....along with any other game that used to save high scores.
-
@dankcushions said in Arcade High Score saving.....grrrr:
@skt hmm, can you please launch a game that you have a .hi for, and when in the runcommand, select 'launch in verbose mode' (or something like that).
then, exit, and paste us the contents of
/dev/shm/runcommand.log
(it probably doesn't matter if you have a .hi already - i think the log will still be helpful)
OK.....I hope this the appropriate way to put my log up.... thx a bunch for your help so far...... Launched Donkey Kong using mame2003 and verbose logging...
-
@skt said in Arcade High Score saving.....grrrr:
@dankcushions said in Arcade High Score saving.....grrrr:
@skt hmm, can you please launch a game that you have a .hi for, and when in the runcommand, select 'launch in verbose mode' (or something like that).
Heya @dankcushions I'm def not wanting to seem impatient or pushy and understand the no bump rule...but just incase this has slipped through your radar... I was wondering if you'd had a chance to check out my runcommand.log by chance and see any clues as to my high score saving issue.
Many thx.
-
@skt hi, sorry for not getting back to you! the log looks normal to me, so i'm not sure what the issue is. unfortunately i don't have a current retropie install at the moment to test - I will do in the coming weeks. i will not forget this!
-
@dankcushions Hey not a problem at all mate. I def wasnt trying to be pushy and I appreciate any assistance. At this point I'm using Save states (loading after a game starts and saving before I quit the game). Its an extra step at each end and to be honest its working well. We always want that little bit more hey. I'm thinking what if I went and did a fresh install of the entire Retropie....but as far as I can tell its not the Ras Pi or Retropie or any of that causing the issue...its seems more to be about how Reteoarch is working with data specifically in the realm of mame2003...I'm still leaning towards a permissions issue even though I've done as suggested...but maybe theres another way to ensure permissions...maybe using WinSCP ??? I may have misunderstood the original directions......so I expect a full reinstall would only send me back to the begining and may not resolve it at all...and I've made a few controller tweaks here and there and big scrapes...so Its hard to blow all that away.
So great if you get another look at it then that'd be awesome. Otherwise I do have a backup from a while ago that would save me a bit of time and i believe take me back to the days of game saving so if it all goes the hell thats where I'll head first.
Has me wanting a second pi to bomb up and see if I can sort it out then just swap it in.Thx again mate.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.