This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch audio dumping
#1
I wanted everything at onceSmile
Picked up the wav ripper, looked into the hex editor, and did two things:
1) stupid hack
Code:
//AtracCodec.java
//-----------------------------------------------------------------------------------------------------------------------------------
    protected String generateID(int address, int length, int fileSize) {
        int hashCode1 = Hash.getHashCodeFloatingMemory(0, address+60, 1);
        int hashCode2 = Hash.getHashCodeFloatingMemory(0, address+444, 1);
        int hashCode3 = Hash.getHashCodeFloatingMemory(0, address+2000, 1);
        String tmpstring;
        tmpstring = String.format("Atrac-%8dx%8dx%8d", hashCode1,hashCode2,hashCode3);
                return tmpstring.replace(" ","");
    }

// Hash.java
//-----------------------------------------------------------------------------------------------------------------------------------

    public static int getHashCodeFloatingMemory(int hashCode, int addr, int lengthInBytes) {
        IMemoryReader memoryReader = MemoryReader.getMemoryReader(addr, lengthInBytes, 4);
                hashCode =  memoryReader.readNext();
        return hashCode;
    }
2) make crappy tool(google copy-paste way) for renaming files and generate commant.txt
   
Then using this on Disgaea Aod ULUS10308 and .... 8798 wav's, 6.44gb raw pcm data. Two hours testing: playable with all sounds Smile

.7z   jpcsp_rename.7z (Size: 164.11 KB / Downloads: 266)
Reply


Messages In This Thread
Batch audio dumping - by Agent69 - 06-17-2010, 05:54 AM
RE: Batch audio dumping - by corvenik - 06-18-2010, 11:33 AM
RE: Batch audio dumping - by Agent69 - 06-18-2010, 06:55 PM
RE: Batch audio dumping - by corvenik - 06-19-2010, 01:22 PM
RE: Batch audio dumping - by Agent69 - 06-20-2010, 03:02 AM
RE: Batch audio dumping - by corvenik - 06-20-2010, 09:22 AM
RE: Batch audio dumping - by Agent69 - 06-20-2010, 09:29 PM
RE: Batch audio dumping - by gid15 - 07-17-2010, 03:07 PM
RE: Batch audio dumping - by hyakki - 07-17-2010, 07:50 PM
RE: Batch audio dumping - by Agent69 - 07-17-2010, 07:05 PM
RE: Batch audio dumping - by gid15 - 07-17-2010, 09:12 PM
RE: Batch audio dumping - by hyakki - 07-17-2010, 10:02 PM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 05:47 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 06:43 AM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 07:11 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 07:21 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 08:20 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 10:06 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 11:45 AM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 03:16 PM
RE: Batch audio dumping - by Orphis - 07-18-2010, 10:34 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 09:49 PM
RE: Batch audio dumping - by DRKSCE - 09-11-2010, 10:09 PM
RE: Batch audio dumping - by nsinger998 - 02-22-2011, 03:11 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)