Page 10 of 41

Posted: 30 Jul 2006, 17:22
by clericvash
keithjr wrote:I have a nice piece of information for the people using dep-spring's spring-setup to download content...

It is really nice that in spring-gui we can pick from a drop-box which mod we want, but every time spring-setup saves its changes it deletes all the files in the /mods folder in the spring directory. This can be prevented simply by editting the file /usr/bin/spring-setup and changing LINE 950 from

Code: Select all

system("rm -f $pathq/mods/*");
to this:

Code: Select all

#system("rm -f $pathq/mods/*");

Now you can just keep copying, downloading, or moving mods from /usr/share/spring/mods (where debspring stores them) into your springdir mods folder. They will be used to populate spring-gui's drop box and won't be deleted if you use spring-setup again.
Should this be included defualty?

Posted: 30 Jul 2006, 17:38
by keithjr
clericvash wrote:
Should this be included defualty?

Meh, that's up to fbo. The script is set up to work with spring-setup alone, not other scripts. I can write a simple workaround and let fbo integrate that into a future release; there's not much reason to clear out that folder if you can just pick the right file therein. I think.

For now, this will do.

Posted: 30 Jul 2006, 17:44
by hollowsoul
Last i heard fbo is working on something very nice.

Once that is done should be real easy to implement support for his script features.
Once i get this new GUI design done first of course :)

updated :-
Actually its all his idea, but its very nice :P
Now to get back to new GUI. Making some nice progress

Posted: 30 Jul 2006, 21:58
by clericvash
hollowsoul wrote:Last i heard fbo is working on something very nice.

Once that is done should be real easy to implement support for his script features.
Once i get this new GUI design done first of course :)
Sounds like you two have been cooking up plans hehe, i like the sound of it :)

Posted: 30 Jul 2006, 23:22
by hollowsoul
Why cant i edit the poll :evil:

Anyway little survey
Question 1 Do peep have much maps?
Thinking of replacing Map Combobox with one similar to Player Selection in screenshot. Whole idea is ability to sort maps by player positions / custom filters. In order to avoid delays in starting battle screen gonna need a simple .ini text file with map details i.e file index contain map info (except for screenshots)
Or do peep not have that many maps in general ?

Also note gonna be a small map preview in bottom left corner under the tabs along with mod name. And map image will resize based on height / width i.e not like currently where the image is streched to a square shape. And a Animated Icon / button to remind user host = ready. Trying to make GUI up for when i get lobby coded in. So no need for major design.


Question 2 Does anyone have multiple taspring installed i.e tagged release & svn release?
Redoing setup code with GUI frontend, so u can graphic tell script u got gentoo / debspring / svn install. And overwrite the default locations (based on gentoo / debspring / svn) if u need to. Was also thinking could have multiple profiles in user account i.e 1 setup for svn & 1 for gentoo etc.

Question3 Anyone want to be able to change the default font for spring ?
Just need keep the same name for file. Already got hands on small (gpl 2 or later) pygtk code for a font preview app. So wouldnt be to much work

Question 4 Anyone want ability to save battle profiles i.e Unit Restrictions profile & Player / Map / Options in a another profile. Or not much point ?

Yeah been busy brainstorming the whole GUI setup.
Since had to learn a nice bit of pygtk to get player section right.
Only got basic coding for it left todo. Hard bits = done

Bare in mind, still have to add basic colour selection & side & get some images i.e rank / ready / waiting / not ready icons (gonna borrow some from omni i think).

The Player section popup menu sry cant take a screenshot of it :(
got right click to add players / spectators / bots.
got double left click to change the bot/player team / ally / colour / side / remove player(/bot)

Image

Posted: 30 Jul 2006, 23:42
by keithjr
1. Yes, most people probably like to have several maps to play on. I'd imagine speedmetallers only have one or two but who cares.

2. I myself only use debspring, although I have the svn code lying around for reference. So, no I suppose. Ideally all installations would use similar directory structures some day.

3. Nah...bells and whistles.

4. That actually might be clever. At the very least, make sure that it can remember all such settings from the previous use as they are most likely to be reused as such.

Nice to see you've made so much progress. It is truly baffling how you've gotten so much done. I wish I had more free time and could keep up :wink:

Posted: 30 Jul 2006, 23:44
by Tobi
Question 1 - Yes, I've just above 300 maps IIRC.

Question 2 - Yes, only SVN builds tho, but of multiple branches.

Question 3 - To much hassle to implement IMHO (also considering compatibility etc.), not needed.

Question 4 - Win lobby has it (a bit), but IMHO it you have to watch out to not offer too much functionality. A "save default" & "load default" as win lobby has works fine probably. If anything more advanced is wanted, just have a few slots for 2 or 3 profiles. Anything more complex is not needed IMHO and just clutters the GUI. (like giving names to profiles etc.)

Posted: 31 Jul 2006, 07:43
by wally
Only had to say: Thank you very much, hollowsoul!

Also thanks to keithjr or someone who provided unitsync.so-file.

I got the gui up, but it doesn't find any maps or mods. Have to check again after work, if I missed something somewhere. Maybe its only that spring-setup that deletes my mods and maps as told by keithjr.

I have debspring and got confused with that datadir-thingie. I don't even have /etc/spring/datadir, instead I have ~/.spring/localhost0:0/datadir or some like that. Should I still leave datadir blank?

Good work.

Posted: 31 Jul 2006, 08:00
by wally
1. Yup

2. Don't have now, but there is some situations I would have. For example If some mod or AI doesn't work with latest spring, I would have two versions. But this is not very high on list. (of course you can have two _copies_ of spring-gui also...)

3. Have no need for that.

4. Would be nice.

----

My spring progress this far:
1. Got debspring work with XTA 1 vs. 1.
2. Didn't got debspring to work with World Domination (personally hate sci-fi). "No sync response from You" <- sides hard coded, I think. Doesn't help to change sides to NATO, Nato, nato or something.
3. Can't even change sides from Core to the other one I can't remember. Altough I could change playername from the script. That's something really weird
4. Switched to windoze-spring via wine: now WD works, but, I have no opponent. Also lags sometimes badly (especially when land changes form by construction or fire).
5. Found spring-gui...

Posted: 31 Jul 2006, 10:26
by clericvash
1 - Yes i have a large amount of maps.

2 - No i only use debspring.

3 - Yes it would be nice to choose our own font, and font size.

4 - Unit restriction saving would be nice, but i don't think the others are really needed.

Posted: 31 Jul 2006, 23:59
by hollowsoul
Ok thx for replys.
Think i have 2 seperate profiles.
  • 1st for general settings & options etc
    2nd for unit restriction. Shouldnt take up much space.
    Also have a pop dialog when savin profiles to ask for a name for profile
As for map selection
Left TODO is
  • Add filters & Add right click on columns to hide/show column Might leave this to next release after this one
    Label to inform user map index = Update (gonna base it off map numbers via unitsync & map-index.ini map count. checksum would be overkill and take longer) (need to code)
    and add button to update index(only gui code left todo)
Add map description to under map.
Add just the map preview image & map name to Player section

Here is current work-in-progress for map selection
Is double click to select map.
Image
And yes that is resizing map image based off height / width info

8)

