Page 2 of 2

Re: What is Evolution RTS!?

Posted: 02 Nov 2009, 07:31
by wilbefast
Forboding Angel wrote:Does the music in Evo work for you? I have yet to see it not work for everyone.
Yeah, Evo music works fine for me - still the only music I've managed to get working in Spring :?
zwzsg wrote:The installer of KP was made by NSIS, and as such, can be opened with 7-zip under Linux even if it's an exe. Some files and folders are misplaced, but the /music/ folder is here with all the oggs.
Sweet - I'll check it out!

Re: What is Evolution RTS!?

Posted: 04 Nov 2009, 11:49
by wilbefast
Hang on - if the music for Evo works, couldn't I just move the corresponding pieces of code into the main Spring directory and have music in all the mods? Or is it the same lua? In which case, why does it work in Evo and not anywhere else....

Time for some experiments...

Re: What is Evolution RTS!?

Posted: 04 Nov 2009, 22:20
by Forboding Angel
Theoretically, if you were to just take the music widget from evo and stick it in your spring install, you would ahve music no matter what mod you were playing.

Re: What is Evolution RTS!?

Posted: 04 Nov 2009, 22:45
by wilbefast
Forboding Angel wrote:Theoretically, if you were to just take the music widget from evo and stick it in your spring install, you would ahve music no matter what mod you were playing.
That's the idea: so far I've tried 3 music widgets and all of them either
A - do nothing, or
B - crash the computer.

I'm wondering whether I should report this as a bug - trouble is it's lua and not part of the actual engine :?

Not sure how to open a .sd7 though - or do I need to get the source from somewhere else?
Actually - Angel: did you use luas for unit scripting? I'm trying to find some good examples to work with :o

Re: What is Evolution RTS!?

Posted: 04 Nov 2009, 23:26
by zwzsg
wilbefast wrote:Not sure how to open a .sd7 though
www.7-zip.org

.sdz is a renamed .zip
.sd7 is a renamed .7z

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 01:48
by Forboding Angel

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 02:02
by zwzsg
I think he meant scripting as in animation...

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 06:22
by Forboding Angel
zwzsg wrote:I think he meant scripting as in animation...
oh durr :lol: My bad :-)

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 08:09
by wilbefast
This is very odd :?

Okay, so the music will only work if the music.lua is put in a specific mod's widgets and the music is also put into that mod.

But hey, since each mod generally has its own music that work out quite well :mrgreen:
Hurrah! I have music now :-)

Unfortunately Evo uses cobs though, as does just about everyone else...

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 08:34
by Forboding Angel
No

make a music folder in your spring dir.
Music.lua wrote:local AllTracks = VFS.DirList('music/','*.ogg')

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 20:46
by zwzsg
You're probably using one of those confusing install scheme where data and program are separated, and so it doesn't read /music/ unless you place that /music/ folder not in the Spring folder but in some remote folder in an entirely different branch of your hard drive folder tree that you will never find out.

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 20:59
by Forboding Angel
documents/my games/spring

It's the same for all. Not real tough to figure out. VFS reads the regular spring directory, the mod archive, and documents/my games/spring. SO music directory in any of those three locations will get parsed.

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 21:14
by wilbefast
Either way I'm using Linux, so I just copy paste the nice little self-contained sd7s into my mods directory :mrgreen:

At least I know where everything is.

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 21:35
by zwzsg
wilbefast wrote:At least I know where everything is.
But it sounds like your Spring may be expecting files to be elsewhere.

Try to find all the file named springsettings.cfg you can, open them and see what the field SpringData= is set to.

Re: What is Evolution RTS!?

Posted: 05 Nov 2009, 21:49
by wilbefast
I don't think the problem is that it can't find the files, but rather than it crashes immediately as soon as it does: the screen freezes just as "Now playing track: blabla.ogg" appears.

I'll look into it though zwzsg - in the middle of something at the moment though...

Re: What is Evolution RTS!?

Posted: 21 Nov 2009, 16:38
by wilbefast
:? oops

Forgot completely about this: zwzsg - I have no "springsettings.cfg" file on my computer, according to a quick search of the file-system!

But this is probably best discussed elsewhere: I made a new thread over here

Sorry again Forb for going rather off topic on your board...


William

Re: What is Evolution RTS!?

Posted: 21 Nov 2009, 21:16
by Forboding Angel
No biggie. Springsettings.cfg is in a hidden location (Enable hidden files and folders). User/appdata/roaming iirc

Re: What is Evolution RTS!?

Posted: 21 Nov 2009, 21:32
by wilbefast
hmm... well I went view > show hidden file/folder and then search again - same result :?

I should probably do this will bash on in practice I'm too lazy to remember what the command was reckon I'll check out the spring directory in /usr/share

Also, before I forget: The "Lobster" is described as a "Assualt" - one more typo for the fire :-)

Re: What is Evolution RTS!?

Posted: 21 Nov 2009, 22:52
by lurker
wilbefast wrote:Linux
.springrc


It's one thing for zwzsg not to know the filename changes, but did you entirely miss that post Forb?

Re: What is Evolution RTS!?

Posted: 23 Nov 2009, 12:32
by jeykey
wilbefast wrote:Either way I'm using Linux, so I just copy paste the nice little self-contained sd7s into my mods directory :mrgreen:

At least I know where everything is.
hmm, in Linux too you can just click on an sd7 file and a pop-up will appear and ask you where to install the file...