gameloft compression for n-gage games

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

gameloft compression for n-gage games

Post by lupus »

Hi.

I can extract files from data.dat using offzip:

Code: Select all

offzip.exe -a 6r67.dat temp 0

but it extracts all files in one folder using adresses as filename.
Folder tree, filenames and adresses stored in TOC data.off

Maybe somebody can help me with unpacking gameloft data.dat file using data.off toc or make some script for renaming extracted data and sort it to folders?
The same algorytm used in many games from Gameloft for n-gage.
Sorry for bad english.
THX.

lupus wrote:So, I'm test script with Nokia N-Gage Gameloft games, it works fine for unpacking games:
Asphalt Urban GT
Tom Clancy's Ghost Recon: Jungle Storm
Tom Clancy's Splinter Cell: Chaos Theory (with error in the end, look sceenshot)

Next games uses same .dat format but missed .off files
Asphalt Urban GT 2
Raymah 3
Tom Clancy's Splinter Cell: Team Stealth Action

data can be extracted with

Code: Select all

offzip.exe -a xxxx.dat temp 0
Last edited by lupus on Wed Dec 06, 2017 6:16 pm, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: gameloft compression for n-gage games

Post by aluigi »

http://aluigi.org/bms/gameloft_ngage.bms

Can you provide the names of some of the games that use this format?
Just for possible other users having the same games.
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: gameloft compression for n-gage games

Post by lupus »

aluigi wrote:http://aluigi.org/bms/gameloft_ngage.bms

Can you provide the names of some of the games that use this format?
Just for possible other users having the same games.

Thx, i’ll try it tommorow. Is it possible to reimport data with same or less size?

Now I’m looking any tools for N-Gage games, so I’ll test all games and will post list here.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: gameloft compression for n-gage games

Post by aluigi »

lupus wrote:Thx, i’ll try it tommorow. Is it possible to reimport data with same or less size?

Yes, it should work because the compression algorithm is zlib and there are no crc/checksum/hash
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: gameloft compression for n-gage games

Post by lupus »

So, I'm test script with Nokia N-Gage Gameloft games, it works fine for unpacking games:
Asphalt Urban GT
Tom Clancy's Ghost Recon: Jungle Storm
Tom Clancy's Splinter Cell: Chaos Theory (with error in the end, look sceenshot)

Next games uses same .dat format but missed .off files
Asphalt Urban GT 2
Raymah 3
Tom Clancy's Splinter Cell: Team Stealth Action

data can be extracted with

Code: Select all

offzip.exe -a xxxx.dat temp 0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: gameloft compression for n-gage games

Post by aluigi »

Can you provide one of these dat files (those without off) and the dat/off of the game that gives error?
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: gameloft compression for n-gage games

Post by lupus »

I'll PM to you all games from gameloft. Maybe .off table inside in other file, but i still cant find it :/
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: gameloft compression for n-gage games

Post by lupus »

aluigi, I cant pm you :/
take the link:
del
Last edited by lupus on Wed Dec 06, 2017 6:14 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: gameloft compression for n-gage games

Post by aluigi »

I have fixed the script for the problem with Chaos Theory but there is nothing I can do for the archives without "off" file.
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: gameloft compression for n-gage games

Post by lupus »

Anyway thanks! I will try to find .off
Maybe TOC compressed and packed to .app
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: gameloft compression for n-gage games

Post by AlphaTwentyThree »

Sorry, need to necro-post here...
Could you add support for the mfd file of Asphalt Urban GT 2 for PSP? No off file here but structure in header seems to be similar.
Here's a 5mb snippet: https://www.mediafire.com/file/8qt17iuv ... sp.7z/file