Posted: 01 Aug 2006, 02:39
by Dragon45
I take it this will originally supplant current lobby? (eventually)

Posted: 01 Aug 2006, 10:37
by hollowsoul
ehh
Atm just overhauling GUI, and implenment some features (still got a few havent mentioned :P)

Then start adding in windows code & release.
Then start coding in lobby release & release.
Once lobby code implentented it be another lobby client u can choose from.

As for taking over as default lobby client. Got no plans for that
Once the windows & lobby coded in, would be up to dev's to decide if they want it. Also Spring-GUI is also GPL2+

Posted: 01 Aug 2006, 12:25
by Tobi
will you put in my run-spring-through-gdb-and-automagically-create-a-backtrace patch? (possibly made optional)

Posted: 01 Aug 2006, 12:40
by hollowsoul
@ Tvo
Yeah got your patch saved on computer.

Was thinking of havin a tick bot to enable gdb debugging when u are making up a game. Gonna add it in for next version

Atm just finishing up map selection (be done in a few minutes),
then do mod selection have a nice idea GUI wise will post a screenshot when get it coded.
Basicly, a collapsed treeview of mods, and when u expand AA u see the list of mutators for AA.

Then i can finish up player section. Needed Map Preview / Mod Selected / Mod Sides. Before i could finish it off.

Then release a test version while i work on the GUI Setup code & adding in windows code. And after that work on other featues got in mind & lobby code

Posted: 01 Aug 2006, 15:40
by hollowsoul
More annoying news update :)

Tried requesting images in Art & Modelling Section. Got like 2 images for Ok & no answer back from requesting if possible to change the wording. Was looking for image i.e Start Skirmish / Fight etc..


Gonna try here now.
Need images for just about anything u can think of.
Grabbing some images from omni but still abit short

Pretty much any image type u can think of

Also .gifs or any other animated images is welcomed i.e omni got right / yellow / red circle icons. Be nice if could get animated images where they pulsed in there in colour.

Think of lobby and possible images i.e
  • Start
    Fight
    Ready / Waiting / Not Ready
    Ping Brillant / Good / Bad / Ugly
    Update Map List
    Unit Browser (not 100% sure yet if will use image for this)
    Image to go online from Battle
    Image for Spectator
    Image for Bot
Omni Images i got are under omni/resources
Of if u dont have omni http://svn.berlios.de/wsvn/taspring-lin ... rev=0&sc=0

Images should include wording if possible
Anyway heres hoping someone will answer this call. Otherwise gonna be some very weird images that dont make sense in next release.

Posted: 01 Aug 2006, 20:08
by clericvash
If you need any smilies i created a set for my php project which i would be happy to let you use, don't know if you would though?

Posted: 01 Aug 2006, 21:11
by keithjr
it would also be nice that if you implement the tree-list for the mod list as you say you will, that you group together different versions of the same mod perhaps? A simple string search should do all the work for that. Just a thought.

Pictures? I could try to put some together, what size / color scheme are you thinking, those are important distinctions.

Either way I'll see what I can put together, or maybe dust of my Gimp skills.

Posted: 01 Aug 2006, 21:12
by AF
I forgot about mod pictures, I planned for those in AFLobby too, 64x64 images.

Posted: 01 Aug 2006, 22:35
by hollowsoul
@keithjr I get u the pixel sizes for various images tomorrow. Although i can easy resize them using pygtk, so not as much an issue.
Also for mods have a GUI idea involving collapsing trees will post a screenshot later gonna code it in tonight.
(its similar code to map / player section so be easy to code in atm, will code it in now & see what it looks like)

As for colour scheme / theme *shrugs*. Art is not my thing so let u come up with some ideas. I PM u latest screenshots tomorrow, when get more of GUI polished abit. So u can have a look yourself at layout yourself.


@AF for mods i was thinking of asking engine dev's & modders to store the pics inside the mod archive itself.
That way the modders can change the images themselves & less work for lobby clients dev's. Not to mention if u are making up a mod, just add the images inside & instantly u see the images in the various lobby clients.
Just need to iron out what image type & sizes. Think i pm betalord about idea & see what he thinks later.

@Clericvash simlies for chat would be nice. could have archives so user can change to different types & turn them off altogether