Author Topic: How-to: Now Playing Song In Game  (Read 11342 times)

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« on: June 10, 2007, 10:45:59 pm »
As requested by many in game, I made a how-to on how I made my song bind.
Enjoy and let everyone know when you're listening to TremRadio. ;D
http://neonpulse.net/2007/06/10/now-playing-in-game/
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
How-to: Now Playing Song In Game
« Reply #1 on: June 10, 2007, 10:51:55 pm »
Now, figure out how to do this with ITSH and your my friend.

∧OMG ENTROPY∧

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #2 on: June 10, 2007, 11:05:26 pm »
ITSH?
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

treminator

  • Posts: 198
  • Turrets: +0/-0
How-to: Now Playing Song In Game
« Reply #3 on: June 10, 2007, 11:39:09 pm »
It's the polite reverse sesame street game of pronouncing words out backwards, so you don't actually have to cuss:

IT .......... SH
IT ....... SH
IT ...  SH
ITSH!

You can reread Paradox's post and it will all make perfect sense now.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #4 on: June 10, 2007, 11:55:31 pm »
He wants to do it with Windows and WMP11?
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

n00b pl0x

  • Posts: 2412
  • Turrets: +55/-168
How-to: Now Playing Song In Game
« Reply #5 on: June 11, 2007, 12:55:10 am »
D: windoze pweentz you
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #6 on: June 11, 2007, 01:36:07 am »
Update: I added an AppleScript to do this on Mac + iTunes.
Update: I added instructions for setting it up on Windows with Winamp.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
How-to: Now Playing Song In Game
« Reply #7 on: June 11, 2007, 03:52:23 am »
Quote from: "treminator"
It's the polite reverse sesame street game of pronouncing words out backwards, so you don't actually have to cuss:

IT .......... SH
IT ....... SH
IT ...  SH
ITSH!

You can reread Paradox's post and it will all make perfect sense now.
iTunes Script Host, a multiplatform interface for interfacing with itunes, works on windows too.

See here: iTunes COM SDK for windows

∧OMG ENTROPY∧

Evlesoa

  • Guest
How-to: Now Playing Song In Game
« Reply #8 on: June 11, 2007, 04:10:36 am »
Quote from: "Paradox"
Quote from: "treminator"
It's the polite reverse sesame street game of pronouncing words out backwards, so you don't actually have to cuss:

IT .......... SH
IT ....... SH
IT ...  SH
ITSH!

You can reread Paradox's post and it will all make perfect sense now.

iTunes Script Host, a multiplatform interface for interfacing with itunes, works on windows too.

See here: iTunes COM SDK for windows


Wow Treminator, ITSH is NOT shit, you're WAY off rofl

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #9 on: June 11, 2007, 05:33:19 am »
If someone wants to make it with that then they can, but imo having to use an SDK to get iTunes to output the text isn't worth it, but also imo you shouldn't be using iTunes unless you're on a Mac and it's the best you got.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

PIE

  • Posts: 1471
  • Turrets: +96/-52
    • http://www.mercenariesguild.net
How-to: Now Playing Song In Game
« Reply #10 on: June 11, 2007, 06:28:05 am »
..Someone needs to make a song using the dretch jump noise.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
How-to: Now Playing Song In Game
« Reply #11 on: June 11, 2007, 12:52:16 pm »
Someone needs a server side mod that ban people who use this.

Its a game, a game where sound is very important.
This is worse than those IRC morons who spam what there listening to.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
How-to: Now Playing Song In Game
« Reply #12 on: June 11, 2007, 02:40:55 pm »
Whether you listen to music while playing is a personal preference. When I'm in a situation involving a painsaw, a grenade and alien base, the only thing missing is "Destroy All" by StaticX.

But I think that that's rather useless information for most other players. Think of it like this:

Quote from: "server log"
Taiyo.uk: Now Listening To: Destroy All by StaticX
Taiyo.uk: Now Listening To: Destroy All by StaticX
Taiyo.uk: Now Listening To: Destroy All by StaticX
Taiyo.uk: Now Listening To: Destroy All by StaticX
AnotherPlayer1: stfu!
Taiyo.uk: Now Listening To: Destroy All by StaticX
Taiyo.uk: Now Listening To: Destroy All by StaticX
AnotherPlayer2: STOP SPAMMING!
AnotherPlayer3: Nobody cares what crap you're listening to!
AnotherPlayer1: YEah, shut up!
Taiyo.uk: Now Listening To: Destroy All by StaticX
Taiyo.uk: Now Listening To: Destroy All by StaticX
Admin1: !mute tai
!mute: Taiyo.uk has been muted by Admin1

[Kcorp]Noobius

  • Posts: 197
  • Turrets: +3/-4
How-to: Now Playing Song In Game
« Reply #13 on: June 11, 2007, 07:01:25 pm »
works with xmms too.

i love spamming this stuff...it annoys people even more than Roflcopter xD


Roflcopter xD
It's actualy Noobius but i can't be bothered to change it ^^

