Rayman Origins (PC) .ipk QuickBMS script error

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Hi, so I tried to extract Rayman Origins' IPK file using the latest version (0.2.5) of this script:
http://aluigi.altervista.org/bms/rayman_origins.bms

But for some reason, QuickBMS fails extracting it, giving me this error:
"Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info: algorithm 1
offset 0027d92c
input size 0x00000e14 3604
output size 0x00000001 1
result 0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (1)

Last script line before the error or that produced the error:
124 clog NAME OFFSET ZSIZE SIZE"

Ironically, I tried this script out with Rayman Legends' IPK files and it was able to extract the files from it just fine.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by aluigi »

Upload the ipk file.
If it's very big (over 500Mb) it's probably better to use the http://aluigi.org/bms/filecutter.bms script with the MEGABYTES variable set to 10.

The "output size" equal to 1 is for sure a problem that must be solved.
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Okay, here's the IPK file:

I couldn't get the file-cutter script to work so I had to upload it normally so it's 1.57 GBs.
Last edited by icup321 on Sun May 06, 2018 10:58 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by aluigi »

Script 0.2.6
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Thank you! It's working perfectly now.

Okay, so I'd like to bring up the fact that your script works with pretty much every Rayman game with the IPK format now except for one, Rayman Adventures because it uses a newer engine format (which I believe is version 8).
If you can add support for that game, that would be great.
Last edited by icup321 on Mon May 07, 2018 12:28 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by aluigi »

Script 0.2.7
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by aluigi »

Script 0.2.8
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Yes! Thank you so much, now every IPK version is supported, even the Switch version of Legends' IPK files work on this.
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Hey, sorry for bumping this old topic, but this is important.

There is a beta demo of Rayman Legends that was released in 2012 on the Wii U eShop and it turns out it also uses a different file structure for the IPK files because it runs on an older engine version so that means that your BMS script doesn't support it. If you need any help, let me know! Thanks!
Last edited by icup321 on Wed Jan 23, 2019 8:43 am, edited 1 time in total.
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Okay, so it turns it's actually worse than I thought, your script doesn't support the Wii U version at all, period. I tried using it on all the Wii U demos and the final Wii U build as well, but it gives me the same type of error, so it looks like this affects all Wii U versions of Rayman Legends. Thankfully, Droolie's script that he posted on this thread can extract from the Wii U versions just fine, but if you can fix your script that would be better because it would be better to have one script that extracts from all IPK versions: http://forum.xentax.com/viewtopic.php?f=10&t=10690
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by aluigi »

I guess I have found a compatibility work-around but the presence of multiple versions and customizations of the format doesn't help in these cases :)
Script 0.2.9
icup321
Posts: 9
Joined: Thu May 03, 2018 1:17 am

Re: Rayman Origins (PC) .ipk QuickBMS script error

Post by icup321 »

Wow, I can't thank you enough, I just tested it on both the Wii U retail and beta demo versions and it works perfectly, this script should be compatible with all of the Rayman IPK formats now! You've done a lot of favors for us at the Rayman modding community.

There might be a few other Ubisoft games that use different IPK formats, but I think I'll leave that problem to whoever else wants to post about it. :P
https://en.wikipedia.org/wiki/UbiArt_Framework