Emulation [RELEASE] Cemu - Wii U emulator

  • Thread starter Exzap
  • Start date
  • Views 7,188,527
  • Replies 21,662
  • Likes 283

NiagA

Well-Known Member
Member
Joined
Sep 23, 2016
Messages
394
Trophies
0
Location
in your mind
XP
341
Country
Brazil
September News

Hi patrons
today we will share some news about the upcoming Cemu release 1.9.2.

This update is scheduled to release on 25th September.

Big audio update

The main focus of version 1.9.2 has been audio.

First a bit of history: When we originally started working on Cemu we already had some experience with emulators, but we had never worked on anything the scale of Cemu. Naturally, when you lack knowledge there is a tendency to make bad decisions without realizing it. One of those early flaws in our way of thinking was '99.9% accuracy is good enough'.

During early development of Cemu, we would occasionally prioritize progress over accuracy. Meaning that we sometimes took shortcuts when we believed that there will be no side effects. The lesson that took us a long time to learn: There are always side effects, but they may be hidden for a long time.

So how does this all relate to sound? Our current way of handling sound emulation is riddled with these aforementioned 'shortcuts'. Initially, our early sound code was mostly based on educated guesses. In Cemu 1.6.3 we somewhat rectified this mistake by rewriting a lot of the audio code, but not everything. Today, even with what can be considered '99% accuracy' in sound emulation, there are still many unsolved audio issues. It's that 1% in difference that leads to a plethora of problems. Worst of all, in many cases we understand why sound is not working as intended but cannot fix it because it would lead to something else being broken.

So for 1.9.2 we decided to go back to the drawing board. We scrapped all audio related code and started from scratch. But this time we made sure to first meticulously analyze every single function of the original Cafe OS sound drivers. We then reimplemented them as close as possible to make sure we replicate even the tiniest quirks of the original Wii U sound code.

Sure enough, after almost 4 weeks of non-stop work we have arrived at a point where the new sound implementation is on par with the old one in regards to supported features. As expected, a ton of sound problems have been fixed as we went from 99% to 100% accuracy. That said, we aren't done yet and work on audio will continue until October.

Here are some of the sound improvements that we found in our tests for 1.9.2:

