Page 1 of 1

[1.0.4] Faster Run/Rest/Explore

Posted: Fri Jun 28, 2013 7:44 am
by johnnyzero
Faster Run/Rest/Explore

Enables faster run/resting by use of FPS dividers.

These dividers simply divide the game's requested FPS by their respective values while resting or running. They can configured by hitting escape and selecting video options. Setting these dividers to something greater than one can substantially reduce the amount of time required to finish resting/running on older computers.

Recommended settings:
  • Requested FPS: 30
  • Resting divider: 10 (3 FPS while resting)
  • Running divider: 5 (6 FPS while running/autoexploring)
Just be careful when resting on an escort mission...

Image Image

Change log:
  • 2013-07-02
    • Added range checks for bogus divider values. (this can happen when the settings are manually changed in the .cfg files or when the FPS is changed from the main menu)
    • Added "first run" dialog which pops up when .cfg files are missing.
    • Highlighted the relevant fps/divider options in Video Options.
    • Fixed "Requested FPS" item in Video Options.
  • 2013-06-28
    • Initial Revision
Technical Info
This addon was implemented using hooks and superloads, so it should behave nicely with other addons. The one exception is that the RUN_AUTO key bind in ToME is overloaded.

Code: Select all

Hooks:
  ToME:load
  ToME:run

Superloads:
  engine.dialogs.VideoOptions
    generateList
  engine.interface.PlayerRest
    restInit
    restStop
  engine.interface.PlayerRun
    runInit
    runFollow
    runStop
  mod.class.Game
    setupCommands (Note: the RUN_AUTO keybind is overloaded here)
Why was this addon made? Check this post for more information: [1.0.4] T-Engine performance concerns

Re: [1.0.4] Faster Run/Rest/Explore

Posted: Fri Jun 28, 2013 8:28 am
by darkgod
You could probably try using the new exe with a 1.0.4 install (saving will not work though) and see how it is

Re: [1.0.4] Faster Run/Rest/Explore

Posted: Tue Jul 02, 2013 9:32 am
by johnnyzero
New version posted. See original post for the changelog.

Darkgod's post has nothing to do with this addon, but he did let me know that his computer is so fast that he sees no difference with this addon. :? So, your mileage may vary. I see great results on a core 2 duo + geforce 8800gts + win32 with the settings I've recommended in the original post. I also recommend using the Rest Tweaks addon by CaptainTrips along with this addon for maximum resting/exploring efficiency.

Re: [1.0.4] Faster Run/Rest/Explore

Posted: Tue Jul 02, 2013 9:35 am
by darkgod
Just a note, I wish more addon makers would do as you do and say what things they hook/superload/overload and where they are being NAUGHTY :)

Re: [1.0.4] Faster Run/Rest/Explore

Posted: Tue Jul 02, 2013 1:04 pm
by HousePet
darkgod wrote:Just a note, I wish more addon makers would do as you do and say what things they hook/superload/overload and where they are being NAUGHTY :)
Oh fine.

Re: [1.0.4] Faster Run/Rest/Explore

Posted: Fri Feb 14, 2014 10:18 pm
by loimprevisto
Love the addon!

Played several games with it and never ran into an issue until now:
ua Error: /engine/interface/PlayerRest.lua:52: attempt to index field 'resting' (a nil value)
At [C]:-1 __index
At /engine/interface/PlayerRest.lua:52 base_restInit
At ...ons/faster_rre/superload/engine/interface/PlayerRest.lua:28 restInit
At /mod/addons/faster_rre/superload/mod/class/Game.lua:73
At /engine/KeyBind.lua:229

Re: [1.0.4] Faster Run/Rest/Explore

Posted: Tue Jul 28, 2015 11:53 am
by Lotus97
I guess my computer sucks because this makes things a lot faster :lol:
Thanks.