I’m writing a small Windows application to identify game roms and display basic information about it.
I’m writing a small Windows application to identify game roms and display basic information about it.
I finally added support for checking a file against multiple sources for data and picking the best one! In my first screenshot you can see it failing to check against a Wii game database, GameTDB, so it uses the name of the game on the disc (which isn’t very accurate). With the database downloaded, it correctly identifies the game.
I also added a menu for downloading these files! I’ll show off the download dialog when I flesh it out a little.
Log in to leave a comment
I added a thing to detect the types of files I’m detecting! So now I don’t need to check it with the Wii Disc Scanner if its not even a Wii game. That said… I still haven’t built in the online features, but I can pull some information from Wii games directly. Sadly, this is the easy system to support (the other being the PlayStation 3 purely because i’ve done all the work for that on a different project). Older systems that predate the console telling you what the game is called will be more challenging to show detailed information about. We’ll see how it goes…
(if you’re curious how this took so long, I’m still learning how Winforms works… AND I made the silly decision to write this program in .NET Framework, which isn’t actually updated (other than security) anymore. the library I use for magic number checking, Mime-Detective, is intended for .NET core (the open source version), and it uses a newer C# version as it uses features not available in the version used on netstandard2.0, which is a set of standard APIs for sharing code between .NET Framework and .NET Core. Turns out you can just… change the C# version in the .csproj file. It feels suuuper wrong but hey i’m not stuck coding like it’s {{release date of c# 7.8 here}} so that’s a neat bonus, and it works so i can’t really complain can i)
Log in to leave a comment
okay, so i did a couple of things:
Initially, I was going to embed DolphinTool to read the title id, but it turns out its stored uncompressed at the beginning of the file so i can just yoink it out of there.
I still need to make it more generic though!! i’m figuring out how to make it deal with roms that are redump or no-intro verified.
anyway here’s the title id grabbing working
Log in to leave a comment
Took a while to figure out how drag-n-drop works in winforms, now I’ve got a thing that can tell me the file extension of a given file! Using this I should be able to work out the type of rom and search against a database of some kind, but the logic for that will have to wait until tomorrow
Log in to leave a comment
Created a boilerplate Winforms project in Visual Studio! Going to start with the basic UI design before I work out the identification logic.
Log in to leave a comment