Comments (12)
should we discuss this on discord?
from exokit.
from exokit.
well I patched emukit/assets/frontend/bundle/js/zip.js@872
to be:
var DEFAULT_WORKER_SCRIPTS = {
deflater: ['z-worker.js', 'http://127.0.0.1:8000/assets/frontend/bundle/js/deflate.js'],
inflater: ['z-worker.js', 'http://127.0.0.1:8000/assets/frontend/bundle/js/inflate.js']
};
then that bug appeared.
now im resolving this error:
uncaught exception: ReferenceError: _elementSetter is not defined
at FileReader.set onload [as onload] (c:\System\Users\Biatu\Dev\git\exokit\src\File.js:14:5)
at BlobReader.readUint8Array (http://127.0.0.1:8000/assets/frontend/bundle/js/zip.js:212:18)
at doSeek (http://127.0.0.1:8000/assets/frontend/bundle/js/zip.js:660:12)
at seekEOCDR (http://127.0.0.1:8000/assets/frontend/bundle/js/zip.js:651:4)
at Object.getEntries (http://127.0.0.1:8000/assets/frontend/bundle/js/zip.js:678:5)
at http://127.0.0.1:8000/assets/frontend/bundle/libretro.js:55:21
at http://127.0.0.1:8000/assets/frontend/bundle/js/zip.js:732:6
at Worker.onmessage (http://127.0.0.1:8000/assets/frontend/bundle/js/zip.js:941:5)
at Worker.emit (events.js:203:13)
at Worker.EventEmitter.emit (domain.js:476:20)
at WorkerVm.<anonymous> (c:\System\Users\Biatu\Dev\git\exokit\src\WindowBase.js:99:12)
at WorkerVm.emit (events.js:203:13)
at WorkerVm.EventEmitter.emit (domain.js:476:20)
at Worker._message (c:\System\Users\Biatu\Dev\git\exokit\src\WindowVm.js:35:16)
at Worker.emit (events.js:203:13)
at Worker.EventEmitter.emit (domain.js:476:20)
at MessagePort.<anonymous> (internal/worker.js:142:55)
at MessagePort.emit (events.js:203:13)
at MessagePort.EventEmitter.emit (domain.js:476:20)
at MessagePort.onmessage (internal/worker/io.js:70:8)
...trying to figure out how to include util.js in File.js :/
from exokit.
Should be this: 1f2caf3
from exokit.
ok this is turning into new issue, going back to initial issue on emukit.
from exokit.
I believe I found a typo in src/request.js@39
, req
is supposed to be res
?
from exokit.
Hm yes, thanks! Does that change anything?
from exokit.
unhandled rejection: Error while reading zip file.
this could be that PS1 bios archive or it's wanting a zipped ROM
from exokit.
That could be one reason, improper handling of gzip.
If that is going through request.js
synchronous requests (I'm not sure if it is), it could also be an insufficient buffer here. But if anything other than importScripts
is using request.js
for synchronous requests that's probably a bigger problem in the use case.
from exokit.
it was a fetch() that was pulling that zip
from exokit.
That should be ok, but something could be wrong with the format that's coming out of the fetch
Response.
from exokit.
how can I dump the response? I'll compare to local file
from exokit.
Related Issues (20)
- MediaPlayer not initialized! HOT 5
- Websocket close is crashing Exokit HOT 13
- Error when loading realitytabs.html example HOT 4
- Cryptovoxels composition
- Releases don't open on Mac HOT 1
- Releases don't open on Android (OnePlus 7 Pro Black Screen) HOT 2
- GL_EXT_frag_depth reported missing even if enabled HOT 3
- Failed to start com.webmr.exokit .fullscreen HOT 2
- Remove unused dependency cross-env HOT 2
- Linux + SteamVR: VRCompositorError_TextureUsesUnsupportedFormat HOT 1
- APK does not compile HOT 2
- Can document.createElement('script'); be used? HOT 1
- Error creating Oculus GL Color Swap Chain HOT 1
- Add AudioContext.createConvolver(), createBiquadFilter() & OfflineAudioContext bindings HOT 12
- Browser.html example does not render
- Problems compiling for Android: LabSound HOT 6
- Best Compressed texture format available on ML1 & Occulus
- Add --help flag for people looking for current flags HOT 2
- YOUR CODE IS INFECTED WITH MALICIOUS DEPENDENCY - node-ipc
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 exokit.