Hello all. I was wondering if anyone could give me some information on how to extract an .obb file so that one can edit the contents. In my other thread ( http://forum.xda-developers.com/showthread.php?t=2373834 ) where I was trying to figure out a way to activate the Japanese vocal track in Final Fantasy IV with the game's locale in the US/English. I've hit an impasse as I've been able to deduce that the Google play version of the game (which seems to have a 15mb .apk, and a 400+mb .obb ) retains the Japanese audio track but only plays it in conjunction with JP text if the Android locale/language is Japanese. Thus, I figure that somewhere in that .obb there will be the JP audio track file which I can copy over the English audio track file and thereby access Japanese audio w/ English text since SquareEnix didn't give us the option for some god-awful reason.
However, the only way this can work is if I can get into that .obb file! I saw links elsewhere on the forum suggesting that all I had to do was rename the .obb to a .zip or .rar, and then use 7zip or WinRAR to open it, but attempts with both programs and numerous file types (.zip, .rar , .tar etc..) all report that the file is not an archive and thus cannot be opened. This is different from the .apk file, which easily seems to (upon rename to zip) unveil its secrets with 7zip extraction. So, does anyone know a program or method necessary to unpack/extract/read/edit an .obb file besides the simple archive rename? Is there some Android development program or function?
I'd very much appreciate any insight into how to unpack/edit an .obb file! Thanks!
Anyone? Can't seem to find any data on this, especially anything sounding remotely reliable, on other sites...
RanceJustice said:
Anyone? Can't seem to find any data on this, especially anything sounding remotely reliable, on other sites...
Click to expand...
Click to collapse
Have you tried 7 zip?? I am also looking to extract it for in game music lol
jetbruceli said:
Have you tried 7 zip?? I am also looking to extract it for in game music lol
Click to expand...
Click to collapse
I have attempted to extract it with 7zip, but to no avail. It says it cannot extract it as an archive. I'd still love to figure out how to do so, to swap around the vocals, but sadly without unpacking the .obb somehow it doesn't seem possible. I am guessing that by the name "opaque binary blob", these are intended to be difficult to unpack/decrypt etc... though perhaps some are easier than others. Are .obb s created via some sort of encrypting process? compiling? both?
RanceJustice said:
I have attempted to extract it with 7zip, but to no avail. It says it cannot extract it as an archive. I'd still love to figure out how to do so, to swap around the vocals, but sadly without unpacking the .obb somehow it doesn't seem possible. I am guessing that by the name "opaque binary blob", these are intended to be difficult to unpack/decrypt etc... though perhaps some are easier than others. Are .obb s created via some sort of encrypting process? compiling? both?
Click to expand...
Click to collapse
Yeah they are encrypted because some open with 7zip like Aspault 8 and other likes NFS Most wanted they in the APK file.
Hi, did you ever find the solution to this problem? I myself am trying to open the same obb file(to fix the stupid "Load Captain" typo at the start). I have decompiled the apk but am at a loss as to what I should do next. I originally tried dumping the obb file using Jobb, but received a "magic key does not match" error, which leads me to believe it's not a standard archive. The only place I can think of looking is in the .so file, but I'm not sure if I have the patience to sift through all of it.... Keep us posted on any developments, thanks to anyone who can help!
---------- Post added at 04:51 PM ---------- Previous post was at 04:33 PM ----------
A quick search through the apk yields only one result to the string .obb, in the 'DLActivity.class' file.
Code:
static String a()
{
String str = DLActivity.class.getPackage().getName();
return Environment.getExternalStorageDirectory().getPath() + "/Android/obb/" + str + "/main." + 131 + "." + str + ".obb";
}
Now considering the actual name of the obb file is "main.131.com.square_enix.android_googleplay.FFIV_GP.obb" we seem to be on the right track...
I will keep experimenting, let's keep this thread alive!
try with "RAR for Android"
I even managed to extract obb from gta3 (1.2 GB)
@RanceJustice it's pointless to swap English audio with Japanese if you can't even understand it. If you can understand it then you should buy the Japanese version. IMO FF4 is better w/o any voices as both the ENG and JPN are medicore.
@jetbruceli the game uses AAC streamed audio nothing special, the music is pre-recorded and you can buy it for $7. You want Final Fantasy IV DS Original Soundtrack.
RAR for Android as recommended by @cojocaruflrn works!
Rename the file from .obb to .zip and open the file with winrar thats how you can extract the files from within it how to edit the files inside the .obb are a different question
Can I rename zip file to apk file,
any progress? i'm trying to decrypt .obb files from fifa16
It is possible
I see some videos on YT, editing .OBB files from GTASA, & they just use WinRAR!, but.. How?
youtu.be / 9paQDBMv8wQ
I could do it, just change .obb to .zip ON ANDROID, (Using some root explorer or WinRar) that's all, sorry for my english gg
Deathracelord said:
Hi, did you ever find the solution to this problem? I myself am trying to open the same obb file(to fix the stupid "Load Captain" typo at the start). I have decompiled the apk but am at a loss as to what I should do next. I originally tried dumping the obb file using Jobb, but received a "magic key does not match" error, which leads me to believe it's not a standard archive. The only place I can think of looking is in the .so file, but I'm not sure if I have the patience to sift through all of it.... Keep us posted on any developments, thanks to anyone who can help!
---------- Post added at 04:51 PM ---------- Previous post was at 04:33 PM ----------
A quick search through the apk yields only one result to the string .obb, in the 'DLActivity.class' file.
Code:
static String a()
{
String str = DLActivity.class.getPackage().getName();
return Environment.getExternalStorageDirectory().getPath() + "/Android/obb/" + str + "/main." + 131 + "." + str + ".obb";
}
Now considering the actual name of the obb file is "main.131.com.square_enix.android_googleplay.FFIV_GP.obb" we seem to be on the right track...
I will keep experimenting, let's keep this thread alive!
Click to expand...
Click to collapse
Were you able to unpack and repack the Final Fantasy OBB? I am trying to do the same.
rename it to. zip instead of obb.
Install zarchiver and es file explorer and do the cut,copy, paste,edit
Dark Knight Begins said:
rename it to. zip instead of obb.
Install zarchiver and es file explorer and do the cut,copy, paste,edit
Click to expand...
Click to collapse
That doesn't work for all OBB files, most of them use different compression methods, and I am not skilled enough to find out which compression method the one I am trying to unpack is using.
[email protected] said:
That doesn't work for all OBB files, most of them use different compression methods, and I am not skilled enough to find out which compression method the one I am trying to unpack is using.
Click to expand...
Click to collapse
I edited gta series, fifa 12(data),14 on that method.
What u wanna do?
Dark Knight Begins said:
I edited gta series, fifa 12(data),14 on that method.
What u wanna do?
Click to expand...
Click to collapse
Final Fantasy 5 OBB, I don't think SquareEnix uses the same compression method as ZIPs.
[email protected] said:
Final Fantasy 5 OBB, I don't think SquareEnix uses the same compression method as ZIPs.
Click to expand...
Click to collapse
maybe
Related
I am sure this would be a WTF for some people thats why I'm asking in the Q&A section.
I've noticed that .apk files can be renamed to .rar and, once decompressed, we can find files in a normal-structure in their real format (images, sounds, xmls, etc).
So I wonder, let's say, we want to modify one of the images inside the .apk. We would change it for another with the same name/size so no probs with that.
Could we decompress the .apk as a .rar, change the file, recompress it to a .rar and rename it to .apk, or we would **** permissions or something in the way?
Otherwise it needs some compiler or something I guess right? But then I wouldn't understand why it can be plainly decompressed as a .rar..
This should get you started;
To unpack/repack etc .apk use Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
To modify .xml files, use Notepad++
UpInTheAir said:
This should get you started;
To unpack/repack etc .apk use Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
To modify .xml files, use Notepad++
Click to expand...
Click to collapse
Thanks a lot mate! Very appreciated
hey all, i was just wondering if anyone knew how to extract some files from an apk?
specifically, i like riptide gp's background music and was wondering if anyone knew how to extract those music files from the apk or something. let me know! thanks!
I already tried opening the apk on both my computer and NT and couldn't find any music files anywhere... starting to think its not possible, but it can't be because in order for a game to have music its gotta have music files somewhere in the installation file just like any other game on any platform...
Just to get the most basic question out of the way, so sorry if I seem pedantic, but did you just change the extension of the .apk to .zip or did you use APKTool to unpack the .apk?
SG Pillar said:
Just to get the most basic question out of the way, so sorry if I seem pedantic, but did you just change the extension of the .apk to .zip or did you use APKTool to unpack the .apk?
Click to expand...
Click to collapse
i've already tried extracting the apk by conventional means, aka using winrar to extract the contents, but no luck in finding any files resembling that of a music file type. i've also tried apktool but after decompiling the apk, i couldn't find any music files either...
after decompiling through apktool i just saw a lot of .smali files. there was one files called base.apf but not sure how to decompile that....
Check out apktool to extract apks. I've used it on system files to open them up and edit what's inside.
https://code.google.com/p/android-apktool/
Hello all. I recently bought Final Fantasy IV and was disappointed to find there was no language setting in the game that I could find. Ideally, I would like to play with Japanese audio and English subtitles. Launching normally under USA locale plays English vocals and subtitles. I was afraid that the Play store variant would only come with English audio, but I found by changing my Nexus 7 language settings to Japanese, that it would in fact contain and play with JP audio and JP subtitles. I can't understand why , this being the case that there isn't an easy in application language switching option that I can see.
All the components are there. Does anyone know how I could somehow edit the files to play JP audio and English subs? Copy the JP audio track to the English version of the game seems the most straightforward , if I could figure a way to do it. Anyone have ideas for this process? Programs I will need to unpack the apk or game data and edit what needs to be etc...? Thanks.
To th ebest of my knowledge, it appears that I'll probably need to unpack the .obb file somehow. The .apk is small. Does anyone know of an suitable utilities to unpack and repack/sign if need be .obb an/o .apk firles?
I've seen a few posts on the forum suggesting that I simply rename the .obb to .zip, .rar etc... and it will simply be able to be extracted. Sadly, this doesn't seem to be the case. I've been attempting to use 7zip to extract the archive with a number of renamed file types and every time it claims that it doesn't seem to be a valid archive etc.... Others have suggested 7zip works for this in other cases, but I'm not sure why it is failing now. Do I need to use a specific program to see if it is a valid archive?
Edit: I also tried with WinRAR and to no effect - the same problem where it reports that there is no archive present etc...
At the moment I'm trying this with an edited/sideload ready version of FFIV 1.2.3 (which has both the .apk file of a few megabytes and the .obb of a few hundred megabytes), at least until I can pull the exact copy off my device. I'd really appreciate any insight. What do I need to open/extract the .obb and why is it not appearing with 7zip? Thanks.
I'm going to try and get another copy of the files from another source (pulled directly from my Nexus 7 or Nexus 4) onto my Windows PC etc...
RanceJustice said:
I've seen a few posts on the forum suggesting that I simply rename the .obb to .zip, .rar etc... and it will simply be able to be extracted. Sadly, this doesn't seem to be the case. I've been attempting to use 7zip to extract the archive with a number of renamed file types and every time it claims that it doesn't seem to be a valid archive etc.... Others have suggested 7zip works for this in other cases, but I'm not sure why it is failing now. Do I need to use a specific program to see if it is a valid archive?
Edit: I also tried with WinRAR and to no effect - the same problem where it reports that there is no archive present etc...
At the moment I'm trying this with an edited/sideload ready version of FFIV 1.2.3 (which has both the .apk file of a few megabytes and the .obb of a few hundred megabytes), at least until I can pull the exact copy off my device. I'd really appreciate any insight. What do I need to open/extract the .obb and why is it not appearing with 7zip? Thanks.
I'm going to try and get another copy of the files from another source (pulled directly from my Nexus 7 or Nexus 4) onto my Windows PC etc...
Click to expand...
Click to collapse
Huh... I'm not sure how to help you too. Just a simple beginner. But using .zip or .rar worked for me. Just that the file names were all long and weird. Also, every file appears as a .file extension
open obb file
Hi,
did you tried to open *.obb using "jobb" application from Android SDK?
Hello all!
I've a few questions and maybe you guys can help me: I want to translate an Android Chinese Game and right now I can only open a *.rc2 file (with notepad++) that I found with a group of players of that game. The problem is that the game still has some other rc2 files, assetbundles and xml files that I can't open. So my questions are:
- How can I extract the assetbundles? I found the Assets Bundle Extractor (UABE) application but every time I try to extract a file, my PC restarts (my rig: i5 haswell, 8gb ram, GPU R9 200x series). Is there any other option to extract those files?
- Is there something that I can do to convert or decompile rc2 files so I can open and edit it?
- I can't open some of the XML files with Notepad++, do I need to convert it to text first? If yes, is there any app that I can use to do that?
(I get the .apk and followed one Youtube tutorial called "Get source Code(Java and XML) from android APK"but all I got were *.smali files).
I know that those questions are very newbie, but I'll appreciate any help.
Thank you.
i found this on a gsm forum thought id share it here
32.33 MB file on MEGA
mega.nz
I have this... its not worked for me so far
This is a windows .bat file that is "protected" and is written to work with Android 11 and half the functions are not the same with the Android 12 ColorOS base version. If the author would have shared it with the .bat file in plain text, someone might have updated it and left his credit and not just stole his work and renamed it.
Not everyone embraces open source ideals.
Yes this work with os11 not for os12
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
the.real.p3y0t3 said:
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
Click to expand...
Click to collapse
You have not dealt with well written .bat file obfuscation. I have the .bat file, but it has been run through a tool that converts the editable ASCII into expressions and different encoded base (x) that are more work to resolve than to re-write the batch file.
Challenge: Make this working executable .bat file plain ascii again.
Your story, tell it like you believe it ;-)
Honestly though, why not look for your self? Ive already done it with this "tool". Not obfuscated at all. If yer having problems finding the files, run the EXE, choose one menu option, go to yer temp DIR and sort the contents by date modified, and with the FILES listed first, scroll down to where it starts listing directories. It will be the first one listed. Have fun!
\\'eird dunno why it didnt attach the file to the previous post. I should have made clear that the file you seek was located in the tmp directory thats created under the parent directory... You seemed to know what you were talking about, so I assumed little to no hand-holding would be needed...
Its worth mentioning that all of these bat2exe tools use the same (or nearly the same..) method for urm ehhh "obfuscation"; IE: upon running the app, it inflates the files to your appdata\local\temp directory. Sometimes the "app" will be password protected, and wont unpack the exe until the correct password is entered. For myself its force of habit to go check my temp dir after running any of these style tool things... And you should too!