The Original TA Music Experience
Moderator: Content Developer
The Original TA Music Experience
Missing the award winning nostalgic music from the original game?
Missing how it changes to battle music when a battle starts?
Working with Smoth I have created the solution with Lua and Ogg.
You can now have all the original music from TA while you play BA! and it will change based on scenario, just like the original TA.
I am linking to an EXE installer for the lazy and a ZIP for the paranoid.
Installer should work on both XP and Win7. Worst case, just point it to the my games folder in your my documents folder.
@BA_Developers : Feel free to include as part of BA by default or make this a sticky.
Installer:
http://dl.dropbox.com/u/2597665/TA%20mu ... %20Lua.exe
Zip:
http://dl.dropbox.com/u/2597665/Spring.zip
UPDATE: Fixed the installer
Missing how it changes to battle music when a battle starts?
Working with Smoth I have created the solution with Lua and Ogg.
You can now have all the original music from TA while you play BA! and it will change based on scenario, just like the original TA.
I am linking to an EXE installer for the lazy and a ZIP for the paranoid.
Installer should work on both XP and Win7. Worst case, just point it to the my games folder in your my documents folder.
@BA_Developers : Feel free to include as part of BA by default or make this a sticky.
Installer:
http://dl.dropbox.com/u/2597665/TA%20mu ... %20Lua.exe
Zip:
http://dl.dropbox.com/u/2597665/Spring.zip
UPDATE: Fixed the installer
Re: The Original TA Music Experience
welcome to the forum; and thank-you!
Re: The Original TA Music Experience
hi & welcome.
downloaded zip version.
At first unpacked the music into wrong folder which caused:
[f=0000119] Error in Update(): [string "LuaUI\Widgets\musicv4.lua"]:220: bad argument #1 to 'PlaySoundStream' (string expected, got nil)
needs error checking.
There already is
but success is never checked?
Then put music in correct folder and it worked.
Though it says "Title Missing By: Artist Missing", guess you could set those .ogg tags.
Settings/musicoverride seems like a strange name for a folder that contains music files.
(you have these lines twice btw)
The way to chose next track seems a bit strange with the
loop etc.
ie
newTrack = warTracks[math.random(1, #warTracks)]
warTracks is loaded from VFS.DirList('music/war/', '*.ogg') (no files there)
so it will always be empty?
downloaded zip version.
At first unpacked the music into wrong folder which caused:
[f=0000119] Error in Update(): [string "LuaUI\Widgets\musicv4.lua"]:220: bad argument #1 to 'PlaySoundStream' (string expected, got nil)
needs error checking.
There already is
Code: Select all
local success, oggInfo = ReadOggInfo(initTrack)
Then put music in correct folder and it worked.

Though it says "Title Missing By: Artist Missing", guess you could set those .ogg tags.
Settings/musicoverride seems like a strange name for a folder that contains music files.
Code: Select all
local success, oggInfo = ReadOggInfo(initTrack)
local titleText, artistText
if (oggInfo.comments.TITLE) then
titleText = oggInfo.comments.TITLE
else
titleText = "Title Missing"
end
if (oggInfo.comments.ARTIST) then
artistText = oggInfo.comments.ARTIST
else
artistText = "Artist Missing"
end

Code: Select all
local titleText = oggInfo.comments.TITLE or "Title Missing"
local artistText = oggInfo.comments.ARTIST or "Artist Missing"
Code: Select all
repeat
until newTrack ~= lastTrack
ie
newTrack = warTracks[math.random(1, #warTracks)]
warTracks is loaded from VFS.DirList('music/war/', '*.ogg') (no files there)
so it will always be empty?
Re: The Original TA Music Experience
the default directories are for games that have soundtracks with override for players using new ones
you could have reviewed the other code. I refuse to fix these "issues" as this has been out for 3 years. someone else bother with it.
you could have reviewed the other code. I refuse to fix these "issues" as this has been out for 3 years. someone else bother with it.
Re: The Original TA Music Experience
Well this already exists doesnt it? Afaik SA had it 3 years ago, EvoRTS has it, ZK has it, its available as widget for download.
Or how is this new one different?
Or how is this new one different?
Re: The Original TA Music Experience
Check for virus/trojans, he spams even unrelated threads with links here
Re: The Original TA Music Experience
I went through and searched for anyone asking how to get the original music into the game and replied.
My "spam" responses should be on related threads only.
If people want to update the code in the lua for my installer you are welcome to post this.
I tried updating the tags in the OGG files with audacity, yet the script says it cant find tag info. Any advice?
My "spam" responses should be on related threads only.
If people want to update the code in the lua for my installer you are welcome to post this.
I tried updating the tags in the OGG files with audacity, yet the script says it cant find tag info. Any advice?
Re: The Original TA Music Experience
I set my ogg tags in winamp. Give it a whirl.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: The Original TA Music Experience
Why do you need an executable for a widget? Normal widget installing is reasonably easy.
Re: The Original TA Music Experience
if the game comes with a soundtrack it most likely has a music widget too, to play the music.smoth wrote:the default directories are for games that have soundtracks with override for players using new ones
I think it would only work if every game named their music folders the same, which is unlikely.
what other code?
This one changes tracks based on how much fighting is going on. (units die -> more dramatic music etc)Licho wrote:Well this already exists doesnt it? Afaik SA had it 3 years ago, EvoRTS has it, ZK has it, its available as widget for download.
Or how is this new one different?
Re: The Original TA Music Experience
Thats what all those widgets do afaik knorke..
they all play more dramatic music in fights
they all play more dramatic music in fights
Re: The Original TA Music Experience
that is because my widget was the continuation of music 1. I took it and developed it further. After which zk, sa, evo all took that version and ran from it. Which is why they all DO have the same music folder. i don't know what they did with the overrides but they should be default to /settings where as gundam was /gundamsettings/.knorke wrote:if the game comes with a soundtrack it most likely has a music widget too, to play the music.smoth wrote:the default directories are for games that have soundtracks with override for players using new ones
I think it would only work if every game named their music folders the same, which is unlikely.
so it pretty much went
music.lua
-
music2/3.lua
-
all the current variants.
Re: The Original TA Music Experience
Good work on this, haven't heard these songs for so long.
Removing the: "Title Missing By: Artist Missing," would be my only improvement suggestion, as Knorke mentioned. When it abruptly pops up, it slightly dispels the illusion of a fluid, adapting soundtrack. Otherwise, excellent though.
Removing the: "Title Missing By: Artist Missing," would be my only improvement suggestion, as Knorke mentioned. When it abruptly pops up, it slightly dispels the illusion of a fluid, adapting soundtrack. Otherwise, excellent though.
Re: The Original TA Music Experience
If someone wants to update the music tags let me know. I dont want to try a second time.