Posts: 841
Threads: 27
Joined: Jan 2015
02-01-2016, 06:32 PM
(This post was last modified: 03-01-2016, 09:09 PM by Pingus!.)
Hello all! I thought this may be a good idea in order to answer any questions you may have about how I rip sounds from different consoles. There are, of course, multiple ways of ripping sound effects from different consoles. I thought it may be feasible to point you towards the methods I use as I've found them useful. My goal is to be able to teach you how to rip and understand how the game runs these sounds. I found that, the better I understand the process the ROM or any other game code goes through to play the effects, helps me to understand how to extract them.
1. Flash Games:
Method 1- Getting the .swf
The first thing in order to be able to rip sound effects from flash games is to understand what they are. A flash game is any game that can be played over a browser. Generally, the ones I'm referring to are the 2D ones run on Adobe Flash Player. Different game sites store their flash games in different directories, and you won't be able to click a link directly to it. So, we have to catch the flash game by viewing the page's source. Generally, flash games are stored in a .swf file extension, and can be decompiled into their resources (Sounds, sprites, etc.) by using different programs.
Programs Needed/Preferred:
-JPEXS Free Flash Decompiler
-Any version of Mozilla Firefox
Step 1: Load The Game
Step 2: View Page Source
Anywhere on the page containing the flash game, right click and press the "View Page Source" Button
Step 3: Locate the .swf Directory
Press Ctrl + F and search for ".swf" in the code source. You should find a link containing the .swf file! (Make sure the directory contains the game and not anything else!)
Step 4: Saving the .swf
Once you have the .swf opened up in a New Tab, click the top right button and press save page. Save the Page as a ".swf"
Step 5: Decompiling the Resouces
Open up the .swf file in JPEXS Free Flash Decompiler (or any other program of course) and click the "sounds resource" once. Click "Export Selection" and choose the desired directory to store the folder of sounds in!
Step 6: Tahdah!
You now have all of the sounds in your possesion! Enjoy!
Method 2- Using the Debugger
Right off the bat, this is the last thing people like to hear. But no worries, you'll need just the same tools as before, Just an extra step added. Sometimes, certain producers put all their resources in multiple directories externally, rather than storing it all in one .swf file. Instead, they're stored in several .swf files and are called by the main swf's code to be put into use. This may also apply to sounds as well, as the .swf files are stored in a cache that you normally can't see. However, knowing the way to bring up this cache will allow you to be able to load up the resources! For this example, I will be using Power Rangers Super Megaforce Legacy from Nickelodeon
Step 1- Load the .swf
Once you get to the desired game, load the page, right click and press the Inspect Element Button
Step 2- The Debugger
Whoah!!!! There's a bunch of buttons! No worries, simply press the "Network" tab, and as you progress through the game, watch the .swf files pile up. Once you find one labeled audio such as the "audio_gameplay" one below, right click and open it in a new tab. Save & Run it through JPEXS and you're all set!
Overall, 2D Flash ripping games isn't terrible once you understand and practice it enough . I hope you understand the above! I will be handing out a *.pdf tutorial of this so people can refer to it offline as well! Cheers!
2. PS1/2 - Contributed by eureka
What you need to rip sound data:
An ISO of the game you want (mounted, of course, as PS1 and 2 games use really weird layering for disc images.)
PSound
Step 1: Usually, sound data is in "VAG" audio format, or in the PS1's case, XA. To play what's inside, simply open PSound and choose your file.
There's usually 7 Files inside an XA file. for VAG it varies.
Step 2: If the sound data doesn't sound right, Go to Options>Configure:
And try "Sample Rate" until it sounds right.
Also, I'd personally recommend checking "Force Rate"
Step 3: Export the music/sounds to WAV files:
Choose your output directory and click "Convert".
3. Mobile
iPhone
Scenario 1: Simple IPA Dump-
In every case with mobile ripping, you will need to get the assets of the app off of the iPhone. Generally, you can go to a website and download an IPA package of the app. IPA stands for iPhone App (Package being all the contents of the file in it.) However, as you get into different engines the games are ran on, it becomes very game specific. This is however, a necessity to the beginnings of mobile sound ripping.
Tools Needed:
-iFunbox (Personally I use classic, as I've had issues with iTunes blocking the present day version. I as well use an old iPhone)
-A .ipa package file
Step 1
Open up the iPhone in iFunbox Classic and navigate to the User Applications Path. Head to the app you'd like to use and expand the branches of the app untill you get to the "templerun.app" or any other file name ending in *.app (This is just the name of the folder):
Step 2
Right Click, and Press Copy Path to PC. Select the place you want to save all of the contents of the app. Press save, and watch it extract.
Step 3
Tah dah! You've got the sounds! Make sure you convert them to the proper format allowed by TSoR and you're all set!:
Throughout the weeks, I will be creating more and more tutorials as I get farther into understanding the consoles more. Please be patient! If any of the images above disappear, please PM me. Thank you for your cooperation and enjoy!
~Anex
PS: If you'd like to post a tutorial method of your own, feel free to PM me!
Posts: 841
Threads: 27
Joined: Jan 2015
02-10-2016, 06:09 PM
(This post was last modified: 03-01-2016, 09:31 PM by Pingus!.)
Update!
Haven't got around to writing another tutorial, as I've been very busy. Here's a link to the folder where I will be re-creating *.pdf's for people if they're interested!:
https://mega.nz/#F!118hgCDC!te5YBMNo25xfWSMqzpG1kw
Thus, if you ran into something with like a hurricane and had no internet for a week, you can proceed to rip, even without internet! I hope this helps someone . I'll be adding the PS1/2 one written by eureka soon. Stay tuned!
EDIT: PS1/2 is now added. Next platform to come up:
Mobile
However, I will be going into specifics of different phones lol
~Anex
Posts: 841
Threads: 27
Joined: Jan 2015
Added simple IPA iPhone technique for sounds! Enjoy! PDF of the new tutorial in the mega folder.
Posts: 965
Threads: 20
Joined: Jan 2014
You might consider some things about the web console for future reference, and this actually applies to all multi file flash games.
Firstly, the web console has a limit to how many urls or messages it retains. If dealing with an MMO, you'll easily load more files than the console normally is designed to retain, so the earlier logs will slowly be erased.
Secondly, this method is a little tedious since you must manually open and save each file from its url.
Third, this assumes you can even directly access the files in question. Although this is rare, there are such things as site locks and http 403: access denied. The more aggressive site locks can re-direct you to another page. http: 403 is a bit trickier. However, if you grab the file/data from memory or cache, this also fails. But naturally, the web console doesn't do this. I'm pretty sure the web console also just doesn't log some stuff.
You may consider looking into options such as Fiddler. This will detect virtually everything, and you can batch-download anything it manages to intercept. You even can save them all to a "session archive" to work with later. (useful with MMO's, that typically comprise of ...THOUSANDS of files) I used this program before a friend even showed me the web console, and I still prefer it. There is one major catch, though, if a file is already cached, Fiddler doesn't necessarily intercept or detect it, then.
Posts: 841
Threads: 27
Joined: Jan 2015
(03-04-2016, 04:31 PM)DarkGrievous7145 Wrote: You might consider some things about the web console for future reference, and this actually applies to all multi file flash games.
Firstly, the web console has a limit to how many urls or messages it retains. If dealing with an MMO, you'll easily load more files than the console normally is designed to retain, so the earlier logs will slowly be erased.
Secondly, this method is a little tedious since you must manually open and save each file from its url.
Third, this assumes you can even directly access the files in question. Although this is rare, there are such things as site locks and http 403: access denied. The more aggressive site locks can re-direct you to another page. http: 403 is a bit trickier. However, if you grab the file/data from memory or cache, this also fails. But naturally, the web console doesn't do this. I'm pretty sure the web console also just doesn't log some stuff.
You may consider looking into options such as Fiddler. This will detect virtually everything, and you can batch-download anything it manages to intercept. You even can save them all to a "session archive" to work with later. (useful with MMO's, that typically comprise of ...THOUSANDS of files) I used this program before a friend even showed me the web console, and I still prefer it. There is one major catch, though, if a file is already cached, Fiddler doesn't necessarily intercept or detect it, then.
I don't get what the point of this post was, as I've known about Fiddler for awhile, and ins and outs of flash games. I just haven't gotten around to writing a tutorial. Thanks though!
Posts: 965
Threads: 20
Joined: Jan 2014
(03-04-2016, 04:46 PM)Anex Wrote: I don't get what the point of this post was, as I've known about Fiddler for awhile, and ins and outs of flash games. I just haven't gotten around to writing a tutorial. Thanks though!
k then.
i kinda have one, but it's very incomplete.
Posts: 153
Threads: 7
Joined: May 2014
Anex I requested that your tutorials get added to the pinned list of tutorials, and the Mighty Jetters added it!
http://www.vg-resource.com/thread-28640.html
Posts: 841
Threads: 27
Joined: Jan 2015
(03-12-2016, 02:13 PM)Inthegrave Wrote: Anex I requested that your tutorials get added to the pinned list of tutorials, and the Mighty Jetters added it!
http://www.vg-resource.com/thread-28640.html
Thanks!! I really appreciate it!
Posts: 18
Threads: 5
Joined: Dec 2016
I don't have an iPhone, but a Samsung Galaxy J3. Any tips on how to rip sounds from there?
Hey - welcome to the forums! DragonKing - you're posting in a thread that's almost a year old.
Since it's your second post, I'll just figuratively slap you on the wrist here and remind you that necroposting is highly frowned upon and can result in a warning (which restricts your ability to post for a short while)
Forum Rules Wrote:7.2: Necroposting
If a thread is no longer on the first page or the forum list (or more than a month old in slower sections), avoid posting in it without good reason. Specific topics that have died likely did so for a reason and chances are, if there's a reason to bring it back, enough new information is available to justify a new thread. Exceptions here include ongoing threads with dedicated topics (e.g. threads discussing a video game or series, pretty much all of the "Real Life" threads, stickied threads, etc.).
So yeah - please refrain from doing so in the future, as we won't think twice about warning you the next time around. I've also closed the topic at Pingu!'s request, but if he'd like me to re-open it at any point just...let me know Pingu!.
I'm not much of a sound ripper though, but you might wanna search around on the forums (and also the 'net) to see if there's methods of ripping from Android titles though)(the J3 is kinda specific, lol)
|