webretro icon indicating copy to clipboard operation
webretro copied to clipboard

This happens when ever I start on safari

Open MrSnailman opened this issue 3 years ago • 15 comments

it says cannot push null or empty core path this is on safari mac and prolly says the same thing on safari mobile then it just never loads

[Log] LS: injection -> https://snailygames.netlify.app/games/loz.html (inject.js, line 3)
[Log] LS: logging -> {"url":"https://snailygames.netlify.app/games/loz.html","tabId":3.445920203844066} (inject.js, line 22)
[Error] SyntaxError: Unexpected token '<'
	(anonymous function) (block_screen.html:1)
[Log] Got core: nestopia (base.js, line 429)
[Log] Succesfully fetched ROM from https://snailygames.netlify.app/webretro/roms/loz.nes (base.js, line 429)
[Log] WASM ready (base.js, line 429)
[Log] Starting bundle fetch (base.js, line 429)
[Log] Finished bundle fetch in 0.4 seconds, 0 errors (base.js, line 429)
[Log] Initializing with 128.02 KiB of data (base.js, line 429)
[Log] Calling main... (base.js, line 429)
[Log] stderr: [INFO] === Build ======================================= (base.js, line 429)
[Log] stderr: [INFO] Capabilities:  (base.js, line 429)
[Log] stderr: [INFO] Built: Jul 16 2022 (base.js, line 429)
[Log] stderr: [INFO] Version: 1.9.0 (base.js, line 429)
[Log] stderr: [INFO] ================================================= (base.js, line 429)
[Log] stderr: [INFO] [Input]: Found input driver: "rwebinput". (base.js, line 429)
[Log] stderr: [INFO] [Overrides]: No core-specific overrides found at "/home/web_user/retroarch/userdata/config/Nestopia/Nestopia.cfg". (base.js, line 429)
[Log] stderr: [INFO] [Overrides]: No content-dir-specific overrides found at "/home/web_user/retroarch/userdata/config/Nestopia/rom.cfg". (base.js, line 429)
[Log] stderr: [INFO] [Overrides]: No game-specific overrides found at "/home/web_user/retroarch/userdata/config/Nestopia/rom.cfg". (base.js, line 429)
[Log] stderr: [INFO] [Environ]: GET_CORE_OPTIONS_VERSION. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: SET_CONTROLLER_INFO. (base.js, line 429)
[Log] stderr: [INFO] [Remaps]: Remap directory: "/home/web_user/retroarch/userdata/config/remaps". (base.js, line 429)
[Log] stderr: [INFO] [Overrides]: Redirecting save file to "/home/web_user/retroarch/userdata/saves/rom.srm". (base.js, line 429)
[Log] stderr: [INFO] [Overrides]: Redirecting save state to "/home/web_user/retroarch/userdata/states/rom.state". (base.js, line 429)
[Log] stderr: [INFO] [Environ]: GET_LOG_INTERFACE. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: PERFORMANCE_LEVEL: 6. (base.js, line 429)
[Log] stderr: [INFO] [CONTENT LOAD]: Loading content file: /rom/rom.nes. (base.js, line 429)
[Log] stderr: [INFO] Did not find a valid content patch. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: SET_INPUT_DESCRIPTORS: (base.js, line 429)
[Log] stderr: [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/web_user/retroarch/userdata/system". (base.js, line 429)
[Log] stderr: [libretro INFO] Custom palette path: /home/web_user/retroarch/userdata/system/custom.pal (base.js, line 429)
[Log] stderr: [libretro INFO] custom.pal not found in system directory. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: GET_SAVE_DIRECTORY. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: SET_GEOMETRY: 256x224, aspect: 1.306. (base.js, line 429)
[Log] stderr: [INFO] [Environ]: SET_GEOMETRY. (base.js, line 429)
[Log] stderr: [libretro INFO] [Nestopia]: Machine is NTSC. (base.js, line 429)
[Log] stderr: [INFO] [SRAM]: Skipping SRAM load.. (base.js, line 429)
[Log] stderr: [INFO] Version of libretro API: 1 (base.js, line 429)
[Log] stderr: [INFO] Compiled against API: 1 (base.js, line 429)
[Log] stderr: [INFO] [Cheats]: Load game-specific cheatfile: /home/web_user/retroarch/userdata/cheats/Nestopia/rom.cht (base.js, line 429)
[Log] stderr: [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. (base.js, line 429)
[Log] stderr: [INFO] [Video]: Video @ 879x672 (base.js, line 429)
[Log] stderr: [INFO] [EGL] Falling back to eglGetDisplay (base.js, line 429)
[Log] stderr: [INFO] [EGL]: EGL version: 1.4 (base.js, line 429)
[Log] stderr: [INFO] [EGL]: Current context: 0xf234. (base.js, line 429)
[Log] stderr: [INFO] [EMSCRIPTEN/EGL]: Dimensions: 800x555 (base.js, line 429)
[Log] stderr: [INFO] [GL]: Found GL context: egl_emscripten (base.js, line 429)
[Log] stderr: [INFO] [GL]: Detecting screen resolution 800x555. (base.js, line 429)
[Log] stderr: [INFO] [GL]: Vendor: WebKit, Renderer: WebKit WebGL. (base.js, line 429)
[Log] stderr: [INFO] [GL]: Version: OpenGL ES 2.0 (WebGL 1.0). (base.js, line 429)
[Log] stderr: [WARN] [GL]: GLES implementation does not have BGRA8888 extension. (base.js, line 429)
[Log] stderr: [GL]: 32-bit path will require conversion. (base.js, line 429)
[Log] stderr: [INFO] [GL]: Using resolution 800x555 (base.js, line 429)
[Log] stderr: [INFO] [GL]: Default shader backend found: glsl. (base.js, line 429)
[Log] stderr: [INFO] [Shader driver]: Using GLSL shader backend. (base.js, line 429)
[Log] stderr: [WARN] [GL]: Stock GLSL shaders will be used. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Found GLSL vertex shader. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Found GLSL fragment shader. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Linking GLSL program. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Found GLSL vertex shader. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Found GLSL fragment shader. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Linking GLSL program. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Found GLSL vertex shader. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Found GLSL fragment shader. (base.js, line 429)
[Log] stderr: [INFO] [GLSL]: Linking GLSL program. (base.js, line 429)
[Log] stderr: [INFO] [GL]: Using 4 textures. (base.js, line 429)
[Log] stderr: [INFO] [GL]: Loaded 1 program(s). (base.js, line 429)
[Log] stderr: [INFO] [Joypad]: Found joypad driver: "rwebpad". (base.js, line 429)
[Log] stderr: [INFO] [Font]: Using font rendering backend: bitmap. (base.js, line 429)
[Log] stderr: [INFO] [Video]: Found display server: null (base.js, line 429)
[Log] stderr: [INFO] [Display]: Found display driver: "gl". (base.js, line 429)
[Log] stderr: [INFO] [Font]: Using font rendering backend: stb. (base.js, line 429, x3)
[Log] stderr: [INFO] [Font]: Using font rendering backend: stb. (base.js, line 429, x6)
[Log] stderr: [INFO] [MIDI]: Input disabled. (base.js, line 429)
[Log] stderr: [INFO] [MIDI]: Output disabled. (base.js, line 429)
[Log] stderr: [INFO] [MIDI]: Initialized "null" driver. (base.js, line 429)
[Log] stderr: [INFO] [Playlist]: Loading history file: [/home/web_user/retroarch/userdata/content_history.lpl]. (base.js, line 429)
[Log] stderr: [INFO] [Playlist]: Loading history file: [/home/web_user/retroarch/userdata/content_music_history.lpl]. (base.js, line 429)
[Log] stderr: [INFO] [Playlist]: Loading favorites file: [/home/web_user/retroarch/userdata/content_favorites.lpl]. (base.js, line 429)
[Log] stderr: [INFO] [GL]: VSync => ON (base.js, line 429)
[Log] stderr: [ERROR] cannot push NULL or empty core path into the playlist. (base.js, line 429)
[Log] Main completed... (base.js, line 429)

MrSnailman avatar Sep 23 '22 20:09 MrSnailman

[Log] stderr: [ERROR] cannot push NULL or empty core path into the playlist. (base.js, line 429)

This error is normal, it doesn't have anything to do with the core not loading. As for safari, it is lame and is not supported. Please use chrome or another chromium-based browser.

BinBashBanana avatar Sep 24 '22 18:09 BinBashBanana

does that on ios chrome too

MrSnailman avatar Sep 24 '22 19:09 MrSnailman

Can you send the full console output?

BinBashBanana avatar Sep 24 '22 19:09 BinBashBanana

does the same thing that is the full console out put

MrSnailman avatar Sep 24 '22 20:09 MrSnailman

There is nothing out of place in the log, it looks like it should work... I don't know what's going on, sorry.

BinBashBanana avatar Sep 24 '22 22:09 BinBashBanana

says the same thing on chrome [Log] stderr: [ERROR] cannot push NULL or empty core path into the playlist. (base.js, line 429)

MrSnailman avatar Sep 25 '22 13:09 MrSnailman

@MrSnailman Does the game fail to start with this error? (Does it still load to where you can play it?) Does your rom work on other emulators?

ethanaobrien avatar Sep 25 '22 13:09 ethanaobrien

@MrSnailman Does the game fail to start with this error? (Does it still load to where you can play it?) Does your rom work on other emulators?

it doesnt load its just stuck on the a black screen after loading

MrSnailman avatar Sep 25 '22 17:09 MrSnailman

Do all of the cores do this or just the nestopia core

ethanaobrien avatar Sep 26 '22 14:09 ethanaobrien

Do all of the cores do this or just the nestopia core

all the cores

MrSnailman avatar Sep 27 '22 20:09 MrSnailman

This is strange, #31 seems to be a similar (not the exact same) problem

BinBashBanana avatar Sep 27 '22 23:09 BinBashBanana

I actually noticed this on my iPhhone too. I can get you a full log of the console if you'd like (I have a Mac to debug it with)

Do you have the retroarch menu disabled at all?

On my emulator when I try to play it on iPhone these are the results I get: on any cores that use gles 3 fail to initiate the wasm (I can probably debug that and let you know) and on any other cores it loads the retroarch menu, I'm not sure what the bug is there because the same case works on other devices.

Let me know if you need any logs or anything

ethanaobrien avatar Sep 28 '22 02:09 ethanaobrien

Logs would be great, thank you. I should mention too that everything works fine on my android phone (google chrome).

BinBashBanana avatar Sep 28 '22 02:09 BinBashBanana

I'll try to get you those logs this week. Sorry if it's a little delayed.

And yeah, I have an android emulator I use for testing and android seems to work fine, it's probably some dumb safari thing

ethanaobrien avatar Sep 28 '22 03:09 ethanaobrien