Project

General

Profile

Actions

Emulator Issues #4908

closed

Just Dance 3 random lock ups with short sound loop

Added by francois.pda about 13 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
IOSHLE
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

[Just Dance 3] SJDP41

Lock ups happens randomly with a 2 seconds sound loop or rarely a continuous beep during songs or in songs selection screen or medal screen

bug appears every 2 to 4 songs (10 to 20 mn, sometime less and rarely longer)

Pressing "Escape" quits the game with no errors

The game is correctly emulated otherwise.

To reproduce : Play the game, or select a song until the lock up occurs (I even reproduced while waiting on the medal screen)

Reproduced on Dolphin official 3.0 and also on 3.0 build 153.

I tried different configuration : HLE / LLE / LLE interpreter / Lock Thread to core or not, LLE locked or not, Direct3D and OpenGl, the problem persist.

I also tried copying the .ini of just dance 2 into the .ini of Just Dance 3 with no success.

I can upload files, just tell me what can be of interest.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #5840: Just Dance 4 locks up and loopsDuplicate

Actions
Actions #1

Updated by francois.pda about 13 years ago

Just wanted to add that the problem is confirmed by at least 4 members in the forum in this thread : http://forums.dolphin-emulator.com/showthread.php?tid=19477

Actions #2

Updated by Anonymous about 13 years ago

Heey - i Finaly got it - i finaly can do one config hows dont crashes after 10 mins or in the first song - i test followed - Dinamyte - California girls - babra strises - take on me - and WORKS !

Actions #3

Updated by hatarumoroboshi about 13 years ago

Doesn't crash using LLE sound plugin.
The game also seems to need the accurate texture cache slider not to be set to the default position (move it one step to the left or to the right) otherwise I get missing frames from the dancers (DX9 and OpenGL - Windows XP 32-bit)

Actions #4

Updated by hatarumoroboshi about 13 years ago

Spoke too early, crashes in LLE as well but in a different way.

Actions #5

Updated by francois.pda about 13 years ago

Wanted to report two error message boxes that immediatly opened right when the sound loop bug happened :

first stating "Backpatch currently only supporting reads" and the second mentioning EAX.

Could the just dance 3 bug be related/similar to ISSUE 2985 :
http://code.google.com/p/dolphin-emu/issues/detail?id=2985

Actions #6

Updated by skidau about 13 years ago

What CPU do you have?

Actions #7

Updated by francois.pda about 13 years ago

AMD Phenom II x4 955

Actions #8

Updated by skidau about 13 years ago

I think this issue occurs only on AMD CPU's because I have an Intel i7 2600K and I was able to play 7 songs in a row with no lock-ups or crashes.

Actions #9

Updated by hatarumoroboshi about 13 years ago

No, I have an Intel E8400 (on WinXP 32-bit and Ati4850) and it always hangs randomly after 2 or 3 songs (I've tried a lot of revisions form 6xxx to 3.0-199 but it's always the same)
Also tried a lot of different settings but with no avail.
Someone claimed that setting the framelimiter to 30 fixed the hangs, but from what I've seen it only postpones the crash (you can do 1 or 2 more songs but then it will always crash)
With HLE the game hangs with a constant loop of the last part of the music played, while with LLE it hang with a loud whistle.

Actions #10

Updated by nick.ridle.spears almost 13 years ago

Nobody learns anything? Please guys I need this game for the season, and I can not buy a video game :/

Actions #11

Updated by francois.pda almost 13 years ago

Please, delete above comment. Piracy is a crime, and JD3 is really worth buying.

But I'd be glad someone could check on the bug.

Actions #12

Updated by mbc07 about 12 years ago

Someone is working on this?

Actions #13

Updated by magley22 about 12 years ago

Hello, same issue here, it runs at 60 fps and randomly gets into the loop. Also tried several config combinations without success.

AMD Phenom 955 3,2 Ghz
Opensuse 12.2
Nvidia GT240

Thanks

Actions #14

Updated by skidau about 12 years ago

Notice that JD3 and JD4 hang shortly after accessing the Wii serial number from the NAND. From the log:

W[WII_IPC_HLE]: Tried to open /shared2/DWC_AUTHDATA as 9

JD1 and JD2 do not access DWC_AUTHDATA and do not hang.