Quick, name two famous female inventors. Too tough? Ok, just name one.

kaziorvb

  • Posts: 234
  • Turrets: +19/-43
How-to: Now Playing Song In Game
« Reply #14 on: June 11, 2007, 07:44:03 pm »
id like to have it workin with foobar2000 on wind0ze ;p
Signatures are displayed at the bottom of each post or personal message. BBCode and smileys may be used in your signature.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #15 on: June 11, 2007, 09:05:11 pm »
ROFL! You should never do it more than once per song...I do it whenever rawr asks what I'm listening to.

B.T.W.
I got to see Static-X live in NewYork in like 1998, it was so badass...
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
How-to: Now Playing Song In Game
« Reply #16 on: June 12, 2007, 01:16:37 am »
Put a .wav music file in a "music" folder in the base folder and type /play [song] and listen to music. I the game is running off ioQuake3, then mp3's will work as well.
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
How-to: Now Playing Song In Game
« Reply #17 on: June 14, 2007, 04:43:06 am »
This is how to tell the world what your listening to, kaleo.

I have 1uped you tin, and am posting instructions for a service that lets you post to files from several clients, but update your status in many other things too, like google talk and irc.

∧OMG ENTROPY∧

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #18 on: June 14, 2007, 05:06:19 am »
Good for you, for Windows? XD
In *nix most anything can do that without much barney.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
How-to: Now Playing Song In Game
« Reply #19 on: June 14, 2007, 08:08:27 am »
Quote from: "Paradox"
This is how to tell the world what your listening to, kaleo.

I have 1uped you tin, and am posting instructions for a service that lets you post to files from several clients, but update your status in many other things too, like google talk and irc.


Oh, right. I was at school and didn't bother reading the article... Nice work Tinny :p
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Lava Croft

  • Guest
How-to: Now Playing Song In Game
« Reply #20 on: June 14, 2007, 08:17:20 am »
Yay, another reason to mute, kick and ban people!

DASPRiD

  • Administrator
  • Posts: 549
  • Turrets: +21/-2
    • http://www.dasprids.de
How-to: Now Playing Song In Game
« Reply #21 on: June 14, 2007, 08:18:19 am »
Quote from: "Kaleo"
The file “/home/tinman/.tremulous/base/configs/song.cfg” doesn’t exist yet, so I opened a terminal and ran “nano ~/.tremulous/base/configs/song.cfg” which opened a new file in nano, then Ctrl+O will “WriteOut” (save) the file, and Ctrl+X will Exit nano.


Replace this with “touch ~/.tremulous/base/configs/song.cfg”

And, by the way, the file doesn't have to exist anyway.
url=https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mail%40dasprids%2ede&item_name=DASPRiD%27s&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8][/url]

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #22 on: June 14, 2007, 08:49:47 am »
Yeah, before I was using >> and it didn't work. XD
I'll change that.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
How-to: Now Playing Song In Game
« Reply #23 on: June 14, 2007, 04:27:35 pm »
Quote from: "TinMan"
Good for you, for Windows? XD
In *nix most anything can do that without much barney.
There is actually an app that works with not only iTunes, but with winamp and foobar2000

∧OMG ENTROPY∧

.f0rqu3

  • Guest
How-to: Now Playing Song In Game
« Reply #24 on: June 14, 2007, 05:55:02 pm »
you can change the client and hook winamp window and get the song title
but do you think they care about what you are listening?
this is just more spam

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
How-to: Now Playing Song In Game
« Reply #25 on: June 14, 2007, 06:30:29 pm »
Quote from: ".f0rqu3"
this is just more spam
Like what you just posted?

Here is the tutorial for windows iTunes:
http://paradoxd.com/cms_plugins/content/content.php?content.9

Tinman, get  your damn trackbacks up so i can link to your wordpress post.

∧OMG ENTROPY∧

.f0rqu3

  • Guest
How-to: Now Playing Song In Game
« Reply #26 on: June 14, 2007, 06:41:30 pm »
Quote from: "Paradox"
Quote from: ".f0rqu3"
this is just more spam

Like what you just posted?

Here is the tutorial for windows iTunes:
http://paradoxd.com/cms_plugins/content/content.php?content.9

Tinman, get  your damn trackbacks up so i can link to your wordpress post.

huh? how was it spam?

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #27 on: June 14, 2007, 09:32:00 pm »
@Para: Very nice. Typo on "recently" and TinMan has a capital M.  =P
And I don't use "trackback" links, Wordpress supports automatic pingbacks, it's less prone to spam that way.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
How-to: Now Playing Song In Game
« Reply #28 on: June 15, 2007, 03:46:45 am »
Then make them show damn you.
Its showing off your e-penis

∧OMG ENTROPY∧

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
How-to: Now Playing Song In Game
« Reply #29 on: June 15, 2007, 05:19:04 am »
They're not something that shows, your server pings the wp-site, it gets teh hook-up and wp generates a pingback comment.

http://hixie.ch/specs/pingback/pingback
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg