Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cupid-stunt

Pages: [1]
1
Themes / Re: New Theme - Unified
« on: May 14, 2018, 06:53:06 PM »
OK much much googling later - created a batch file with following commands to replicate the favourites script on a windows machine  :)
just change the path as required ....


@echo off
d:
cd D:\frontends\attract-v2.3.0-win64\romlists - change this path to suit your setup
del Favorites.tag
cls

echo This script will generate a new romlist called Favorites.txt
echo The new romlist will contain all of your current tagged favorites from all different romlists.
timeout /t 3 /nobreak >nul

echo Renaming old Favorites.txt file .....
copy Favorites.txt Favorites.txt.backup
timeout /t 3 /nobreak >nul
echo Gathering file listing of tagged favorites .....
timeout /t 3 /nobreak >nul
echo Generating new Favorites.txt file .....
timeout /t 3 /nobreak >nul
dir/b *.tag > tagfiles

for /f %%a in (tagfiles) do (echo "Using %%~na ....."
   for /f %%b in (%%~na.tag) do (findstr %%b; %%~na.txt >> Favorites.txt )
)
timeout /t 3 /nobreak >nul
del tagfiles

echo "Finished creating new Favorites.txt ....."

echo "Using this new romlist, create a new Display and choose Favorites as the romlist for it."
   
echo "You may need to periodically update the Favorites romlist as you add tad new favorites."
timeout /t 6 /nobreak >nul

2
Themes / Re: New Theme - Unified
« on: May 14, 2018, 04:15:55 AM »
Hi,

I have just got into retro games and after much searching and trial and error settled on attract mode as my front end of choice.

This theme is excellent and I have managed to set it up on a Windows 10 machine.

The only thing I'm struggling with is converting the favourites script into a dos batch file. Has anyone already done this?

Thanks

Pages: [1]