Project

General

Profile

Actions

Emulator Issues #13648

open

AR code Inconsistency. Example with Twilight Princess built-in code

Added by ArticMenace 17 days ago.

Status:
New
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:

Description

Game Name?

Twilight Princess

Game ID? (right click the game in the game list, Properties, Info tab)

GZ2E01

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

41deff9b1fd2831f48fbfa2dd1054e4d

What's the problem? Describe what went wrong.

I was working on modifying one of the AR codes for this game, particularly the built-in RD-Pad Left/Right Controls Time (Twilight Spectre). The exact AR code in question is
0A3DD31A 00000022
844061F4 00003800
0A3DD31A 00000021
844061F4 FFFFB8FF
When running the built-in code, everything works fine and as intended. The problem arises when this code is copied into a new AR code, staying completely unchanged with nothing added. Upon running this code, the game freezes on startup (purple screen) and an error occurs [see first image attached]. It seems that 844061F4 (which should be incrementing 0x804061F4) is not working as intended (instead reading from 0x814061F4 ?) even though it should not run until either conditional (0A3DD31A) is met. When isolating the second line of the code into its own code, the game also freezes [see attached #2] with a different error. All of the previous was tested on the first device listed below (Android).

When tested on the second device below (Linux), I could not get either the built-in or copied code to function at all, although there were no freezing/crashes.

I wouldn't be surprised if something with the 84xxxxxx code is the root of the problem, but the why is beyond me.

What steps will reproduce the problem?

-Copy code from above into a new AR code
-Activate Code
-Start Twilight Princess (GZ2E01)
-Nothing is shown but a purple screen and an error message on startup

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

Unknown but very likely. Dev version APK does not install when dolphin has already been installed

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

Yes, Version 2409

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

Android 13, (Motorola Edge 5G UW 2021)
CPU: Octa-core (1x2.4 GHz Cortex-A78 & 3x2.2 GHz Cortex-A78 & 4x1.9 GHz Cortex-A55)
GPU: Adreno 642L
(Chip set Snapdragon 778G 5G)
6GiB RAM

Other Testing Device Used:

Ubuntu 22.04.5 LTS (64 bit)
Intel Core i3-8145U CPU @ 2.10GHz x 4
Mesa Intel UHD Graphics 620 (WHL GT2)
16GiB RAM

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

[Anything else here]


Files

Screenshot_20241001-170238.png (113 KB) Screenshot_20241001-170238.png Crash upon copied code execution ArticMenace, 10/01/2024 09:03 PM
Screenshot_20241001-170623.png (122 KB) Screenshot_20241001-170623.png Only second line of code crashes with new error ArticMenace, 10/01/2024 09:09 PM

No data to display

Actions

Also available in: Atom PDF