Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Josepzin on October 12, 2015, 08:21:46 AM

Title: Rom paths, subfolder scan
Post by: Josepzin on October 12, 2015, 08:21:46 AM
Hi!

Rom paths not scans subfolders?

Example: i have c64 games like this:
- olds
- olds > a
- olds > b
- olds > c
- olds > ...
- olds > z
- actual
- actual > mojontwins
- actual > seucks
- actual > rgcd >...
etc
Title: Re: Rom paths, subfolder scan
Post by: hermine.potter on October 12, 2015, 11:27:57 PM
Have a look to your c64-emulator-config (e.g. C:\attract\emulators\vice.cfg)
Add your paths manually in line#5 : rompath
Something like this:
rompath    C:\attract\vice\roms\A;C:\attract\vice\roms\B;C:\attract\vice\roms\C;.................;C:\attract\vice\roms\Z
Start AM and Generate Romlist

or copy your whole rom files in a root-folder:
rompath    C:\attract\vice\roms
Title: Re: Rom paths, subfolder scan
Post by: akafox on October 16, 2015, 07:42:45 PM
 Josepzin I am assuming that you want to scan sub-folders and attract mode is not doing that?

Hermine.potter is correct you will have add each path as described above. I would suggest opening your configuration file in a text editor so that it will be move convenient. You can copy your main folder path and then paste them several times...then coming back and typing the sub-folder in.
Title: Re: Rom paths, subfolder scan
Post by: Josepzin on November 06, 2015, 02:51:55 PM
Thanks to both! :)

Can be interesting what Attract mode scan subfolders.
Title: Re: Rom paths, subfolder scan
Post by: Josepzin on September 23, 2016, 05:11:10 AM
Reusing this post.

Vice need a special arg for CRT files, it is possible?
Title: Re: Rom paths, subfolder scan
Post by: hermine.potter on September 23, 2016, 05:54:02 AM
Start vice.exe > Settings > Video Settings > VICII Render filter > CRT emulation
Title: Re: Rom paths, subfolder scan
Post by: Josepzin on September 14, 2017, 06:26:43 AM
I make this .BAT for crt/dsk-prg-tap files, it work!!!

Code: [Select]
@echo off
SETLOCAL enableextensions disabledelayedexpansion
ECHO Iniciando emulador C64 +-------------
ECHO Juego: %1

SET var=%1
SET searchVal=.crt
SET var|FINDSTR /b "var="|FINDSTR /i %searchVal% >nul
REM IF ERRORLEVEL 1 (echo It does't contain crt) ELSE (echo It contains .crt)
REM http://stackoverflow.com/questions/17602659/batch-file-find-if-substring-is-in-string-not-in-a-file-part-2-using-variab
IF ERRORLEVEL 1 ( GOTO normal ) ELSE ( GOTO cartridge )

:cartridge
ECHO Cartucho
D:\juegos\Commodore\C64\WinVICE/x64.exe -cartcrt %1 +confirmexit -fullscreen -autostart-warp
goto end

:normal
D:\juegos\Commodore\C64\WinVICE/x64.exe -autostart %1 +confirmexit -fullscreen -autostart-warp

:end
ENDLOCAL