mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
3b51dae2c9
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4456 fc73d0e0-1445-4013-8a0c-d673dee63da5
20 lines
807 B
JavaScript
20 lines
807 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', '-manifest', document.location + '.fmf'];
|
|
// use query string in URL as command line
|
|
if (!document.referrer) {
|
|
qstring = decodeURIComponent(window.location.search.substring(1)).split(" ");
|
|
Module['arguments'] = Module['arguments'].concat(qstring);
|
|
}
|