From 4f14108772ab78bdd0f1e15642a5b23f158bc65b Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Sat, 29 Jul 2023 20:20:08 +0100 Subject: [PATCH] Minor tidying and updating --- Data/Scripts/008_Audio/001_Audio.rb | 15 --------------- README.md | 7 ++++--- mkxp.json | 10 +++++----- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/Data/Scripts/008_Audio/001_Audio.rb b/Data/Scripts/008_Audio/001_Audio.rb index 7d44cccbf..986673f22 100644 --- a/Data/Scripts/008_Audio/001_Audio.rb +++ b/Data/Scripts/008_Audio/001_Audio.rb @@ -1,18 +1,3 @@ -# Needed because RGSS doesn't call at_exit procs on exit -# Exit is not called when game is reset (using F12) -$AtExitProcs = [] if !$AtExitProcs - -def exit(code = 0) - $AtExitProcs.each do |p| - p.call - end - raise SystemExit.new(code) -end - -def at_exit(&block) - $AtExitProcs.push(Proc.new(&block)) -end - #=============================================================================== # Methods that determine the duration of an audio file. #=============================================================================== diff --git a/README.md b/README.md index 65ab8e566..c8be60fc3 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Pokémon Essentials -Based on Essentials v20.1. +Based on Essentials v21. You can build your fangame on top of a fork of this repository. Doing so will let you update your fangame with improvements made to this repo as soon as they are made. ## Usage 1. Fork this repo. -2. Get a copy of Essentials v20.1 (a download link cannot be provided here). -3. Clone your forked repo into the Essentials v20.1 folder, replacing the existing files with the ones from the repo. +2. Get a copy of Essentials v21 (a download link cannot be provided here). +3. Clone your forked repo into the Essentials v21 folder, replacing the existing files with the ones from the repo. From here, you can edit this project to turn it into your fangame/develop mods. When this repo is updated, you can pull the changes to update your fork and get the updates into your fangame/modding environment. @@ -37,5 +37,6 @@ The .gitignore file lists the files that will not be included in this repo. Thes * Everything in the Data/ folder, except for: * The Data/Scripts/ folder and everything in there. * Scripts.rxdata (a special version that just loads the individual script files). + * messages_core.dat, which contains common messages and is useful for translation projects. * A few files in the main project folder (two of the Game.xxx files, and the RGSS dll file). * Temporary files. diff --git a/mkxp.json b/mkxp.json index ee3176ddf..151cf6b85 100644 --- a/mkxp.json +++ b/mkxp.json @@ -145,15 +145,15 @@ // "vsync": true, - // The game's frame rate. - // - "fixedFramerate": 61, - // Use a fixed framerate that is approx. equal to the native screen refresh // rate. This is different from "fixedFramerate" because the actual frame // rate is reported back to the game, ensuring correct timers. If the screen // refresh rate cannot be determined, this option is force-disabled. This // option may be force-disabled at build time. // - // "syncToRefreshrate": false, + "syncToRefreshrate": true, + + // The game's frame rate, if "syncToRefreshrate" is false. + // + // "fixedFramerate": 60, }