Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
JS and WebAssembly question #116532 12/03/19 02:00 PM
Joined: Mar 2008
Posts: 193
R
robcfg Online Content OP
Senior Member
OP Online Content
Senior Member
R
Joined: Mar 2008
Posts: 193
Hi all!

I'm trying to compile the NC driver in order to be able to use it online via Emularity.

So far so good, I followed the instructions and got emularity to recognize the bios and config files but I get an error when it tries to load the wasm file.

I've tried to compile without using WebAssembly, using this command line: "emmake make WEBASSEMBLY=0 SUBTARGET=nc SOURCES=src/mame/drivers/nc.cpp", but I get the same js and wasm files.

I'm compiling the nc driver from 0.216, and the call stack of the error looks like this:
Quote
[Error] Unhandled Promise Rejection: 9032184
quit_ (mamenc.js:1:3119514)
callMain (mamenc.js:1:3432122)
doRun (mamenc.js:1:3432469)
run (mamenc.js:1:3432638)
runCaller (mamenc.js:1:3431531)
removeRunDependency (mamenc.js:1:3133622)
receiveInstance (mamenc.js:1:3135033)
receiveInstantiatedSource (mamenc.js:1:3135149)
promiseReactionJob


Cheers,
Rob

Re: JS and WebAssembly question [Re: robcfg] #116533 12/03/19 06:47 PM
Joined: Jul 2018
Posts: 118
H
hal3000 Offline
Senior Member
Offline
Senior Member
H
Joined: Jul 2018
Posts: 118
Hi there!

I haven't tried the NC driver specifically but I try to compile MAME every now and then with Emscripten and Emularity just for fun.

Check if switching to another Emscripten version make things work better. I'm currently using Emscripten 1.38.43 which works fairly well. There are issues at the moment (at least for me) with getting BGFX chain effects to work properly since 0.215 but besides that it works fairly well.

Re: JS and WebAssembly question [Re: robcfg] #116534 12/03/19 10:33 PM
Joined: Mar 2008
Posts: 193
R
robcfg Online Content OP
Senior Member
OP Online Content
Senior Member
R
Joined: Mar 2008
Posts: 193
I installed 1.38.43 and I get a "Unknown option '--mvp-features'" error.

Can I disable that somehow?

Re: JS and WebAssembly question [Re: robcfg] #116536 12/04/19 03:38 PM
Joined: Jul 2018
Posts: 118
H
hal3000 Offline
Senior Member
Offline
Senior Member
H
Joined: Jul 2018
Posts: 118
Hm, I don't recall having seen that error. Is that a reported during build time or when you try to launch the build?

This is how I build with emscripten:
Code
emmake make -j $NUM_CPUS SUBTARGET=$subtarget_name SOURCES=$sources WEBASSEMBLY=1 OPTIMIZE=3  ARCHOPTS="-s TOTAL_MEMORY=512MB" ARCHOPTS_CXX="-Wno-c++11-narrowing  -Werror"

Re: JS and WebAssembly question [Re: robcfg] #116537 12/05/19 09:25 AM
Joined: Mar 2008
Posts: 193
R
robcfg Online Content OP
Senior Member
OP Online Content
Senior Member
R
Joined: Mar 2008
Posts: 193
I tried your command and the result is the same.

Also tried older versions of Mame, with results ranging from compilation errors to the same problem I’m having.

I don’t know if there’s anything I may have done wrong, but the documentation is quite scarce.

Re: JS and WebAssembly question [Re: robcfg] #116538 12/05/19 09:48 AM
Joined: Jul 2018
Posts: 118
H
hal3000 Offline
Senior Member
Offline
Senior Member
H
Joined: Jul 2018
Posts: 118
That's strange. Is the "Unknown option '--mvp-features' error happening when you compile MAME or is it a runtime error? If it happens when you try to launch MAME via emscripten it could be something with the way it is launched. Have you got other MAME drivers to work?

Both MAME and Emscripten are updated at fast pace so it can be tricky to find a working combination.

