Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for song info #382

Open
shadow93 opened this issue Apr 17, 2016 · 1 comment
Open

Adding support for song info #382

shadow93 opened this issue Apr 17, 2016 · 1 comment
Milestone

Comments

@shadow93
Copy link
Contributor

shadow93 commented Apr 17, 2016

Considering how many people tend to ask questions regarding what track is playing for the current boss, would be neat if "sound_bgm" could add 2 more Kv's to allow manually adding tags to show song info.

Would save a lot of people of a major headache if FF2 would just print out the song info as soon as the theme starts playing.

Something like this:

    "sound_bgm"                                                    //Background Music
    {
        "path1"        "freak_fortress_2/daftpunk/daftpunk_bgm.mp3"    //path to 1st track
        "time1"        "291"                                            //length of 1st track
        "name1"        "{orange}Technologic{default}"                    //1st track name
        "artist1"      "{blue}Daft Punk{default}"                        //1st track artist

        "path2"        "freak_fortress_2/daftpunk/daftpunk_bgm2.mp3"
        "time2"        "246"
        "name2"        "{orange}Around the World{default}"
        "artist2"      "{blue}Daft Punk{default}"

        "path3"        "freak_fortress_2/daftpunk/daftpunk_bgm3.mp3"
        "time3"        "224"
        "name3"        "{orange}Harder, Better, Faster, Stronger{default}"
        "artist3"      "{blue}Daft Punk{default}"

        "path4"        "freak_fortress_2\daftpunk\08_get_lucky.mp3"
        "time4"        "248"
        "name4"        "{orange}Get Lucky (feat Pharrell Williams & Nile Rodgers){default}"
        "artist4"      "{blue}Daft Punk{default}"
    }

This could also be worth a shot:
https://forums.alliedmods.net/showthread.php?t=105816

2nd option would work best if boss themes already has ID3 tags applied, as that extension would auto-grab the appropriate tags with the natives it provides.

@50Wliu 50Wliu added this to the FUTURE milestone Apr 17, 2016
@shadow93
Copy link
Contributor Author

shadow93 commented Apr 18, 2016

20160418104606_1

In action:
https://www.youtube.com/watch?v=_KnrhZ1ejC4

@50Wliu
shadow93@685a0d6

Read the comments on the commit, on how the FF2_OnMusic forward would be updated once song info support is added. That's where i'm currently stuck at. Everything else works.

Also, id3 is named that way because it would stand for "ID3 Tags", despite not actually applying them to the actual MP3 file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants