Live data from Hacker News

Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

dolphin-emu.org

51–60 of 69 posts

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#51
post #34
post #27

Earlier quoted context omitted.

Dolphin can't play Wii U games, but it can play games released on Wii U's Virtual Console platform, which is the case here

I never knew that! This project is just so well done. Always amazing to find out new features.

Actually I may have been mistaken. Paper Mario was also released for Wii Virtual Console (not exclusively Wii U) so I may have downloaded that one.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#52
post #39
post #37

Earlier quoted context omitted.

I'm not sure how it works technically under the hood. I got Paper Mario as a ".wad" file instead of the normal .iso that you see for GC/Wii/WiiU games, and Dolphin was able to load the .wad file.

Shall I assume you didn't copy it from your Wii U console? if you downloaded it from somewhere, it probably was the original Wii version.

Ah, you are probably right, my mistake. Unfortunately I can't edit my original comment now. I was under the impression it was a Wii U file since I downloaded it from a reddit link I found that said it was a Wii U Virtual Console title. But, doing some research it was also released for the original Wii VC at some point, so it's likely that's where the file came from.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#53

Earlier quoted context omitted.

It might be instructive to flip the question around: what would Nintendo sue for? For which works of authorship is Dolphin infringing the copyrights? Which Nintendo patents or trademarks does Dolphin infringe? If the angle is contributory infringement based on users running illegally copied games, how does Dolphin fail to pass the "substantial non-infringing uses" test? The only emulator project I know of that was ap…

And yet, so many amazing emulator projects have been sued out of existence. Remember Bleem, the Windows program that played contemporary Playstation games? Bleem actually won the court case, but the legal costs forced them out of business. And then there was the time Sony sued Connectix for their emulator. Sony got an injuction, and while Connectix won in appeal, they also ran out of money and closed. Nintendo, on th…

I'm not convinced that many emulators have been sued out of existence; do you have more examples? Over the past quarter-century, there have been countless emulators released, at least a couple dozen of which achieved considerable fame. Of the examples mentioned so far, only one (Connectix) actually hinged on an issue that was substantially related to emulation (copies of the PS1 firmware used for reverse engineering during development). The bleem! case was primarily about commercial use of screenshots, and the NGP emulator matter was about the emulator's name containing an unrelated trademark (and, to my knowledge, never actually went to court).

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#54
post #40
post #8

Earlier quoted context omitted.

No / yes / only once. It's just an mprotect(2) call to change the page from R+W to R+X. It needs to happen between the JIT being done creating a hunk of code and the first execution. Basically: allocate a page, write generated machine code to the page, change page to executable, patch page in (so the code gets invoked instead of either interpretation or a baseline compiler). I'm sure you can be smarter about it and i…

On m1 switch RX to RW and back does not require a syscall The mprotect call will fail as that isn’t a valid mechanism to toggle rw/rx

Can you give a citation that mprotect will fail? Yes there's the new, faster mechanism, but I'm surprised that they broke mprotect.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#55
post #38

Earlier quoted context omitted.

I don’t really understand how they consider an effect to be ‘undefined’; did Nintendo ever release documentation for this hardware?

There is (was) extensive developer documentation. I don’t know if it’s ever been made openly public.

And it's fraught with problems if the Dolphin team were to use any of the information from those Nintendo links that they can't prove they determined/discovered/developed independently. Most emulator developers are avoiding those even if there might be useful documentation in there. These blogposts are informative as hell but they also do the job of covering their asses by showing their original work.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#56
post #25

Earlier quoted context omitted.

To elaborate a bit more on the GPU peak FP32 perf: > VideoCore VI @ 500MHz: 500 [MHz] x 2 [slice] x 4 [qpu/slice] x 4 [processor] x 2 [op/clock] = 32 Gflop/s which is the RPi4 config. compared to a Snapdragon 800: 147.9Gflops FP32, and that's still a very old part. And about the Wii itself: > With the Wii, Nintendo opted to go with an innovative control scheme, rather than to focus on processing power. It offered 12…

Ok, sounds like the Pi’s VideoCore VI is a lot less performant than I thought. I’d imagined it’d be closer to other mobile GPUs.

My understanding is that the VideoCore architecture was initially designed as more of a "media codec coprocessor", and was incidentally able to grow enough matrix math throughput to be pressed into service as a GPU.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#58

Not only am I always impressed by Dolphin, but by how interesting and detailed their blog posts are! If only other software projects could do the same. I don't even really play games much anymore, especially Nintendo games, but somehow I always come away with delight when I read the Dolphin progress updates and so on.

I agree.

When I read of Dolphin or MAME updates I feel like the world is a better place.

Why is this?

It seems bigger than just the joy of knowing old games will be preserved forever.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#59
post #36

Earlier quoted context omitted.

Yes, Gamecube (and Wii) games are upscaled right up to 4K and they look great. Many games work in 16:9 widescreen also (Gamecube was originally 4:3). For many games there are even community high-def texture packs that you can add to make them look even better. [ Edit: Sorry, was talking about Dolphin here, not Wii U!]

> Many games work in 16:9 widescreen also (Gamecube was originally 4:3). There are a handful of GameCube titles that were 16:9 native widescreen on the original console. The one that comes to mind for me is Serious Sam: The Next Encounter

F-Zero GX has a widescreen option as well. It's probably one of the better looking games when you can pump it at 1080p or higher, but I don't think a Pi is quite ready for that level of abuse yet. Maybe another 2-3 generations of new Pi hardware.

Re: Dolphin Emulator - Dolphin MEGA Progress Report: April and May 2021

#60
post #40

Earlier quoted context omitted.

On m1 switch RX to RW and back does not require a syscall The mprotect call will fail as that isn’t a valid mechanism to toggle rw/rx

Can you give a citation that mprotect will fail? Yes there's the new, faster mechanism, but I'm surprised that they broke mprotect.

it's possible the old mprotect call will work if you use the appropriate initial mmap flag to get a jit region, but I would be surprised. The rules for rwx regions are already very restrictive compared to mmap/mprotect/etc APIs on other platforms.

I don't have an M1 Mac to test myself, but the "faster" mechanism doesn't involve anything in the pagetables, so I think toggling pagetable walks into the existing restrictions on RWX allocations.

Post reply on HN