Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#129 .vra and .vrs command line options

general
pending
nobody
2013-03-09
2013-01-03
SlagDog
No

VICE (x64, xscpu64, etc.) allows to load romsets (.vrs) and romset archive (.vra) files using the gui and it would make quite some sense to have a command line options allowing to load sets which are of course applied after vicerc is loaded.

Additionally, for the moment when a .vrs file is loaded using the GUI (gnomeui here) the current search path should be extended to the directory in which the .vrs file is located. Whenever the custom rom is not in the directory from which vice was started or the usual search path, resources without path are not found. With that limitation fixed it would be much easier to share romsets.

Discussion

  • Olaf Seibert
    Olaf Seibert
    2013-01-07

    I've done the second part of the request. That seemed the easiest part :-) (the part "which are of course applied after vicerc is loaded" makes it more complicated I think)

    Try revision 26959: When processing a romset file or romset archive, prepend the directory where it was found to the sysfile search path.

     
  • Olaf Seibert
    Olaf Seibert
    2013-01-08

    Looking at the command line options, it seems like it is easier than I thought. They are processed after the vicerc file, so just loading the romset right away (interpreting this as an action rather than a setting) when the option is detected is fine.

    I also noticed that there are some completely unneeded romset-related resources:

    RomsetArchiveName
    RomsetFileName
    RomsetSourceFile

    It looks like they might have been intended to actually load their named romset/archive files, but they don't.
    Simply replacing that idea by the command line options makes sense, I think.

    RomsetArchiveActive is actually hooked up to do something (select a set from the currently loaded archive) but even this seems more like an action than a setting to me.

    I intend to remove them. The only thing using them is the GUI (and then only some of them: win32 can set/show 3, Gnome/Xaw only RomsetSourceFile).

     
  • Olaf Seibert
    Olaf Seibert
    2013-01-08

    Svn revision 26970 adds the command line options.
    Svn revision 26971 removes the resources.

     
  • gpz
    gpz
    2013-03-09

    can be closed, i guess :)

     
  • gpz
    gpz
    2013-03-09

    • status: open --> pending