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:
parent
49197218bc
commit
096beec004
1 changed files with 16 additions and 0 deletions
16
engine/web/prejs.js
Normal file
16
engine/web/prejs.js
Normal 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'];
|
||||
|
Loading…
Reference in a new issue