Skip to content
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

Adding DRC (Wii U GamePad) support to Not64 (basing in FIX94's work) (experimental, needs testing) #4

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

saulfabregwiivc
Copy link

@saulfabregwiivc saulfabregwiivc commented Dec 17, 2021

Hi there @Extrems
As a member of GBAtemp and GitHub, i would like to contribute for the first time with Not64, with these commits i've made in the source code i will try to add DRC (Wii U GamePad) support.

These code were taken principally from @FIX94's mupen64gc-fix94 (which is based in Wii64 Beta 1.1 too), using the great library libwiidrc (https://github.com/FIX94/libwiidrc).

Remember, this contribution is still experimental, so this need to be tested. If you can compile a build of Not64 with these changes for test it with another friend, I will be grateful.

EDIT: there are two extra commits for try to add of the best way the libwiidrc library usage, can you review them?

Please review these changes, and if they are sucessful, can you merge them?

Thanks, @saulfabregwiivc

@Invictaz
Copy link

Very nice pull request

@Xpl0itU
Copy link

Xpl0itU commented Jan 17, 2022

Could anyone provide a built version?

@saulfabregwiivc
Copy link
Author

@Extrems didn't add this to Not64 yet.
But we need a compiled test build of Not64 which includes my code for add DRC (Wii U GamePad) support.
Since Not64 is built using devkitRice, i can't compile it by myself.

@saulfabregwiivc
Copy link
Author

@Extrems any chance for review my pull request and merge this to main Not64? This emu is the only one to have missing Wii U GamePad support.

@saulfabregwiivc
Copy link
Author

@Extrems didn't add this to Not64 yet. But we need a compiled test build of Not64 which includes my code for add DRC (Wii U GamePad) support. Since Not64 is built using devkitRice, i can't compile it by myself.

use this not64-20161209.zip

that's the source code of Not64 r20161209, but what stuff do i need for compile it?
(i mean:
devkitPPC version r???
libOGC version ????
portlibs version ????
other stuff i need on my devkitPro for compile?)

And this doesn't require that private toolchain devkitRice?

@leodexe
Copy link

leodexe commented Jan 12, 2023

Honestly, this emulator is better than Cube64 and Wii64, Both Cube64 and Wii64 sucks, Yeah i think i prefer this over Wii64,

I don't think so. Some games run better on Not64, like F-Zero X, that's true, and some games are only playable on Not64, like Diddy Kong Racing Adventure Two (Mirror Mode). But Not64, specifically it's graphic plugins glN64 has flaws. So that's why Wii64 with Rice plugin despite being outdated for more than a year than Not64, it still has better performance with some specific games, namely Goldeneye, Perfect Dark, Mario Kart 64 (30 and 60FPS Hacks), and Cruisn'n World. The only flaw with Not64 is that is being developed with only one GFX plugin in mind, which severely limits it's compatibility, I know developing these kind of things may be actually difficult given that emukidid hasn't updated Wii64 in a while, but someday I hope both projects are merged and we can eventually enjoy an unified N64 emulator for the Wii with both graphic plugins having performance upgrades. Speaking of which, the games where Not64 runs better now have achieved more stable framerate, which Wii64 is lacking behind but it will catch sooner or later.

For the time being, it's just better to use both emulators because one will always outperform the other in some games.

@gilmorem560
Copy link

Non-value-added commentary but I've been interested in plinking around in this codebase over the years, but have never quite figured out how to even build it. I've only tried with vanilla devkitppc a few times, other times I've tried pulling down libogc and stuff and targeting a generic ppc-unknown-elf toolchain, neither of which have I ever really gotten into a workable state with this codebase to actually get a running elf.

Is there a current set of build requirements and instructions somewhere? I seem to recall reading things in code that suggested that this isn't targeting upstream devkitppc but rather some modified libogc somewhere. Am I off base?

@carnage702
Copy link

Non-value-added commentary but I've been interested in plinking around in this codebase over the years, but have never quite figured out how to even build it. I've only tried with vanilla devkitppc a few times, other times I've tried pulling down libogc and stuff and targeting a generic ppc-unknown-elf toolchain, neither of which have I ever really gotten into a workable state with this codebase to actually get a running elf.

Is there a current set of build requirements and instructions somewhere? I seem to recall reading things in code that suggested that this isn't targeting upstream devkitppc but rather some modified libogc somewhere. Am I off base?

yeah not64 uses a custom devkit so you cant build it for all we know, you can easily build wii64 which has most of the not64 fixes and rice plugin, you can mod it at will https://github.com/emukidid/Wii64

@AndroidDimitris
Copy link

Could the Not64 emulator for vWii have the ability in Manual Input settings to choose Wii Classic Controller Pro? My example is the EMIO Wii U Pro controller which has button to switch from Wii Remote to controller Pro. Could Not64 set so that this controller could function as Wii Classic controller Pro or Wii U Pro controller inside the game?

@Extrems
Copy link
Member

Extrems commented Jun 17, 2023

I don't understand the question. Both the Wii Classic Controller Pro and Wii U Pro Controller are supported.

@AndroidDimitris
Copy link

AndroidDimitris commented Jun 17, 2023 via email

@AndroidDimitris
Copy link

I think that 3rd party Wii U Pro controllers don't work on Not64, as mine.

I don't understand the question. Both the Wii Classic Controller Pro and Wii U Pro Controller are supported.

@carnage702
Copy link

I think that 3rd party Wii U Pro controllers don't work on Not64, as mine.

I don't understand the question. Both the Wii Classic Controller Pro and Wii U Pro Controller are supported.

this is normal, most fake/3rd party controllers have a very hard time working on homebrew in general because they have diferent call setups so dont buy fake/3rd party if you expect to use it on homebrew, also its preety damn hard for extrems to add support for that specific controller if he himself doesnt own one to check the calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants