Project

General

Profile

Actions

Emulator Issues #13647

open

Emulated Wiimote battery level is forced to 100% when in Netplay

Added by Octol1ttle 3 months ago. Updated 3 months ago.

Status:
Accepted
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?
Any game

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

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

What's the problem? Describe what went wrong.
When hosting a Netplay session, the emulated Wiimotes' battery levels are not synchronized. On all players' screens, the battery is displayed as full (100%) on all controllers

What steps will reproduce the problem?

  1. Host a Netplay session and connect to it with a second emulator instance
  2. Configure a low battery level (less than 70%) on either or both emulators' emulated Wiimotes
  3. Check the HOME menu and see that all controllers are displaying 100%, and no game displays a battery warning when they normally would

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/No and version number here]

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

Yes - v2409

If the issue isn't present in the latest release, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[First broken version number here (if applicable)]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

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

CPU: Intel Xeon X3450
GPU: AMD Radeon R7 240
OS: Arch Linux with 'dolphin-emu' official package

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


[Anything else here]


Files

clipboard-202410012244-z1bpo.png (80.5 KB) clipboard-202410012244-z1bpo.png Octol1ttle, 10/01/2024 05:44 PM
Actions #1

Updated by Billiard26 3 months ago

  • Status changed from New to Accepted

Yeah. Emulated Wii remote battery levels are currently overridden to 100% while in NetPlay.

It probably would be easy enough to hack the battery value into NetPlay's wii remote input structure, but that's maybe not very bandwidth efficient since the level doesn't update that frequently.

Doing this cleanly might be easier after a NetPlay overhaul.

Actions #2

Updated by JosJuice 3 months ago

  • Subject changed from Emulated Wiimote battery level is not synchronized when in Netplay to Emulated Wiimote battery level is forced to 100% when in Netplay

Editing the issue title to make it clearer that this isn't causing emulation to desync between players.

Actions

Also available in: Atom PDF