Qhimm.com Forums
Miscellaneous Forums => Graphical => Topic started by: MetaLink on 2015-12-16 19:29:29
-
So ff6 came out on PC today and the game doesn´t look very good with the new sprites aliasing problems etc etc, you can check out this article pointing out most things wrong with this port here (http://www.fortressofdoors.com/doing-an-hd-remake-the-right-way-ffvi-edition/)
Unlike FFV all the files, except fonts and controller icons, are stored on one big 700 Mb file, this file format is .obb which is an android file i´m not sure
Someone on the steam forums already tried to decompile the file but to no avail (http://steamcommunity.com/groups/ff-modding/discussions/1/487877107133753844/)
So is anyone here interested in modding this game ?
-
This is something I was hoping to look into in a month or two when I have the money to do so, if nobody beats me to it. I suspect the Steam forums are more likely to gather the right talent for this job, though.
-
This is something I was hoping to look into in a month or two when I have the money to do so, if nobody beats me to it.
So, this is a lazy ass port. Its garbage, and various communities are scrambling to make it worth playing.
I am seeing a lot of people who seemingly want to help but don't have the cash to buy the game.
If this sounds like you, then let me know. I haven't done reddit gifts this year, I can afford to gift a few lumps of FF6 coal if someone can help turn it into a diamond.
-
I'm interested in getting this done sooner than later, I am monitoring the steam community, but no single method has come out.
If you're waiting due to a money factor, how much would this cost to get this done, and how much time does it take?
Christmas has left me too broke to buy the game, that's the only financial factor for me. Time can be difficult to gauge without looking into the game's files first; without seeing the formats things are in and how everything's stored, I can't even begin to estimate how long such a task would take.
I'm probably not the best person for this job anyway. My experience with these sorts of things is fairly limited; I'm far more useful at audio modding than reverse engineering file formats. Not to mention my free time will be fairly limited even when I can afford a copy of it, as I was recently cast in a play and rehearsals start in January.
Edit: From what I have read, the game's data isn't just packaged in a binary blob, but also encrypted. That alone puts it past my purview.
-
Well, my offer stands to anyone. I'll also be posting this on reddit /r/FinalFantasy.
-
the main.obb file where all data is stored is password protected, when trying to decrypt/extract the files it asks for a password
-
Now, the password has to be included somewhere for the archive to be decrypted. I would guess it's stored in the game's exe somewhere, though I can't swear to it.
-
Nice, guess its just a matter of debugging the .exe right ?
-
I'll take a look - although like Covarr, I won't have much opportunity to do a lot until after Christmas (albeit I'm short on time rather than funds...)
UPDATE: Made some progress; the OBB file, despite the name, isn't actually an obb file. (Probably due to Google's distribution rules; subsidiary data and patches are always named .obb regardless of file type). It's a fairly simple archive file format containing ~4900 data files. The data inside is far too repetitive to be compressed or encrypted (which surprises me, nowadays, if this is the exact same data that was distributed in the Android release - which seems likely - they didn't even apply LZ4 or something similar? Guess they don't care about wasting space on customer's phones.)
The archive doesn't appear to contain filenames: they may be encoded into the exe; or possibly that's the (only!) part of the archive that's obfuscated in some way.
Many of the data files have suspiciously regular file sizes; just over 512KB, you say? Sounds an awful lot like a 256x512x32bit graphic, to me (also not compressed at all - not even PNG?!).
In fact, feeding those files into a raw image viewer gives us data like:
(http://www.ficedula.co.uk/ff6a.png)
Looks an awful lot like some world map data, doesn't it? Albeit the colours are screwed, so it's not stored in straight RGBA.
Disappointingly it looks like a lot of the game data (all the dialogue?) is encoded into the EXE file, not stored in the OBB archive. That's a little annoying.
More to follow, presumably ;)
-
Awesome, ive been fiddling around with a debugger and found some strings
(http://i.imgur.com/fWDJHw1.png?1)
(http://i.imgur.com/ieDrcSm.png?1)
-
Interestingly, despite those filenames referencing .gz data, none of the data files in the obb archive (or any data within the exe) appears to have a valid .gz header.
Doesn't mean they haven't used gzip anywhere, but if they have, it's not using standard headers, or is otherwise obfuscated.
-
Hey guys, just signed up to this forum to talk to you about this, as you guys seem to be the farthest along with this.
A few days ago I was bored and already wrote a program to properly extract the files from the .obb file in the steam version of FFVI. (https://twitter.com/rivernyxx/status/677714786541510656)
To confirm some suspicions earlier in this thread:
* The filenames are hashed in the archive, and have actual filenames hard-coded in the .exe file (which then get hashed at runtime in order to look up the file required in the .obb file).
* The file data is encrypted. No idea if it's a known encryption type or not (as I'm not learned in that sorta thing) but I determined how to decrypt it properly. Once decrypted, there are proper gzip headers on the associated files.
The only things I have left to do are:
* Finish creating a file list for the archive (it seems to have most of the same files as the iOS version, as I understand -- does anybody have a complete file list for that? I've only found partial lists online, mostly graphics..) -- I'm missing filenames for about 300-350 entries.
* The .bmp/.tga files seem to be stored in a strange format (the same format even?), that I've seen somebody online mention the solved "thanks to the information on the Final Fantasy Wiki", however I've not found any such information >_<;; However, other file types that I've checked seem fine, such as .png files.
* Since I know how to hash the filenames and decrypt the data, I can quite possibly repackage any mods as well, I just have to write the code. I'll get to that last.
-
I had a folder with all the extracted files of the android version extracted but i deleted it a few days ago... ill try to find them again on the web
-
I'm sure that would be super useful! Thanks :)
-
here they are the get them while they´re hot
Extracted Sprites PNG format : https://mega.nz/#!xRcwlBbC!78MxocMRGXCtVS09UOqV-Ue9Tm9AqPf2TOlt7ZgqQ3w
FLB format (not extracted) : https://mega.nz/#!9ANSyCRK!y0VBqTrDQWlKeeHcHxuwfoRXc2kpnUcv8FYIHUqH8eY
Extracted FLBs : https://mega.nz/#!4E0XmByQ!9D8FmA1uFrlSWLoLAg0q5zREqPJiPBxsKXC5qfBi00w
-
Sounds like you already got the most important bits worked out - I won't spend any time trying to decode the archive, then, since you've already managed it!
-
So sprite modding will be possible right ? but what about music modding ?
BTW i didn´t decode anything i got all of that from vg-resources
-
Yeah, I was talking about nyxojaele - sounds like they've managed to decode pretty much everything important about the obb file.
-
Yeah, the .obb file is 100% figured out, technically. The filenames that are associated with the hashes in the .obb file aren't all figured out yet tho. However the actual files _inside_ it may or may not be, heh ;p
-
I'm immensely glad to see progress being made on this. Hopefully repacking the files will be as easy as extracting them was, but as Black Chocobo has shown with its handling of PS3 saves, this is absolutely not always the case.
-
@MetaLink: It looks like all those links you provided are the same info I had found. While they include a lot of the data, it's limited to only the graphical stuff, so that almost assuredly doesn't help with finding the final filenames.
-
So I've managed to get all the data properly extracting.. The problem still being that I have an incomplete file list :(
While I take a break from that tho, I'm going to work on seeing if I can get this tool to repackage the archive.
-
Great work nyxojaele i really appreciate it, you said on the steam group FFmodding that about 7% of the files are listed as hashes and are hard to mod, hopefully those are not the music or UI files
-
Nyxojaele managed to remove the filter that was on the character sprites enemies etc.
https://dl.dropboxusercontent.com/u/38150185/FFVI/FFVI_Defilter_903963.zip
-
Yup! Sorry I haven't been updating on here much, it's not one of my normal hangouts.
I've removed the filter from FFVI, check out my tweet about that: https://twitter.com/rivernyxx/status/679845014785003521
I'm also working on that file list still, but the tool is otherwise feature complete -- it can repackage mods into the archive just fine :)
-
Nyxojaele released the FFVI extractor and repackager: https://dl.dropboxusercontent.com/u/38150185/FFVI/FFVI_Explore_v0.1.zip
-
Nyxojaele released the FFVI extractor and repackager: https://dl.dropboxusercontent.com/u/38150185/FFVI/FFVI_Explore_v0.1.zip
It seems he's had a very busy holiday. Algorithms too, now. There's so much momentum on FF6 related modding sites. I can't wait to see what everyone comes up with!!
https://twitter.com/rivernyxx/status/683443495349006337
-
I just bought the Steam Version. ATM the best remade version probably the PS1 release. It included some extras. I've went through the resources here and for the thread and info all the (almost at least..) .AKB files in the sound folder are actually "ogg vorbis 44100kz at 147kbps. You can drag and drop them into what I use (GoldWave) and it shows up as ogg file.
Some are raw sounds though and play back all squeeky and scratchy. They might just be text files bin or otherwise giving info about where to start a loop. If of course anyone would be interested in altering the sound for some reason. The original music from the Snes version is used in this port and it was always good anyway so not really much reason to change anything.