Code Monkey home page Code Monkey logo

nars's Introduction

NARS Advanced ROM Sorting

NARS Advanced ROM Sorting (NARS) is a set of Python scripts that allows you to filter your ROM collections to remove unwanted ROMs. If the ROM collections are updated or a new version of the emulators installed (which may require some new ROMs to be updated) NARS is able to synchronise the ROM directories quickly. NARS includes two components:

  • nars-console filters a ROM collection with No-Intro names and copies the filtered list to the destination directory of your choice. Multiple ROM collections, each with a different filter, can be configured. Multiple filters can be configured to the same ROM collection, for example to split the ROMs into USA, Europe and Japan regions. Also, if artwork is available, it may also be synchronised.

  • nars-mame takes the MAME-generated XML game database and merges it with Catver.ini. Then, a set of filters can be defined (for example, to remove mechanical games or select games that use a lightgun) and filtered ROMs are copied to different destination directories. It also creates NFO files with game information for launchers and copies local artwork if available so offline scrapers can be used.

More information can be found on the documentation/tutorial.

nars's People

Contributors

wintermute0110 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

arpruss

nars's Issues

[Error] invalid syntax

Hi,

I'm getting this error running this tool on windows machine (python 2.7).
I also tried cygwin, but get the same error.

File "C:\Program Files\cygwin64\usr\NARS\nars-console.py", line 26, in
import NARS
File "C:\Program Files\cygwin64\usr\NARS\NARS.py", line 592
print(infoString + " " + filename + "... ", end="")
^
SyntaxError: invalid syntax

Can you help me?

Thanks

AttributeError: 'dict' object has no attribute 'filterUpTags'

Hi,

is this nice tool still in development?
I'm getting this error:

/NARS # python nars-console.py check n64
NARS Advanced ROM Sorting - Console No-Intro ROMs version 0.2.0_alpha1
[Parsing config file]
Reading configuration XML file 'nars-console-config.xml' ... done
[Check-filter ROM]
Filter name 'n64'
Using No-Intro parent/clone DAT
Parsing No-Intro XML DAT '/dats/Nintendo - Nintendo 64 (BigEndian) (Parent-Clone) (20190204-204558).dat' ... done
Total number of games  1025
Number of parents       418
Number of clones        607
[Scoring and filtering ROMs]
Traceback (most recent call last):
  File "nars-console.py", line 1764, in <module>
    elif command == 'check':          do_check(args.filterName)
  File "nars-console.py", line 1417, in do_check
    romMainList_list = filter_ROMs(filter_config)
  File "nars-console.py", line 1208, in filter_ROMs
    romMainList_list = get_Scores_and_Filter(romMainList_list, rom_Tag_dic, filter_config)
  File "nars-console.py", line 1059, in get_Scores_and_Filter
    upTag_list      = filter_config.filterUpTags
AttributeError: 'dict' object has no attribute 'filterUpTags'

Getting an error when running script

Hi, I think this script is exactly what I'm looking for. I downloaded and installed latest version of Python x64 for Windows. I'm running Windows 8.1 x64. I was trying it out but I get an error message. Can you please help? The error I'm getting is:

C:\Software\Portables\XBMC-rom-utils-master>xru-console.py list-tags snes
File "C:\Software\Portables\XBMC-rom-utils-master\xru-console.py", line 55
print k
^
SyntaxError: Missing parentheses in call to 'print'

C:\Software\Portables\XBMC-rom-utils-master>

I've configured the xml file as below. Only the snes part with rom and dat path. I've also tried without surrounding " in the paths but same error.

"C:\Emulation\Dats\Nintendo - Super Nintendo Entertainment System (20150215-231121_CM).dat" "C:\Emulation\Roms\Nintendo - Super Nintendo Entertainment System" "C:\Emulation\Roms\Nintendo - Super Nintendo Entertainment System (Sorted)" /home/xbmc/roms/ArtWork/nintendo-snes-boxes/ /home/xbmc/roms/ArtWork/nintendo-snes-snaps/ /home/xbmc/NUC-remote/ROMs/ArtWork/nintendo-snes-thumbs/ /home/xbmc/NUC-remote/ROMs/ArtWork/nintendo-snes-fanart/ Europe, World, Rev 1 Japan, Beta, Proto, France Europe, USA Japan /home/xbmc/roms/roms-sega-genesis/ /home/xbmc/NUC-remote/ROMs/roms-sega-genesis/ Europe, World, Rev 1 Japan, Beta, Proto Europe, USA Japan

I've only configured the rom and dat path just to test it. But eventually I would like to add all artwork sets I have. I don't know what the Thumbs and Fanart is supposed to be but below are the folders I have populated with artwork/media. Can I configure these? And how?

Advert
Background
Banner
Boxes
Boxes_3D
Cartridges
Manuals
Snaps
Titles
Videos

Also posted at:
http://forum.kodi.tv/showthread.php?tid=200892

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.