tralph3 / cue-maker Goto Github PK
View Code? Open in Web Editor NEWA simple and easy to use program that fetches original cue files for your roms.
License: GNU General Public License v3.0
A simple and easy to use program that fetches original cue files for your roms.
License: GNU General Public License v3.0
I could have sworn I tested this after your M3U release, but looks like I dropped the ball on that. The M3U files that are generated have the directory in them still. It's somewhere in here but I don't know enough to make the change myself adequately.
def createM3u(cueFiles):
global m3uWriteCounter
print("\n\u001b[1;32mCreating .m3u...\u001b[0m\n")
for file in cueFiles:
if file.rfind("/") != -1:
fileDirectory = file[0:file.rfind("/") + 1]
fileName = file[file.rfind("/") + 1:len(file)]
else:
fileDirectory = ""
fileName = file
if fileName.lower().find(" (disc") != -1 or fileName.lower().find("_(disc") != -1:
print("Found file: \"\u001b[1;33m" + fileName + "\u001b[0m\"")
discWordIndex = fileName.lower().index(" (disc")
discEndIndex = fileName.find(")", discWordIndex) + 1
m3uFilePath = fileDirectory + fileName.replace(fileName[discWordIndex:discEndIndex], "").replace(fileName[-4:], ".m3u")
m3u = open(m3uFilePath, "a+")
m3u.seek(0)
if m3u.read().find(fileName) == -1:
m3u.write(fileName + "\n")
print("\u001b[36mWrote \"\u001b[1;34m" + fileName + "\u001b[36m\" to \"\u001b[1;33m" + fileName[0:discWordIndex] + ".m3u\u001b[36m\"\u001b[0m\n--------")
m3uWriteCounter += 1
else:
print("\u001b[31m\"\u001b[1;34m" + fileName + "\u001b[31m\" is already present on \"\u001b[33m" + fileName[0:discWordIndex] + ".m3u\u001b[31m\"\u001b[0m\n--------")
m3u.close()
The current naming format the .m3u is:
Koudelka (USA)\Koudelka (USA) (Disc 1).cue
Koudelka (USA)\Koudelka (USA) (Disc 2).cue
Koudelka (USA)\Koudelka (USA) (Disc 3).cue
Koudelka (USA)\Koudelka (USA) (Disc 4).cue
And it should instead be:
Koudelka (USA) (Disc 1).cue
Koudelka (USA) (Disc 2).cue
Koudelka (USA) (Disc 3).cue
Koudelka (USA) (Disc 4).cue
I'll be sure to actually test it fully this time...
Just woke up and saw you added zip functionality already! Amazing!
So I tested the new zip functionality and am reporting a potential issue as a result.
When zipping Juggernaut (USA)
http://redump.org/disc/19173/
http://redump.org/disc/19161/
http://redump.org/disc/19163/
using the command:
python cuemaker.py -zmr playstation "Sony PSX"
Juggernaut got stuck at the zipping stage and I had to make the shell window active and press enter to continue. Not sure if that's a side effect of using python or some bug inherent to windows 10 shell's in general (the windows powershell-based package manager Chocolatey has the same issue for some packages), but it got stuck on the step to delete the folder from what I could tell. After pressing enter, it continued, and then it worked on the remaining folders; Koudelka (USA), Legend of Dragoon, The (USA), Lunar - Silver Star Story Complete (USA), and Lunar 2 - Eternal Blue Complete (USA), Metal Gear Solid (USA), Metal Gear Solid (USA) (Rev1) without a bump needed.
What I saw where it was stuck for a long time:
←[1;32mCompressing and deleting temporary folders...←[0m
Compressing files in "←[1;33mJuggernaut (USA)←[0m"...
I then had to press enter and immediately this appeared:
Deleting "←[1;33mJuggernaut (USA)←[0m"...
I was wondering if the ability to handle zips was possible to add someday in the future. Namely, I would love to update all of my multi-disc games with .m3u files automatically, but I have a huge set (all redumps of PSX currently out there) which entails a lot of manually unzipping running your cool script, then rezipping with proper name. I'm not much of a coder otherwise I'd fork yours and add it and suggest it, but seems pretty complicated. I think the process would be to check the zip files for the hash of files inside, handle them in your database the same way, but add a temporary unzip, create m3u, then rezip and cleanup step at the end.
For GamePro Action Discs 1 and 2, the m3u file doesn't get generated but the script says it did which is interesting.
C:\emu\games>python CueMaker.py -r -m playstation "Sony PSX"
←[1;32mCreating .cue...←[0m
Found file: "←[1;33mGamePro Action Disc 1 (USA) (Unl).bin←[0m"
←[1;31mThis file already has a .cue←[0m
--------
Found file: "←[1;33mGamePro Action Disc 2 (USA) (Unl).bin←[0m"
←[1;31mThis file already has a .cue←[0m
--------
←[1;32mCreating .m3u...←[0m
←[32mFinished!
Created ←[35m0←[32m .cue and wrote ←[35m0←[32m lines to .m3u!←[0m
As title says, I noticed this issue with the script when trying to create an M3U for Chronicles of the Sword (USA)
http://redump.org/disc/47840/
http://redump.org/disc/47841/
The same kind of error happens for all versions of it (Germany, France, Europe, Italy, and Spain). It doesn't generate any M3U's. I think the handling of "01" in the track number may not be working correctly.
C:\emu\games>python CueMaker.py -r -m playstation "Sony PSX"
←[1;32mCreating .cue...←[0m
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 01).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m6db983bd52d6dc30700c01124d6d095bdc5deb63←[1;33m matches database!
←[1;31mCouldn't find original cue on GitHub.←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 02).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m43ca67e2b41497900a633e6b6137d1ba2eee167d←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 03).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mdae8b4dbbcf9ca054d9d1f3e6ad741307aecf853←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 04).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32ma66a48a81f7ca987f7ad7d2a3a3c08d87bffdaf8←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 05).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mb573a728ff22f0adafae94ef4d362003c9afd3ca←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 06).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mad6d7bc527b510e2249e01f88253c956c57796fe←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 07).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m895fe5f59501ea52be6a7fd91bf853d2f621aba7←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 08).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m3a5a08ddd2c981f02985f451f89e3d7487e27d56←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 09).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m98b704be31f962d91286f136a706166ea1f59b84←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 10).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m9762ff66fc3d7dfbe395684de887e99d68943f1e←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 11).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m0a17f2b79789cdb72f32a15a66cf953d82924515←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 12).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mfec678622efd3c3a25cdc964f1e0a2d16824076b←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 13).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mb5a3a861b2b2c8d6fa3fa21d779bc8f0e6d550bb←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 14).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mcf55aa75e3b4667ee3102d7e7dd7fb5f8d0e4966←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 15).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m3bc881162d00bb28c0b11d72d0d64b766370f4ad←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 16).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mafc22e7d9e2b04046b7854ba1a30638461958fb8←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 17).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mfd27097796aa3f69b1b7c0c99b4f51949bed4443←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 18).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32me6840a15deb76b689cdf6646817ad6dc9b0ca03a←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 19).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m4c34c73009884761f9cc4a6adf2fbe3a6206324c←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 20).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m23ff32a8b5afce21a7bbf5c53d80be66464279a5←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 21).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mdbc653bc91f5fa59d60fca567bc8aa6f79f0c49f←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 22).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m9227b57835494d822643b19772254c0eddaff75f←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 23).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m38e399d3881a9663255cdadb09c9c09a4319d538←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 24).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32md2e377eee85495c8052504ed9ff41a4a159808c2←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 25).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mad7d3362baedab590d0ec9a8adcdb34b7f4795d3←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 26).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mfe21ef8ef7fd649c240d9c5be0f0ea1f2c3bb0aa←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 27).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32md02349d3c27ee7fdf75e89596141adec7dfd6cd9←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 28).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m164cada6df8e2ec42a03db5fadf401475ce3072a←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 29).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m16941a21187850669c4ecfe6daa07782a9193391←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 30).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mb062a7f4e8e69d66656733f348736a2fd5e4da24←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 31).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m7f87529a42fb06c9a8879eef1d693aa094cf1460←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 32).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m1e82da34eadac7c6e4ef71695c9ebd6d5bdf38d5←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 33).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m3b7b41663782fb75b0c96cf68a4bf9396a890b4d←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 34).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m4c3f108ec6ba86655df945e18eea7ebde01974dd←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 35).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mba3875c3f465adb8ffa3588ed4bbdd9b737b0f31←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 36).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m1420fefdea04493df776b9890d1ac58e9291721b←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 37).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m26eef95bb0b1040817d72c8e34ba9df23c524d47←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 38).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32ma37657e012d49d9d95697bc3a302613ee2e94ff5←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 39).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m713d7574d6fc801031383c5b596e4b5a2e36f12a←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 40).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m11363730a812f68cb62a344b03da84d03ca6c4c6←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 41).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m0b97f5ed86100f730f0c72b9ca4c50f0dc66fda0←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 42).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m31c76f5a968c22cf289836a66164bcd673179728←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 43).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m52eeb8a7d6741b3b97285c0c95d23b37242b8ab9←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 44).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m8036d78274fd8702bc044456819799aff57674f0←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 45).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mb288b271910b5545e3a3d46ebe788453ade8d8de←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 1) (Track 46).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m1c231150d07c78e581e9f067fda835529587205f←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 01).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mba207bdf15f30114db23bf7356aa64b35feedd75←[1;33m matches database!
←[1;31mCouldn't find original cue on GitHub.←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 02).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m43ca67e2b41497900a633e6b6137d1ba2eee167d←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 03).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mdae8b4dbbcf9ca054d9d1f3e6ad741307aecf853←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 04).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m9696cfca71ad16c1b1c6a780aa8dd59fcff416ee←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 05).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mf6f1833160b631b685d31dfe55e050a2d699b364←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 06).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mfc18cbffc04094bbd8e9040d3fe0ce5bb9019a44←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 07).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m0fa294f4c4dbc7781e8a654807311ede85b37806←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 08).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mb970ea8f146ab0d7786ed98351c47a7b653056f7←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 09).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mf9248066baa165a63c58b37a8a7eb81fafa3e427←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 10).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m93b7ed6e18cf0a294dca9ff59802fb348778a7a4←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 11).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m39a701d91099ceae1ebd3e66879162d76c38e048←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 12).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m33d477f22997853cafb38298a7903cb2bf1ce352←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 13).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mcd2767e97b67e943698e7493f5a8918a969a4d42←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 14).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32med2d7ea7c048977f328d3636f57ab58d52589184←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 15).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m295c55a84ed95353905aa971d606ffe484f1580a←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 16).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m71f96517c0b8710afd9cfd6f412baa037c415b14←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 17).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m7c58072aa3813e19916c1630e049d23d9c9dcab9←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 18).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m801cb1c776dc1040b2b32ecb88942d1ab69273e8←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 19).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m7829445597f73655d544a0d5a4318c83b5928748←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 20).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32me5fc11e51f8df92204a047395bda2962c6108429←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 21).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m7dc293cfba3c3f4c67ebc20c776f005167c55915←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 22).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m30b6651436d62a08af6fb955c7c51a22f4ae9f41←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 23).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m6bb335c91a7d1082282ebced6b8e5b9d89bc7b6e←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 24).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m153e5e8e7366a8f382d9db5576bffcd355f4c943←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 25).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m202bd926d0de3d62abc88e92b96f17721d6f04df←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 26).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m8d3a38f0dfd04538b3c8c087074a5d1181e02220←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 27).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mc3d046b775f9fdb6f60f417115a5eff50a3aa2e6←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 28).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m5225135195b7f0993226d9ea627b4156ca987943←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 29).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m32d4bdb50198410ef04cd3dbe5837a64f52468c4←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 30).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32me5bd653196b2d739d4bcf35ea1145fa511d24cb4←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 31).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m7e22f1228731a601364a7881756ccb8789f6af49←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 32).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m5c996e7f269176f2dd9a7f52cca8b5bbf23956b5←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 33).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m2f594713bcb7ceb06bf4dc7e9c32befed8417edf←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 34).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m073dfbf502029cf4fa8a57e86265b28f4dd3a7ed←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 35).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mf90b187ec0b88d7173633ab9ca33f20c331c70df←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 36).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m3f1ab72d5dd6771cf1e76eb6b1127fea8cf8dbdb←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 37).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m8c1541d4935635d130ae873ea031be957ac35c5c←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 38).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m767c4545c4383a28f1880a1d17c0bd39602c2e5c←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 39).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mda86c85382b844b462fd74437dea2bff168b5c0f←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 40).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mfc0b8a656b152f4e3dac446424faf34279185b00←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 41).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m423bbe7c16465756113fc1323998ea7de910c7c4←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 42).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m7217f4749b41659a6da064c053630b5b679574ac←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 43).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mb8e8ffd1aa060cd9292e0945c4cd36f09d2ea114←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 44).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mdd7f7d9a1662662e08b56d97e142bc523752c87a←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 45).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32mbdff8c02f235e3311c60c4be155ffbcdc4581191←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 46).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32md3cd3b58e125d8c3205631b62647e8f21a9e32dc←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 47).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m149ce5d64235cc64607de9e71673fb31c9a73541←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
Found file: "←[1;33mChronicles of the Sword (USA) (Disc 2) (Track 48).bin←[0m"
←[1;32mGenerating SHA-1 hash...←[0m
←[1;33mHash ←[1;32m104205cdfd526a499ec125376f75d0d5cdb378ae←[1;33m matches database!
←[1;31mERROR: ROM doesn't have a TRACK 1←[0m
--------
←[1;32mCreating .m3u...←[0m
←[32mFinished!
Created ←[35m0←[32m .cue and wrote ←[35m0←[32m lines to .m3u!←[0m
hi, I'm trying to co-mingle some multidisc and single disc psx games with emulationstation and the best way to do this, i've learned, is to create m3u's for each game and then hide all bin/cue/chd's from the game list to clean it up a bit. would you be able to help support generating m3u's for single disc games so i can avoid creating 100+ manually? thank you for this awesome tool :)
I realize this doesn't fit your naming scheme, but it appears that many files have this naming scheme as well from redump.
It treated each of these as seperate games, instead of different discs, due to the naming scheme after (Disc). Perhaps ignore anything before and after disc that isn't Rev etc..?
This is the redump datfile naming scheme still (weird for these). Figured I'd bring this up in case you were interested.
Another one I just noticed. If there are two revisions in the same run of the script, it generates a single m3u for both revisions.
Hi, i have a problem with this script, when i starting script on windows 10 console with parametres:
python CueMaker.py -zgm playstation C:\Users\anonimous\Desktop\123
I take a message
Traceback (most recent call last): File "C:\Users\anonimous\Desktop\Cue-Maker-master\CueMaker.py", line 412, in <module> generateCue(file) File "C:\Users\anonimous\Desktop\Cue-Maker-master\CueMaker.py", line 136, in generateCue cuePath = fileDirectory + fileName[0:len(fileName) - 4] + ".cue" UnboundLocalError: local variable 'fileName' referenced before assignment
Python 3.10 windows 10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.