Sonic and Sega Retro Message Board: ROM Properties Page shell extension - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 3 Pages +
  • 1
  • 2
  • 3
    Locked
    Locked Forum

ROM Properties Page shell extension v0.9-beta2 now available!

#1 User is offline GerbilSoft 

Posted 20 July 2016 - 12:51 AM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
ROM Properties Page v0.9-beta2 is now available for download!

https://github.com/G...erties/releases

v0.9-beta2 has lots of changes.

New features:
  • GTK+ frontends (GNOME, XFCE) (No thumbnailing in XFCE yet.)
  • Command line frontend (rpcli)
  • Windows: Fallback handling for common file extensions.

New systems:
  • Nintendo 64
  • Super NES
  • Sega Dreamcast save files
  • Virtual Boy
  • amiibo NFC dumps
  • Nintendo Entertainment System

Download links:

Note: For Windows, you will need the MSVC 2015 runtime: https://www.microsof...s.aspx?id=53587

Note 2: For *ubuntu, you should install both the KDE4 and KDE5 packages, since there's still quite a few KDE4 applications that haven't been ported to KDE5.

So, what does this shell extension do?

Got a USB hard drive with Wii disc images for USB Loader GX or the Dolphin Emulator? Now you can actually see what those discs are:

Posted Image

Or maybe you're using Nintendont for GameCube:

Posted Image

How about some in-depth information on a GameCube save file? (The icon will be animated if your browser supports APNG.)

Posted Image

----------------------------------------------------------------

Original post:
Spoiler

This post has been edited by GerbilSoft: 08 February 2017 - 11:51 PM
Reason for edit: s/Gnome/GNOME/g

#2 User is offline Overlord 

Posted 20 July 2016 - 05:21 PM

  • Substitute Meerkovo IT Chief
  • Posts: 15997
  • Joined: 12-January 03
  • Gender:Male
  • Location:Berkshire, England
  • Project:VGDB
  • Wiki edits:3,204
Looks interesting! This might well be something I install if/when it reaches Windows and xfce.

#3 User is offline GerbilSoft 

Posted 23 July 2016 - 04:18 PM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
Now with Nintendo DS icons! (The blurriness is caused by the fact that the icons are 32x32, and the Dolphin file manager is upscaling them.)

Posted Image
This post has been edited by GerbilSoft: 23 July 2016 - 04:19 PM

#4 User is offline GerbilSoft 

Posted 28 July 2016 - 11:26 PM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
And now, Nintendo DS icons on Windows XP:

Posted Image

No property page yet. Also, COM sucks.
This post has been edited by GerbilSoft: 28 July 2016 - 11:27 PM
Reason for edit: +XP

#5 User is offline Covarr 

Posted 29 July 2016 - 11:08 AM

  • Sentient Cash Register
  • Posts: 3890
  • Joined: 05-February 07
  • Gender:Male
  • Location:The desert of nowhere, USA
  • Wiki edits:1

View PostGerbilSoft, on 28 July 2016 - 11:26 PM, said:

And now, Nintendo DS icons on Windows XP:
-SNIP-

You don't know how happy this makes me. I'm really impressed with how fast this is moving along, and I can't wait to see your continued progress on this.

#6 User is offline Techokami 

Posted 31 July 2016 - 10:08 AM

  • For use only on NTSC Genesis systems
  • Posts: 1223
  • Joined: 19-November 05
  • Gender:Male
  • Location:HoleNet!
  • Project:Sonic Edge
  • Wiki edits:63
I'm very excited about this, since I want to make my ROM folders not look like crap. Hoping for icons for other platforms like Game Boy!

#7 User is offline GerbilSoft 

Posted 31 July 2016 - 11:49 AM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
Game Boy ROMs obviously don't have built-in icons, so it'd have to rely on an external database. That having been said, I am planning on adding at least GameTDB support for disc thumbnails for GameCube and Wii.

#8 User is offline GerbilSoft 

Posted 31 July 2016 - 04:08 PM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
And now, time for some "external" media scans:

Posted Image

Posted Image

I added a libcurl-based downloader in the KDE version. It retrieves disc scans from GameTDB for GameCube and Wii games.

Not seen in the GCN screenshot: A change to handle the second disc for two-disc games, e.g. Resident Evil 4.
Also, the *.wbf1 files in the Wii screenshot are "second half" files, since I recently converted my Wii HDD to FAT32. (It was previously NTFS.)

Some minor issues with the current implementation:
  • Images are not cached outside of the system thumbnail implementation. This means that if you have two copies of e.g. Super Smash Bros. Brawl (RSBE01), it has to download the image twice. I'll add a local caching mechanism for the shell extension later.
  • The images are not transparent. Dolphin applies a highlight so it works fine as long as the background color is white. I'll need to crop the circles using the Qt drawing tools (and GDI or GDI+ once I add ths in the Windows version). (The cropped versions will be cached by the system thumbnail implementation, not the shell extension. Only the original images will be cached by the shell extension.)
  • GCN/Wii region codes are a bit screwy in some cases. For example, the "PAL" code is used for multi-lingual releases in Europe, and there's currently no way to prefer a specific language for these. (I'm currently defaulting to "EN".) [The real issue is that the discs have different labels in different countries, but the data is identical.]
  • Similarly, there's some releases that have different subsets of languages in different builds of the game, with region codes 'W', 'X', 'Y', and 'Z'. I'm defaulting to "EN" for these as well. (Bonus: 'W' is also used for Taiwan.)

