Quantcast

Jump to content

» «
Photo

Advanced Track Player

SA Released
146 replies to this topic
MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#1

Posted 16 July 2017 - 02:32 PM Edited by MKKJ, 3 weeks ago.

Header.png


Version 1.0.1

 

Advanced Track Player, or ATP features customizable music player which can also acts as radio replacement.

Additional features also included for more customization and allows to recreate radio system itself.

 

Features

  • Register up to 64 custom radio channels, with up to 999 tracks each.
  • Listen to custom radio anytime, anywhere. No vehicle needed.
  • Additional and customizable interface, such as Channel Logo and Track Title.
  • Supports mp3, ogg, wav, aac, m4a, wma, m4r format.
  • Supports optional tracks to recreate radio system: Tracks, ID, DJ Commentary, Advertisement, etc.
  • Allows channel locked to certain area, so they can't be played out of said area.


Video & Screenshots

Spoiler

 

Download

v1.0.1 - Download - GTAInside - source

v1.0.0 - Download source

 

Optional downloads

GTA SA advert tracks

Batch file to rename all extension to .atp

 

Channel downloads

Adapted K-Rose - MKKJ

Adapted Radio X - Moreno_Sensual

Adapted K-DST - Moreno_Sensual

Adapted Radio Los Santos - Wakka387

 

Channel Setup Reference

Spoiler

 

 

Compatibility

  • ATP will disable and replace radio interface from HUD mods. (DK22Pac's GTAV HUD's, _AG's GTAIV HUD)
  • Using another music player script (ex. GTA Underground, Walkman Visual, etc) result in several tracks from each mod plays together. Make sure to turn off one of them. (Pocket Player mode is recommended)

Downsides, Bugs & Issues

  • Shortcut files are not supported
  • Installation error would occur if player register/install tracks incorrectly.
  • In rare case, player stuck performing radio tuning animation. Simply exit vehicle to solve this problem.
  • Alt+Tabbing or similiar methods left music playing in background.

Changelog

Spoiler

  • Fireman, -Anti-, B Dawg and 33 others like this

Light Syde Riandy
  • Light Syde Riandy

    LSR

  • Members
  • Joined: 18 Jun 2013
  • Indonesia

#2

Posted 16 July 2017 - 03:03 PM

Ah, something that I wanted from a long time ago. Is this finished? I wanted to add "v rock" from vc and "head radio" from lcs for instance.
  • Richie Makyura likes this

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#3

Posted 16 July 2017 - 03:08 PM

Yes, you can register a radio channel with only one track, like radio file from older GTA. But it must be converted to .mp3 first.


Stierlitz
  • Stierlitz

    lcs peren is the real peren

  • Members
  • Joined: 05 Oct 2013
  • Russia
  • Best Conversion 2016 [GTA: Underground]

#4

Posted 16 July 2017 - 03:25 PM

Great job man, love your mods

  • Blue likes this

Blue
  • Blue

    notatokenbunny

  • Members
  • Joined: 09 Apr 2014
  • Portugal
  • Best Total Overhaul 2016 [Shine o' Vice] [Contribution]
    Best Workshop 2016 [Runner-up]

#5

Posted 16 July 2017 - 03:44 PM Edited by Blue, 16 July 2017 - 03:44 PM.

Great stuff. You have no idea for how long I've been waiting for this! :D


_𝓐𝓖
  • _𝓐𝓖

    BUSTED

  • Members
  • Joined: 25 Jul 2010
  • European-Union

#6

Posted 16 July 2017 - 04:12 PM

Looks cool, well done :)


XMAX1941
  • XMAX1941

    Player Hater

  • Members
  • Joined: 01 Jun 2017
  • None

#7

Posted 16 July 2017 - 04:15 PM

Love it


B Dawg
  • B Dawg

    The Mystic Peephole

  • Members
  • Joined: 15 Dec 2008
  • Bosnia-and-Herzegovina

#8

Posted 16 July 2017 - 06:47 PM Edited by B Dawg, 16 July 2017 - 07:26 PM.

f*ckin A! Now we no longer have to deal with the crashy default custom radio :D

 

Edit: It doesn't accept MP3 shortcuts? :( And music still keeps playing when you alt tab lol (until the song ends)

  • MKKJ likes this

Dealux
  • Dealux

    Goddess Of Light

  • $outh $ide Hoodz
  • Joined: 26 Nov 2011
  • European-Union

#9

Posted 16 July 2017 - 08:32 PM

What about implementing WAV support?

LaDiDa
  • LaDiDa

    I'm only human

  • Members
  • Joined: 12 Jul 2016
  • Netherlands

#10

Posted 16 July 2017 - 09:01 PM

Might as well do aac instead of mp3 then ;)

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#11

