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

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
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

Do you mean for menu items? Thats easily done.
Tabswitching, tabbing through controls I don't know.
Or do you mean something else?

Sidenote: fileroller can handle passworded files, or is that a matter of the underlying unrar. Iirc there is a free and an unfree tool. Can the unfree tool not handle passworded files? If that is so, must I reprimand myself for using the non-free one? :wink:
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Agon wrote:BTW: Linux has rar support. You need to install unrar. If you use KDE with ark you only need to install unrar and you can extract all rar files which are not passworded with ark in a gui.
I think a tool aimed at linux users should work with the default archive manager package without having to install additional softwares.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

LordMatt wrote:
Agon wrote:BTW: Linux has rar support. You need to install unrar. If you use KDE with ark you only need to install unrar and you can extract all rar files which are not passworded with ark in a gui.
I think a tool aimed at linux users should work with the default archive manager package without having to install additional softwares.
Yeah you are right. I prefer tar files ,too.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

I want to add some descriptive text to some options, so I have some questions related to individual settings:

"never use shaders when rendering SM3 maps" and "catch AI exceptions":
i assume there is an underlying problem, what is it? should be default on or off?

"high-resolution LOS textures":
a typo? should it be LOD? otherwise, what are these?

"enable LuaShaders support":
what reason is there against those? what min. shadermodel is needed?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

koshi wrote: "high-resolution LOS textures":
a typo? should it be LOD? otherwise, what are these?
No that's correct it means the coloring of the map when L is pressed is slightly higher resolution. This barely makes any difference in quality though, so I'd just strip the option from the UI.
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

Tobi wrote:No that's correct it means the coloring of the map when L is pressed is slightly higher resolution. This barely makes any difference in quality though, so I'd just strip the option from the UI.
It took me so long to find out about that settings' existence in the first place...
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

I've been debating whether or not I should actually package this, since it really should be a part of the lobby clients. How hard would it be to integrate this into SpringLobby?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Maybe make it a separate package and make the spring package suggest/recommend it?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

It wouldn't be hard at all for SpringLobby to include it technically as it also is build on top of wxWidgets. I'd say less than 10 lines of code.
But since AFLobby probably would also like to able to call it I would prefer a seperate package and make it install to springs binary directory.
Better yet include it in the spring source itself and make it a seperate target once the building/dependencies issues are worked out.
The whole thing is a lot easier on windows, where it is no problem to produce a relatively small binary that has wxMSW statically linked. On linux I have to date successfully linked it statically to wxGTK, but I would also have to do that for the "real" GTK libs and that just seems wrong. I would even say that static linking (or shipping the dynamic libs) isn't the way to go on linux.
I'm willing to be convinced otherwise though, since I never distributed an app to a diverse lot of users.

Just to be sure: this app isn't ready for general distribution yet. (But I am aiming to a relatively complete feature set for next weekend)

-------

As to my earlier questions:
I'm going to drop the "high-resolution LOS textures" from the UI and default them to off? Or on (wasn't really clear what the default should be)?
The other three are still open.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

default to off, it's just a waste of resources to have it on

I'll see if I can get around to updating the mingwlibs with wx etc sometime, didn't get around to that yet.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

As I wrote I can make some rpm packages for the settings application in one hour depending on Spring and wxWidgets.
I think installing the settings application into /usr/bin with a desktop icon would be the best.
SpringLobby could search for the application in /usr/bin and could create a button for opening the application. AFLobby could do the same.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Could someone do a deb file for it?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

koshi wrote:It wouldn't be hard at all for SpringLobby to include it technically as it also is build on top of wxWidgets. I'd say less than 10 lines of code.
Exactly. I guess this leaves us with an architectural decision: should springlobby launch the settings tool, or should the settings tool be internal code to SpringLobby (and then duplicated by AFLobby)?
But since AFLobby probably would also like to able to call it I would prefer a seperate package and make it install to springs binary directory.
Better yet include it in the spring source itself and make it a seperate target once the building/dependencies issues are worked out.
The whole thing is a lot easier on windows, where it is no problem to produce a relatively small binary that has wxMSW statically linked. On linux I have to date successfully linked it statically to wxGTK, but I would also have to do that for the "real" GTK libs and that just seems wrong. I would even say that static linking (or shipping the dynamic libs) isn't the way to go on linux.
I'm willing to be convinced otherwise though, since I never distributed an app to a diverse lot of users.
You don't need to ship a static lib at all; I'll be recompiling it anyway within the package. The package, in turn, will automagically depend on whatever shared libraries it uses (Ubuntu is really nice this way.)
Just to be sure: this app isn't ready for general distribution yet. (But I am aiming to a relatively complete feature set for next weekend)
As long as it's ready around 0.76 :D
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

AFLobby already has provisions for settings.exe and settings++. Go into aflobby settings and set the path and filename to the settings program and the splash screen spring settings button is enabled.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

a quick heads up:
Development hasn't stopped, on the contrary: I've joined the springlobby team and been busy moving there.
UI refactor is almost complete, same goes for simple settings tab.
I moved to unitsync as backend for settings handling to remove direct dependency on spring source. Though some new issues arose (location of unitsync, etc.) once they are ironed out it will make things easier in the future.
It will take some time though to fully integrate the tool (buildprocess, git repository, etc.), but I'll try to get an intermediate build /source-package out by the end of the weekend.
Also, while settings++ will eventually be fully integrated into springlobby, standalone packages will then still be available.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

So just to be clear, we'll still have a settings++.exe ?

It's just that dependency on spring lobby for the settings would be an unfair advantage that's completely unnecessary.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

Also, while settings++ will eventually be fully integrated into springlobby, standalone packages will then still be available.
So I would guess so.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

yeah I thought I was pretty clear on that.
But once more:
there will be standalone executables
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

i would like to know what the option FontCharLast (and maybe corresponding ones) really does (range of values, etc.) to possible include them in the gui

apparently changing the value solves problem with too small ingame fonts

for reference: http://spring.clan-sy.com/phpbb/viewtopic.php?t=11980
Post Reply

Return to “Engine”