Actions #15

Updated by mbc07 about 12 years ago

When this message appears on log I'm still able to play 2 or 3 songs before the lockup...

Actions #16

Updated by francois.pda about 12 years ago

On a lower system (core i5 laptop) I get the lock ups before the end of any
first song... (whereas 5 to 8 songs on my Phenom II computer) ... so I'd
say it's performance related too...
Le 6 oct. 2012 16:54, a �crit :

Actions #17

Updated by mbc07 about 12 years ago

Ok, I copied DWC_AUTHDATA from my dump and put into shared2 folder. Using master, the game delayed a little more before hanging. On log, there is also a lot of "Tried to open dev/net/ as X", so I downloaded the latest wii-network branch build. On wii-network branch (with DWC_AUTHDATA on shared2 folder), there is some "Fifo reset (00000001)" and "Fifo reset (00000000)" messages, but the game worked fine, without any hang (tested for about 45 minutes).

Actions #18

Updated by francois.pda about 12 years ago

I'd be very glad to test by my side your workaround using wii network branch... all I found was this build "EmuCR_Dolphin_wii-network_3.0-712_x64.7z".

What must I put exactly in User\Wii\shared2 folder ? I've got a nand.bin file coming from my wii but don't know what to do with it. (and my wii is not at my place anymore)

(you can send me your DWC_AUTHDATA files in complete trust, if I can't generate it from my nand...)

Sometime the game locks up after more than 1 hour of play... I believe it will be exhausting to know for sure the problem is solved ;-)

Actions #19

Updated by skidau about 12 years ago

Very nice find, jhonn. Looks like you have found the solution. Should we close this issue now or move it to an "unimplemented Wii network emulation" issue?

Actions #20

Updated by mbc07 about 12 years ago

@francois...@gmail.com
Use this and you'll be able to extract DWC_AUTHDATA from your nand.bin
http://www.wiihacks.com/homebrew-applications-utilities/82533-nandbinextract.html

@skidau
I'll test a little more, these FIFO messages may indicate some FIFO issue, but they only appear when using wii-network branch, maybe a issue with FIFO and Wii Network...

Leave the issue open, I'll update if I find any more relevant info. Also, where I can get a Debug or DebugFast build of the latest release or form the wii-network branch (I can't compile myself anymore)?

Actions #21

Updated by francois.pda about 12 years ago

Thanks for the link... but I played 2 hours this morning with my kids on JD3 and JD4 on wii network branch... without any DWC_AUTHDATA in the folder...

Could DWC_AUTHDATA be not needed... could network branch alone avoid the bug ?

I'll keep trying without the data to see if the lock ups happens again.

btw on JD4 in HLE I get "phantom loop audio" similar to audio defects found in donkey kong returns.

JD3 is now perfect in HLE.

Actions #22

Updated by mbc07 about 12 years ago

Ok, this is definitely a unimplemented Wii network emulation issue. JD2 plays fine because it don't try to access internet until you choose "Shop" on the main menu. After trying to access the online store in JD2 the game may randomly freeze until you close Dolphin and open again, like JD3 and (maybe) JD4. But in JD3 (and probably on JD4 too) the game tries to access internet in background, as soon as you boot the game (maybe for uploading anonymous usage data?), so, you get the freeze.

So, on wii-network branch this is emulated correctly and the game stops trying to connect as soon as it get the error code 21000 (missing Wii certificates on Dolphin), so, no freeze. On master the game keep trying in an infinite loop (no wii network emulation) and after some time, freeze. You can confirm this because on master whenever you try to access the shop, the game will stay loading forever or will give a 5xxxx error.

And about the DWC_AUTHDATA, my extend tests reveal that the file doesn't change anything on master branch, the game always freeze after some time. In wii-network branch the file isn't needed, but if you accidentally access shopping on JD3 without DWC_AUTHDATA, the game will freeze soon (like in master)

So the current workaround for playing JD3 (maybe JD4 too) without random freezes is using wii-network branch. Also, don't enter in Shop unless you want to get freezes (even on wii-network)

Actions #23

Updated by barcaroandrea about 12 years ago

I have tried JD3 and JD4 with the wii-network branch but they freezes (in JD4 expecially when I have to press A to enter in the menu (after the logo and the "dance") or when I have to press A the exit from the results of a song), also with the auth_data in the shared2 folder.....What should I do?

