skeezix
Internal Development
I just hacked this together to PM someone, but then thought I'd open it up more general, so forgive if its a total mess written too quickly.
Mostly ST focused (for Hatari), but probably just as well applies to Amiga (and other disk oriented machines where crack groups went nuts.)
--
For Hatari, I've been thinking of a mod, resembling 'sort of' something I did back in the GP32 days.
Hatari has its own custom UI code, which is pretty good; its heavily mouse (touchscreen) oriented which I'm sure annoys some folks, but its so comprehensive and useful and part of the core project, it seems silly to contemplate rewriting that per se. ie: I like the UI it has
Still, a few things could be changed (not just for Pandora's sake.) Not a fault of the emu, but due to the nature of disk based machines like the ST.
- One small nit, and easily ficked; File picker sorts directories in with files; I think directories should be sorted to the top, so they're easier to find quicker; its also more or less de facto standard.
- an "ST problem"; since each disk image could have any number of apps/games/stuff on it, theres no easy way to know whats on it - A_132.ST could be the same as another A_132.ST or something entirely different; likewise, A_132.ST could be MSA'd into A_132.MSA and thus have a different checksum, but same contents; either way, if you save something back to that disk (a savegame, data file, config change, whatever) the checksum would change again. Its not like a cart based system where savegames are well defined and don't modify the cart itself.
So when you pick a disk image, you see A_12345.ST and have to remember "oh, thats Falcon, not Populous"
- hence, theres no sensible way to know whats on a particular disk, beyond human brute force; cataloging to a file, or renaming the disk-image file to be useful. (ie: ST was generally limited to 8.3 filenames, so couldn't have done that back in the day.)
- back in the gp32 days I organized people to build a database for us, mapping disk checksums to a list of apps on them, in short readable way. Was really awesomely handy, but we only covered a few hundred or thousand disks, and theres like hundred thousand disks out there .. plus the problems listed above -- several version of each crack disk, plus MSA versyus ST versus STT versions of the same disk, plus people saving their games on the disk and suddenly losign their DB mapping of the file .. great at first, but not really a great solution.
- some projects exist to make this easier; TOSEC for example. ie: rename disk images to have their app-list in the filename, up to a point; that works well if its been done, but for all the common crack groups (pompei pirates, super gau, automation, etc) you're out of luck; "GameBase" is another approach, but I think they goofed it in a lot of ways -- using a Microsoft specific format (Access DB if I recall right) is silly; coudl try to export the data, but.. bleh, lose interest quick
- for the big crack groups, usually you have a textfile that is the table of contents; map of a filename to a list of whats in it. ie: It'd say A_132.ST was Foo, Bar, Whizzo on the disk; filename changes due to renames (ST->MSA etc) would still break it, but perhaps could just ignore file extension and still get a match. More to point, in our case, we could create out own textfile 'database', and user coudl maintain it themselves. As short or long as they like, and it would only take one person to just get all the crack groups table-of-contents and append them together, and voila.. easy file to include in the Hatari pnd!
- so, if we did make a mapping file to map filenames to disk contents (easily done; I volunteer myself to do it!), what could we do with it?
- one option is to write a program that reads that table of contents file and renames all the files to the app list; that would work if only a few things on there, but if they're long names or lots of things, would blow up; pretty tempting idea though. ie: Given existing Automation, SuperGau, etc table of content files, it might work just fine for .. 50 or 80% of the files? ie: If you have A_12345.ST, rename it to "Falcon;Populous;GFA Basic.ST"; TOSEC did a lot of this, for instance.. but what if you want to use Automaiton, or Super Gau, or Pompei Pirates, or whatever, 'unchanged' beyu0ond filename? This is one simple hack. (Mind you, I dislike the idea of renaming a file that has been the same name for 20 years. It seems disrespectful, but if I did this, I'd keep a second directory of renamed files
- another option is to build into hatari an option so that it could read this table of contents file, and then show the list of stuff beside the filename in the directory picker; since we only have so much horiaontal screen space, we could see only so much, but it might be enough; further, you could edit the table of contents file to have the good bits first on the line; ie: instead of showing "A_12345.ST", show "A_12345.ST Falcon;Populous; GFA Basic" (or as much would fit into whatever space the picker shows you.) ie: To save on the actual renaming of the files.
- physical renaming 'works forever', in every app thereafter, so is actually pretty appealing; but doing the above filename look up might not be hard either. *shrug*
- could (additionally) add an option so you hit a key and it'd pop up the list of stuff on the disk, multiple lines long (A dialog box); you may recall I did something like this on the gp32; given "A_12345.ST Falcon; Pop..." (out of space on screen), hit a key to get a dialog box listing.
The "rename" option woudl be pretty handy for _me_, maybe; copy all the supergau stuff into one directory, suck down a file and format it just so, and run a rename-job on it; then you're "done" and good forever, on any emu. But it feels weird to rename files that have been the same filename for 20 years.
Hmm.
Any thoughts?
I hate looking at "A_137.ST" and having to remember what automaiton shit is on there
So.. any thoughts, or has this problem been solved better already somewhere?
Yes, I'm aware of various scenes/groups having done renames already; like I said .. you can get some crack groups disks whov'e been renamed already, or indexed by GameBase, or get a "TOSEC set", etc; bur in my case.. I really just want a directory of Automation stuff (that I legitimately all own, of course*), shown by appropriate filename, but still being an automation group of files.
jeff
* And btw, you have no idea how fearsome a pile of stuff I have. I actually down own several hundred arcade games, several thousand ST floppies, a complete colleciton of Atari 2600 carts (excepting super rare ones sadly.), and so on; though my SNES and NES and Genesis collection of carts is relatively small as I skipped that generation of consoles. And yes, I do rip my own ROMs from carts, floppies, etc, and can dig up my blog entries or write up how-to's if you really want to know. Some of us do try!
Mostly ST focused (for Hatari), but probably just as well applies to Amiga (and other disk oriented machines where crack groups went nuts.)
--
For Hatari, I've been thinking of a mod, resembling 'sort of' something I did back in the GP32 days.
Hatari has its own custom UI code, which is pretty good; its heavily mouse (touchscreen) oriented which I'm sure annoys some folks, but its so comprehensive and useful and part of the core project, it seems silly to contemplate rewriting that per se. ie: I like the UI it has
Still, a few things could be changed (not just for Pandora's sake.) Not a fault of the emu, but due to the nature of disk based machines like the ST.
- One small nit, and easily ficked; File picker sorts directories in with files; I think directories should be sorted to the top, so they're easier to find quicker; its also more or less de facto standard.
- an "ST problem"; since each disk image could have any number of apps/games/stuff on it, theres no easy way to know whats on it - A_132.ST could be the same as another A_132.ST or something entirely different; likewise, A_132.ST could be MSA'd into A_132.MSA and thus have a different checksum, but same contents; either way, if you save something back to that disk (a savegame, data file, config change, whatever) the checksum would change again. Its not like a cart based system where savegames are well defined and don't modify the cart itself.
So when you pick a disk image, you see A_12345.ST and have to remember "oh, thats Falcon, not Populous"
- hence, theres no sensible way to know whats on a particular disk, beyond human brute force; cataloging to a file, or renaming the disk-image file to be useful. (ie: ST was generally limited to 8.3 filenames, so couldn't have done that back in the day.)
- back in the gp32 days I organized people to build a database for us, mapping disk checksums to a list of apps on them, in short readable way. Was really awesomely handy, but we only covered a few hundred or thousand disks, and theres like hundred thousand disks out there .. plus the problems listed above -- several version of each crack disk, plus MSA versyus ST versus STT versions of the same disk, plus people saving their games on the disk and suddenly losign their DB mapping of the file .. great at first, but not really a great solution.
- some projects exist to make this easier; TOSEC for example. ie: rename disk images to have their app-list in the filename, up to a point; that works well if its been done, but for all the common crack groups (pompei pirates, super gau, automation, etc) you're out of luck; "GameBase" is another approach, but I think they goofed it in a lot of ways -- using a Microsoft specific format (Access DB if I recall right) is silly; coudl try to export the data, but.. bleh, lose interest quick
- for the big crack groups, usually you have a textfile that is the table of contents; map of a filename to a list of whats in it. ie: It'd say A_132.ST was Foo, Bar, Whizzo on the disk; filename changes due to renames (ST->MSA etc) would still break it, but perhaps could just ignore file extension and still get a match. More to point, in our case, we could create out own textfile 'database', and user coudl maintain it themselves. As short or long as they like, and it would only take one person to just get all the crack groups table-of-contents and append them together, and voila.. easy file to include in the Hatari pnd!
- so, if we did make a mapping file to map filenames to disk contents (easily done; I volunteer myself to do it!), what could we do with it?
- one option is to write a program that reads that table of contents file and renames all the files to the app list; that would work if only a few things on there, but if they're long names or lots of things, would blow up; pretty tempting idea though. ie: Given existing Automation, SuperGau, etc table of content files, it might work just fine for .. 50 or 80% of the files? ie: If you have A_12345.ST, rename it to "Falcon;Populous;GFA Basic.ST"; TOSEC did a lot of this, for instance.. but what if you want to use Automaiton, or Super Gau, or Pompei Pirates, or whatever, 'unchanged' beyu0ond filename? This is one simple hack. (Mind you, I dislike the idea of renaming a file that has been the same name for 20 years. It seems disrespectful, but if I did this, I'd keep a second directory of renamed files
- another option is to build into hatari an option so that it could read this table of contents file, and then show the list of stuff beside the filename in the directory picker; since we only have so much horiaontal screen space, we could see only so much, but it might be enough; further, you could edit the table of contents file to have the good bits first on the line; ie: instead of showing "A_12345.ST", show "A_12345.ST Falcon;Populous; GFA Basic" (or as much would fit into whatever space the picker shows you.) ie: To save on the actual renaming of the files.
- physical renaming 'works forever', in every app thereafter, so is actually pretty appealing; but doing the above filename look up might not be hard either. *shrug*
- could (additionally) add an option so you hit a key and it'd pop up the list of stuff on the disk, multiple lines long (A dialog box); you may recall I did something like this on the gp32; given "A_12345.ST Falcon; Pop..." (out of space on screen), hit a key to get a dialog box listing.
The "rename" option woudl be pretty handy for _me_, maybe; copy all the supergau stuff into one directory, suck down a file and format it just so, and run a rename-job on it; then you're "done" and good forever, on any emu. But it feels weird to rename files that have been the same filename for 20 years.
Hmm.
Any thoughts?
I hate looking at "A_137.ST" and having to remember what automaiton shit is on there
So.. any thoughts, or has this problem been solved better already somewhere?
Yes, I'm aware of various scenes/groups having done renames already; like I said .. you can get some crack groups disks whov'e been renamed already, or indexed by GameBase, or get a "TOSEC set", etc; bur in my case.. I really just want a directory of Automation stuff (that I legitimately all own, of course*), shown by appropriate filename, but still being an automation group of files.
jeff
* And btw, you have no idea how fearsome a pile of stuff I have. I actually down own several hundred arcade games, several thousand ST floppies, a complete colleciton of Atari 2600 carts (excepting super rare ones sadly.), and so on; though my SNES and NES and Genesis collection of carts is relatively small as I skipped that generation of consoles. And yes, I do rip my own ROMs from carts, floppies, etc, and can dig up my blog entries or write up how-to's if you really want to know. Some of us do try!