Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. News
      2. Red Dead Online
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Dealux

Rockstar Advertising Council site

Recommended Posts

Dealux

So this site has an audio player that runs on an old version of Flash: http://www.rockstargames.com/advertisingcouncil/

 

People have figured out how to access some of the sound files directly, for instance: http://media.rockstargames.com/advertisingcouncil/en_us/audio/04%20GTA3-Liberty_City_Community_College.m4a

 

The problem is that it is no longer possible to stream the sound files and I would really like to have them. If someone can figure out how to listen or download all the ads again I will give them a reward (a Steam game of your choice or something, but in a few days).

Edited by ΣΓ

Share this post


Link to post
Share on other sites
K^2

There is a Flash Media Server at this url. Looks like it's meant to respond to a call to remote procedure "mediaplayer.getAudioInfo" with ID of the audio sample provided as argument. Structure it returns might contain URL to the audio sample. Although, this could also be set up in a way that won't actually expose URLs, but rather streams audio directly.

 

Unfortunately, my Flash skills are rudimentary, and I don't happen to have a compiler sitting handy. I tried to poke around the gateway directly, but it looks like any tool to actually extract the info you're looking for will have to be written in Flash. Mind, that's even if it allows access from arbitrary domain in the first place. (Although, I have had no trouble getting basic "service is running" response from it.)

 

Here are snippets of relevant ActionScript in case someone wants to take this further.

 

 

this.gw = new NetConnection();this.gw.connect("http://www.rockstargames.com/amfphp/gateway.php");..._loc1_ = new Responder(this.parseAudioInfo,this.onStatus);this.gw.call("mediaplayer.getAudioInfo",_loc1_,Memory.params.id);
Memory.params.id contains the ID of the audio sample you can find on the Advertising Council page. Might be as simple as dropping this into a bit of Flash code to get all the info you need.

 

And if anyone wants to poke around with a decompiler a bit more, this is a direct link to SWF of the player. It can be downloaded and decompiled to poke around the ActionScript that runs the thing. Most of the fun stuff is under scripts/com/rockstargames/mediaplayer and the audio info is retrieved in the data/ContentManager script from the above.

Share this post


Link to post
Share on other sites
Dealux

But wait. Can you listen to the files on the site directly? I'm not necessarily looking to download the files. If I could listen to them I would be able to record them.

 

You're probably right about the URLs. The person who guessed the GTA 3 ones did just that: guess work. He couldn't find the links anywhere AFAIK. BTW, the site seems to suggest that the flash ("video player") is 404 not found.

 

r8tTtr5.png

 

Share this post


Link to post
Share on other sites
K^2

I haven't been able to talk to the gateway, which is the thing that will provide audio info. That can either be info you need to stream directly from the gateway or URLs like the one that you provided. I just don't know which until I actually get a response to the query.

 

It looks like gateway is healthy, though. I just don't know the protocol, so I wasn't able to talk to it directly. But somebody who's handy with Flash should be able to write a small app that connects to gateway and talks to it using native protocol. This literally should be a fifteen minute job for someone who knows Flash. I can try over the weekend, if nobody else steps up, but for me it'd be a few hours of work, simply because I have no idea what I'm doing. I'd have to find a Flash compiler I can use, go through the docs, etc. Still, so long as gateway doesn't check the connection origin or if I can spoof it easy enough, this should be doable.

 

In terms of security, it looks like a case of security by obscurity all the way down. I found at least one place that lists a domains allowed access to a resource terminated with "*", which basically white-lists absolutely everyone. So odds are good that this will just work without any spoofing. Just connect to gateway, ask for audio info, and parse data to see if it's useful to get the actual sound.

Share this post


Link to post
Share on other sites
Dealux

Well, spaceenstein somehow managed to figure out the rest of the links (over 95% at least) and the reward goes to him (if he wants it).

 

Thanks for your input though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.