Author Topic: Rom paths, subfolder scan  (Read 6787 times)

Josepzin

  • Jr. Member
  • **
  • Posts: 10
  • Habitacus!
    • View Profile
    • Blog
Rom paths, subfolder scan
« 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

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Rom paths, subfolder scan
« Reply #1 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
« Last Edit: October 12, 2015, 11:29:46 PM by hermine.potter »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Rom paths, subfolder scan
« Reply #2 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.
« Last Edit: November 06, 2015, 10:43:05 PM by akafox »
People want life easy..then complain about it

Josepzin

  • Jr. Member
  • **
  • Posts: 10
  • Habitacus!
    • View Profile
    • Blog
Re: Rom paths, subfolder scan
« Reply #3 on: November 06, 2015, 02:51:55 PM »
Thanks to both! :)

Can be interesting what Attract mode scan subfolders.

Josepzin

  • Jr. Member
  • **
  • Posts: 10
  • Habitacus!
    • View Profile
    • Blog
Re: Rom paths, subfolder scan
« Reply #4 on: September 23, 2016, 05:11:10 AM »
Reusing this post.

Vice need a special arg for CRT files, it is possible?

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Rom paths, subfolder scan
« Reply #5 on: September 23, 2016, 05:54:02 AM »
Start vice.exe > Settings > Video Settings > VICII Render filter > CRT emulation
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

Josepzin

  • Jr. Member
  • **
  • Posts: 10
  • Habitacus!
    • View Profile
    • Blog
Re: Rom paths, subfolder scan
« Reply #6 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