[1.0.4] Faster Run/Rest/Explore

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
johnnyzero
Thalore
Posts: 148
Joined: Tue Feb 28, 2012 6:36 am

[1.0.4] Faster Run/Rest/Explore

#1 Post 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
Last edited by johnnyzero on Tue Jul 02, 2013 10:00 am, edited 3 times in total.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [1.0.4] Faster Run/Rest/Explore

#2 Post 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
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

johnnyzero
Thalore
Posts: 148
Joined: Tue Feb 28, 2012 6:36 am

Re: [1.0.4] Faster Run/Rest/Explore

#3 Post 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.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [1.0.4] Faster Run/Rest/Explore

#4 Post 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 :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: [1.0.4] Faster Run/Rest/Explore

#5 Post 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.
My feedback meter decays into coding. Give me feedback and I make mods.

loimprevisto
Thalore
Posts: 131
Joined: Sun Apr 21, 2013 8:27 am

Re: [1.0.4] Faster Run/Rest/Explore

#6 Post 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

Lotus97
Wayist
Posts: 25
Joined: Sun Jul 26, 2015 9:41 pm

Re: [1.0.4] Faster Run/Rest/Explore

#7 Post by Lotus97 »

I guess my computer sucks because this makes things a lot faster :lol:
Thanks.

Post Reply