Craft_Your_Fairies

.obb decompression

Nov 28th, 2020 (edited)
25,457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. Disclaimer: A decompressed .obb is not a magic fix all. Different people have different results to what extent it improves the game.
  2. Example - With Leapdroid (rip) the primary benefit I have personally noticed is with menu and screen transitions. Which feel noticeably smoother.
  3.  
  4. Disclaimer2: I've functionally quit GF1 despite maintaining logins due to sunk costs. So I won't be maintaining my pastebins, and admittedly haven't for a while now. I won't delete them on the chance they still have any use, or someone wants to copy them and maintain things for the thread themselves. If the OP ever needs cleaned up for more room, my links are an easy pruning.
  5.  
  6. P.S. PNC matrix mode puzzles and their need for a new tutorial every time bad. Matrix mode dungeon crawling good. Don't@me.
  7.  
  8.  
  9. ------------
  10. Check the left hand side of the settings menu if you don't know what version you're on. Mismatching client and obb versions will result in a failure to launch the game properly. https://files.catbox.moe/dum37h.PNG
  11.  
  12. You're gonna need to do your own .obbs or find one else where.
  13.  
  14.  
  15. look further below for manual methods involving 7zip and Termux.
  16.  
  17. Find your obb folder that contains your original .obb.
  18. For most people the location is something along the lines of
  19.  
  20. Internal/Phone/Emulated Storage > Android > obb > com.sunborn.girlsfrontline.en
  21. or something similar.
  22.  
  23. If that fails search for the obb with the file explorer or a file explorer app.
  24. The original location of the compressed default obb is mandatory to know.
  25. If you fail to put an obb in the correct location your game will freeze on the splash screen with m4 when booting up the game.
  26.  
  27. Make a backup of your original obb and/or move it to a safekeeping location. Don't be a brainlet, always back up your original files.
  28. Make room for the decompressed obb.
  29. Place the decompressed obb where the original once was.
  30.  
  31. ------------
  32.  
  33. For those that use 7zip and want to make their own decompressed obbs for future client versions
  34. or toss this one out and make their own to avoid potentially filling their game with mustard gas..
  35.  
  36. I'm working under the basic assumption you know how the shared folder of your emulator works and/or you
  37. know how to move files between a phone/tablet and PC.
  38.  
  39. Take your original obb
  40. Rename the file extension to .zip (or just straight extract it)
  41. Extract the contents so you have an assets folder.
  42. Right click the assets folder -> 7 zip -> add to archive.
  43. Set your compression level to store. This is what keeps it from being compressed
  44. Proceed to zip* the assets folder back up. You will have an assets.zip file
  45. Rename the new .zip to main.358.com.sunborn.girlsfrontline.en.obb
  46. or whatever the current version of the obb is.
  47. You should now have a decompressed obb file.
  48.  
  49. *Note from anon.
  50. >If you're doing it by manually recompressing with 7zip, winrar, or whatever you gotta use the zip archive format. Using other formats before renaming it to .obb will cause the game to freeze.
  51.  
  52. OR... Shamelessly stolen from various anons that have posted about Termux.
  53. Comes with the bonus of less messing around with annoying click/pres/drag mobile inputs and juggling files.
  54.  
  55. Termux is a terminal emulator for android. Almost everything you can do on a linux terminal, you can do on termux. It's very nice for light ssh work in bed.
  56. Step 1: Install Termux through the play store or via fdroid if you don't use jewgle. https://termux.com/
  57. Step 2: open termux and copy and paste in the commands:
  58.  
  59. APP=com.sunborn.girlsfrontline.en
  60. V=351
  61. cd /sdcard/Android/obb/$APP
  62. unzip main.$V.$APP.obb
  63. mv main.$V.$APP.obb{,.backup}
  64. zip -r0 main.$V.$APP.obb assets
  65. rm -rf assets
  66.  
  67. Open game, if it opens, then run:
  68. rm main.351.com.sunborn.girlsfrontline.en.obb.backup
  69. If it doesn't work, then run
  70. mv main.351.com.sunborn.girlsfrontline.en.obb.backup main.351.com.sunborn.girlsfrontline.en.obb
  71. Step 3: Close termux by typing exit like a real hacker and reopen the game. No need for 7zip or anything complicated.
  72.  
  73.  
  74. --------------------
  75. Various mumblings from Termux anons that may or may not help with potential troubleshooting.
  76.  
  77. >Guy who did the termux part here*. Can the paste author add a note that the termux method may require root access to work. When I tried on my phone with root permission denied in magisk just to make sure it could work for the average anon, I couldn't use cp, zip, or unzip. I would assume that anyone using a terminal on their phone would probably already have it rooted, but can any anon without a rooted phone/emu confirm that they also cannot unzip or zip the obb file through termux. I don't want some future dork to complain about it if this truly is an issue.
  78.  
  79. >It doesn't need root. Termux doesn't prompt to gain the storage permission. If you go into apps and then find Termux, you can add the permission manually (or wherever your Android skin puts app permissions).
  80.  
  81. *Note: First iteration of Termux commands was replaced with an optimized set written by a different anon.
  82. >Most of this is just optimizing the required commands to be smaller and more easily typed manually, but the 'cp' command was complete unnecessary since unzip doesn't touch the original file. A mv will suffice there.
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
Add Comment
Please, Sign In to add comment