Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


9% of target met.

Latest Topics

- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- Password resett »
- Darkspace Idea/Opinion Submission Thread »
- Rank Bug maybe? »
- Next patch .... »
- Nobody will remember me...but. »
- 22 years...asking for help from one community to another »
- DS on Ubuntu? »
- Medal Breakpoints »

Development Blog

- Roadmap »
- Hello strangers, it’s been a while... »
- State of DarkSpace Development »
- Potential planetary interdictor changes! »
- The Silent Cartographer »

Combat Kills

Combat kills in last 24 hours:
No kills today... yet.

Upcoming Events

- Weekly DarkSpace
05/04/24 +6.6 Hours

Search

Anniversaries

1st - Alamode

Social Media

Why not join us on Discord for a chat, or follow us on Twitter or Facebook for more information and fan updates?

Network

DarkSpace
DarkSpace - Beta
Palestar

[FAQ
Forum Index » » General Support » » error in changing music files that are being played
 Author error in changing music files that are being played
Hakketak
Grand Admiral

Joined: March 24, 2009
Posts: 301
Posted: 2010-08-31 10:04   
I try to change the music that is being played in darkspace.

I rewrote the config file in Darkspace\.Cache\DarkSpace

the line that says
music=.\Music\

been changed to
music=.\Music\Music2

then rewrote the config file in Darkspace\.Cache\DarkSpace\Music
to look like this

[jukebox]
ListCount=1
List0Name=Nirvana
List0FileCount=2
List0File0=.\Music\Nirvana1.mp3
List0File1=.\Music\Nirvana2.mp3

and placed it into Darkspace\.Cache\DarkSpace\Music\Music2 folder, where all the music is. I renamed 2 songs to NIrvana1 and 2.

still the original music is played from
Darkspace\.Cache\DarkSpace\Music

even though i check the config file from
Darkspace\.Cache\DarkSpace\

is unchanged, still shows that it should play music from Music2 folder like this
music=.\Music\Music2

the config file in Music2 folder is also unchanged, just the basic music folder keeps getting restored and used

How do i play my own music when playing darkspace...what do i type in config files and where do i place folders? Havent found another thread about this...

BTW the 2 slashes are actually 1, dont know why they are 2 now in this message...
[ This Message was edited by: HakkeTak on 2010-08-31 10:05 ]
[ This Message was edited by: HakkeTak on 2010-08-31 10:07 ]
_________________
"I shouldn't be alive"

BackSlash
Marshal
Galactic Navy


Joined: March 23, 2003
Posts: 11183
From: Bristol, England
Posted: 2010-08-31 10:17   
There is no event named Nirvana, hence it won't play the music.

Your file should look like this: (without the double slashes):

[Jukebox]
ListCount=2
List0Name=AMBIENT
List0FileCount=2
List0File0=.\Music\Nirvana\Nirvana1.mp3
List0File1=.\Music\Nirvana\Nirvana2.mp3
List1Name=COMBAT
List1FileCount=2
List1File0=.\Music\Nirvana\Nirvana1.mp3
List1File1=.\Music\Nirvana\Nirvana2.mp3

Then set the file to read-only.
[ This Message was edited by: BackSlash on 2010-08-31 10:19 ]
_________________


Eledore Massis [R33]
Grand Admiral
Templar Knights


Joined: May 26, 2002
Posts: 2694
From: tsohlacoLocalhost
Posted: 2010-08-31 10:17   
I have and as you have just noticed, the "music" folder setting inside the main config file isn't used at the moment.

About the config file inside \.Cache\DarkSpace\Music\
Every time you launch the game, all files are checked if they are correct, including the music config file.
It will re-download the origional config file and overwrite the changes you made.

Make the changes to the config.ini file inside \.Cache\DarkSpace\Music\ and set the file to "READ ONLY".
This will prohibit GCQL to overwrite the settings.


Its been to long since i messed with this, and everytime i say il will document it, i forget it.

Again, i will try to look at it and will make suggestions to the dev team, so we can make this work, how it was supposed to work.

E.
_________________
DS Discordion

Hakketak
Grand Admiral

Joined: March 24, 2009
Posts: 301
Posted: 2010-08-31 10:32   
rewrote config.ini, made it read only, yet still it gets replaced with new version...
_________________
"I shouldn't be alive"

BackSlash
Marshal
Galactic Navy


Joined: March 23, 2003
Posts: 11183
From: Bristol, England
Posted: 2010-08-31 10:35   
In which case it looks like the GCQL updater is aggressive in it's updating (which is a good thing for security).
_________________


Hakketak
Grand Admiral

Joined: March 24, 2009
Posts: 301
Posted: 2010-08-31 10:47   
grrreat! ill wait till there is a way to exclude the config.ini from the music folder, from the check on every file still same...

ill just do it easy way, turn music to 0% and my media player at 100%
_________________
"I shouldn't be alive"

JBud
Marshal

Joined: February 26, 2008
Posts: 1900
From: Behind you.
Posted: 2010-08-31 15:45   
You're doing it wrong. You need to create a config.ini for the music2 folder, not alter the existing one. There is no need to set any files to READONLY, you need only set it up correctly.

You must follow my instructions exactly here: http://www.darkspace.net/index.htm?module=forums.php&page=/viewtopic.php?topic=49121&forum=13&8

Here is my music2 folder as an example: http://www.jbud.org/Musicfolder.zip


[ This Message was edited by: JBud on 2010-08-31 15:56 ]
_________________
[-Point Jumper-][-Privateer Elite-][-Summus Dux-][-Praeclarae-]
[img(RIP MY SIGNATURE DELETED AFTER 7 YEARS/img]
''Insisto Rector - Suivez le Guide - Tempus hostium est''

  Email JBud   Goto the website of JBud
Hakketak
Grand Admiral

Joined: March 24, 2009
Posts: 301
Posted: 2010-08-31 17:09   
i now got no music at all being played.

i followed ur guide, made new folder: \Darkspace\.Cache\DarkSpace\Nirvana

made new file: config.ini, in the nirvana folder

file shows this:

[Jukebox]
ListCount=2
List0Name=AMBIENT (also tried namit it NONCOMBAT but didnt work, same for the 2 songs below)
List0FileCount=2
List0File0=.\Nirvana\AMBIENT1.mp3
List0File1=.\Nirvana\AMBIENT2.mp3
List1Name=COMBAT
List1FileCount=2
List1File0=.\Nirvana\COMBAT1.mp3
List1File1=.\Nirvana\COMBAT2.mp3

put 4 songs in the directory, renamed them accordingly, they are mp3.
in darkspace setup ive altered the music folder to the nirvana music folder.


now i dont got any music...

renamed the nirvana folder to Music2 and rewrote the config ini accordingly, and set the music folder in darkspace setup to Music2. restarted the client. still no music.
[ This Message was edited by: HakkeTak on 2010-08-31 17:17 ]
_________________
"I shouldn't be alive"

BackSlash
Marshal
Galactic Navy


Joined: March 23, 2003
Posts: 11183
From: Bristol, England
Posted: 2010-08-31 17:19   
Did you point the DarkSpace config.ini file to look in that folder ?
_________________


Hakketak
Grand Admiral

Joined: March 24, 2009
Posts: 301
Posted: 2010-08-31 17:29   
my main darkspace config.ini: (\Darkspace folder)

[GCQL]
AcceptedEULA=1
doUpdate=1
loginCount=1
Login0=hakketak
rememberPW=0
previousPW=
previousUID=hakketak
ChatBufferSize=32768
TextSize=8
ChatColor=65535
ChatSound=1
MessageSound=1
TaskBarMessages=1
RefreshGameListTime=60
RoomAnnounce=0
AlwaysLog=0
AutoAwayTime=900
Language=1043
AutoLogin=0
SkinColor1=2105376
SkinColor2=3158064
SkinColor3=4210752
SkinColor4=1052688
SkinColor5=2105376
SkinColor6=4210752
GripperColor1=2105376
GripperColor2=16777215
TextColor=16777215
GrayedTextColor=4210838
StatusColor=8421504
Login1=hakketak
----------------------------------------------------------
my 2nd darkspace config.ini (\Darkspace\.Cache\DarkSpace folder)

[Client]
graphicsDetail=0
windowed=0
displayMode=0:1024x768x32
textureDetail=LOW
enableSpecular=0
enableLightmap=0
enableTextureCompression=1
waitVB=0
alphaFonts=0
shipTrails=16
missileTrails=16
particleEffects=16
EnableUDP=1
YawControl=1
ShowShieldStatus=1
ShowTurnStatus=1
ShowContacts=1
bps=0
FPSLimit=0
invertButtons=0
disableRightActions=1
setup=3
X=0
Y=0
exit=0
musicVolume=92
sfxVolume=69
audioKhz=44100
audioChan=2
audioVoices=16
music=.\Music2
showHelp=0
ShowShipStatus=1
ShowFriendlyStatus=0
[Options]
showAI=0
navFlags=399
-----------------------------------------
my music folder: \Darkspace\.Cache\DarkSpace\Music2

contains (renamed Nirvana songs):
AMBIENT1.mp3
AMBIENT2.mp3
COMBAT1.mp3
COMBAT2.mp3
config.ini

the config.ini is written like this: (in the Music2 folder)

[Jukebox]
ListCount=2
List0Name=AMBIENT
List0FileCount=2
List0File0=.\Music2\AMBIENT1.mp3
List0File1=.\Music2\AMBIENT2.mp3
List1Name=COMBAT
List1FileCount=2
List1File0=.\Music2\COMBAT1.mp3
List1File1=.\Music2\COMBAT2.mp3


Ive tried copy pasting the original config.ini to \Music2 folder, from the original \Music folder and then edit it, as well.

also tried copy and paste Music2 folder to \Darkspace folder, not in cache

So, following Jbud's walktrough was nice and all..but didnt result in sound. allthough i didnt test if it comes after a while...just quicklogged a bit to see if any sound came up. Does it work, just music comes after 5 minutes?

[ This Message was edited by: HakkeTak on 2010-08-31 17:32 ]

[ This Message was edited by: HakkeTak on 2010-08-31 17:36 ]

[ This Message was edited by: HakkeTak on 2010-08-31 17:39 ]

[ This Message was edited by: HakkeTak on 2010-08-31 17:45 ]
_________________
"I shouldn't be alive"

Jim Starluck
Marshal
Templar Knights


Joined: October 22, 2001
Posts: 2232
From: Cincinnati, OH
Posted: 2010-08-31 17:44   
Try launching Darkspace Setup, go to the Audio tab and click the button where it says "Music Directory". Then point it to your "music2" folder, or wherever it is you've got your .mp3s and the config file for them.

Note that the filenames of the .mp3s don't need to be the same as the originals (i.e. Ambient01, Combat02, etc.), they just need to match the names that the config file is looking for. In fact, in this case it's probably BETTER if they don't match the originals, because the game might keep overwriting them to restore "changes" to the original files.

So rename them to Nirvana1 and 2, change the config file in "music2" accordingly, and then use Darkspace Setup to make the game use those files instead of the default ones.

If it still doesn't work, try also copy-pasting the Nirvana files (but not the config file) to your /.cache/Darkspace/music folder. I'm pretty sure Setup does this automatically when you select a new folder to use music from, but it can't hurt.
_________________
If at first you don't succeed, get a bigger space battleship and try again.

  Email Jim Starluck
JBud
Marshal

Joined: February 26, 2008
Posts: 1900
From: Behind you.
Posted: 2010-08-31 17:50   
Quote:

On 2010-08-31 17:44, Jim Starluck wrote:
In fact, in this case it's probably BETTER if they don't match the originals, because the game might keep overwriting them to restore "changes" to the original files.

That wont happen... My music2 folder plays them just fine.. Aside from using funky MP3 files, I have no idea what could cause this problem... I have a suggestion, try copying my music2 folder and setting your client to play it, just as a test. If it works, then the problem is likely with the format of MP3 you are using. here is the link again http://www.jbud.org/Musicfolder.zip

[ This Message was edited by: JBud on 2010-08-31 17:51 ]
_________________
[-Point Jumper-][-Privateer Elite-][-Summus Dux-][-Praeclarae-]
[img(RIP MY SIGNATURE DELETED AFTER 7 YEARS/img]
''Insisto Rector - Suivez le Guide - Tempus hostium est''

  Email JBud   Goto the website of JBud
Hakketak
Grand Admiral

Joined: March 24, 2009
Posts: 301
Posted: 2010-08-31 17:57   
ok tried it

config in \Darkspace\.Cache\DarkSpace folder now shows:

music=C:\Program Files\Darkspace\.Cache\DarkSpace\Nirvana\

after setting it accordingly in darkspace setup. (and of course renaming the folder itself before setting it in darkspace setup)


rewrote config/ini from music2 folder (now Nirvana folder) to:

[Jukebox]
ListCount=2
List0Name=AMBIENT
List0FileCount=2
List0File0=.\Nirvana\Nirvana1.mp3
List0File1=.\Nirvana\Nirvana2.mp3
List1Name=COMBAT
List1FileCount=2
List1File0=.\Nirvana\Nirvana3.mp3
List1File1=.\Nirvana\Nirvana4.mp3


renamed music files accordingly.


So, in short, i made a music folder named Nirvana in Darkspace\.Cache\DarkSpace folder. Set up darkspace setup to use this folder, and made a config.ini as shown above.

...and it totally works now!!! awesome!

ty for all ur help peeps


Edit: think the problem was indeed the same names for different files that confused server:) different name, and do the rest perfectly, and ur good:)
[ This Message was edited by: HakkeTak on 2010-08-31 17:59 ]
_________________
"I shouldn't be alive"

JBud
Marshal

Joined: February 26, 2008
Posts: 1900
From: Behind you.
Posted: 2010-08-31 18:20   
Quote:
think the problem was indeed the same names for different files that confused server

That wasnt the problem, trust me. In any case, it works for you now, grats.
_________________
[-Point Jumper-][-Privateer Elite-][-Summus Dux-][-Praeclarae-]
[img(RIP MY SIGNATURE DELETED AFTER 7 YEARS/img]
''Insisto Rector - Suivez le Guide - Tempus hostium est''

  Email JBud   Goto the website of JBud
Page created in 0.019559 seconds.


Copyright © 2000 - 2024 Palestar Inc. All rights reserved worldwide.
Terms of use - DarkSpace is a Registered Trademark of PALESTAR