Help Extracting .AST Files from NCAA Football 14

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

I've been in the other couple of threads for this game and have knowledge of what file types I am looking for. Basically, there is a "Usr-data" file that is decrypted and contains ".ast" files, and these ".ast" files contain ".xpr" files that can be extracted using a "bgfa" script. My problem is that I can't extract the ".ast" files from the "Usr-data" file. If you guys could provide a script or program for this, the NCAA Football community would greatly appreciate it!

TLDR: I'm trying to extract the ".ast" files from the "usr-data" file.
http://s000.tinyupload.com/?file_id=072 ... 6219989705


I don't code, but I know how to copy and paste scripts into quickBMS or whatever.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

The USR-DATA file you provided is just a container without an header or tail containing information about the files to extract.
Please provide the full list of files of this game (for example a screenshot of the folder where USR-DATA is located) because we need thefile that contains such information.
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi wrote:The USR-DATA file you provided is just a container without an header or tail containing information about the files to extract.
Please provide the full list of files of this game (for example a screenshot of the folder where USR-DATA is located) because we need thefile that contains such information.

Here are images of the files. One is all the files in the folder, the others are the Usr.data file in the hex editor. (used search function to show .ast, .xpr, and .bgfa)
Also, I don't know if this helps, but adding ".mc02" to the end of the "USR-Data" file allows us to use the "EA DB Editor" and the "NCAA Dynasty Editor" to edit values. The ".ast" files are not editable in those editors though.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

Upload HED-DATA
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

Unfortunately HED-DATA doesn't contain information about all the files.
I can see only the size fields of the DDS files.
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi wrote:Unfortunately HED-DATA doesn't contain information about all the files.
I can see only the size fields of the DDS files.

Alright! Thanks for trying!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

I have noticed that USR-DATA is quite small (7Mb) and there are not many bgfa files so why not just dumping them by hand with a hex editor?
It should take really few minutes, just search "BGFA" for finding the beginning and end of the file.
The last file at offset 0x7a5d68 can be dumped from that offset till the end since the script will ignore the data not belonging to the ast file.
For the DDS files you can use a ripper like HyperRipper in Dragon UnPACKer.
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi wrote:I have noticed that USR-DATA is quite small (7Mb) and there are not many bgfa files so why not just dumping them by hand with a hex editor?
It should take really few minutes, just search "BGFA" for finding the beginning and end of the file.
The last file at offset 0x7a5d68 can be dumped from that offset till the end since the script will ignore the data not belonging to the ast file.
For the DDS files you can use a ripper like HyperRipper in Dragon UnPACKer.

How would I dump the files? I currently have the HxD open (my hex editor), and have selected the beginning and end of the file. I also have the nbajamonfire script.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

Use this script

Code: Select all

findloc OFFSET binary "BGFA"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "BGFA" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi wrote:Use this script

Code: Select all

findloc OFFSET binary "BGFA"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "BGFA" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""

Thank you so much! I want to try and figure the rest out on my own, now that you've shown me how to extract files from the hex editor. Is there a paypal link where I can donate and show my gratitude?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

I don't accept donations, if it worked then that's enough to me :)
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi wrote:I don't accept donations, if it worked then that's enough to me :)

I just realized that dumping the files did not "extract" the specific files I wanted. :cry:

The files I want are named "qkl_boot.ast, qkl_fe2ig.ast, qkl_interface.ast, qkl_misc.ast, qkl_ram.ast and qkl_patch.ast". These files are in the "Usr-Data" found in the OP.

The files that were dumped with your code had ".bgf" extensions. Correct me if I'm wrong, but it seems that the script you gave me basically split the "Usr-Data" file into separate files, as opposed to extracting the files found in it.

Below, the "qkl_misc" image is one of the files I want to extract from the "Usr-Data" file.
The "bgf" image is the files that were dumped using your script.

Any help or direction is appreciated!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by aluigi »

It's not possible to extract files without information about the archived files.
The only possible thing is dumping some types of files based on their "magic" fields, which is what is done by the script I provided.

I don't understand what's the problem, you got the files and now you can extract them with the nbajamfire.bms script, isn't what you needed?
KidOS
Posts: 10
Joined: Tue Oct 02, 2018 11:21 pm

Re: Help Extracting .AST Files from NCAA Football 14

Post by KidOS »

aluigi wrote:It's not possible to extract files without information about the archived files.
The only possible thing is dumping some types of files based on their "magic" fields, which is what is done by the script I provided.

I don't understand what's the problem, you got the files and now you can extract them with the nbajamfire.bms script, isn't what you needed?

Yeah you're correct! Thanks