Git Product home page Git Product logo

no_intro_dat_matcher's People

Contributors

diekatzchen avatar lambdan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

no_intro_dat_matcher's Issues

Fails when dat has multiple roms per game

Example:

        <game name="Kid Vid Voice Module (USA) (Audio Tapes)">
                <description>Kid Vid Voice Module (USA) (Audio Tapes)</description>
                <rom name="KVB1.WAV" size="4219542" crc="33909225" md5="77b10df7d3e4796396e987e8f121bcc4" sha1="6a582aebcefd6e2a97bdd8968202aab985$
                <rom name="KVB2.WAV" size="9593878" crc="c3373775" md5="64fbcd99d2348cd6fdb1e04b9e275ed5" sha1="60a425c6bde3226ab731995562716321be$
                <rom name="KVB3.WAV" size="7676992" crc="ad7c821b" md5="9752e8697aa944b7b34f78af8595e9da" sha1="5e34125c4d6c209b21d1c892f3df0ec164$
                <rom name="KVS1.WAV" size="3436329" crc="ace0dfbc" md5="4e265258451af7cc7946ae0e2486bfd1" sha1="b094c2c1fca81a0e531e0541f302346150$
                <rom name="KVS2.WAV" size="2086275" crc="81da7f78" md5="abefa5b2a46efcb60400754cb2de6c7a" sha1="8b83b2eea01b3e08ceb885aeb153d4084b$
                <rom name="KVS3.WAV" size="3720920" crc="4d3c8575" md5="6a4f12a2ea946b35438f93478230e9ef" sha1="86896a1e272d8715489de9b407f0b8a42f$
                <rom name="KVSHARED.WAV" size="3059116" crc="fff1fb4d" md5="818525569cb66d481d9cd48c2b0f7360" sha1="9adf10cdf1de833b194c7d8797ad1f$
        </game>

When scanning, this will fail with:

Traceback (most recent call last):
  File "/home/pi/Downloads/no_intro_dat_matcher/no-intro-dat-matcher.py", line 173, in <module>
    destination = os.path.join(outfolder, g['rom']['@name'])
TypeError: list indices must be integers or slices, not str

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.