22 October 2017, 16:47 | #1 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,021
|
Extract game image filenames + path from FS-UAE Database?
Hi -
I've currently got a full batch of WHDLoad games, a complete TOSEC set of ADFs/IPFs and various other files culled from around the 'net - about 80GB in all. FS-UAE is reporting a complete set (near enough), but I'm fairly certain it's not actually using all those files - a subset of them is more likely. I'd like to trim the filesystem down a bit to only include those files necessary for FS-UAE. Is it possible to get a list of filenames that FS-UAE knows about? I've looked at the files.sqlite database, and although it does list most of them, some of the games have no path - they're also listed as the GameBase variant. Where do the files for those live? If they're downloaded on demand, is there a way to pull them all down? I'd like to get the complete game database onto a portable USB drive, and machines I run it on may not have 'net access. |
25 October 2017, 22:37 | #2 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Files.sqlite is the wrong database. This simply contains an index of files scanned by FS-UAE Launcher on your system.
Instead, you need to parse compressed JSON-blobs from platform-specific game databases (Amiga.sqlite, etc) and look at the "file_list" field in the JSON document (and do this for every game). Btw: you'll end up with a list of file checksums (SHA-1) that FS-UAE Launcher is interested in, not a list of file names. FS-UAE Launcher could not care less about file names... |
25 October 2017, 23:32 | #3 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,021
|
Interesting, thanks. Getting the SHA-1 fields was surprisingly easy. So I just need to match those up to the stored SHA-1 fields in the files database?
Ok, time to fire up MySQL and get digging! Thanks |
26 October 2017, 19:06 | #4 | |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Quote:
Perhaps it's easier to change the launcher's code to write out the file names if a complete variants was found, than making somthing from scratch. :-) |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Online Game Configuration Database for FS-UAE Launcher | FrodeSolheim | support.FS-UAE | 129 | 08 October 2013 00:06 |
IPF image database | alexh | project.SPS (was CAPS) | 128 | 15 April 2013 11:13 |
[FS-UAE] Optimized or corrected Amiga Game Database Entrys | nexusle | support.FS-UAE | 3 | 24 August 2012 21:30 |
[FS-UAE] Amiga Game Database for FS-UAE Launcher | nexusle | support.FS-UAE | 31 | 24 August 2012 20:24 |
[FS-UAE] Extract strings from FS-UAE memory | starwindz | support.FS-UAE | 2 | 06 August 2012 19:49 |
|
|