altra64 icon indicating copy to clipboard operation
altra64 copied to clipboard

Transmit the game ID (To support N64 Digital per-game settings)

Open browntownington opened this issue 3 years ago • 4 comments

Firstly major kudos to @AriaHiro64 and also @moparisthebest @adrianopteodoro for continued developments of altra64!

N64Digital allows per game settings when a game id is sent over the controller bus (joybus). Everdrive has recently been updated to support this. Details here https://twitter.com/PixelFXco/status/1391759938259673092

Pixelfx co has posted code to implement this with libdragon or C. Here https://gitlab.com/pixelfx-public/n64-game-id

Just wondering if anyone has had a crack at getting this going?

browntownington avatar Nov 22 '21 05:11 browntownington

Hey I want this too !! Any chance to get this into the code?

ottelo9 avatar Dec 27 '22 12:12 ottelo9

Unfortunately I don't have a N64Digital so I'd be unable to test this, but I'll leave the ticket open in case someone wants to implement it or I end up with one someday.

moparisthebest avatar Dec 27 '22 14:12 moparisthebest

Unfortunately I don't have a N64Digital so I'd be unable to test this, but I'll leave the ticket open in case someone wants to implement it or I end up with one someday.

I could test it for you. Or I have to implement this on my own. But actually I have no time to get into the code and the IDE. Is it easy to compile it?

ottelo9 avatar Dec 27 '22 16:12 ottelo9

Ok I implemented the code on my own into the altra64 source code from ariahiro64. Now I try to compile it somwhow.

EDIT: I forked the code from ariahiro64 and run the action to build it but I get this error: /home/runner/work/altra64/altra64/bin/OS64P.v64 doesnt exists, build failed.

EDIT2: Ok I found the solution. First I have to run the "build docker image" action and after this run the "build and release"! Now I have a compiled ready2use image, thanks to @moparisthebest for this work! Here is the image. I will test it now!

EDIT3: It works :) .But @ariahiro64 fork still has a bug: The PAL / NTSC detection of the rom doesnt work. If I set the "tv_mode" inside ALT64.ini to 0 (default) it only boots NTSC games. Some PAL games wont boot or show a "this game pak is only for PAL devices". If I set "tv_mode" to 2 (PAL) only PAL games are working ...

IMG_1239

ottelo9 avatar Dec 28 '22 20:12 ottelo9