December 30, 2025Dec 30 Localization Hello, I'm trying to obtain the sprites from the Japan-only, now defunct, mobile game One Piece Straw Wars Pirate Defense. I was able to find the .apk online, and while looking through it, I found a 23 mb file named "resources.bin." I believe this has game spirits, but I have no idea how to extract them from a .bin file. resources.zip
December 30, 2025Dec 30 Supporter Solution # QuickBMS created by Rabatini # resources.bin extractor - One piece straw wars pirate defense(Big Endian) endian big # Header (12 bytes) get HEADER_UNK long # usually 0x20 get DATA_START long # offset where data starts (end of the file table) get FILES long # number of files # Each entry format: # u32 NAME_LEN (in this case it's 0x34) # char NAME[NAME_LEN] (null-terminated / padded string) # u32 OFFSET (absolute) # u32 SIZE for rip = 0 < FILES get NAME_LEN long getdstring NAME NAME_LEN get OFFSET long get SIZE long log NAME OFFSET SIZE next rip This should extract all files. ONEPICIEMOBILE.zip Edited December 30, 2025Dec 30 by Rabatini
December 30, 2025Dec 30 Author Localization Thank you so much, this worked! Looks like a majority of sprites are missing; they may have been assets that were downloaded on a server before the game was shut down. However, in the .bin are multiple .ssa and .ssi files, the .ssa may have sprites if someone could possibly take a look at them. New folder.zip
December 31, 2025Dec 31 Supporter 19 hours ago, redtarp said: Thank you so much, this worked! Looks like a majority of sprites are missing; they may have been assets that were downloaded on a server before the game was shut down. However, in the .bin are multiple .ssa and .ssi files, the .ssa may have sprites if someone could possibly take a look at them. New folder.zip 371.47 kB · 2 downloads SSA do not have Sprites. SSA (SSAD) is a 2D animation file format based on "parts" (similar to bone/skeletal animation). It does not contain the actual images; instead, it references specific crops (AREA) within an atlas (typically a large .png file). Each PART defines a component of the character or UI: NAME: The name of the part (e.g., head, eye, arm). AREA: The rectangle (x, y, w, h) within the atlas. ORGX/ORGY: The pivot or anchor point of the piece. Tracks (POSX/POSY, ANGL, SCAX/SCAY, TRAN, HIDE): Curves per frame defining position, rotation, scale, transparency, and visibility. PRIO: Draw order (layers). MYID/PAID: Hierarchy; defines the "parent-child" relationship (e.g., "I am a child of X") so parts move together. Here some examples of your pngs using SSA to form animations Spoiler Spoiler Spoiler Spoiler Edited December 31, 2025Dec 31 by Rabatini
Create an account or sign in to comment