Wikipedia:Reference desk/Archives/Computing/2012 August 23

From Wikipedia, the free encyclopedia
Computing desk
< August 22 << Jul | August | Sep >> August 24 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


August 23[edit]

Getting/ripping songs from a java web game.[edit]

I really would like to know the possible ways to 'get' the audio from a game, first of all, it seems that my computer doesn't have "stereo mix" (Yes I've read the guides, that tells how to enable. but no luck), therefore I have no way of recording it from stereomix, I have also tried decompiling the game, so I did decompiled and searched the code for a url or something obvious as where the sounds are loaded, no luck either. Is there anyway for getting the song from a process? What the process is sending to the os and capture the song? or could you scann the process memory looking for an audio file? or maybe scan the packets from the server to see if anything matches to an audio file?

I've tried almost everything, I really really want to have that song. What should I do? (Aside from learn java) 190.158.212.204 (talk) 05:36, 23 August 2012 (UTC)[reply]

It would really help if you told us what kind of computer you're running and what operating system. --Mr.98 (talk) 12:04, 23 August 2012 (UTC)[reply]
Right, Windows 7 ultimate 64 bit. It's toshiba m645-s4047 — Preceding unsigned comment added by 190.60.93.218 (talk) 12:17, 23 August 2012 (UTC)[reply]
If all else fails, just re-record it from your headphone jack. There will be a some loss of quality, but I've found this to be barely detectable (to an untrained ear) in some cases, with a good digital recorder or another computer, and volume controls set carefully. Dbfirs 12:33, 23 August 2012 (UTC)[reply]
Can you give us a link to this game? -- Finlay McWalterTalk 12:55, 23 August 2012 (UTC)[reply]
I guess so.. [1], I'll save you the work to locate the jar in the html as it's here, I figured that it request the sprites while loading using the java console. 190.60.93.218 (talk) 14:49, 23 August 2012 (UTC)[reply]
One way would be to use a program that records whatever is going to the computer's sound card. Search the web for something like record sound card or capture streaming audio. The first program I noticed is the freeware Audacity (audio editor) which looks like it can be used to edit the recording down to the interesting parts. 88.112.47.131 (talk) 16:08, 23 August 2012 (UTC)[reply]
I'm just going to say it's for personal use, I wasn't intending to resell or distribute. Meh, thanks anyway.. 190.60.93.218 (talk) 16:59, 23 August 2012 (UTC)[reply]
Doesn't Audacity (and all the other recording software) rely on a sound card with stereomix that can play and record at the same time? Like the OP, I've never been able to get it to record what is being played on my laptop. Dbfirs 06:43, 24 August 2012 (UTC)[reply]
When I visited the game page, I got a prompt to allow the signed Java applet to run. Since I didn't know exactly what additional access to my computer it wanted, I clicked Cancel. An error page appeared explaining the game was unable to store temporary files to the hard drive, and suggested I create a directory c:\rscache. If you trust the applet not to harm your computer, it sounds like it might store temporary files in a c:\rscache directory. You might look there and see if there are any audio files. --Bavi H (talk) 01:53, 24 August 2012 (UTC)[reply]

You could try this app to get past the no stereo mix problem http://stereomixplus.com/ Bornmiddleaged (talk) 10:25, 26 August 2012 (UTC)[reply]

Emacs basics[edit]

If you want to type 20 times a *, how do you do it? If you have several buffers already open, what is the easiest way to jump from one to the other? C-x b nameofbuffer works fine, but it seems to be too cumbersome. I need something like Contrl + Tab. Comploose (talk) 17:26, 23 August 2012 (UTC)[reply]

As there is tab completion in C-x b, I usually do that (that is, C-x b, type a couple of chars, tab, return). The commands previous-buffer and next-buffer are usually bound to Ctrl+x+ and Ctrl+x+ - if not, you can bind them yourself. -- Finlay McWalterTalk 17:35, 23 August 2012 (UTC)[reply]
To get simple command repetition, use C-x u. In this case, C-x u 2 0 *. Paul (Stansifer) 18:12, 23 August 2012 (UTC)[reply]
On my system that's Ctrl+u 2 0 *, where Ctrl+u is bound to the elisp function universal-argument -- Finlay McWalterTalk 18:49, 23 August 2012 (UTC)[reply]