Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Input_Display.lua script provided with Bizhawk 2.9.1 does not work on N64 and doesn't acknowledge any controllers being connected #4141

Open
alkamaass opened this issue Dec 20, 2024 · 1 comment
Labels
Enhancement For feature requests or possible improvements Meta Relating to code organisation or to things that aren't code re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console)

Comments

@alkamaass
Copy link

Summary

The Input_Display.lua script provided with Bizhawk 2.9.1 does not work with N64 and doesn't acknowledge any controllers being connected

Repro

  1. first step run perfect dark PAL N64 with either ARES or mupen core
  2. second step perform inputs
  3. third step run the Input_Display.lua Script

Output

ARES core:
N64
Player 1: Unconnected!
Player 2: Unconnected!
Player 3: Unconnected!
Player 4: Unconnected!

Reminder: Enable Capure OSD when Dumping!

Mupen core:
N64
Player 1: Unconnected!
Player 2: Unconnected!
Player 3: Unconnected!
Player 4: Unconnected!

Reminder: Enable Capure OSD when Dumping!

NLua.Exceptions.LuaScriptException: [string "main"]:111: attempt to perform arithmetic on a nil value (field '?')
NLua.Exceptions.LuaScriptException: [string "main"]:111: attempt to perform arithmetic on a nil value (field '?')
NLua.Exceptions.LuaScriptException: [string "main"]:111: attempt to perform arithmetic on a nil value (field '?')

Host env.

  • BizHawk 2.9.1 Windows 11 System SKU LENOVO_MT_82JW_BU_idea_FM_Legion 5 15ACH6
@Morilli
Copy link
Collaborator

Morilli commented Dec 20, 2024

This seems to be a known TODO:

- Only standard controllers (so no N64 and PS1 analogs :c)

@YoshiRulz YoshiRulz added Enhancement For feature requests or possible improvements re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console) Meta Relating to code organisation or to things that aren't code labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For feature requests or possible improvements Meta Relating to code organisation or to things that aren't code re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console)
Projects
None yet
Development

No branches or pull requests

3 participants