Last edited by hal3000; 12/05/19 10:00 AM.
Re: JS and WebAssembly question [Re: robcfg] #116539 12/05/19 09:57 AM
Joined: Mar 2008
Posts: 193
R
robcfg Online Content OP
Senior Member
OP Online Content
Senior Member
R
Joined: Mar 2008
Posts: 193
I got the --mvp-features error when intalling 1.38.43 and compiling.

If I install and activate 'latest' it compiles with no errors (using your parameters), but it doesn't work when launched from Emularity (latest git).

Honestly, I'm not sure what to do. I'll try to compile another driver and see if that works.

Re: JS and WebAssembly question [Re: robcfg] #116540 12/05/19 10:22 AM
Joined: Jul 2018
Posts: 118
H
hal3000 Offline
Senior Member
Offline
Senior Member
H
Joined: Jul 2018
Posts: 118
Ok, I mainly use emscripten via docker (https://github.com/trzecieu/emscripten-docker) so I haven't had to deal with emscripten installation issues.

The latest emscripten (1.39.x) has introduced some changes that I think needs to be addressed in emularity or the html/js files that defines how to launch MAME. I've done a quick test and got it to start MAME but with stretched graphics.

I would advise you to try another driver get more information and be able to pinpoint to problem better since there are so many things that influence the end result here smile

Re: JS and WebAssembly question [Re: robcfg] #116541 12/05/19 10:23 AM
Joined: Mar 2008
Posts: 193
R
robcfg Online Content OP
Senior Member
OP Online Content
Senior Member
R
Joined: Mar 2008
Posts: 193
I tried compiling the Dragon driver (because why not...) and got exactly the same result.

One thing caught my attention, though I don't know if it really important. It's "Optional memory region ':screen' not found". Is that really optional?

Here's what I get from Safari's JS Console:
Quote
[Log] Attempting load of mame.ini (loader.js, line 1000, x2)
[Log] Attempting load of horizont.ini (loader.js, line 1000)
[Log] Attempting load of computer.ini (loader.js, line 1000)
[Log] Attempting load of raster.ini (loader.js, line 1000)
[Log] Attempting load of source/dragon.ini (loader.js, line 1000)
[Log] Attempting load of dragon32.ini (loader.js, line 1000)
[Log] Attempting load of dragon64.ini (loader.js, line 1000)
[Log] Error opening translation file English (loader.js, line 1001)
[Log] Attempting load of mame.ini (loader.js, line 1000, x2)
[Log] Attempting load of horizont.ini (loader.js, line 1000)
[Log] Attempting load of computer.ini (loader.js, line 1000)
[Log] Attempting load of raster.ini (loader.js, line 1000)
[Log] Attempting load of source/dragon.ini (loader.js, line 1000)
[Log] Attempting load of dragon32.ini (loader.js, line 1000)
[Log] Attempting load of dragon64.ini (loader.js, line 1000)
[Log] Available videodrivers: emscripten (loader.js, line 1000)
[Log] Current Videodriver: emscripten (loader.js, line 1000)
[Log] Display #0 (loader.js, line 1000)
[Log] Renderdrivers: (loader.js, line 1000)
[Log] opengles2 (0x0) (loader.js, line 1000)
[Log] software (0x0) (loader.js, line 1000)
[Log] Available audio drivers: (loader.js, line 1000)
[Log] emscripten (loader.js, line 1000)
[Log] disk (loader.js, line 1000)
[Log] dummy (loader.js, line 1000)
[Log] Build version: 0.216 (unknown) (loader.js, line 1000)
[Log] Build architecure: (loader.js, line 1000)
[Log] Build defines 1: SDLMAME_UNIX=1 (loader.js, line 1000)
[Log] Build defines 1: LSB_FIRST=1 MAME_NOASM=1 (loader.js, line 1000)
[Log] SDL/OpenGL defines: SDL_COMPILEDVERSION=2009 USE_OPENGL=1 (loader.js, line 1000)
[Log] Compiler defines A: __GNUC__=4 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=1 __VERSION__="Clang 10.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project cb47b8783017a76c5f2e4b974cfd6b22c9f1d5ff)" (loader.js, line 1000)
[Log] Compiler defines B: __unix__=1 (loader.js, line 1000)
[Log] Compiler defines C: (loader.js, line 1000)
[Log] Enter init_monitors (loader.js, line 1000)
[Log] Adding monitor screen0 (3008 x 1692) (loader.js, line 1000)
[Log] Leave init_monitors (loader.js, line 1000)
[Log] Enter sdlwindow_init (loader.js, line 1000)
[Log] Using SDL multi-window soft driver (SDL 2.0+) (loader.js, line 1000)
[Log] (loader.js, line 1000)
[Log] Hints: (loader.js, line 1000)
[Log] SDL_FRAMEBUFFER_ACCELERATION (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_DRIVER (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_OPENGL_SHADERS (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_SCALE_QUALITY (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_VSYNC (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_X11_XVIDMODE (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_X11_XINERAMA (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_X11_XRANDR (NULL) (loader.js, line 1000)
[Log] SDL_GRAB_KEYBOARD (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS 0 (loader.js, line 1000)
[Log] SDL_IOS_IDLE_TIMER_DISABLED (NULL) (loader.js, line 1000)
[Log] SDL_IOS_ORIENTATIONS (NULL) (loader.js, line 1000)
[Log] SDL_XINPUT_ENABLED (NULL) (loader.js, line 1000)
[Log] SDL_GAMECONTROLLERCONFIG (NULL) (loader.js, line 1000)
[Log] SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS (NULL) (loader.js, line 1000)
[Log] SDL_ALLOW_TOPMOST (NULL) (loader.js, line 1000)
[Log] SDL_TIMER_RESOLUTION (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_DIRECT3D_THREADSAFE (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_ALLOW_SCREENSAVER (NULL) (loader.js, line 1000)
[Log] SDL_ACCELEROMETER_AS_JOYSTICK (NULL) (loader.js, line 1000)
[Log] SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_WIN_D3DCOMPILER (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_MAC_FULLSCREEN_SPACES (NULL) (loader.js, line 1000)
[Log] SDL_MOUSE_RELATIVE_MODE_WARP (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_DIRECT3D11_DEBUG (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_HIGHDPI_DISABLED (NULL) (loader.js, line 1000)
[Log] SDL_WINRT_PRIVACY_POLICY_URL (NULL) (loader.js, line 1000)
[Log] SDL_WINRT_PRIVACY_POLICY_LABEL (NULL) (loader.js, line 1000)
[Log] SDL_WINRT_HANDLE_BACK_BUTTON (NULL) (loader.js, line 1000)
[Log] Leave sdlwindow_init (loader.js, line 1000)
[Log] Enter sdl_info::create (loader.js, line 1000)
[Log] window: using renderer opengles2 (loader.js, line 1000)
[Log] renderer: flag SDL_RENDERER_ACCELERATED (loader.js, line 1000)
[Log] Leave renderer_sdl2::create (loader.js, line 1000)
[Log] Keyboard: Start initialization (loader.js, line 1000)
[Log] Input: Adding keyboard #0: System keyboard (device id: System keyboard) (loader.js, line 1000)
[Log] Keyboard: Registered System keyboard (loader.js, line 1000)
[Log] Keyboard: End initialization (loader.js, line 1000)
[Log] Mouse: Start initialization (loader.js, line 1000)
[Log] Input: Adding mouse #0: System mouse (device id: System mouse) (loader.js, line 1000)
[Log] Mouse: Registered System mouse (loader.js, line 1000)
[Log] Mouse: End initialization (loader.js, line 1000)
[Log] Could not initialize SDL Haptic subsystem: SDL not built with haptic (force feedback) support. (loader.js, line 1000)
[Log] Joystick: Start initialization (loader.js, line 1000)
[Log] Joystick: End initialization (loader.js, line 1000)
[Log] Searching font Liberation Sans in -. path/s (loader.js, line 1000)
[Log] font Liberation Sans|Regular is not TrueType or BDF, using MAME default (loader.js, line 1000)
[Log] Region ':maincpu' created (loader.js, line 1000)
[Log] unzip: opened archive file emulator/dragon64.zip (loader.js, line 1000)
[Log] unzip: found emulator/dragon64.zip ECD (loader.js, line 1000)
[Log] unzip: emulator/dragon64.zip has no ZIP64 ECD locator (loader.js, line 1000)
[Log] unzip: read emulator/dragon64.zip central directory (loader.js, line 1000)
[Log] unzip: closing archive file emulator/dragon64.zip and sending to cache (loader.js, line 1000)
[Log] unzip: found emulator/dragon64.zip in cache (loader.js, line 1000)
[Log] unzip: opened archive file emulator/dragon64.zip (loader.js, line 1000)
[Log] unzip: closing archive file emulator/dragon64.zip and sending to cache (loader.js, line 1000)
[Log] Region ':ext:dragon_fdc:eprom' created (loader.js, line 1000)
[Log] unzip: found emulator/dragon64.zip in cache (loader.js, line 1000)
[Log] unzip: opened archive file emulator/dragon64.zip (loader.js, line 1000)
[Log] unzip: closing archive file emulator/dragon64.zip and sending to cache (loader.js, line 1000)
[Log] Optional I/O port ':beckerport' not found (loader.js, line 1000)
[Log] Optional device ':dwsock' not found (loader.js, line 1000)
[Log] Optional device ':vhd1' not found (loader.js, line 1000)
[Log] Optional device ':vhd0' not found (loader.js, line 1000)
[Log] Optional device ':rs232' not found (loader.js, line 1000)
[Log] Optional memory region ':screen' not found (loader.js, line 1000)
[Log] Starting Dragon 64 ':' (loader.js, line 1000)
[Log] exception thrown: 8745840 (loader.js, line 1001)
[Error] Unhandled Promise Rejection: 8745840
quit_ (mamedragon.js:1:3119514)
callMain (mamedragon.js:1:3432126)
doRun (mamedragon.js:1:3432473)
run (mamedragon.js:1:3432642)
runCaller (mamedragon.js:1:3431535)
removeRunDependency (mamedragon.js:1:3133622)
receiveInstance (mamedragon.js:1:3135037)
receiveInstantiatedSource (mamedragon.js:1:3135153)
promiseReactionJob

Re: JS and WebAssembly question [Re: robcfg] #116542 12/05/19 06:46 PM
Joined: Jul 2018
Posts: 118
H
hal3000 Offline
Senior Member
Offline
Senior Member
H
Joined: Jul 2018
Posts: 118
I think you're using different emscripten version than what I use. With emscripten 1.38.43 the compiler VERSION is defined as "4.2.1 Compatible Clang 6.0.1". Perhaps you can try to rebuild with debug enabled and see what goes wrong? Adding DEBUG=1, SYMBOLS=1 and ASSERTIONS=2 usually gives better errors.

I just tried to build ddragon and it starts up and runs using latest emularity from git. I can also see "Optional memory region ':screen' not found" in the log file but it works anyway.

The emularity js code looks like this:
Code
var emulator = new Emulator(document.querySelector("#canvas"),
                            null,
                            new MAMELoader(MAMELoader.driver("ddragon"),
                                           MAMELoader.nativeResolution(768, 720),
                                           MAMELoader.keepAspect(true),
                                           MAMELoader.scale(1),
                                           MAMELoader.emulatorJS("/emularity/emulators/mame/mamearcade.js"),
                                           MAMELoader.emulatorWASM("/emularity/emulators/mame/mamearcade.wasm"),
                                           MAMELoader.mountFile("ddragon.zip",
                                                                MAMELoader.fetchFile("Game File",
                                                                                     "/ddragon.zip")),
                                            MAMELoader.extraArgs(['-mouse',
                                                                  '-video',
                                                                  'bgfx',
                                                                  '-bgfx_screen_chains',
                                                                  'hlsl'])))


This is what it looks like with BGFX (hlsl chain) which isn't fully working as of now for asmjs:
[Linked Image from i.imgur.com]

Launching with "-video gles" instead works fine:
[Linked Image from i.imgur.com]

Log:
Code
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of horizont.ini
loader.js:1000 Attempting load of arcade.ini
loader.js:1000 Attempting load of raster.ini
loader.js:1000 Attempting load of source/ddragon.ini
loader.js:1000 Attempting load of ddragon.ini
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of horizont.ini
loader.js:1000 Attempting load of arcade.ini
loader.js:1000 Attempting load of raster.ini
loader.js:1000 Attempting load of source/ddragon.ini
loader.js:1000 Attempting load of ddragon.ini
loader.js:1000 Available videodrivers: emscripten 
loader.js:1000 Current Videodriver: emscripten
loader.js:1000 	Display #0
loader.js:1000 		Renderdrivers:
loader.js:1000 			 opengles2 (0x0)
loader.js:1000 			  software (0x0)
loader.js:1000 Available audio drivers: 
loader.js:1000 	emscripten          
loader.js:1000 	disk                
loader.js:1000 	dummy               
loader.js:1000 Build version:      0.215 (mame0202-8079-g0c70101b74)
loader.js:1000 Build architecure:  
loader.js:1000 Build defines 1:    SDLMAME_UNIX=1 
loader.js:1000 Build defines 1:    LSB_FIRST=1 MAME_NOASM=1 
loader.js:1000 SDL/OpenGL defines: SDL_COMPILEDVERSION=2009 USE_OPENGL=1 
loader.js:1000 Compiler defines A: __GNUC__=4 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=1 __VERSION__="4.2.1 Compatible Clang 6.0.1 (https://github.com/emscripten-core/emscripten-fastcomp-clang 98df4be387dde3e3918fa5bbb5fc43e1a0e1daac) (https://github.com/emscripten-core/emscripten-fastcomp 1b4148f39a69c7fc62edadd85e4122b68694dfb7)" 
loader.js:1000 Compiler defines B: __unix__=1 
loader.js:1000 Compiler defines C: 
loader.js:1000 Enter init_monitors
loader.js:1000 Adding monitor screen0 (3440 x 1440)
loader.js:1000 Leave init_monitors
loader.js:1000 Enter sdlwindow_init
loader.js:1000 
loader.js:1000 Hints:
loader.js:1000 	SDL_FRAMEBUFFER_ACCELERATION             (NULL)
loader.js:1000 	SDL_RENDER_DRIVER                        (NULL)
loader.js:1000 	SDL_RENDER_OPENGL_SHADERS                (NULL)
loader.js:1000 	SDL_RENDER_SCALE_QUALITY                 (NULL)
loader.js:1000 	SDL_RENDER_VSYNC                         (NULL)
loader.js:1000 	SDL_VIDEO_X11_XVIDMODE                   (NULL)
loader.js:1000 	SDL_VIDEO_X11_XINERAMA                   (NULL)
loader.js:1000 	SDL_VIDEO_X11_XRANDR                     (NULL)
loader.js:1000 	SDL_GRAB_KEYBOARD                        (NULL)
loader.js:1000 	SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS         0
loader.js:1000 	SDL_IOS_IDLE_TIMER_DISABLED              (NULL)
loader.js:1000 	SDL_IOS_ORIENTATIONS                     (NULL)
loader.js:1000 	SDL_XINPUT_ENABLED                       (NULL)
loader.js:1000 	SDL_GAMECONTROLLERCONFIG                 (NULL)
loader.js:1000 	SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS     (NULL)
loader.js:1000 	SDL_ALLOW_TOPMOST                        (NULL)
loader.js:1000 	SDL_TIMER_RESOLUTION                     (NULL)
loader.js:1000 	SDL_RENDER_DIRECT3D_THREADSAFE           (NULL)
loader.js:1000 	SDL_VIDEO_ALLOW_SCREENSAVER              (NULL)
loader.js:1000 	SDL_ACCELEROMETER_AS_JOYSTICK            (NULL)
loader.js:1000 	SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK   (NULL)
loader.js:1000 	SDL_VIDEO_WIN_D3DCOMPILER                (NULL)
loader.js:1000 	SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT      (NULL)
loader.js:1000 	SDL_VIDEO_MAC_FULLSCREEN_SPACES          (NULL)
loader.js:1000 	SDL_MOUSE_RELATIVE_MODE_WARP             (NULL)
loader.js:1000 	SDL_RENDER_DIRECT3D11_DEBUG              (NULL)
loader.js:1000 	SDL_VIDEO_HIGHDPI_DISABLED               (NULL)
loader.js:1000 	SDL_WINRT_PRIVACY_POLICY_URL             (NULL)
loader.js:1000 	SDL_WINRT_PRIVACY_POLICY_LABEL           (NULL)
loader.js:1000 	SDL_WINRT_HANDLE_BACK_BUTTON             (NULL)
loader.js:1000 Leave sdlwindow_init
loader.js:1000 Enter sdl_info::create
WebGL: INVALID_VALUE: texImage2D: invalid internalformat
...
WebGL: INVALID_VALUE: texImage2D: invalid internalformat
WebGL: INVALID_ENUM: compressedTexImage2D: invalid format
...
WebGL: INVALID_ENUM: compressedTexImage2D: invalid format
mamearcade.js:1 WebGL: INVALID_ENUM: texImage2D: invalid type
_glTexImage2D @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-2981:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
...
WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
mamearcade.js:1 WebGL: INVALID_ENUM: texImage2D: invalid type
_glTexImage2D @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-2981:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
mamearcade.js:1 WebGL: INVALID_ENUM: texImage2D: invalid type
_glTexImage2D @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-2981:1
(anonymous) @ wasm-05aa6a4a-9347:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
Show 2 more frames
mamearcade.js:1 WebGL: too many errors, no more errors will be reported to the console for this context.
_glRenderbufferStorage @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-9347:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
loader.js:1000 Keyboard: Start initialization
loader.js:1000 Input: Adding keyboard #0: System keyboard (device id: System keyboard)
loader.js:1000 Keyboard: Registered System keyboard
loader.js:1000 Keyboard: End initialization
loader.js:1000 Mouse: Start initialization
loader.js:1000 Input: Adding mouse #0: System mouse (device id: System mouse)
loader.js:1000 Mouse: Registered System mouse
loader.js:1000 Mouse: End initialization
loader.js:1000 Could not initialize SDL Haptic subsystem: SDL not built with haptic (force feedback) support.
loader.js:1000 Joystick: Start initialization
loader.js:1000 Joystick: End initialization
loader.js:1000 Searching font Liberation Sans in -. path/s
loader.js:1000 font Liberation Sans|Regular is not TrueType or BDF, using MAME default
loader.js:1000 Region ':maincpu' created
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: found emulator/ddragon.zip ECD
loader.js:1000 unzip: emulator/ddragon.zip has no ZIP64 ECD locator
loader.js:1000 unzip: read emulator/ddragon.zip central directory
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':sub' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':soundcpu' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':gfx1' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':gfx2' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':gfx3' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':adpcm1' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':adpcm2' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':proms' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Optional memory region ':screen' not found
loader.js:1000 Starting Double Dragon (Japan) ':'
loader.js:1000   (missing dependencies; rescheduling)
loader.js:1000 Starting Hitachi HD6309E ':maincpu'
loader.js:1000 Starting Timer ':scantimer'
loader.js:1000 Starting Hitachi HD63701 ':sub'
loader.js:1000 Starting Motorola MC6809 ':soundcpu'
loader.js:1000 Starting gfxdecode ':gfxdecode'
loader.js:1000 Starting palette ':palette'
loader.js:1000 Starting Video Screen ':screen'
loader.js:1000 Starting Speaker ':mono'
loader.js:1000   (missing dependencies; rescheduling)
loader.js:1000 Starting Generic 8-bit latch ':soundlatch'
loader.js:1000 Starting Yamaha YM2151 OPM ':fmsnd'
loader.js:1000 Starting MSM5205 ':adpcm1'
loader.js:1000 Starting MSM5205 ':adpcm2'
loader.js:1000 Starting Double Dragon (Japan) ':'
loader.js:1000   (missing dependencies; rescheduling)
loader.js:1000 Starting Speaker ':mono'
loader.js:1000 Starting Double Dragon (Japan) ':'
loader.js:1000 Attempting to parse: default.cfg
loader.js:1000 Attempting to parse: ddragon.cfg

Page 1 of 2 1 2

Who's Online Now
1 registered members (reenigne), 65 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,722
Posts114,638
Members4,873
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3