Rayman: Origins (3DS) .ipk

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

Hello!

The script http://aluigi.altervista.org/bms/rayman_origins.bms doesn't work for this file: http://www113.zippyshare.com/v/X3pFbemR/file.html
An update would be really nice! :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman: Origins (3DS) .ipk

Post by aluigi »

Uhmmm here it works perfectly and I have been able to extract all the files.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

Oh sorry, I wasn't clear enough: the script works but without file names. Somehow the NAME variable stays empty although there are file names starting at offset 0x69134...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman: Origins (3DS) .ipk

Post by aluigi »

Good catch! :D
Script 0.2.1
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

HA! Thanks a lot, Luigi! :D
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

Well, uhm... there's still something wrong I'm afraid. The file names don't match the data in all cases. It's easy to identify when listening to the music parts. It starts off fine and suddenly the later segments have the wrong data. (cut the first 0x14 bytes and rename to *.bcwav to listen to them)
Anything you can do for this?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman: Origins (3DS) .ipk

Post by aluigi »

Script 0.2.2
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

I really feel bad for saying this.... but it's still not matching.
Here, take a listen at what the script extracts: http://www38.zippyshare.com/v/LMMoXUDi/file.html

I hope you still feel like tinkering with this. ;)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman: Origins (3DS) .ipk

Post by aluigi »

Probably you mean that the extension doesn't represent the expected content.
That's because they are in non standard formats so tga are not tga and so on.
But I verified the files extracted from the sample you provided and the "format" of the content is different when the extension changes so the names are correct.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

No, that's not it. Here, I've uploaded some files that clearly have the wrong data: http://www75.zippyshare.com/v/jHDYw6gh/file.html
I've included three folders: "music" and "temp" are from the sound folder structure and should contain bcwav files but they don't. "301_jungleworld" is a sample from a folder that contais music but the names are wrong. I've cut the first 0x14 bytes so you can listen to them. I've marked some files with "~new" where a new sequence of music starts where it shouldn't and "~same" where a sequence stays the same but should change according to the names.
If you have any ideas as to how to sort the files, please try to fix this.
I'm hoping for your help and will be really greatful if you come up with a working script.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman: Origins (3DS) .ipk

Post by aluigi »

I think I have found the correct way to get the 100% of correct names as far as I can see.
Script 0.2.3. Let me know if it's correct now.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rayman: Origins (3DS) .ipk

Post by AlphaTwentyThree »

YES!!!! That's the correct way. Thanks a lot, Luigi! :D