Peter Pears wrote:
Re applewin: ah, too bad, it just loads up the program. See, that's one of the reasons I would sometimes prefer to let Windows handle that sort of thing... would it be too much of a hassle to make it toggleable, or something? Or do "Unknown" file-types default to allowing the OS to do whatever it thinks best? Because in that case I might just leave these files as "Unknown" and be the happier for it.
Re DOSBOX: I can do it like that, I suppose... I just like the D-Fend way of doing things... but if Grotesque were to just assume it as "Unknown" and allow the OS to run it normally, then it would work well enough, I suppose...
I hope I'm not being too much of a pain - you're doing a wonderful job.
You're not being a pain, you're helping me make Grotesque the best program possible! Ok, ok, the best program with some bugs here and there, but good nonetheless.
Re: AppleWin, that's a shame. But...When we get 0.9.2 up and running (I think I've finished the GTK3 one, then I have to port to GTK2, then I have to build the Windows version), we'll try it anyway following what I've done for getting Dosbox to work:
So the best practice now would be to first set up your interpreters, and then import your library. So, in addition to the default formats supported by Grotesque, I added a format called "dos" (no quotes). In the interpreter, I set it as "dosbox" (which my system knows means the application; I could have also provided the full path). For extensions, I put "exe,bat", since DOS games are usually either executables or batch files.
Next, I imported a folder which contains the original Zork. When importing a folder or individual files, Grotesque now knows to also look for *.exe and *.bat files. It found two .exes, in the Zork folder but it couldn't extract ToB info from them so it drops me into edit mode. The first .exe was some other utility and not a game, so I hit 'Cancel', which skips it. For the actual zork.exe, Grotesque saw the .exe extension and, since no other formats use .exe, it figured that it must be a "dos" format game. If you click the big play button in the edit dialog, it launches Dosbox and Zork starts up right away. I went on IFDB, found the IFID for Zork and entered it in the field, hit the search button and the rest of the metadata was automagically filled.
So now, all .exe files are automatically recognized as Dosbox games. If it were a blorb and Grotesque can't extract the metadata, though, the format would be unknown, because it can't figure it out just from the extension.
Incidentally, I realized that ever since the original 0.2.1 code that I inherited, TADS3 games were being ignored (it wasn't looking for the .t3 extension)! So that's fixed too!
I think with this version, it will be much more stable and I can focus on smoothing out whatever rough edges and filling whatever holes remain.
: an interactive fiction library manager for LinuxPyIFBabel
: a Treaty of Babel library for Python