d07riv / diabloweb Goto Github PK
View Code? Open in Web Editor NEWDiablo 1 for web browsers
Diablo 1 for web browsers
Description:
Found a town portal at 2nd level and used it.
App version:
DiabloWeb 1.0.14 (Shareware)
Error message:
Unable to open save file
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15
Save file:
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Save file attached. When entering King Leoric's Tomb, it gets stuck on the level loading screen, and the progress indicator flashes erratically.
Description:
Click on 'Play Shareware'.
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
e/</</<@https://d07riv.github.io/diabloweb/static/js/main.080958d7.chunk.js:1:4278
Also
e.exports@https://d07riv.github.io/diabloweb/fc05444e24a262ff2a58.worker.js:1:11147
e.exports/</_.onerror@https://d07riv.github.io/diabloweb/fc05444e24a262ff2a58.worker.js:1:10190
Maybe we shall add preventDefault() on F5 and Backspace and also map F5-F8 to keypad num keys?
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.12 (Shareware)
Error message:
abort(6). Build with -s ASSERTIONS=1 for more info.
Error message:
Error: Error: Network Error
at e.exports (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:11147)
at XMLHttpRequest._.onerror (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:10190)
at Worker.<anonymous> (https://d07riv.github.io/diabloweb/static/js/main.e77bbf36.chunk.js:1:4270)
Right now in order to play the game you need to either provide a 500MB MPQ file that you have locally or download a 50MB MPQ for the Shareware version.
This can be improved by reading just the files needed dynamically from the MPQ without downloading the whole MPQ.
In order to sort out the dependencies issues better, maybe it will be best to compile the WASM files from the https://github.com/diasurgical/devilutionX/ project which has support for SDL2 and Emscripten supports SDL2.
when exiting the first dungeon I receive the subject error
Error message:
RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at Uint8Array.slice (<anonymous>)
at Object.draw_blit (https://kdata1.com/2019/08/diablo-web8/ec517037eb7f5fbaab67.worker.js:1:74708)
at _api_draw_blit (https://kdata1.com/2019/08/diablo-web8/ec517037eb7f5fbaab67.worker.js:1:52456)
at wasm-function[167]:455
at wasm-function[1321]:1054
at wasm-function[1324]:8
at wasm-function[1243]:15
at Object.a.dynCall_vii (https://kdata1.com/2019/08/diablo-web8/ec517037eb7f5fbaab67.worker.js:1:58718)
at invoke_vii (https://kdata1.com/2019/08/diablo-web8/ec517037eb7f5fbaab67.worker.js:1:49234)
Hey guys, awesome job!
Is there any instruction how to run this on my local server?
Thanks in advance
I cannot input text to create a new character, not sure if there's just something I'm missing?
OS: macOS Mojave 10.14.5 18F132 x86_64
Host: MacBookPro12,1
Kernel: 18.6.0
Packages: 48 (brew)
Shell: zsh 5.3
Resolution: 3440x1440
CPU: Intel i5-5287U (4) @ 2.90GHz
GPU: Intel Iris Graphics 6100
Memory: 9654MiB / 16384MiB
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.17 (Retail)
Error message:
Main program archive: diabdat.mpq
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Save file:
[Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in DownloadSaves()
]
Hey i'm just super curious about how you ported it for emscripten. I've been trying to learn it and my C++ is quite rusty. This weekend will try to compile it myself. Can you explain how you're actually drawing to the html canvas? I think you rewrote the drawing functions in dx.cpp I see - #ifdef EMSCRIPTEN
EM_JS( void, api_draw_blit, (int x, int y, int w, int h, void* ptr), {
self.DApi.draw_blit(x, y, w, h, HEAPU8.subarray(ptr, ptr + w * h * 4));
});
my question is what is DApi? i don't see that anywhere in your source code. is that an emscripten function? or an SDL drawing function?
Thanks
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.13 (Retail)
Error message:
Unable to open save file
Description:
error occured when trying to use stairs down to the 2nd level.
Running the game on Chromium Version 75.0.3770.142. Ubuntu 18.04.02 LTS.
spawn0.sv.txt
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.12 (Shareware)
Error message:
Unable to open save file
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
Error: Network Error
at e.exports (https://d07riv.github.io/diabloweb/static/js/5.5a5ccb56.chunk.js:1:20793)
at XMLHttpRequest.d.onerror (https://d07riv.github.io/diabloweb/static/js/5.5a5ccb56.chunk.js:1:19836)
when i go to town a white screen appears. sound still plays.
browser is latest chrome v 76.0.3809.87 (64 bit)
on F12 theres a JS error. i'll attach a log
d07riv.github.io-1564754812722.log
Description:
Playing shareware version and entered level 2 dungeon which triggered the following error message.
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Not sure what's going on (or if this is even the right place to post it) but on https://d07riv.github.io/diabloweb/ once you click on Play Shareware you get the error
Request failed with status code 404
Hope you can fix it soon, looking forward to this! :)
Description:
[Please describe what you were doing before the error occurred]
I just killed the Butcher, went down for 3rd level, killed a few monsters and wanted to get back to the Town. I just moved way up and instead of loading the Town game crashed.
App version:
DiabloWeb 1.0.14 (Retail)
Error message:
Unable to open save file
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Save file:
[Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in DownloadSaves()
]
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
e/</</<@https://d07riv.github.io/diabloweb/static/js/main.080958d7.chunk.js:1:4278
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.14 (Shareware)
Error message:
Unable to open save file
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Save file:
[Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in DownloadSaves()
]
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
Error: String
at Worker.<anonymous> (https://d07riv.github.io/diabloweb/static/js/main.080958d7.chunk.js:1:4278)
Error message:
Error: RuntimeError: memory access out of bounds
at wasm-function[64]:32
at wasm-function[182]:77
at wasm-function[1101]:278
at Object.a._DApi_Init (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:30446)
at https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:77978
at c (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:61438)
at Generator._invoke (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:61226)
at Generator.e.<computed> [as next] (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:61860)
at u (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:73460)
at a (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:73662)
at Worker.<anonymous> (https://d07riv.github.io/diabloweb/static/js/main.e77bbf36.chunk.js?__WB_REVISION__=5c1adaa2170da45eef64:1:4270)
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Error message:
Error: Error: Network Error
at e.exports (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:11147)
at XMLHttpRequest._.onerror (https://d07riv.github.io/diabloweb/ec517037eb7f5fbaab67.worker.js?__WB_REVISION__=5a2c0ce9f55b1aef4ebc326e5f6b948e:1:10190)
at Worker.<anonymous> (https://d07riv.github.io/diabloweb/static/js/main.e77bbf36.chunk.js:1:4270)
I found a unclickable door on dungeon level 1. you can find the savegame here: http://chaosmarc.de/diablo/single_0.sv
what i did before i found the door:
yesterday:
created a new character
went down to level 3
today
loaded the savegame
esc -> new game -> selected the hero -> new game
went down into the cathedral
The savegame is definitely broken. If loaded with devilution on my desktop the door is unclickable too.
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.10 (Shareware)
Error message:
String
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.14 (Shareware)
Error message:
Unable to open save file
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Save file:
[Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in DownloadSaves()
]
Description:
[Please describe what you were doing before the error occurred]
I took the stairs to go down the next floor.
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
What is the save location of diabloweb? Thanks
Description:
Error appears when enter second floor.
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Description:
When I was in the first dungeon I went to go down into level 2 and got string error
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Description:
Any time returning to two, either via tp or stairs
App version:
DiabloWeb 1.0.13 (Retail)
Error message:
Unable to open save file
Description:
Linux Chrome Version 77.0.3860.5 (Official Build) dev (64-bit)
shows a black screen
Music plays, takes keyboard+mouse input, but no display
App version:
DiabloWeb 1.0.3 (Shareware)
Error message:
n/a
Description:
Clicked on the stairs down on the first dungeon level. Prior to this I gained level 2 and put 5 points into magic, then learned the firebolt spell. Had a few items in my inventory, but it wasn't full. Neither was the "belt" quickbar. Played it in fullscreen mode (F11) on Chrome.
App version:
DiabloWeb 1.0.10 (Shareware)
Error message:
String
Hey @d07RiV
first of all great work! I've been following the devilution project for a while now and this is my favorite port so far 😃
From some other issues I've found out that savegames can be exported via DownloadSaves() or DownloadFile("single_X.sv") / DownloadFile("spawnX.sv"). Great thing! I tried using them locally and they load flawlessly 😃
My question is if you would be willing to implement an import for savegames as well. This way one could download them and continue playing on other devices.
I'm fine with js commands for the developer console but an UI (like for the MPQs) for both of those features would probably be better received from the majority of users 😇
Thank you very much for the outstanding port :)
ChaosMarc
Description:
Entering dungeon level 2 in first dungeon and received this generic string error. Using latest version of Chrome on an iMac.
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
String
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.17 (Shareware)
Error message:
Unable to open save file
User agent:
Mozilla/5.0 (Linux; Android 8.0.0; LDN-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 Mobile Safari/537.36
Save file:
[Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in DownloadSaves()
]
Description:
[Please describe what you were doing before the error occurred]
App version:
DiabloWeb 1.0.11 (Shareware)
Error message:
Error: Network Error
at e.exports (https://d07riv.github.io/diabloweb/static/js/5.5a5ccb56.chunk.js:1:20793)
at XMLHttpRequest.d.onerror (https://d07riv.github.io/diabloweb/static/js/5.5a5ccb56.chunk.js:1:19836)
So they reports bugs to the upstream a lot:
https://github.com/diasurgical/devilution/issues?utf8=%E2%9C%93&q=is%3Aissue+d07RiV
I think you need to put project's own URL in the first, most visible place. And maybe hide the upstream URL as a one-word link somewhere below. So the choosing priority is more clear:)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.