Posted 17 July 2017 - 02:09 AM Edited by MKKJ, 27 July 2017 - 04:42 PM.

Edit: It doesn't accept MP3 shortcuts? :( And music still keeps playing when you alt tab lol (until the song ends)

 

What about implementing WAV support?

 

Might as well do aac instead of mp3 then ;)

 

I just simply took advantage of CLEO's audio engine, which unfortunately also borrow its downsides, including alt-tab problem and mp3-only support.

I'm thinking of requesting more audio format support to cleo thread.

Bugs & Issues updated in main post.

 

edit: you can slap me for that one


Dealux
  • Dealux

    Goddess Of Light

  • $outh $ide Hoodz
  • Joined: 26 Nov 2011
  • European-Union

#12

Posted 17 July 2017 - 11:41 AM

It would be super useful. I'm going to remaster all the radio stations soon and I could really use this mod.
  • MKKJ likes this

XMAX1941
  • XMAX1941

    Player Hater

  • Members
  • Joined: 01 Jun 2017
  • None

#13

Posted 17 July 2017 - 11:47 AM

Hey, can you add the motorcycle audio filter when I'm playing music on foot in the next update?


MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#14

Posted 17 July 2017 - 12:16 PM

Hey, can you add the motorcycle audio filter when I'm playing music on foot in the next update?

I don't understand. Can you explain it?


Dealux
  • Dealux

    Goddess Of Light

  • $outh $ide Hoodz
  • Joined: 26 Nov 2011
  • European-Union

#15

Posted 17 July 2017 - 12:32 PM

There's an EQ setting in the audio options for motorbikes to simulate how a crappy radio would sound in the default game.

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#16

Posted 17 July 2017 - 12:51 PM

Unfortunately, i can't emulate similiar feature.

ATP only utilizes simple load and play audio provided by CLEO, so it highly depends on it.

  • XMAX1941 likes this

Crspy
  • Crspy

    Kick

  • Members
  • Joined: 14 May 2015
  • None

#17

Posted 17 July 2017 - 03:46 PM

@MKKJ , for the Alt-Tab bug you can make a work-around for it by putting the script in a loop that stops the script from working ( stop music ) when the player press ALT+TAB ..... and when he switches back to the game he press  "P"  for example  to get out of the loop and continue working (playing music). 


MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#18

Posted 17 July 2017 - 04:40 PM

@MKKJ , for the Alt-Tab bug you can make a work-around for it by putting the script in a loop that stops the script from working ( stop music ) when the player press ALT+TAB ..... and when he switches back to the game he press  "P"  for example  to get out of the loop and continue working (playing music). 

That won't work well. There are various ways to shift window focus from SA besides Alt+Tab including interruption.

Besides, somehow Cleo can't detect Alt key being pressed, and the script won't respond quick enough to detect any press before window focus got shifted.


Crspy
  • Crspy

    Kick

  • Members
  • Joined: 14 May 2015
  • None

#19

Posted 17 July 2017 - 04:45 PM

 

@MKKJ , for the Alt-Tab bug you can make a work-around for it by putting the script in a loop that stops the script from working ( stop music ) when the player press ALT+TAB ..... and when he switches back to the game he press  "P"  for example  to get out of the loop and continue working (playing music). 

That won't work well. There are various ways to shift window focus from SA besides Alt+Tab including interruption.

Besides, somehow Cleo can't detect Alt key being pressed, and the script won't respond quick enough to detect any press before window focus got shifted.

 

oh okay , never knew that Alt key can't be detected..... i guess we will have to wait for Deji to fix it then :)


Rachel Amber
  • Rachel Amber

    Hell Is Empty!

  • Members
  • Joined: 12 Aug 2015
  • Poland

#20

Posted 17 July 2017 - 09:11 PM

Nice mod, I like it. :yawn:


Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Contribution Award [GTAF Weekly]
    Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#21

Posted 17 July 2017 - 09:20 PM Edited by Ash_735, 17 July 2017 - 09:21 PM.

MP3 only is a drawback, could've at least hooked into San Andreas native support for OGG and LPCM.

Edit: And using TXDWorkshop to show off how to do textures, ugh, why do people insist on using outdated tools?
  • Jinx., Junior_Djjr, dkluin and 2 others like this

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#22

Posted 18 July 2017 - 02:23 AM

I never tried hooking before, could've need tutorial and reference for that. Where can i find one?
 

TXDWorkshop

