wowserhq / wowser Goto Github PK
View Code? Open in Web Editor NEWWorld of Warcraft in the browser using JavaScript and WebGL
License: MIT License
World of Warcraft in the browser using JavaScript and WebGL
License: MIT License
I get the following error when I try to run either npm run serve
or npm run start
λ npm run serve
> [email protected] serve C:\Projects\wowser
> bin/serve
'bin' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] serve: `bin/serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script 'bin/serve'.
npm ERR! This is most likely a problem with the wowser package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bin/serve
npm ERR! You can get their info via:
npm ERR! npm owner ls wowser
npm ERR! There is likely additional logging output above
this looks like a case of OSX's explosive linter
http://threejs.org/docs/#Reference/Core/BufferGeometry:
This class is an efficient alternative to Geometry, because it stores all data, including vertex positions, face indices, normals, colors, UVs, and custom attributes within buffers; this reduces the cost of passing all this data to the GPU. This also makes BufferGeometry harder to work with than Geometry; rather than accessing position data as Vector3 objects, color data as Color objects, and so on, you have to access the raw data from the appropriate attribute buffer. This makes BufferGeometry best-suited for static objects where you don't need to manipulate the geometry much after instantiating it.
Perhaps even allow configuring the data directory by argument:
npm run serve /wow-data
This may also warrant a file hierarchy structural change.
Make the default data directory platform-independent using process.platform
:
default: 'C:/Program Files (x86)/World of Warcraft/Data'
If we're feeling really fancy we could even look at process.arch
to hop into Program Files (x86)
or regular Program Files
.
I think it would make coding style more consistent (for all contributors), because it does. See more details here http://editorconfig.org/
Possible candidates:
This would prevent the (massive) lag currently experienced when loading the M2, ADT and BLP formats in the game screen.
Each pipeline component (M2, ADT and BLP) should get their own Browserified bundle, each to run in a separate Web Worker.
Riotify would allow bundling the UI using CommonJS requires, no longer requiring global variables/scripts to be present.
Possible candidates:
Instead of converting to ThreeJS compatible JSON formats, which are twice/thrice the size.
Might be a race condition in THREE's texture loader.
Yay / nay?
Mark own ByteBuffer project as unmaintained.
"asi": true
from .jshintrc
hey I don't have WoW installed but i'm curious what this looks like!
Hi, this may be related to issue reported in dependency wowserhq/blizzardry#51
There is no error message on crash, I had to search where the app crashes:
wowser/lib/server/pipeline/index.js
Lines 62 to 72 in f800a87
After the crash I get -1073741819 from echo %ERRORLEVEL% (access violation)
Any help greatly apprieciated
Thanks
Peter
As you already did in blizzardry dependency wowserhq/blizzardry@34e2b88
Thanks!
Might be related to the MCAL
and MCSH
chunks reporting incorrect sizes.
Known problematic ADTs:
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.