English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 01 December 2022, 16:14   #1
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Failing to rip samples off game

I am trying to rip the game samples off Second Samurai, and I can't figure out how.

When I use WinUAE's sample ripping option, it seems to save a gazillion little samples that are all mixed up with whatever is sounding at the time I am playing. What am I doing wrong?

Should I be using another tool? I tried to look at Second Samurai game data on the WHDLoad release, loading it into Audacity as raw data, but the audio sounds really bad that way, and I can't quite find the base frequency at which it's at anyway.

this is how whatever I managed to pilfer via Audacity looks like, all those peaks are clicky noise:

Last edited by Amiga1992; 01 December 2022 at 16:33.
Amiga1992 is offline  
Old 01 December 2022, 20:15   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,526
Game probably uses software mixing if ripper creates huge amount of samples (because mixed sample means every sample is unique)
Toni Wilen is offline  
Old 02 December 2022, 19:10   #3
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
I might be wrong but I think the Second Samurai doesn't make use of software audio mixing.

Use debugger to mute channels.
no9 is offline  
Old 05 December 2022, 21:36   #4
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Quote:
Originally Posted by no9 View Post
Use debugger to mute channels.
I can try that but I also don't know if I can turn off the music. I can turn the volume down, but not sure if that makes the ripper not think the music is there.

Is there a way to extract the audio from the data files ? That would be much easier.

The result i get in WinUAE is like 100 wave files of the same size, each one contains like little bits of other samples, like they're all crossfaded together if I stitched them al into one. But that's only for samples currently playing. I kinda wanted to get all sound samples from every level, even if I am not currently triggering them.
Amiga1992 is offline  
Old 06 December 2022, 11:58   #5
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,783
Quote:
Originally Posted by Akira View Post
this is how whatever I managed to pilfer via Audacity looks like, all those peaks are clicky noise:
You can try to repair sample by using some peaks (pop, clicks) removing filter or application - but for sure it will at some point suppress not only peaks but also surrounding samples - i mean this will be not 100% copy of the original one and my assumption is that this is not your goal.

https://manual.audacityteam.org/man/...echniques.html

Perhaps it can be workarounded by some script - looks that there is some pattern there...
pandy71 is offline  
Old 06 December 2022, 12:02   #6
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
You can use Eagleripper (inside EaglePlayer) to rip samples directly from game data
chip is offline  
Old 06 December 2022, 16:23   #7
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,928
Interesting. Such things are usually easier said than done though
gimbal is offline  
Old 06 December 2022, 16:35   #8
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,662
You could also load the ADF file as a sample and check if you can cut the samples. Just checked 'Second Samurai (1993)(Psygnosis)(Disk 1 of 3)[cr FLT]' in MilkyTracker and it seems to work

Edit: Uploaded one sample cut that way as a proof of concept to the zone.
TCD is offline  
Old 09 December 2022, 01:19   #9
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Quote:
Originally Posted by pandy71 View Post
You can try to repair sample by using some peaks (pop, clicks) removing filter or application
Nahm, I tried this, and there's absolutely NO noise removal method that does not leave heavy artifaction behind. So it's not good

Eagleripper though, that's an interesting idea! Will try that out. Thanks Chip! And loading the ADF as a sample? fuck, I didn't think that would work at all, another great idea, thanks TCD!

[edit] I just tried TCD's method and tried to rip the same sample I showed above, and it has these peaks again. There must be something about how those particular samples are saved. You clearly do not hear such clicks in game. Will try Eagleripper next.

Last edited by Amiga1992; 09 December 2022 at 01:29.
Amiga1992 is offline  
Old 09 December 2022, 07:07   #10
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,662
Could you upload the sample (with clicks) that you are trying to rip?
TCD is offline  
Old 09 December 2022, 10:07   #11
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,357
Game samples as in SFX? Rather than the music samples?

If you wanted the music samples it is a standard mod. Just download from Exotica, load up in protracker (or whatever) and save out the samples.

https://www.exotica.org.uk/wiki/Second_Samurai
alexh is offline  
Old 11 December 2022, 18:18   #12
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Quote:
Originally Posted by alexh View Post
If you wanted the music samples it is a standard mod.
Yeah I know. I'm looking for the in-game samples.
The sample I am trying to rip is attached.

I tried Eagleripper and all it found was the end game module, but no samples whatsoever, in any of the game files of the WHDLoad version.
Attached Files
File Type: zip sam2.zip (10.9 KB, 41 views)

Last edited by Amiga1992; 11 December 2022 at 18:34.
Amiga1992 is offline  
Old 11 December 2022, 20:09   #13
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
This one?
Attached Files
File Type: zip Second_Samurai_ioioi_sample.zip (8.6 KB, 42 views)
no9 is offline  
Old 11 December 2022, 23:01   #14
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,662
Just tried it and could also get the sample. Which method did you use no9?
TCD is offline  
Old 11 December 2022, 23:52   #15
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Just loaded ADF as raw sample to audio editor and cut it out.
no9 is offline  
Old 11 December 2022, 23:58   #16
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,662
Quote:
Originally Posted by no9 View Post
Just loaded ADF as raw sample to audio editor and cut it out.
Thank you for confirming Would be interesting to know why that doesn't work with the WHDLoad version.
TCD is offline  
Old 12 December 2022, 01:18   #17
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
On the versions I checked the samples on disk 1 and 3 are intact, it's just the ones on disk 2 that are glitchy. That particular sample is ripped from Flash Gordon.

Last edited by Rotareneg; 12 December 2022 at 02:23.
Rotareneg is offline  
Old 13 December 2022, 22:40   #18
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Quote:
Originally Posted by TCD View Post
Thank you for confirming Would be interesting to know why that doesn't work with the WHDLoad version.
I tried with the ADF method you posted and I got the exact same problem with the clicky peaks.
Can you explain how you ripped it? What tool and import settings? What frequency?

Thankd Rotareneg for snitching the original source of the sample though!
Amiga1992 is offline  
Old 14 December 2022, 07:24   #19
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,662
Quote:
Originally Posted by Akira View Post
I tried with the ADF method you posted and I got the exact same problem with the clicky peaks.
Can you explain how you ripped it? What tool and import settings? What frequency?
I used MilkyTracker (https://milkytracker.org/) and load the ADF as a sample (it automatically loads it as 8-bit). You can then use the sample editor to play the sample in different frequencies using the keyboard and to crop the part you need. Would be interesting which audio editor no9 used.
TCD is offline  
Old 14 December 2022, 08:14   #20
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
I used Audacity by importing the ADF as raw data, 8 bit signed, mono. Endianness shouldn't matter as we're working with bytes.
Rotareneg is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to rip chiptune samples using ProTracker? BSF-OF-BGP request.Other 2 12 November 2017 15:37
Game Music Rip: Quartz Anakirob request.Modules 8 03 February 2017 16:32
Anywhere you can get ripped game samples? Kola Retrogaming General Discussion 7 30 December 2013 18:52
Tool(s) to rip samples from modules 1988 request.Apps 6 26 September 2012 02:34
Amiga game rip-offs Retroplay Nostalgia & memories 24 02 April 2008 18:37

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:00.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09413 seconds with 14 queries