not64 icon indicating copy to clipboard operation
not64 copied to clipboard

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

Open saulfabregwiivc opened this issue 3 years ago • 19 comments

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

saulfabregwiivc avatar Dec 17 '21 18:12 saulfabregwiivc

Very nice pull request

Invictaz avatar Dec 17 '21 22:12 Invictaz

Could anyone provide a built version?

Xpl0itU avatar Jan 17 '22 19:01 Xpl0itU

@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 avatar Jan 23 '22 18:01 saulfabregwiivc

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

juanroman74454811 avatar Aug 30 '22 14:08 juanroman74454811

Also would anyone make an compatibility list?

juanroman74454811 avatar Aug 30 '22 14:08 juanroman74454811

@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 avatar Aug 30 '22 16:08 saulfabregwiivc

@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.

Hey. how do implement Wii U gamepad support? Do i just code key pressing? and joystick moving?

juanroman74454811 avatar Aug 30 '22 16:08 juanroman74454811

@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

juanroman74454811 avatar Aug 30 '22 16:08 juanroman74454811

make sure to find other stuff that might help you,

juanroman74454811 avatar Aug 30 '22 16:08 juanroman74454811

@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?

saulfabregwiivc avatar Aug 31 '22 13:08 saulfabregwiivc

hand this instead libogc-rice-master.zip and compile both devkit ppc version r??? libogc version ???? and all the other stuff i think i need to figure out how this is all coded

juanroman74454811 avatar Aug 31 '22 20:08 juanroman74454811

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.

leodexe avatar Jan 12 '23 15:01 leodexe

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?

gilmorem560 avatar Jan 12 '23 16:01 gilmorem560

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

carnage702 avatar Jan 12 '23 17:01 carnage702

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?

AndroidDimitris avatar Jun 17 '23 10:06 AndroidDimitris

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

Extrems avatar Jun 17 '23 14:06 Extrems

The meaning is having an ability to set for use the Wii Remote horizontally as we use the Classic pro controllers in the game and not motion sensor, with a setting, either motion sensor or simple gamepad.

Στις Σάβ, 17 Ιουν 2023, 5:49 μ.μ. ο χρήστης Extrems < @.***> έγραψε:

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

— Reply to this email directly, view it on GitHub https://github.com/extremscorner/not64/pull/4#issuecomment-1595778269, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAUAGPX4REOVCTWWD53V6XTXLW7WFANCNFSM5KJOQJ3A . You are receiving this because you commented.Message ID: @.***>

AndroidDimitris avatar Jun 17 '23 15:06 AndroidDimitris

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.

AndroidDimitris avatar Jun 17 '23 15:06 AndroidDimitris

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.

carnage702 avatar Jun 17 '23 21:06 carnage702