Emulator Issues #8308

ProjectM custom tracks issues

Added by quentin.kuziara about 6 years ago.

% Done:


Operating system:
Issue type:
Relates to usability:
Relates to performance:
Relates to maintainability:
Regression start:
Fixed in:


Game Name?
Super Smash Bros Brawl USA (Project M)

Game ID?

What's the problem? Describe what went wrong in few words.
Custom tracks on ProjectM won't play. The original song is used instead and in a not proper way.

What did you expect to happen instead?

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]
1. Set SSBB as default iso, create a ProjectM SD card, set LLE.
2. Launch projectM launcher and press Play.
3. Listen to the menu.

Which versions of Dolphin did you test on?
Dolphin 4.0 - 5738

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Dolphin 4.0

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
MSI Gaming motherboard
intel i5 quadcore 3.4GHz Haswell
8 Go RAM
GeForce GTX 770
2 To DD


#1 Updated by JosJuice about 6 years ago

Does this happen with both HLE and LLE, or only LLE?

#2 Updated by quentin.kuziara about 6 years ago

ProjectM launcher doesn't work with HLE. There is a beautiful black screen right after we press play.

The only way to play ProjectM with HLE is to build a custom iso.

#3 Updated by JMC4789 about 6 years ago

This looks like more icache issues with their new versions.

#4 Updated by JMC4789 about 6 years ago

This basically means we can probably fix the bug with a 5-9x slowdown, or they can make their codes work on both Dolphin and Wii. We've noticed a lot of icache bugs in Project M recently.

#5 Updated by quentin.kuziara about 6 years ago

So you mean the problem is the ProjectM code that have some issues, and for some raisons real hardware is able to handle them but Dolphin is confused?

#6 Updated by JMC4789 about 6 years ago

use interpreter from startup; it'll be extremely slow. If it works in interpreter, then yes.

#7 Updated by quentin.kuziara about 6 years ago

I did some testing with 4.0.2. Fun fact : 4.0.2 is fine with ProjectM even with HLE, it seems to be a regression :

I tried interpreter but it was too slow to determine if the correct music was played. I was too lazy to try again and dump audio.

#8 Updated by JMC4789 about 6 years ago

That doesn't mean anything, unfortunately. When dealing with possible icache issues, it's very confusing as to what can affect what.

#9 Updated by quentin.kuziara about 6 years ago

Ok. I'll try at least to find via revision bisection which revision caused HLE not being able to boot ProjectM anymore, and the one that breaks custom tracks.
Once I done that, I'll provide the sd.raw that contains ProjectM and the ProjectM launcher (dol) so it will be easier for the dev team to work around this issue if someone decide to handle it. Hope it'll help.

#10 Updated by JMC4789 about 6 years ago

Once this is bisected, We can definitely take a look at it. Thanks.

#11 Updated by JMC4789 about 6 years ago

  • Status changed from New to Accepted

stevoisiak did some work bisecting it.

Magumagu: Your CPU Translate thing caused it to stop working (the loader) and when ti was fixed the music was broken by that point. I'm not 100% sure that the music problem is caused by the same issue, but it's worth seeing if you could take a look.

#12 Updated by magumagu9 about 6 years ago

Exactly which revisions are we talking about which broke/fixed the loader?

#13 Updated by JMC4789 about 6 years ago

This is what broke the loader ->

I'm assuming it also broke the music thanks to the other issue report with the Rockband DLC not playing the right songs.

I'm fairly certain this is the commit that fixed the loader ->

#14 Updated by JMC4789 about 6 years ago

No need for the LLE tag since it's unrelated to DSP altogether.

#15 Updated by rukariosake almost 6 years ago

Can run P:M Loader on HLE on latest Dolphin builds.

You just have to edit config.xml in virtual SD card (\projectm\launcher\config.xml) then set both SFX (useSoundEffects) and music (useMusic) to false.

Also available in: Atom PDF