-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General information I found while looking into thumbnails #1
Comments
If you add a larger image than 120x120 to the pce_thumbs file will render just the part of it that fits the buffer, and fill the rest with gray pixels. |
Great information to know. I am going to play around with pixel size when i get the chance. Also i need to try to figure out what CRC32 or other mechanism they are using for CD games. |
Over on reddit I saw this: https://www.reddit.com/r/AnalogueInc/comments/18oieeq/analogue_duo_library_images_full_set_included/
|
Just noticed myself that the hash matches the first Data section of the disk (usually track 2). You can look up this in redump: For example, Snatcher has the list and pcecd thumbs file hash of 9fa5e9d2, Which is the first data track according to http://redump.org/disc/35095/ |
This should be scriptable from the datfile at http://redump.org/datfile/pce/ |
I am working on updating it. I have the logic working to automatically sense the type of datfile (hucard vs CD) and choose between track 1 and 2 or 01 and 02 they use both in different cue files. The redump filenames do not match the thumbnail names (see below), going to work on some regex voodoo tomorrow and see how it goes (I am pretty tired so might be overthinking it). Plus the only official discs I have to try are YS I&II (USA) and YS III (USA) Thumbnails:
redump:
|
Read the docs on thumbnails special character replacement and completely reworked the script. It creates hucard and cd bin files (Using the stock no-intro and redump DAT files). There are a few Demos and Alt versions missing but working on it. Will release new releases. Still some work to do. |
Hi! Not really an issue but I thought I would summerize stuff I found while generating images for the Duo, that might help you out a bit.
If you have problems with getting the images to show up in the library list view even if they work in the detailed view:
The thumbnails for the list view is govern by pce_thumbs.bin, this file does generate a thumbnail from the image automatically when booted once (added to the library), but it currently (1.1b) writes the wrong magic for the generated images (IDA instead of IPA), if hexedited to be correct it shows up. However it generates a 120x120 file, that gets cut off 12 pixels from the bottom (probably to fill the width). So if you want it to not be cut off you would have to generate a 120x120 black image, and blit a 108x108 image onto it.
Generated image:
Rescaled and inserted into pce_thumbs:
Format of the pce_thumbs file is
? [1b]
MAGIC (FTA) [3b]
? (0xCE1C) [4b]
Amount of thumbnails [4b]
Repeated per thumbnails:
At the location mentioned in the offset, the IPA image is located.
The text was updated successfully, but these errors were encountered: