Members redtarp Posted March 1 Members Posted March 1 Hello, I'm trying to get the sprites from the mobile only chinese game: One Piece: Set Sail. I've included three .zips, Cobyegg and brookwano, both of which contain .pngs that appear to have data because they have sizes, but nothing loads. baby5 contains a ".pvr.ccz" file, which I believe is the sprites, but I have no idea how to convert it into a viewable format. Thank you. Cobyegg.zip brookwano.zip baby5.zip
Members jmancoder Posted March 1 Members Posted March 1 You should be able to use TexturePacker (Tools->PVR Viewer), but you will need the encryption key.
Moderators ikskoks Posted March 1 Moderators Posted March 1 You can use Frida and my script to get a key https://github.com/bartlomiejduda/Tools/blob/master/Frida Scripts/cocos2d/cocos2d_pvr_script.js
Members redtarp Posted March 1 Author Members Posted March 1 Sorry to ask, but how do I use the tool? I'm a little confused looking at it. Also, can the .pngs in "Cobyegg" be used in TexturePacker? 37 minutes ago, ikskoks said: You can use Frida and my script to get a key https://github.com/bartlomiejduda/Tools/blob/master/Frida Scripts/cocos2d/cocos2d_pvr_script.js
Moderators ikskoks Posted March 1 Moderators Posted March 1 It's a script for frida https://frida.re/ You can use it like this: frida -U -l cocos2d_pvr_script.js -f com.tapblaze.pizzabusiness But you need correct module and function names first.
Members redtarp Posted March 1 Author Members Posted March 1 (edited) Sorry, but I'm still a little confused about what to do. Do I need the .apk/.ipa? How do I figure out which module and function to use? 1 hour ago, ikskoks said: It's a script for frida https://frida.re/ You can use it like this: frida -U -l cocos2d_pvr_script.js -f com.tapblaze.pizzabusiness But you need correct module and function names first. Edited March 1 by redtarp
Moderators ikskoks Posted March 1 Moderators Posted March 1 It seems you probably need someone more experienced than you to do it for you. To use this script you need basic programming and reverse engineeering knowledge. You need to do things like: - Decompile APK - Load cocos2d executable in IDA to find module and export name - Replace names in my script - Install frida server on your phone and frida client on your PC - Run frida client with the command I shared with you (adjusted for your case of course) - Test the key in TexturePacker And that's it. After that you should be able to use the key on all encrypted files. I can't help you more with this, sorry.
Members redtarp Posted March 1 Author Members Posted March 1 (edited) Oh, well, thank you for trying. Here's the .apk and .ipa if someone wants to take a look at it: .apk: https://drive.google.com/file/d/1-szLAdoRNt5E_MYU3CAMlRgGT1QJ_HXv/view?usp=sharing .ipa: https://drive.google.com/file/d/1fP5KV2KwxkR-7xCcTFSZNaD1td0AItMx/view?usp=sharing Edited March 1 by redtarp
Members redtarp Posted March 5 Author Members Posted March 5 Bumping to see if someone with more experience can help.
Moderators ikskoks Posted March 5 Moderators Posted March 5 5 hours ago, redtarp said: Bumping to see if someone with more experience can help. I'll try when I'll have some free time for this (maybe on the weekend). 1
Moderators ikskoks Posted March 11 Moderators Posted March 11 I checked it. They obfuscated function names and function bodies 😄 This game can't be easily hooked with frida. Sorry.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now