Comments (8)
I wonder if my copy of EmulatorJS is faulty. I'll replace the data directory with a fresh copy and see if that fixes it
from emulatorjs.
My Mario Paint rom is faulty.
from emulatorjs.
If you go directly to the iframe page (/rom.html#snes;005.sfc
), can you re-produce the issue
If so: Strange emulatorjs issue that I've never had reported
If not: Parent page likely missing permission settings on the iframe, or another part of the page is also trying to lock the focus (Not an issue with EmulatorJS)
from emulatorjs.
I still can't get any input when going to the URL directly
I've tried forcing the canvas and the game element (#game
) to be focused but all inputs do not get passed to the emulator. I can, however change my keybinds.
from emulatorjs.
What, that makes no sense lol. The function for mapping keys and inputting keys is the same (
Line 3003 in e8c774c
Please send a log of the console, as instructed in the bug issue template
from emulatorjs.
There are no errors logged with EJS_DEBUG_XX set
(2) ['-v', '/005.sfc']
emulator.js:1092 Built for EmulatorJS Version 4.0.11
emulator.js:1092 Download a copy from https://github.com/EmulatorJS/EmulatorJS
emulator.js:1092 View the licence here: https://github.com/EmulatorJS/EmulatorJS/blob/main/LICENSE
emulator.js:1097 [INFO] RetroArch 1.17.0 (Git 4c8c612abf)
emulator.js:1097 [INFO] === Build =======================================
emulator.js:1097 [INFO] Capabilities:
emulator.js:1097 [INFO] Version: 1.17.0
emulator.js:1097 [INFO] Git: 4c8c612abf
emulator.js:1097 [INFO] Built: Mar 26 2024
emulator.js:1097 [INFO] =================================================
emulator.js:1097 [INFO] [Input]: Found input driver: "emulatorjs".
emulator.js:1097 [INFO] [Overrides]: Redirecting save file to "/data/saves/Snes9x/005.srm".
emulator.js:1097 [INFO] [Overrides]: Redirecting save state to "/home/web_user/retroarch/userdata/states/Snes9x/005.state".
emulator.js:1097 [INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
emulator.js:1097 [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2_INTL.
emulator.js:1097 [INFO] [Environ]: SET_CONTROLLER_INFO.
emulator.js:1097 [INFO] [Environ]: GET_LOG_INTERFACE.
emulator.js:1097 [WARN] [Environ]: SYSTEM DIR is empty, assume CONTENT DIR /005.sfc
emulator.js:1097 [INFO] [Environ]: SYSTEM_DIRECTORY: "/".
emulator.js:1097 [INFO] [Environ]: SAVE_DIRECTORY: "/data/saves/Snes9x".
emulator.js:1097 [INFO] [Environ]: PERFORMANCE_LEVEL: 12.
emulator.js:1097 [INFO] [Content]: Loading content file: "/005.sfc".
emulator.js:1097 [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
emulator.js:1092 Map_LoROMMap
emulator.js:1097 [libretro INFO] "MARIOPAINT" (NTSC) version 1.0
emulator.js:1097 ROM+RAM+BAT: LoROM: 8 Mbit, SRAM: 256 Kbit
emulator.js:1097 ID: __"_, CRC32: 38c9626c, Checksum OK
emulator.js:1097 [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
emulator.js:1097 [INFO] [Replay]: Found last replay slot: #0
emulator.js:1097 [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
emulator.js:1097 [INFO] [Core]: Geometry: 256x224, Aspect: 1.333, FPS: 60.10, Sample rate: 32040.00 Hz.
emulator.js:1097 [INFO] [Audio]: Set audio input rate to: 31987.32 Hz.
emulator.js:1097 [INFO] [Video]: Set video size to: 897x672.
emulator.js:1097 [INFO] [EGL] Falling back to eglGetDisplay
emulator.js:1097 [INFO] [EGL]: EGL version: 1.4
emulator.js:1097 [INFO] [EGL]: Current context: 0xf234.
emulator.js:1097 [INFO] [EMSCRIPTEN/EGL]: Dimensions: 300x150
emulator.js:1097 [INFO] [GL]: Found GL context: "egl_emscripten".
emulator.js:1097 [INFO] [GL]: Detecting screen resolution: 300x150.
emulator.js:1097 [INFO] [GL]: Vendor: WebKit, Renderer: WebKit WebGL.
emulator.js:1097 [INFO] [GL]: Version: OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium)).
emulator.js:1097 [WARN] [GL]: GLES implementation does not have BGRA8888 extension.
emulator.js:1097 [GL]: 32-bit path will require conversion.
emulator.js:1097 [INFO] [GL]: Using resolution 300x150.
emulator.js:1097 [INFO] [GL]: Default shader backend found: glsl.
emulator.js:1097 [INFO] [Shader driver]: Using GLSL shader backend.
emulator.js:1097 [WARN] [GL]: Stock GLSL shaders will be used.
emulator.js:1097 [INFO] [GLSL]: Found GLSL vertex shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Found GLSL fragment shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Linking GLSL program.
emulator.js:1097 [INFO] [GLSL]: Found GLSL vertex shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Found GLSL fragment shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Linking GLSL program.
emulator.js:1097 [INFO] [GLSL]: Found GLSL vertex shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Found GLSL fragment shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Linking GLSL program.
emulator.js:1097 [INFO] [GL]: Using 4 textures.
emulator.js:1097 [INFO] [GL]: Loaded 1 program(s).
emulator.js:1097 [INFO] [Video]: Found display server: "null".
11The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. <URL>
emulator.js:1097 [INFO] [OpenAL]: Using 10 buffers of 1024 bytes.
emulator.js:1097 [INFO] [Audio]: Started synchronous audio driver.
emulator.js:1097 [INFO] [Display]: Found display driver: "gl".
emulator.js:1097 [INFO] [Environ]: SET_SUBSYSTEM_INFO.
emulator.js:1097 [INFO] [Config]: Saved new config to "/home/web_user/retroarch/userdata/retroarch.cfg".
emulator.js:1097 [INFO] [Playlist]: Loading history file: "/home/web_user/retroarch/userdata/content_history.lpl".
emulator.js:1097 [INFO] [Playlist]: Loading history file: "/home/web_user/retroarch/userdata/content_music_history.lpl".
emulator.js:1097 [INFO] [Playlist]: Loading favorites file: "/home/web_user/retroarch/userdata/content_favorites.lpl".
emulator.js:1097 [ERROR] Cannot push NULL or empty core path into the playlist.
emulator.js:4109 Available core options {}
emulator.js:3880 shader disabled
emulator.js:1097 [ERROR] [GL]: none shader not supported, falling back to stock GLSL
emulator.js:1097 [INFO] [Shader driver]: Using GLSL shader backend.
emulator.js:1097 [WARN] [GL]: Stock GLSL shaders will be used.
emulator.js:1097 [INFO] [GLSL]: Found GLSL vertex shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Found GLSL fragment shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Linking GLSL program.
emulator.js:1097 [INFO] [GLSL]: Found GLSL vertex shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Found GLSL fragment shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Linking GLSL program.
emulator.js:1097 [INFO] [GLSL]: Found GLSL vertex shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Found GLSL fragment shader.
emulator.js:1097 [INFO] Shader log: WARNING: 0:3: 'GL_OES_standard_derivatives' : extension is not supported
emulator.js:1097
emulator.js:1097 [INFO] [GLSL]: Linking GLSL program.
emulator.js:1097 [INFO] [Shaders]: Applying shader: "".
emulator.js:3880 fps hide
emulator.js:3880 vsync enabled
emulator.js:1092 invalid core option vsync. This is not an error.
emulator.js:3880 ff-ratio 3.0
emulator.js:1092 invalid core option ff-ratio. This is not an error.
emulator.js:3880 sm-ratio 3.0
emulator.js:1092 invalid core option sm-ratio. This is not an error.
emulator.js:3880 fastForward disabled
emulator.js:1092 invalid core option fastForward. This is not an error.
emulator.js:3880 slowMotion disabled
emulator.js:1092 invalid core option slowMotion. This is not an error.
emulator.js:3880 rewindEnabled disabled
emulator.js:1092 invalid core option rewindEnabled. This is not an error.
emulator.js:3880 rewind-granularity 6
emulator.js:1092 invalid core option rewind-granularity. This is not an error.
emulator.js:3880 save-state-slot 1
emulator.js:1092 invalid core option save-state-slot. This is not an error.
emulator.js:3880 save-state-location download
emulator.js:1092 invalid core option save-state-location. This is not an error.
emulator.js:3880 snes9x_overclock_superfx 100%
emulator.js:3880 snes9x_superscope_crosshair 2
emulator.js:3880 snes9x_superscope_color White
emulator.js:3880 snes9x_justifier1_crosshair 4
emulator.js:3880 snes9x_justifier1_color Blue
emulator.js:3880 snes9x_justifier2_crosshair 4
emulator.js:3880 snes9x_justifier2_color Pink
emulator.js:3880 snes9x_rifle_crosshair 2
emulator.js:3880 snes9x_rifle_color White
emulator.js:4384 Available core options {shader: {…}, fps: {…}, vsync: {…}, ff-ratio: {…}, sm-ratio: {…}, …}
emulator.js:1097 [INFO] [Environ]: SET_GEOMETRY.
setInterval(()=>{
document.querySelector("canvas").focus();
},10)
1364
from emulatorjs.
strange...
My original thought was that it was this line
<div style='position:fixed;top:0%;left:0%;width:100%;height:100%;z-index:32767;'>
Why do you have z-index in there if its the only thing on the page?
from emulatorjs.
Ah, that would make sense. I'm glad you were able to figure that out
from emulatorjs.
Related Issues (20)
- [Bug] emulator does not work with controllers that use axis for direction. HOT 5
- 7z files of arcade Rom are disabled in Fbneo? HOT 1
- [Bug] version 4.0.10 after, the NDS console pointer cannot be moved. (mobile) HOT 1
- Cheat screen with black background
- [enhancement] Mouse Controls? HOT 4
- Did you add the game speed control setting to EmulatorJS? and if so Where did you put it? HOT 1
- [Feature-MirrorMode] Add mirror screen for head-to-head 2 or 4 players on big tablet touchscreen
- [Bug] "Start Creating" button not working in code editor
- [Bug] Degraded performance on mobile browsers since version 4.0.10 HOT 2
- [Bug] Impossible to Download the "the default fileset" HOT 3
- EmulatorJS V3 HOT 2
- Do we have Docker? HOT 1
- new MAME cores HOT 1
- Bug in smsplus emulator - genesis_plus_gx worked fine HOT 4
- [Bug] Threads Not Working HOT 6
- [Bug] FBNeo core not working??? HOT 1
- when version 4 support net play ? HOT 1
- net play important HOT 1
- Atari Jaguar, missing controller buttons
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emulatorjs.