07-17-2015, 10:24 PM
07-18-2015, 03:33 AM
Here's a QuickBMS script to turn the .bytes files into OGGs:
Put this into a text file and give it the extension .bms, then you can use QuickBMS to convert them. Put the files you want to convert in a folder and choose that as the input.
Code:
get NAME basename
string NAME += ".ogg"
get SIZE asize
math SIZE -= 0x120
log NAME 0x120 SIZE
Put this into a text file and give it the extension .bms, then you can use QuickBMS to convert them. Put the files you want to convert in a folder and choose that as the input.
07-21-2015, 01:22 PM
Thank you!
That worked like a charm and saved me quite a bit of time.
That worked like a charm and saved me quite a bit of time.
07-21-2015, 06:03 PM
Because there were so many files I decided that there was no way that I was going to copy paste and make 6000 bat files then click on them all to run them. I asked my brother for some coding advice and we were able to make a .bat that would automate the entire process so all 6000 folders would be created from just the one click.
I don't know if this is something you guys already use or not, but this is the code we got to work!
Aha! With this I'll be able to recompile and submit the resources sooner.
cheers.
Code:
cd C:\Disunity
FOR %%f IN (*) DO disunity extract %%f
PAUSE
Aha! With this I'll be able to recompile and submit the resources sooner.
cheers.
09-28-2015, 02:03 PM
Does anyone know what the offset is for the movie bytes? since it doesn't appear to be the same as the BGM bytes....
11-19-2015, 08:40 PM
(07-16-2015, 05:28 PM)petitepirouette Wrote: [ -> ]UPDATE:
Alright so Lexou Duck sent me a few extraction tools for the twewy .ipa which extracted about 1,200 PNGs from all the .28 files (which were extracted from the resource.assets file)
There are still a bunch of .83 .21 and .43 that were extracted as well. Does anyone know what to do with these? (roughly about 3,500 files are of these types)
On top of that with disunity I have been working my way through 5,900 different files from the .apk one by one. Some of these are the same as the .ipa and some are different. The nice thing so far is that some of the files found one way are coruppted while the other way spits them out fine:
So in the end there are more unable pictures. It's going to take me a while to go through all of the files but I'll compile them when I'm done and submit them.
Was wondering if you could pass me (or at least tell me the names) of the extraction tools you used to get those files from the IPA.
11-19-2015, 09:22 PM
You can open IPAs with 7-zip (and probably other extraction utilities like WinRAR). Just right-click, 7-zip, Open Archive.
11-19-2015, 10:48 PM
Should've clarified better, my bad.
I meant the tools used to extract the resources.assets files, an then the tool to extract the files that were just extracted.
petite used a plural so i assumed there would be more then one tool needed.
I meant the tools used to extract the resources.assets files, an then the tool to extract the files that were just extracted.
petite used a plural so i assumed there would be more then one tool needed.
11-19-2015, 11:09 PM
Oh, right. To my knowledge disunity can extract files from .assets files. Otherwise I don't know though.
11-20-2015, 07:47 AM
here's a copy of the private message i had sent to the OP
you're gonna open up that .ipa with 7zip, dump it somewhere
inside this new twewy.app folder you've created or whatever there's another folder called data, containing the big file called resources.assets
so you're gonna download this program called QuickBMS so you can run the script to unpack that big file
and make a file of that script, that is this script right here
paste it in notepad and save it as whatever.bms
and yeah launch quickbms, run that script on the resources.assets file and now you should have a new big folder called Resources
and inside that, all these .28 files
so the link dazz had put up to download is now dead and you can't find the program anywhere on previous' website, but i have it sooo
here's the program, i uploaded it onto mediafire http://www.mediafire.com/download/edvtjo...yEight.exe
drag and drop the files onto there and it should work
so yeah have fun finding what you need
you're gonna open up that .ipa with 7zip, dump it somewhere
inside this new twewy.app folder you've created or whatever there's another folder called data, containing the big file called resources.assets
so you're gonna download this program called QuickBMS so you can run the script to unpack that big file
and make a file of that script, that is this script right here
Code:
endian big
goto 0xc
get BIAS long
endian little
goto 0x28
get FILES long
goto 0x40
for i = 1 <= FILES
get FID long
get OFFSET long
math OFFSET += BIAS
get SIZE long
get TYPE long
get DUMMY long
if TYPE == 4
elif TYPE == 1
elif TYPE == 12
elif TYPE == 15
elif TYPE == 23
elif TYPE == 26
elif TYPE == 33
elif TYPE == 54
elif TYPE == 64
elif TYPE == 65
elif TYPE == 96
elif TYPE == 108
elif TYPE == 111
elif TYPE == 123
elif TYPE == 135
elif TYPE == 198
elif TYPE == 199
elif TYPE == 3584 # last file
elif TYPE < 0
else
savepos MYOFF
goto OFFSET
get NAMEL long
getDstring FNAME NAMEL
savepos OFFSET2
set HEAD OFFSET2
math HEAD -= OFFSET
set TEST HEAD
math TEST %= 4
if TEST != 0
math HEAD /= 4
math HEAD += 1
math HEAD *= 4
math OFFSET += HEAD
math SIZE -= HEAD
endif
math SIZE -= 4
math OFFSET += 4
goto MYOFF
get NAME basename
string NAME += "/"
set EXT ""
if TYPE == 152
math OFFSET += 0xc
math SIZE -= 0xc
set EXT ".ogm"
elif TYPE == 49
set EXT ".xml"
else
set EXT "."
string EXT += TYPE
endif
string NAME += FNAME
string NAME += EXT
log NAME OFFSET SIZE
endif
next i
and yeah launch quickbms, run that script on the resources.assets file and now you should have a new big folder called Resources
and inside that, all these .28 files
so the link dazz had put up to download is now dead and you can't find the program anywhere on previous' website, but i have it sooo
here's the program, i uploaded it onto mediafire http://www.mediafire.com/download/edvtjo...yEight.exe
drag and drop the files onto there and it should work
so yeah have fun finding what you need
11-20-2015, 06:36 PM
I found what i need, can't thank you enough.
Though I am curious. Is there any way to open the .21 files?
Also I'm sorta new here, how exactly does one submit sprites? ^^"
Though I am curious. Is there any way to open the .21 files?
Also I'm sorta new here, how exactly does one submit sprites? ^^"
11-20-2015, 11:08 PM
If you can upload a couple of .21 files I can take a look, although I'm not promising anything.
To submit, go to the game you want to submit to, and then click the "Add New Sheet" button. If the game doesn't exist, go to a system page and click "Add New Game".
To submit, go to the game you want to submit to, and then click the "Add New Sheet" button. If the game doesn't exist, go to a system page and click "Add New Game".
01-13-2016, 03:05 AM
On the topic of apk file ripping: Is there an android emulator out there that let's you filter graphical elements or some sort of app which dumps them?
I was trying to rip the medals (and other stuff) from Kingdom Hearts Unchained χ but it seems most files are inside some strange (encrypted?) archive, so the methods suggested for TWEWY:SR here won't work.
I was trying to rip the medals (and other stuff) from Kingdom Hearts Unchained χ but it seems most files are inside some strange (encrypted?) archive, so the methods suggested for TWEWY:SR here won't work.
01-13-2016, 03:14 AM
Mobile games are much like PC games, i.e. each game often uses different formats. If you can upload the archive in question we can take a look.
01-13-2016, 03:50 AM
http://www.mediafire.com/download/48cd38...ed_chi.zip
These are the files that can be found in the apk, once the game installs they get even bigger (the misc.mp4 around 780 MB and the misc.png around 20 MB). I could upload these too but that's probably not helpful at the moment.
I'm really not sure where to start here, since I don't have any experience with archives at all, maybe the smaller file is the index for the larger one.
These are the files that can be found in the apk, once the game installs they get even bigger (the misc.mp4 around 780 MB and the misc.png around 20 MB). I could upload these too but that's probably not helpful at the moment.
I'm really not sure where to start here, since I don't have any experience with archives at all, maybe the smaller file is the index for the larger one.