This post has been edited by GerbilSoft: 31 July 2016 - 04:21 PM
Reason for edit: +actual description of what these images are showing

#9 User is offline Hivebrain 

Posted 31 July 2016 - 05:19 PM

  • Posts: 2654
  • Joined: 15-January 03
  • Gender:Male
  • Location:53.4N, 1.5W
  • Project:HivePal 2.0
  • Wiki edits:6,176
You could have a built-in emulator that runs at high speed and takes a screenshot after 20 in-game seconds. This is more or less how video thumbnails are made.

#10 User is online MainMemory 

Posted 01 August 2016 - 10:45 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3712
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
For Wii/GCN games? Hope you enjoy your computer spending an hour at 100% CPU usage.

#11 User is offline GerbilSoft 

Posted 01 August 2016 - 12:15 PM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
Using an emulator might work for older systems, but the title screen doesn't necessarily appear at a fixed point. An online database is far easier to deal with (if it exists, at least).

Here's a partial TODO list of what needs to be done right now before a v1.0 release: (parentheses indicate OS-specific implementations)
  • Add a local cache for downloaded external media. (Linux, Windows)
  • Add an external media downloader. (Windows)
  • Implement the ROM Properties page. (Windows)
  • Add a system logo and console description to the ROM Properties page.
  • Mega Drive: Detect subsystems, e.g. Mega CD, 32X, Pico.
  • GameCube, Wii: Cut out parts of the downloaded disc scans for transparency purposes.
  • Configuration program for determining which images are used for thumbnails, since e.g. GameTDB has covers and discs. (Linux, Windows)

This post has been edited by GerbilSoft: 01 August 2016 - 12:17 PM
Reason for edit: +config

#12 User is offline GerbilSoft 

Posted 10 August 2016 - 12:02 PM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
Some updates, in case anyone's interested:
  • Fixed a few reference leaks in the Win32 COM code.
  • Improved the libcurl-based downloader on Linux by checking the Content-Length header.
  • Started work on IExtractImage for Windows (not committed yet). This is needed in order to provide actual thumbnail previews instead of just icons. (IExtractImage is for XP; I'll also implement IThumbnailProvider for Vista+.)
  • Started work on a urlmon-based downloader for Windows, though I might scrap it in favor of WinInet, since urlmon only supports downloading to a file, whereas WinInet supports downloading to memory.

More TODO:
  • Need to implement the local cache for "external" downloads, so images don't need to be downloaded multiple times if e.g. you have multiple copies of the same game for some reason.
  • Possibly add a way to "import" files into the cache. I'm using a slightly different directory layout than GameTDB (separated by Wii, GameCube, and Triforce, rather than grouping them all together). One option is a 'fallback' cache key for GCN and Triforce; that is, check the correct system directory first, and if it's not there, check Wii.
  • Improve the downloader to keep a connection open to each server in the case that multiple images from one server are being downloaded. (http keep-alive)

This post has been edited by GerbilSoft: 10 August 2016 - 02:08 PM
Reason for edit: +keep-alive

#13 User is offline Hivebrain 

Posted 10 August 2016 - 08:33 PM

  • Posts: 2654
  • Joined: 15-January 03
  • Gender:Male
  • Location:53.4N, 1.5W
  • Project:HivePal 2.0
  • Wiki edits:6,176

View PostGerbilSoft, on 01 August 2016 - 12:15 PM, said:

Using an emulator might work for older systems, but the title screen doesn't necessarily appear at a fixed point. An online database is far easier to deal with (if it exists, at least).

It could have a built-in list of durations to run the emulator then. No worse than having a built-in list of thumbnail urls (which might all disappear one day).

P.S. Obviously I'm not talking about anything above Mega Drive here.

#14 User is offline nineko 

Posted 11 August 2016 - 06:36 AM

  • I am the Holy Cat
  • Posts: 5503
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
I won't personally use this because I don't like shell extensions in general, but I think the best way to handle it would be offering the user a triple option during the installation process:
  • never use thumbnails / icons whatsoever (just fill the property page and whatever);
  • use an external source for thumbnails and icons "on demand", so only relevant images are downloaded on the fly as needed;
  • download a gigantic library of images once and for all, which would make this usable even on computers without an internet access.


#15 User is offline GerbilSoft 

Posted 11 August 2016 - 08:06 AM

  • RickRotate'd.
  • Posts: 2670
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:5,000 + one spin
For the first release, disc thumbnails for GCN/Wii/Triforce will be automatically downloaded on demand from GameTDB.com. However, the local cache directory will use the same directory structure as their download packs, so it's possible to download the packs and install them offline. (I'll add an option to disable downloading entirely when I add a configuration UI.)

Icons from NDS games are always extracted on demand from the ROM image, since the icon is literally "right there".

  • 3 Pages +
  • 1
  • 2
  • 3
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users