Page 1 of 2

Changing the order of Roms in attract mode

Posted: Thu Mar 07, 2019 8:57 am
by ShaneHero
I’m guessing this is probably possible, and possibly also very simple once I’m told how to do it.

But is it possible to change the order of the Roms, rather than just have them all in alphabetical order?

Re: Changing the order of Roms in attract mode

Posted: Thu Mar 07, 2019 11:35 am
by cool_factor
Yes, you need to access the Linux arpicade folder/home/Pi/.attract/romlists and open the allgames.txt with notepad++ (do not use regular notepad). Then just cut and paste the games in the order you want and save file. That's it. If your using Linux and not Windows you don't need to use notepad++. I use Windows and a program called Linux file system for Windows by paragon software.

Re: Changing the order of Roms in attract mode

Posted: Thu Mar 07, 2019 12:41 pm
by ShaneHero
cool_factor wrote:
Thu Mar 07, 2019 11:35 am
Yes, you need to access the Linux arpicade folder/home/Pi/.attract/romlists and open the allgames.txt with notepad++ (do not use regular notepad). Then just cut and paste the games in the order you want and save file. That's it. If your using Linux and not Windows you don't need to use notepad++. I use Windows and a program called Linux file system for Windows by paragon software.
Thanks! I’ll give it a shot

Re: Changing the order of Roms in attract mode

Posted: Fri Mar 08, 2019 9:43 am
by ShaneHero
I’ve done that. The list editing is easy like I expected.
However, it’s not working. The list keeps resetting every time I start it up again.
I’m guessing this is the romscan occurring and overwriting it each time.

How should I turn this off so it stops happening?

Again, thanks for answering what I’m sure is a very easy and obvious question :D

Re: Changing the order of Roms in attract mode

Posted: Fri Mar 08, 2019 10:47 am
by cool_factor
Use Notepad++

To disable the romscanning in /boot/run.sh these lines must be hashed:

## Scan arcade games for Attract-Mode list
# NOTE: noPornRoms is the same as sortRoms with an extra no porn games array, only use sortRoms OR noPornRoms, NOT BOTH.
#bash /home/pi/.attract/sortRoms.sh
#bash /home/pi/.attract/noPornRoms.sh

## Scan console games for Attract-Mode list
#bash /home/pi/.attract/sortRomsConsoles.sh

## Combine gamelists into all games list for Attract-Mode
#bash /boot/launchers/servMenu.sh carccons

Re: Changing the order of Roms in attract mode

Posted: Fri Mar 08, 2019 11:38 am
by ShaneHero
Yeah, they’re already hashed out.

I know I’m missing something obvious here, but the romscan is still happening each time.

Re: Changing the order of Roms in attract mode

Posted: Fri Mar 08, 2019 3:24 pm
by FastyMcNasty
To turn off the romscanner on 3.83 there's only one line to comment out in run.sh:

## Scan roms for Attract-Mode list
## accepts 1 command 'all' 'arcade' 'console' 'acnoporn' or 'allnoporn'
#bash /boot/launchers/scanRoms.sh all 2> /dev/null

Re: Changing the order of Roms in attract mode

Posted: Fri Mar 08, 2019 9:57 pm
by cool_factor
Your're right... I assumed he was running an older version...

Re: Changing the order of Roms in attract mode

Posted: Fri Mar 08, 2019 10:03 pm
by ShaneHero
FastyMcNasty wrote:
Fri Mar 08, 2019 3:24 pm
To turn off the romscanner on 3.83 there's only one line to comment out in run.sh:

## Scan roms for Attract-Mode list
## accepts 1 command 'all' 'arcade' 'console' 'acnoporn' or 'allnoporn'
#bash /boot/launchers/scanRoms.sh all 2> /dev/null
Yeah, I’d already hashed that one out too. So I’m not quite sure how it’s still running the romscan each time.

Re: Changing the order of Roms in attract mode

Posted: Sat Mar 09, 2019 12:05 am
by dee2eR
Can you post the contents of your run.sh, maybe there's a typo or something as all you should have to do is comment it out.