Changing the order of Roms in attract mode

Questions and tweaks for Attract-Mode on ARpiCADE.

Moderator: dee2eR

ShaneHero
Community Member
Community Member
Posts: 17
Joined: Mon Mar 04, 2019 12:38 pm

Changing the order of Roms in attract mode

Post by ShaneHero » Thu Mar 07, 2019 8:57 am

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?

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: Changing the order of Roms in attract mode

Post by cool_factor » 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.

ShaneHero
Community Member
Community Member
Posts: 17
Joined: Mon Mar 04, 2019 12:38 pm

Re: Changing the order of Roms in attract mode

Post by ShaneHero » Thu Mar 07, 2019 12:41 pm

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

ShaneHero
Community Member
Community Member
Posts: 17
Joined: Mon Mar 04, 2019 12:38 pm

Re: Changing the order of Roms in attract mode

Post by ShaneHero » Fri Mar 08, 2019 9:43 am

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

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: Changing the order of Roms in attract mode

Post by cool_factor » Fri Mar 08, 2019 10:47 am

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

ShaneHero
Community Member
Community Member
Posts: 17
Joined: Mon Mar 04, 2019 12:38 pm

Re: Changing the order of Roms in attract mode

Post by ShaneHero » Fri Mar 08, 2019 11:38 am

Yeah, they’re already hashed out.

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

FastyMcNasty
Community Member
Community Member
Posts: 22
Joined: Mon Nov 26, 2018 3:47 am

Re: Changing the order of Roms in attract mode

Post by FastyMcNasty » 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

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: Changing the order of Roms in attract mode

Post by cool_factor » Fri Mar 08, 2019 9:57 pm

Your're right... I assumed he was running an older version...

ShaneHero
Community Member
Community Member
Posts: 17
Joined: Mon Mar 04, 2019 12:38 pm

Re: Changing the order of Roms in attract mode

Post by ShaneHero » Fri Mar 08, 2019 10:03 pm

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.

dee2eR
Inventor
Inventor
Posts: 1860
Joined: Tue Aug 22, 2017 2:07 pm

Re: Changing the order of Roms in attract mode

Post by dee2eR » Sat Mar 09, 2019 12:05 am

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.

Post Reply