Actions #24

Updated by mbc07 about 12 years ago

In this case you may have some other setting that causes the crash. I can't test JD4 (I don't own the game -- yet), but on JD3 the freezes really went out (yesterday I played about 4 hours without any freeze). Try using a fresh copy of the latest build from the wii-network branch...

Actions #25

Updated by barcaroandrea about 12 years ago

Hi, thanks for the answer, I ahve now discovered the problem....my wiimote seems to disconnect, to make it working withouth going out from the game I have to set it in "emulated" and after to "real" (also I have the wireless sensor bar and I'm not able to see "wii cursor")....is there a way to solve it or settings to do this automatically? Excuse me if I'm in a wrong section, but I don't know if the problem is only in this game, because for example in JD2 it never comes this problem (but I can't see wii-cursor because I'm not able to make it working)....thanks

Actions #26

Updated by barcaroandrea about 12 years ago

It seems also that I can't use two wiimotes, because when I connect one, the other disconnects (I always operate in wiimote settings, or using "Connect wiimote x")....but in Just Dance 2, Just Dance 3 and other games I don't see any problems with 4 wiimotes....I use the wii-network branch 3.0.712 x64, I have an i5, 4gb of ram and Win 7 x64

Actions #27

Updated by Sonicadvance1 about 12 years ago

This issue is for the game locking up due to missing wii-network support in master. You r issue of the wiimotes not staying connected doesn't belong here.

Actions #28

Updated by francois.pda about 12 years ago

Tried alternative wiimote timings in game properties?
Le 9 oct. 2012 22:41, a �crit :

Actions #29

Updated by barcaroandrea about 12 years ago

Hi, thanks for reply :)....I've tried alternative wiimote timings and for now I've not found any problems :), thanks to all

Actions #30

Updated by francois.pda about 12 years ago

I don't know if someone plan to work on this issue now that a workaround is
found.
I'd say major branch of dolphin should include the necessary code so that
network access such as in jd3 or jd4 doesn't make the game crash.
Can a partial merge of dolphin wii network branch into dolphin be done?
(Maybe it's complicated...)
Le 10 oct. 2012 14:41, a �crit :

Actions #31

Updated by barcaroandrea about 12 years ago

Is possible to auto-build the wii-network branch with the latest version of dolphin?

Actions #32

Updated by skidau almost 12 years ago

Issue 5840 has been merged into this issue.

Actions #33

Updated by gabrielmorano almost 12 years ago

Just read all this...
for what i found in the game... (also happens for Just dance gratest hits and just dance 4)
the game WONT crash on the emulated wiimote, but if you use the REAL wiimote the game will crash after a few minutes...
i think it has something to do with the wiimote speaker, as if you listen very closely it will have a pitchi low anoying sound looping... this means there is something wrong with it...

hope this helps

Actions #34

Updated by hatarumoroboshi almost 12 years ago

The game crashes with emulated Wiimote as well...at the moment the only way to play this title without crashes is to use the wii-network branch

Actions #35

Updated by epushiron almost 12 years ago

Using wii-network branch isn’t currently an option on a Mac.

Builds up to and including dolphin-wii-network-3.5-205 do crash on the very start.
Builds dolphin-wii-network-3.5-224 — dolphin-wii-network-3.5-336 warns me that «NandContent not valid for TitleID 00010005/734a4450», then crash as I press any of buttons.

Both main branch 3.5 and main branch 3.5-203 do run and load fine with the issue we’re discussing.

Should I open another bug for the NandContent crash?

Actions #36

Updated by Billiard26 over 11 years ago

  • Issue type set to Bug
Actions #37

Updated by mbc07 over 11 years ago

Found another clue: Just Dance 3 and 4 will always crash randomly even with wii-network branch if you don't have a working internet connection (eg. disconnected or connected in a LAN without internet access). It doesn't matter if the connection is Ethernet or WiFi...

Actions #38

Updated by MayImilae over 11 years ago

  • Status changed from New to Accepted
  • Category set to ioshle
Actions #39

Updated by delroth about 11 years ago

  • Status changed from Accepted to Fixed

Fixed by the wii-network merge.

Actions

Also available in: Atom PDF