ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Fri Dec 14, 2018 5:12 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Jun 28, 2013 7:44 am 
Offline
Thalore

Joined: Tue Feb 28, 2012 6:36 am
Posts: 148
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:
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.

Top
 Profile  
 
PostPosted: Fri Jun 28, 2013 8:28 am 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10234
Location: Angolwen
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 ;)


Top
 Profile  
 
PostPosted: Tue Jul 02, 2013 9:32 am 
Offline
Thalore

Joined: Tue Feb 28, 2012 6:36 am
Posts: 148
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.


Top
 Profile  
 
PostPosted: Tue Jul 02, 2013 9:35 am 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10234
Location: Angolwen
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 ;)


Top
 Profile  
 
PostPosted: Tue Jul 02, 2013 1:04 pm 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5780
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.


Top
 Profile  
 
PostPosted: Fri Feb 14, 2014 10:18 pm 
Offline
Thalore

Joined: Sun Apr 21, 2013 8:27 am
Posts: 131
Love the addon!

Played several games with it and never ran into an issue until now:

Quote:
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


Top
 Profile  
 
PostPosted: Tue Jul 28, 2015 11:53 am 
Offline
Wayist

Joined: Sun Jul 26, 2015 9:41 pm
Posts: 25
I guess my computer sucks because this makes things a lot faster :lol:
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group