Project

General

Profile

Actions

Emulator Issues #12940

closed

Riivolution XML doesn't work with Another Code R - error #001

Added by SuperrSonic over 2 years ago. Updated over 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% 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:
5.0-16504

Description

Game Name?

Another Code: R

Game ID?

RNOP01

MD5 Hash?

It's a wbfs file.

What's the problem? Describe what went wrong.

Trying to use the recent riivolution support, game shows a black screen with "error #001 unauthorized device has been detected."
The game is compatible with the riivolution app on Wii.

What steps will reproduce the problem?

Right click game, select "Start with riivolution patches", open a generic 'file replace' xml (that's been tested to work with other games) and select start, game hangs on error screen.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes, 5.0-16380

Is the issue present in the latest stable version?

No riivolution support in stable.

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 10, intel core i5

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

The XML I tested:

<wiidisc version="1">
	<id game="RNO" />
		<region type="P" />
	<options>
		<section name="Another Code R Music Replacement">
			<option id="On" name="Turn on Mods?">
				<choice name ="Enabled">
					<patch id="mods" />
				</choice>
			</option>
		</section>
	</options>
	<patch id="mods">
		<folder external="/" recursive="false" />
		<folder external="/" disc="/" />
	</patch>
	
</wiidisc>

Regarding this game:
While this game does work on the original riivolution it's known to be problematic in some very specific places, it has a gamebreaking bug if you play it with a usb loader (d2x cios, etc.) if the hdd cluster size is 64k knocking on doors hangs the game. And if you take a clean rip and rebuild it using wiimms iso tool "wit", it won't get past the title screen, however choosing Japanese as the language allows skipping the crash, so I eventually found that a file "LANG/ENG/SCRIPT/MEMORY.dat" that's loaded at startup was bigger in the Japanese file, and by adding a few 00 bytes to the other languages fixes the crash.

I'd like to know if possible, if there's some documentation on riivolution support vs original, beyond the commits?
Because I'm working on an undub that uses size-heavy video scenes and I'm using the "create" feature and codes to load the undub, this is to create a parallel setup with the "manual" version of the undub that inserts those files into the iso or wbfs so that it can work with usb loaders without giving up the original dub. But the problem is, after adding the videos (around 200 MB) the game started doing the same thing as Another Code R, it boots to the same exact error, so I'm wondering: is riivo limited to the "single layer" size of the game? I'll have to confirm if that's a thing in the original Riivolution.

This issue reminds me of loading a wbfs with a bigger size than the single layer size on old cios (wanin?) it would load but on modern cios (d2x) it would show this "unauthorized device" error, but I might be remembering wrong. If there's no way around this, there must be a way to convert single to double layer, surely.

Actions #1

Updated by JMC4789 over 2 years ago

Dolphin's HLE of Riivolution is missing some kind of hack that it uses for replacing files to make things too big.

Actions #2

Updated by pokechu22 over 2 years ago

  • Description updated (diff)
Actions #3

Updated by AdmiralCurtiss over 2 years ago

This should be fixed as of https://dolphin-emu.org/download/dev/5354f69d45b3e4ae712ce75b14cfe5e912db641a/, does it still happen in the latest dev version?

Actions #4

Updated by SuperrSonic over 2 years ago

My bad, I was using the beta builds, the issue with Another Code is fixed and the size issue with the other game I mentioned as well!

Actions #5

Updated by pokechu22 over 2 years ago

  • Status changed from New to Fixed
  • Fixed in set to 5.0-16504
Actions #6

Updated by JosJuice over 2 years ago

For reference, you can make the game's error #001 check work properly with dual layer with a modification I described in a comment on issue 12474. 5.0-16504 adds a little hack to Dolphin to bypass the check.

Actions

Also available in: Atom PDF