Stereo mixing working as intended in every game
Audio output working in VC games and NES Remix
No (or at least far less) crackling in games that were prone to it (Wind Waker HD for example)
Correct volume for most sound effects
No more random/corrupted/looping sounds
No stuttery sound (Super Smash Bros https://streamable.com/u9p7h)
Any other remaining sound issues will likely be addressed in 1.9.3.

On a side note, we also implemented the utilization of RDTSC in this release. Simply put, RDTSC https://en.wikipedia.org/wiki/Time_Stamp_Counter allows us to accurately and quickly measure time with nanosecond precision. This is especially useful for audio where some games rely on exact timing.

Customizable mlc01 path

Cemu 1.9.2 will add a small convenience feature as well:

the ability to use a custom path for the mlc01 directory (specified via command line parameter). This allows to store game updates, dlcs and the save folder independently from the Cemu binary.

Update on some other issues

As usual, the new version will include minor fixes and improvements:

Updated SSB will boot again
Input improvements and bug fixes
The XCX freeze issues are still under ongoing investigation.

New forum

Lately we noticed that a lot of the questions that come up on the Cemu subreddit and discord have been asked and answered before. The problem is that due to the nature of discord and reddit, information quickly moves out of sight. Both platforms are more suited for discussing recent news and events but they aren't ideal for something that should be visible for a long time, like guides or common troubleshooting questions.

So in order to alleviate this problem and hopefully cut down on the repeated questions, we decided to create a forum. You can find it at https://forum.cemu.info
 
  • Like
Reactions: yapel

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
September News

Hi patrons
today we will share some news about the upcoming Cemu release 1.9.2.

This update is scheduled to release on 25th September.

Big audio update

The main focus of version 1.9.2 has been audio.

First a bit of history: When we originally started working on Cemu we already had some experience with emulators, but we had never worked on anything the scale of Cemu. Naturally, when you lack knowledge there is a tendency to make bad decisions without realizing it. One of those early flaws in our way of thinking was '99.9% accuracy is good enough'.

During early development of Cemu, we would occasionally prioritize progress over accuracy. Meaning that we sometimes took shortcuts when we believed that there will be no side effects. The lesson that took us a long time to learn: There are always side effects, but they may be hidden for a long time.

So how does this all relate to sound? Our current way of handling sound emulation is riddled with these aforementioned 'shortcuts'. Initially, our early sound code was mostly based on educated guesses. In Cemu 1.6.3 we somewhat rectified this mistake by rewriting a lot of the audio code, but not everything. Today, even with what can be considered '99% accuracy' in sound emulation, there are still many unsolved audio issues. It's that 1% in difference that leads to a plethora of problems. Worst of all, in many cases we understand why sound is not working as intended but cannot fix it because it would lead to something else being broken.

So for 1.9.2 we decided to go back to the drawing board. We scrapped all audio related code and started from scratch. But this time we made sure to first meticulously analyze every single function of the original Cafe OS sound drivers. We then reimplemented them as close as possible to make sure we replicate even the tiniest quirks of the original Wii U sound code.

Sure enough, after almost 4 weeks of non-stop work we have arrived at a point where the new sound implementation is on par with the old one in regards to supported features. As expected, a ton of sound problems have been fixed as we went from 99% to 100% accuracy. That said, we aren't done yet and work on audio will continue until October.

Here are some of the sound improvements that we found in our tests for 1.9.2:

Stereo mixing working as intended in every game
Audio output working in VC games and NES Remix
No (or at least far less) crackling in games that were prone to it (Wind Waker HD for example)
Correct volume for most sound effects
No more random/corrupted/looping sounds
No stuttery sound (Super Smash Bros https://streamable.com/u9p7h)
Any other remaining sound issues will likely be addressed in 1.9.3.

On a side note, we also implemented the utilization of RDTSC in this release. Simply put, RDTSC https://en.wikipedia.org/wiki/Time_Stamp_Counter allows us to accurately and quickly measure time with nanosecond precision. This is especially useful for audio where some games rely on exact timing.

Customizable mlc01 path

Cemu 1.9.2 will add a small convenience feature as well:

the ability to use a custom path for the mlc01 directory (specified via command line parameter). This allows to store game updates, dlcs and the save folder independently from the Cemu binary.

Update on some other issues

As usual, the new version will include minor fixes and improvements:

Updated SSB will boot again
Input improvements and bug fixes
The XCX freeze issues are still under ongoing investigation.

New forum

Lately we noticed that a lot of the questions that come up on the Cemu subreddit and discord have been asked and answered before. The problem is that due to the nature of discord and reddit, information quickly moves out of sight. Both platforms are more suited for discussing recent news and events but they aren't ideal for something that should be visible for a long time, like guides or common troubleshooting questions.

So in order to alleviate this problem and hopefully cut down on the repeated questions, we decided to create a forum. You can find it at https://forum.cemu.info
This is all very good news. Now that the team's finally fixing "shortcuts" and performance hacks I think this will lead to a lot of improvements overall to the underlying code
 

tet666

Well-Known Member
Member
Joined
Oct 17, 2003
Messages
152
Trophies
2
XP
473
Country
Gambia, The
You mean "back"... :)

Of course :D

I have similar feelings regards Mario Kart 8 on Polaris cards. I used to back, but stopped when the only game I'm interested in, stopped working on recent drivers.

Yeah Xenoblade is broken for months now and TMS never worked (Devs did say it's a lot of work though) i know it's probably not really true but i just can't shake the feeling they always go for the work which gives them best chance to get a lot of donations every month and neglect the rest a bit.
 
Last edited by tet666,

AndreaB

Member
Newcomer
Joined
Jun 20, 2017
Messages
13
Trophies
0
Age
44
XP
82
Country
Italy
Of course :D



Yeah Xenoblade is broken for months now and TMS never worked (Devs did say it's a lot of work though) i know it's probably not really true but i just can't shake the feeling they always go for the work which gives them best chance to get a lot of donations every month and neglect the rest a bit.

I Feel like the amd driver point is a valid point to be pissed off, while the per game logic is not right for to ask. They have to work on emulation accuracy more than on a per game success, is the only way emulators can move forward.
 

ionelush2001

Well-Known Member
Newcomer
Joined
Nov 25, 2008
Messages
53
Trophies
1
XP
324
Country
Romania
I quite this game named Cemu form the last good build 1.6.4, when Xenoblade X worked and finished the game, Tokyo Mirage Sessions FE. is a lost cause.
Now I am playing RPCS3, it started to work with more games slow and with glitches, my PS3 is collecting dust waiting to start Persona 5, after I finish The Legend of Heroes Trails of Cold Steel II on RPCS3.
 
Last edited by ionelush2001,

Ramza_Lugria

New Member
Newbie
Joined
Oct 8, 2017
Messages
1
Trophies
0
XP
41
Country
Brazil
Guys i'm new to this fórum, so if i make something wrong, i beg my forgiveness. I'm having the problem that the game get stuck on the loading screen after some battles, i've been trying everything to fix this but no sucess (sometimes happens a black screen instead of the loading), someone know how to fix this: ~
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @Mondooooo, there was a power outage while you were sleeping?