probably useful.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4284 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-04-04 08:38:01 +00:00
parent 49197218bc
commit 096beec004

16
engine/web/prejs.js Normal file
View file

@ -0,0 +1,16 @@
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'];