Commit graph

31 commits

Author SHA1 Message Date
6b838cf720 Remove debug output 2020-03-04 02:55:03 +01:00
561f3ed58f Use the titleIDs list.
It's missing some columns compared to redump but the list
is more complete I think.
This csv contains only the [PSP] titles from titleIDs.txt.
2020-03-04 02:55:03 +01:00
cb0d0e6941 Return the extracted serial number for real. 2020-03-04 02:55:03 +01:00
a9798ac94e Returning true in the functor stops the file listing. 2020-03-04 02:55:03 +01:00
17f72fcbdf With some violence I got iso file listing working
I don't know if code is leaking or what, the c files are full with
unused code and globals and are quite dirty. But hey, it runs for meh!
2020-03-04 02:55:03 +01:00
b0e2658c15 Import cdrtools-3.02/mkisofs/diag/scsi.c but it doesn't compile 2020-03-04 02:55:03 +01:00
9d53b7eeaa I think this is not used anywhere... 2020-03-04 02:55:03 +01:00
d53e4cf4cf Fix typo 2020-03-04 02:55:03 +01:00
af9d3b6964 Remove pointless main prototype.
I'm so sick of grepping this by mistake
2020-03-04 02:55:03 +01:00
7cd14d52ec Remove USE_FIND
I think what that code is doing is to parse a find-like
command and running a search on the file list from the ISO.
This is not what I want, I don't even want to store the
file list anywhere, instead I want to call a functor for each
file and directory being read and keep the code as stateless as
possible. So delete everything here.
2020-03-04 02:55:03 +01:00
35b4e24e98 Remove do_listing variable 2020-03-04 02:55:03 +01:00
ba3de80478 Remove unused functions 2020-03-04 02:55:03 +01:00
a0f681295a Remove some unused variables 2020-03-04 02:55:03 +01:00
399a1a5f5e Remove unused function 2020-03-04 02:55:03 +01:00
141f647497 Remove do_pathtab variable 2020-03-04 02:55:03 +01:00
bd10160088 Remove do_pvd variable 2020-03-04 02:55:03 +01:00
de159615a3 Remove command line parsing and usage help text 2020-03-04 02:55:03 +01:00
9525cc69bd Fix some warnings.
The last one left seems like a genuine one and I'm not sure about the
correct fix. I think that I'm going to remove that block of code
after refactoring tho, so I'm leaving it there for now.
2020-03-03 14:02:53 +01:00
289444bb63 Build fix for isoinfo lib. 2020-03-03 13:58:26 +01:00
c2db22734b Import cdrtools-3.02/mkisofs/diag/isoinfo.c and dependencies.
It doesn't compile, this is the unmodified upstream version.
2020-03-03 11:55:06 +01:00
3d7b378dfa Experiment isotoserial implementation with libarchive.
I don't think it's working, even the tar command doesn't
seem able to read iso files.
2020-03-03 11:52:25 +01:00
fe1edbdd1f Fix missing regions during db import. 2020-02-27 23:22:21 +01:00
2fbbdc7536 Implement function to query the database. 2020-02-27 23:17:14 +01:00
54f8d125a8 Fix problem with double quotes 2020-02-27 23:15:16 +01:00
7bd9c6feb6 Fix bad csv 2020-02-27 22:59:26 +01:00
5eac3f26dc Save region, clear edition before saving. 2020-02-27 17:12:07 +01:00
7ba637b6a4 Use mnemonic names. 2020-02-27 14:37:05 +01:00
fd7e3e6324 Ditch dodgy game list, use the redump one instead.
This fixes the build.
2020-02-27 14:31:48 +01:00
7ba01f67b8 Fix a couple wrong serial numbers but there are many more
I think this is pointless, I should move to a better list altogether.
2020-02-27 12:35:05 +01:00
f4f573643e Convert to utf-8, remove invalid last line
I think last line is supposed to be "gran turismo 2" in katakana.
See http://www.wiki.redump.org/index.php?title=Sony_Playstation_Asia_Missing_Games
SCPS-10100 Gran Turismo 2 -- hoax?
I'm removing it since maybe it's not even an actual game.
2020-02-27 10:27:36 +01:00
3f353b7dfe First import.
Lists are a bit dirty and can't be imported into sqlite atm
due to them having duplicated serial numbers. They need cleaning,
possibly against titelIDs.txt which, on the other hand, contains
dodgy character sequences.
2020-02-26 18:35:22 +01:00