February 17, 20242 yr Would anyone like to look at these? I want to extract their assets. Anakin's speedway dat.zip Edited February 29, 20242 yr by Puterboy1
February 24, 20242 yr Solution Checked out the game files and after a LOT of trial and error, here's a working script. The reason it got complicated was because there's sometimes an additional random zero byte after the name and I had to implement some serious heuristics to get the proper data out of there. # Luca Learning Ltd. - DAT extractor # # (c) 2024-02-25 by AlphaTwentyThree of ResHax # script for QuickBMS http://quickbms.aluigi.org get FSIZE asize get TOC long goto TOC get DUMMY short get UNK1 long get FOLDERS long set CURROFF 4 # for heuristics for i = 0 < FOLDERS savepos MYOFF get TEST byte if TEST != 0 # re-align goto MYOFF endif getDstring F1 1 getDstring F2 1 getDstring F3 1 getDstring F4 1 string FOLDER p= "%s%s%s%s" F4 F3 F2 F1 get SECSIZE long get FILES long print "%FOLDER%: %FILES% files" for k = 1 <= FILES savepos MYOFF get DUMMY byte goto MYOFF callfunction getBLOCK 1 xmath TEST "OFFSET + SIZE" if (OFFSET < 0 || TEST > FSIZE || NAMEL > 20 || OFFSET != CURROFF) && DUMMY = 0 goto MYOFF get DUMMY byte callfunction getBLOCK 1 endif getDstring NAME NAMEL string NAME p= "%s/%s" FOLDER NAME log NAME OFFSET SIZE math CURROFF += SIZE next k next i startfunction getBLOCK get OFFSET long get SIZE long get NAMEL byte endfunction Edited February 25, 20242 yr by AlphaTwentyThree final script
February 25, 20242 yr Updated the script to a final version that works for all the DAT files. Had to implement some ugly heuristics to get it to work. Please mark as solved.
February 29, 20242 yr Author I tried this script on Star Wars: Early Learning Activity Center and all it did was extract one file. Here are the .dat files from said game: https://1drv.ms/u/s!AomJkXUiAXQ4h7g3rTRce-qmrljErA?e=zjb5eO Anyway, thank you for your efforts on Anakin's Speedway.
Create an account or sign in to comment