diff --git a/App/css/style.css b/App/css/style.css index 59badb3..91cd944 100644 --- a/App/css/style.css +++ b/App/css/style.css @@ -8,6 +8,9 @@ body { font-family: monospace; background-color: #200; } +input[type="file"] { + display: none !important; +} input[type="button"] { margin: 2px; border: none; diff --git a/App/index.htm b/App/index.htm index 8e2c0d3..29fe456 100644 --- a/App/index.htm +++ b/App/index.htm @@ -1,5 +1,5 @@ - + @@ -15,6 +15,7 @@
+ + + \ No newline at end of file diff --git a/App/js/main.js b/App/js/main.js index 9bdc439..6249469 100644 --- a/App/js/main.js +++ b/App/js/main.js @@ -33,8 +33,6 @@ const APP = { // Start keypress window.onkeyup = function(evt){ - // console.info(evt); - switch (evt.key){ case 'F1': @@ -95,7 +93,7 @@ const APP = { // About screen about: function(){ window.alert('R3 Auto Map Gen. - Version: ' + APP.version + '\nCreated by TemmieHeartz\nTwitter: @TemmieHeartz\n\nBuild Hash: ' + this.hash + - '\n\nExternal plugins present on this project:\nmemoryjs by Rob--\nhttps://github.com/rob--/memoryjs'); + '\n\nExternal plugins present on this project:\n\nmemoryjs by Rob--\nhttps://github.com/rob--/memoryjs'); }, // Init @@ -111,6 +109,7 @@ const APP = { // Get app title string const appTitle = 'R3 Auto Map Gen. - Version: ' + APP.version + ' [' + APP.hash + ']'; + // Update log and app title console.info(appTitle); document.title = appTitle; @@ -153,4 +152,5 @@ delete temp_GRAPHICS; delete temp_DATABASE; delete temp_FILEMANAGER; +// Init window.onload = APP.init; \ No newline at end of file diff --git a/App/js/options.js b/App/js/options.js index 1ffb050..f7f17df 100644 --- a/App/js/options.js +++ b/App/js/options.js @@ -260,8 +260,8 @@ temp_OPTIONS = { APP.options.settingsData.gamePath = pData.dir; // Set ram pos. - APP.options.settingsData.memoryData.stage = window.prompt('Please insert ram pos. for "Stage":\n[Example: 0x00A673C6]'); - APP.options.settingsData.memoryData.room = window.prompt('Please insert ram pos. for "Room":\n[Example: 0x00A673C8]'); + APP.options.settingsData.memoryData.stage = window.prompt('Please insert ram pos. for "Stage":\n[Example: "0x00A673C6" (without quotes) for Classic REbirth 1.1.0 SourceNext patch]'); + APP.options.settingsData.memoryData.room = window.prompt('Please insert ram pos. for "Room":\n[Example: "0x00A673C8" (without quotes) for Classic REbirth 1.1.0 SourceNext patch]'); // Check input var s = APP.options.settingsData.memoryData.stage, diff --git a/compile.js b/compile.js index f8ed8cc..97fafea 100644 --- a/compile.js +++ b/compile.js @@ -38,7 +38,7 @@ module.exports = { packageJson.window.icon = 'img/icon.png'; // Update package.json and remove inc file - this.fs.writeFileSync('./App/package.json', JSON.stringify(packageJson, null, '\t'), 'utf8'); + this.fs.writeFileSync('./App/package.json', JSON.stringify(packageJson), 'utf8'); this.fs.unlinkSync('hash.inc'); // Log data before builder setup