[engine] F5 reload scenario after clearing cache
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Re: [engine] F5 reload scenario after clearing cache
I'm going to ask you to please drop this. This is not what the forum is for.thespaceinvader wrote:Speaking as an impartial observer in many of your discussions, you come across as staggeringly demanding, with a monstrous sense of personal entitlement.
That's what autosave is for. There's nothing irretrievable about it, at least not in single player play. I suppose in MP play, one wouldn't want a "death key." But I'm not sure there's any modal overlap of context anyways. This can be a SP feature.Why are YOUR needs the key here? What about the user who, all unknowing, accidentally hits F5 in the middle of a scenario they're playing, and it kills their game irretrievably?
Because I am producing content that others play for free. It's not a "friggin' finger," it's quite a lot of developer time. Cache reloading is slow and painful. I actually want it to go away entirely, and do everything interpreted, so that developers can see immediate changes. Having a hotkey to speed up the UI part of the problem is just a stopgap. I would have presumed it a sane stopgap, for anyone who does a lot of development.Why should they suffer the accidental loss of their game so you can avoid lifting a frigging finger?
So, our hands are different. What you find easy, others find nearly impossible. We learn something about ergonomics.And incidentally, shift-F5 is pretty easy, and I have short, stubby fingers.
That doesn't make them more important.Users who play are FAR more common than users who develop.
We strongly disagree here. My view is, if Wesnoth is too tedious to develop content for, then developers won't develop content. I have a growing inventory of such issues. This one is straightforward to fix.The basics of the game should support them, even to the detriment of developing content.
It's an obvious suggestion. Granted it may have some corner cases, but I'm surprised at the level of heat and resistance to such an obvious suggestion. "Hey, how about reloading the cache doesn't take as long? Speed up developer time?"That being said, this command is a sensible suggestion
Not my favorite idea, but acceptable, as I said several posts ago.Making it available only in debug mode (which persists once entered even if you close the current scenario)
You know my opinion on this.or making it a multiple-key command would achieve this.
The scenario complexity expands rather quickly. Keystroke macros would have to fail without complaint, as combat conditions will render many keystrokes moot. Still, if it automated unit recruitment on Turn 4 it could be helpful. What I really want is for a saved game to incorporate changes to the base code when I make an edit.I wonder whether Wesnoth('s debug mode) would benefit from some form of keystroke/mouse-macro-recording function like OpenOffice has...
To Lands Unknown, an Arabesque adventure of stunning background art, mobile summoning, and strong storytelling.
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
Re: [engine] F5 reload scenario after clearing cache
Hrm, here's an idea. How about you don't ask me to drop things, and instead, I ask you to drop things. Speaking as a forum moderator and administrator, I have a lot more weight behind my requests.
So. How about you drop the attitude, lose the chip on your shoulder, and learn not to be so aggressive to people who offer you honest and constructive feedback about your ideas?
There. We can both move past the attitude, and discuss the idea sensibly.
The culmination being that it's a sensible idea to have a hotkey command to quit, refresh the cache and reload the scenario, and that it should probably be limited to functioning only when debug mode is enabled.
Would you like to make the feature request, or should I?
So. How about you drop the attitude, lose the chip on your shoulder, and learn not to be so aggressive to people who offer you honest and constructive feedback about your ideas?
There. We can both move past the attitude, and discuss the idea sensibly.
The culmination being that it's a sensible idea to have a hotkey command to quit, refresh the cache and reload the scenario, and that it should probably be limited to functioning only when debug mode is enabled.
Would you like to make the feature request, or should I?
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Re: [engine] F5 reload scenario after clearing cache
Did anyone notice there's something like that already existant in campaigns? that pretty little ctrl+o and load up the scenario prestart save..maybe instead of that new hotkey assignment the game could make such saves also prior to mp scenarios?
and correct me if I'm wrong, but there's no such thing as SP that is not campaigns - SP scenarios are just a special case of hotseat MP
and correct me if I'm wrong, but there's no such thing as SP that is not campaigns - SP scenarios are just a special case of hotseat MP
Like cats? I've made a whole faction of them to kick ass with!
Don't like cats? I've made a whole faction of them to kick their asses! So everyone's happy :)
Felinian faction is part of the Beyond Southern Hells era
kitties need sprites! art topic here
Don't like cats? I've made a whole faction of them to kick their asses! So everyone's happy :)
Felinian faction is part of the Beyond Southern Hells era
kitties need sprites! art topic here
Re: [engine] F5 reload scenario after clearing cache
It doesn't clear the cache. Pardon if I am repeating myself here, but the purpose is to speed development. The cache needs to be reloaded every time a change to *.cfg files is made, or else the changes are not propagated. The Wesnoth savegame format has a section in it that retains the original code configuration when the scenario was started.StDrake wrote:Did anyone notice there's something like that already existant in campaigns? that pretty little ctrl+o and load up the scenario prestart save..
I'm not understanding you here.maybe instead of that new hotkey assignment the game could make such saves also prior to mp scenarios?
They are different in the sense that only 1 human being is hitting keys, and has local storage for autosaves.and correct me if I'm wrong, but there's no such thing as SP that is not campaigns - SP scenarios are just a special case of hotseat MP
Not F5 currently. Go look at the prefs. Anyways, defaults should be reasonable.Max wrote:anyone noticed that you can reassign hotkeys?
To Lands Unknown, an Arabesque adventure of stunning background art, mobile summoning, and strong storytelling.
Re: [engine] F5 reload scenario after clearing cache
I agree that a more intuitive and "quick" F5 reload-cache key would be very useful. As someone who's developed a SP campaign, I've also noticed that it is a pain to exit the scenario, go to the main screen, hit F5, and go all the way back. Since F5 is almost always only used for developing (and people who edit .cfg files for fun I suppose...) this is a great idea to streamline content.
However, I have to agree with the mods that a safeguard is needed. Since this whole deal is meant to streamline "development only", it shouldn't be a potential harm to the player. After all, the game is made for the fun and enjoyment of the player, not necessarily the developer. We develop content without this new hotkey, so I'm sure that making a new one only slightly less convenient than we'd wish won't hinder things.
In short, I support this idea, but with a safeguard (whether it be :debug + F5 or Shift + F5).
However, I have to agree with the mods that a safeguard is needed. Since this whole deal is meant to streamline "development only", it shouldn't be a potential harm to the player. After all, the game is made for the fun and enjoyment of the player, not necessarily the developer. We develop content without this new hotkey, so I'm sure that making a new one only slightly less convenient than we'd wish won't hinder things.
In short, I support this idea, but with a safeguard (whether it be :debug + F5 or Shift + F5).
Re: [engine] F5 reload scenario after clearing cache
We are able to agree on :debug + F5 so that is the FR I will file.bigkahuna wrote:In short, I support this idea, but with a safeguard (whether it be :debug + F5 or Shift + F5).
To Lands Unknown, an Arabesque adventure of stunning background art, mobile summoning, and strong storytelling.
Re: [engine] F5 reload scenario after clearing cache
... and additionally add to the request that the hotkey should be configurable, so anyones wishes would be fulfilled.
Re: [engine] F5 reload scenario after clearing cache
But if it's guarded by :debug, why does anyone want it to be something other than F5?pauxlo wrote:... and additionally add to the request that the hotkey should be configurable, so anyones wishes would be fulfilled.
Note that the current F5 key is not configurable. I think I will file that as a low priority bug, not a FR.
To Lands Unknown, an Arabesque adventure of stunning background art, mobile summoning, and strong storytelling.
Re: [engine] F5 reload scenario after clearing cache
how about file it as an FR but as a debug command instead of keypress. There'd be no fuss about reconfiguring keys and I don't see any way how a cat could accidentally type "recache" or something like that, while pressing a single key in the wrong moment can happen and be annoying even with keeping watch of your debug mode state.
Like cats? I've made a whole faction of them to kick ass with!
Don't like cats? I've made a whole faction of them to kick their asses! So everyone's happy :)
Felinian faction is part of the Beyond Southern Hells era
kitties need sprites! art topic here
Don't like cats? I've made a whole faction of them to kick their asses! So everyone's happy :)
Felinian faction is part of the Beyond Southern Hells era
kitties need sprites! art topic here
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: [engine] F5 reload scenario after clearing cache
How many players know about debug mode before they read about it in the forums ? Should way be enough to eliminate unwanted scenario resets.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: [engine] F5 reload scenario after clearing cache
I can't worry about developers hitting wrong keys when the key in question is at the top of the keyboard and there are no important keys anywhere near it. I would also like to point out that many key combos that people perceive as guards, simply don't work. I've hit CTRL-RANDOMKEY or SHIFT-RANDOMKEY plenty of times due to a fumbling hand, occasionally with disastrous results. If you have to use A S D Z X C frequently, you're going to hit CTRL and SHIFT by accident sooner or later.StDrake wrote:how about file it as an FR but as a debug command instead of keypress. There'd be no fuss about reconfiguring keys and I don't see any way how a cat could accidentally type "recache" or something like that, while pressing a single key in the wrong moment can happen and be annoying even with keeping watch of your debug mode state.
The point of the FR is to have a hotkey that's as fast as possible because reloading the cache and restarting the scenario is such a frequent operation for developers. I am not kidding when I say I do this 100 times a day. It makes for long days. I will request a debug command, a default hotkey mapping for it, and the ability to remap the hotkey, including turning it off. The default should be that the hotkey is available and standard (F5) so that developers know about it and talk about it.
To Lands Unknown, an Arabesque adventure of stunning background art, mobile summoning, and strong storytelling.
-
- Posts: 1549
- Joined: June 18th, 2009, 1:45 am
Re: [engine] F5 reload scenario after clearing cache
I just want to say that the default reload cache button on Mac is not F5, but Ctrl-F5. Because F5 is for something entirely different on Mac. Do keep that in mind.
I'd vote for :debug Shift-F5.
I'd vote for :debug Shift-F5.
Re: [engine] F5 reload scenario after clearing cache
If you were to choose one button for this function on a Mac, what would it be? No CTRL or SHIFT.elvish_sovereign wrote:I just want to say that the default reload cache button on Mac is not F5, but Ctrl-F5. Because F5 is for something entirely different on Mac. Do keep that in mind.
I guess you can vote. I just feel you're ignoring all the ergonomic comments I've made about some people's physical inability to type SHIFT-F5 with one hand.I'd vote for :debug Shift-F5.
To Lands Unknown, an Arabesque adventure of stunning background art, mobile summoning, and strong storytelling.
Re: [engine] F5 reload scenario after clearing cache
So... if Ctrl+F5 is already used to reload cache on Mac, let it be also used for this feature request... on Macs.elvish_sovereign wrote:I just want to say that the default reload cache button on Mac is not F5, but Ctrl-F5. Because F5 is for something entirely different on Mac. Do keep that in mind.
I believe that simple F5 while in debug mode on all other machines would be sufficient safeguard against accidental cache reloads.
ride on shooting star
-
- Posts: 1549
- Joined: June 18th, 2009, 1:45 am
Re: [engine] F5 reload scenario after clearing cache
Read it again.bvanevery wrote:If you were to choose one button for this function on a Mac, what would it be? No CTRL or SHIFT.elvish_sovereign wrote:I just want to say that the default reload cache button on Mac is not F5, but Ctrl-F5. Because F5 is for something entirely different on Mac. Do keep that in mind.
I guess you can vote. I just feel you're ignoring all the ergonomic comments I've made about some people's physical inability to type SHIFT-F5 with one hand.I'd vote for :debug Shift-F5.
And no, I did read all the comments in this thread before posting. In fact I was debating whether to post this or not, not wanting to spark anymore possible fights.elvish_sovereign wrote:I just want to say that the default reload cache button on Mac is not F5, but Ctrl-F5. Because F5 is for something entirely different on Mac. Do keep that in mind.
Actually I'm fine with any shortcut. I just don't like the fact that it will be inconsistent on this OS compared to the others. Anything (one-handed or two-handed) is fine in my book as long as it is the same between all OS's. That makes the most sense to me.em3 wrote:So... if Ctrl+F5 is already used to reload cache on Mac, let it be also used for this feature request... on Macs.elvish_sovereign wrote:I just want to say that the default reload cache button on Mac is not F5, but Ctrl-F5. Because F5 is for something entirely different on Mac. Do keep that in mind.
I believe that simple F5 while in debug mode on all other machines would be sufficient safeguard against accidental cache reloads.