I have a few questions about editing temporary files, that I’ll ask here so others can benefit from the clarification…
First check my thinking:
if you use the SAVE_STATE define in your configs, there are five temporary files that get written. They are:
- global.ini
- presets.ini
- presets.tmp
- curstate.ini
- curstate.tmp
From what I’ve read, the .tmp files are essentially backups and should really be left alone, but .ini files can be edited using a simple text editor.
So if, for example, my config clash threshold is set to 2.5 but I’m getting false clashes, I can edit global.ini and simply change that number to something higher, click ‘save’, and job done - I now have a higher clash threshold.
All good so far.
I see I can also juggle blade styles and stuff, and this is quite well documented here:
ProffieOS Documentation: How to edit presets.ini by hand
And I assume that I’m also right in saying that I can change file paths as well? So for instance, if the top line of my preset reads:
font=Dorinian;common/ForceRed;common/functions
and I want to change the force effect to a blue-bladed character, I can change it to:
font=Dorinian;common/ForceBlue;common/functions
(assuming of course there’s a corresponding folder full of wavs on the SD card).
This is all great stuff, and is useful for buyers who may want to tweak without diving into re-programming. (Sorry if I’m late to this particular party, but I’ve always tried to supply, as it were, turn key hilts for people who don’t want to change stuff, and I’ve avoided editing these files for fear of them causing issues of their own, but I’m starting to see the value of these very simple mods for people).
But one point I’m confused on - the curstate.ini blade length files?
I have a hilt loaded with accents which is effectively five blades, but the blade length on all of them, including the main blade, is described as 1.00 on the curstate ini.
My question is, suppose someone has a hilt set for short blade (say, 110 pixels) and they go out and buy a longer blade (say 121 pixels, i.e. 10 percent longer) they will obviously find the end of their new blade doesn’t light up.
Can they fix this in curstate.ini? And if so how? Do they need to work out the percentage extra length of the new blade and enter something like:
blade1len=-1.10
Would that work? And if not, what does the 1.0 refer to?
Would love clarification on this so I can put some simple instructions toegther for people (which I will obviously share here too in case they’re useful).
Thanks as always.