Because everyone and their grandma at least know TXDWorkshop.


Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Contribution Award [GTAF Weekly]
    Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#23

Posted 18 July 2017 - 02:38 AM

Because everyone and their grandma at least know TXDWorkshop.

So that means it should still be pushed even though there's better tools that DON'T break the game? :p

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#24

Posted 18 July 2017 - 02:47 AM Edited by MKKJ, 18 July 2017 - 02:54 AM.

 

Because everyone and their grandma at least know TXDWorkshop.

So that means it should still be pushed even though there's better tools that DON'T break the game? :p

 

Well, it's their choice. I put TXDWorkshop in reference just because it doesn't look out-of place.

  • Jinx. likes this

Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Contribution Award [GTAF Weekly]
    Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#25

Posted 18 July 2017 - 03:01 AM

I'm curious if you've tried OGG VORBIS format though, as long as the plug-in/mod knows to include .ogg, then the game should automatically play it as the game loads the OGG codec (since that's what the game uses for it's STREAMS).
  • MKKJ likes this

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#26

Posted 18 July 2017 - 03:30 AM

I'm curious if you've tried OGG VORBIS format though, as long as the plug-in/mod knows to include .ogg, then the game should automatically play it as the game loads the OGG codec (since that's what the game uses for it's STREAMS).

You're right, really my bad on that part.

.ogg and .aac format works well, ATP currently only looks for mp3 because i haven't tried other formats yet.

 

I'll update it after trying other formats.


Ivan1997GTA
  • Ivan1997GTA

    Proud to Be Loud

  • Members
  • Joined: 11 May 2015
  • Russia

#27

Posted 18 July 2017 - 05:15 AM

Nice script, but I can't download it, only the source. When I try to download the actual file, it says "permission denied", because of copyrighted music. When you make a newer version of this script, can you please put in blank MP3 files next time? Maybe you should consider adding support for station ID's, if there isn't one already.

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#28

Posted 18 July 2017 - 05:43 AM Edited by MKKJ, 18 July 2017 - 05:46 AM.

Update
 
v0.9.2
-   ATP now supports OGG, WAV, AAC, M4A, WMA, and M4R format
-   Default Radio now correctly disabled and no longer disruptable
-   Radio Auto-Tune option now affects any vehicle that player isn't owned (Car Radio mode)
-   Now player performs radio tuning animation when changing channel (Car Radio mode)
 
ATP now supports many common audio formats. Audio's file format can be seen in Debug as well. Still no shortcuts, though.
Also replaced sample songs with blank mp3, sample Advertisement track reduced to 5 and in ogg format.



Maybe you should consider adding support for station ID's, if there isn't one already.

What do you mean by this? Is it related to 'current radio station' check?

  • XMAX1941 likes this

Ivan1997GTA
  • Ivan1997GTA

    Proud to Be Loud

  • Members
  • Joined: 11 May 2015
  • Russia

#29

Posted 18 July 2017 - 06:12 AM

Update
 
v0.9.2
-   ATP now supports OGG, WAV, AAC, M4A, WMA, and M4R format
-   Default Radio now correctly disabled and no longer disruptable
-   Radio Auto-Tune option now affects any vehicle that player isn't owned (Car Radio mode)
-   Now player performs radio tuning animation when changing channel (Car Radio mode)
 
ATP now supports many common audio formats. Audio's file format can be seen in Debug as well. Still no shortcuts, though.
Also replaced sample songs with blank mp3, sample Advertisement track reduced to 5 and in ogg format.


Maybe you should consider adding support for station ID's, if there isn't one already.

What do you mean by this? Is it related to 'current radio station' check?


No, I meant idents that would play in between songs or commercials, like on other radio stations, something like "None of that rap crap" ident that plays on K-DST, you know?

MKKJ
  • MKKJ

    Honest Steaks

  • Members
  • Joined: 04 Jun 2015
  • Indonesia

#30

Posted 18 July 2017 - 06:27 AM Edited by MKKJ, 18 July 2017 - 07:13 AM.

No, I meant idents that would play in between songs or commercials, like on other radio stations, something like "None of that rap crap" ident that plays on K-DST, you know?

Oh, you mean stingers and commentaries?

I do plan to categorize track files for IDs, Main tracks (song/talkshow) and Non-main tracks (commentaries).

 

But for now you could just put IDs and DJ commentary tracks between song tracks and play them in order similiar to older GTAs

 

Edit:

By the way, what does the rule says about sharing extracted Radio files (except songs)?

I'm thinking of uploading advert tracks, IDs, and commentaries from SA.

  • Ivan1997GTA likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users