FIFA 14 Android [.loc LOCH]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

FIFA 14 Android [.loc LOCH]

Post by Hocmai »

I do not know, how to extract .loc files in FIFA game at all. Please help me!
Last edited by Hocmai on Wed Mar 14, 2018 1:10 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FIFA 14 Android

Post by aluigi »

viewtopic.php?f=21&t=4

Post a sample loc file
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android

Post by Hocmai »

aluigi wrote:https://zenhax.com/viewtopic.php?f=21&t=4

Post a sample loc file

This is a .loc file: http://www107.zippyshare.com/v/6k7CQp1W/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FIFA 14 Android

Post by aluigi »

"LOCH" file format, script available :)
viewtopic.php?p=836#p836
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android

Post by Hocmai »

aluigi wrote:"LOCH" file format, script available :)
https://zenhax.com/viewtopic.php?p=836#p836

Thanks for the help, but one thing is I can not extract the .Loc file. Your bms file only helps to see it on cmd. But I hope you can help me extract it. Thank you very much!
You are the most enthusiastic I see! Thanks again!
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: FIFA 14 Android

Post by Delutto »

Hocmai wrote:
aluigi wrote:"LOCH" file format, script available :)
https://zenhax.com/viewtopic.php?p=836#p836

Thanks for the help, but one thing is I can not extract the .Loc file. Your bms file only helps to see it on cmd. But I hope you can help me extract it. Thank you very much!
You are the most enthusiastic I see! Thanks again!

There's a tool made by swuforce on that thread, use that tool, not the script.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FIFA 14 Android

Post by aluigi »

Hocmai wrote:Your bms file only helps to see it on cmd. But I hope you can help me extract it. Thank you very much!

Ah you are right, that post was dated 2014 when quickbms didn't have the Slog command yet!
This is the same script with slog (extraction and reimporting):

Code: Select all

idstring "LOCH"
get BASE_OFF long
goto BASE_OFF
idstring "LOCL"
get SIZE long
get ZERO long
get STRINGS long
for i = 0 < STRINGS
    get OFFSET long
    math OFFSET += BASE_OFF
    slog "" OFFSET -1 unicode
next i
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android

Post by Hocmai »

aluigi wrote:
Hocmai wrote:Your bms file only helps to see it on cmd. But I hope you can help me extract it. Thank you very much!

Ah you are right, that post was dated 2014 when quickbms didn't have the Slog command yet!
This is the same script with slog (extraction and reimporting):

Code: Select all

idstring "LOCH"
get BASE_OFF long
goto BASE_OFF
idstring "LOCL"
get SIZE long
get ZERO long
get STRINGS long
for i = 0 < STRINGS
    get OFFSET long
    math OFFSET += BASE_OFF
    slog "" OFFSET -1 unicode
next i

Thank you very much Aluigi! .loc files were extracted quickly. It is a miracle! :D
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android [.loc LOCH]

Post by Hocmai »

Sorry you! But I added a new problem. That is the .idx file that is part of the locale directory it enumerates .loc files contained in it. I need to edit it to reimport my game. Hope you can help me again. Thank you!
This is an .idx file: http://www104.zippyshare.com/v/F4vTa0rA/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FIFA 14 Android [.loc LOCH]

Post by aluigi »

I have not understood what I should do with that file.
There is nothing to extract, so not a job for me.
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android [.loc LOCH]

Post by Hocmai »

aluigi wrote:I have not understood what I should do with that file.
There is nothing to extract, so not a job for me.

I found a few Web sites talk about it.
1.https://fileinfo.com/extension/idx
2.https://www.ibm.com/support/knowledgece ... tring.html
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android [.loc LOCH]

Post by Hocmai »

I hope you will find a solution! :)
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android [.loc LOCH]

Post by Hocmai »

Aluigi! You can update this script:

Code: Select all

# Electronic Arts BIG4/BIGF archives (script 0.1.2)
#   Fifa 12, Harry Potter, NBA Live and so on
# script for QuickBMS http://quickbms.aluigi.org

comtype COMP_DK2
endian big
idstring "BIG"
get VER byte
get DUMMY long
get FILES long
get OFFSETX long
for i = 0 < FILES
    if VER >= '5' && VER <= '9'
        get ZERO byte
    endif
    get OFFSET long
    get ZSIZE long
    get NAME string

    savepos TMP
    goto OFFSET
    get TYPE short
    get SIZE threebyte
    goto TMP

    if TYPE == 0x10fb
        clog NAME OFFSET ZSIZE SIZE
    else
        log NAME OFFSET ZSIZE
    endif
next i

(script 0.4.1)? Thank you!
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android [.loc LOCH]

Post by Hocmai »

I think, if it is up to date, work will be faster :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FIFA 14 Android [.loc LOCH]

Post by aluigi »

I try to rephrase since you don't understand and are spamming senseless stuff.
That idx file contains no data, just an useless list of numbers.
You already have the loc files so I don't know what you want more ("enumerating???").

Now, stop this bumping madness or I will lock the topic.
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: FIFA 14 Android [.loc LOCH]

Post by Hocmai »

aluigi wrote:I try to rephrase since you don't understand and are spamming senseless stuff.
That idx file contains no data, just an useless list of numbers.
You already have the loc files so I don't know what you want more ("enumerating???").

Now, stop this bumping madness or I will lock the topic.


Sorry you! Aluigi.
But really, I forgot the .idx theme. And I just want to know that the script above can use the 0.4.1 script? Thank you for listening.