Unified Setting Tool (based on Settings++) - Page 2

Unified Setting Tool (based on Settings++)

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Another thing: Instead of a scroll bar to set the value I'd much prefer an edit field. I cba to set the registry entries manually only because I don't have a clue what the current value is.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

I don't understand your second sentence. Could you please explain / give an example?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

Made some progress. If you like, check out this windows binary with tabbed interface.
The window is about 720*540 now, but can still be optimized and is missing a menu.

Please don't try to change resolution with this, it'll screw your reg value. Still haven't figured that bug out yet.

Comments welcome
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Image
Archangel of Death
Posts: 854
Joined: 28 Jan 2005, 18:15

Post by Archangel of Death »

rattle wrote:... I cba to set the registry entries manually only because I don't have a clue what the current value is.
His second sentence was just about how he finds the registry incomprehensible, its purpose probably to provide a reason for why he wants the feature he requested. Though if the slider uses some kind of intelligent incrementing so you can get sensible values (instead of only numbers like 8361 max particles :roll: ) it would less useful.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

A combobox would be a better choice than a spinner for something like 'medium' or 'low' or 'high' if only because it shows the user every single choice at once, whereas with a spinner control the user has to manually go through each and each choice available.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Either combobox or drop down menu. The latter saves space.
finds the registry incomprehensible
No, the other way around. :)
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

The registry finds you incomprehensible?

... In soviet russia?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

How would I go about testing this in Linux?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

ah yes forgot about the linux binary. here it is:
Settings++.tar.gz (source included)

if you have trouble executing, try building it yourself.

if you do try it out make sure to backup your .springrc in case anything goes wrong and please report back with feedback (i.e. which wm/distro), thanks

note the mouse settings tab is a little messed up atm

Edit: corrected link
Last edited by koshi on 30 Oct 2007, 19:42, edited 1 time in total.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Link is broken.
Correct link: http://graasmilk.net/spring/Settings++.tar.gz
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

thanks for the correction

did the tool work for you? what do you think?
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

koshi wrote:thanks for the correction

did the tool work for you? what do you think?
No it did not work. I had a missing .so. But I don't know why. WxWidgets 2.8 are installed.

Error:

Code: Select all

./Settings++: error while loading shared libraries: libwx_gtk2u_aui-2.8.so.0: cannot open shared object file: No such file or directory
And I did not compile it because I haven't installed scons.
If you need rpm packages for the settings tool I can make some.
Tell me then the tool is finished and I make some.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

What do those mouse speed settings do? Works fine for me (displaying the info, I don't need to change anything), after compiling from source.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

@agon: that error is indeed a little strange. I use the output of "wx-config --version=2.8 --cxxflags --libs" for compiling/linking and libwx_gtk2u_aui-2.8.so is nowhere to be found in that. I have now restricted the libs to be linked to wx_gtk2u_core-2.8 and wx_baseu-2.8 if this also fails then there is something really wrong. Please try the new binary.
I would consider static linking on linux also (like I'm doing on win atm), but the way I see it that would require me to rebuild wxwidgets and keep it in addition to the shared libs on my system. Also wxwidgets is very commonly installed as shared libs on most distros, is it not? So if I can work out your issue (with which you probably are not alone) there would be no need for static linking.
I don't know right now how this will be distributed once it is finished, but if itdoesn't make its way into spring's build system itself, I'll gladly accept your offer of making an rpm.

@LordMatt: You tried a build where the labels saying "xxx scroll speed" were missing, right? That I have corrected, but write funtionality of those settings is still missing. Also did you get errors when trying to run the binary or why did you compile it yourself?

up-to date links:
win binary
linux binary
source
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

I guess so, the labels are in the new version. I compiled because I got the same error agon did (and still get with your updated version).
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Error:
./Settings++_linux.bin: error while loading shared libraries: libwx_gtk2u_core-2.8.so.0: cannot open shared object file: No such file or directory

Side node: I'm using a 64 Bit Computer, this means the library is in /usr/lib64

Installed:
/usr/lib64/libwx_gtk2u_aui-2.8.so.0
/usr/lib64/libwx_gtk2u_core-2.8.so.0
/usr/lib64/libwx_baseu-2.8.so.0

Maybe this means I need a build for a 64Bit architecture.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

I am also using a 64bit distro (ubuntu feisty).
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

Ah well, didn't think about different directories for includes.
I've managed a build where wxwidgets libs linking is static (GTK2 is still linked dynamically). Maybe that will solve that problem (hopefully not raise the next). I don't really know if you would need a 64-bit build, but please try out this new build and we'll see:
Linux binary with wxwidgets linked statically
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Code: Select all

./Settings++_static.bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
Post Reply

Return to “Engine”