1
0
Fork 0
forked from fte/fteqw
fteqw/engine/web/prejs.js
Spoike 096beec004 probably useful.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-04 08:38:01 +00:00

16 lines
612 B
JavaScript

Module['preRun'] = function()
{
FS.createPath('/', 'id1', true, true);
//FS.createPath('/', 'qw', true, true);
//FS.createPath('/', 'fte', true, true);
//FS.createPath('/', 'tmp', true, true);
FS.createPreloadedFile('/id1/', 'pak0.pak', '/pak0.pak', true, false);
//FS.createPreloadedFile('/id1/', 'pak1.pak', '/pak1.pak', true, false);
//FS.createPreloadedFile('/id1/', 'pak2.pak', '/pak2.pak', true, false);
//FS.createPreloadedFile('/id1/', 'pak3.pak', '/pak3.pak', true, false);
};
Module['arguments'] = ['-nohome', '+connect', 'tcp://127.0.0.1:80'];//, '-manifest', document.location + '.fmf'];