RiiConnect24 / RiiTag

RiiTag is a customizable gamertag for the Wii.
https://tag.rc24.xyz/
GNU Affero General Public License v3.0
14 stars 7 forks source link

Handle Wii VC injects for Wii U #34

Closed Brawl345 closed 3 years ago

Brawl345 commented 3 years ago

I'm currently updating the Wii U plugin (see https://github.com/RiiConnect24/UTag/pull/3). Wii U games work flawlessly, but Wii VC injects aren't working. I currently send the whole TitleID (e.g. 0005000252535050 which is a Wii Sports inject). The last 8 numbers (52535050) are the ID4 of the title (RSPP). RiiTag only seems to support ID6 for Wii games, so one has to enter RSPP01 - this won't work for VC injects.

Covers are downloaded from GameTDB, but it doesn't support ID4... How should we proceed? Is it even possible?

TheShadowEevee commented 3 years ago

It should be possible I think, considering there is similar implementation for Wii U TitleIDs already; that list can be appended to or another list created to take the TitleID, Ex. 0005000252535050, and manually change it to be, for example, RSPP01 like you mentioned. A list of Wii games and their TitleID's would need to be made but it should be possible.

I feel like the question would be "Is this the best way to implement this", and "Who's going to make the list" considering this. I'm not sure if UTag passes the full TitleID or the ID4/ID6, so this solution may need to be implemented in UTag depending, although I think based on the other existing file RiiTag is the right place currently.

TheShadowEevee commented 3 years ago

This should be fixed/implemented in d1a76d4. Let me know if there are any issues.

RiiTag should now be able to take a TID like 0005000252535050 from above and translate it into the proper ID4-6 needed for use by RiiTag. This should mean little work to support anything new on the UTag side once the commit is pulled to the server.

Brawl345 commented 3 years ago

Thank you! Is this already live? I'm sending a request to

http://tag.rc24.xyz/wiiu?game=0005000252535050&key=mykey

but it shows wiiu-undefined; on my RiiTag page

TheShadowEevee commented 3 years ago

It should be live now, it never got pulled to the server before apparently. It should work now.

Brawl345 commented 3 years ago

Works now, thanks!