(Azada: Ancient Magic) GPK files, presumably containing data

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

(Azada: Ancient Magic) GPK files, presumably containing data

Post by Times New Woman »

I can only assume that this is the file where all the data is compressed into considering everything else is a .dll, though I dont suppose the .dat file would be for that purpose too?

Except I dont have anything to unpack the file properly.
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: (Azada: Ancient Magic) GPK files, presumably containing data

Post by LokiReborn »

Times New Woman wrote:I can only assume that this is the file where all the data is compressed into considering everything else is a .dll, though I dont suppose the .dat file would be for that purpose too?

Except I dont have anything to unpack the file properly.


At least some of the data appears to be XOR'd by 0x8F however the data at the start seems like it's something else or something in addition to it. I was able to extract some plain text however it's hard to know what's exactly correct without reviewing the original game I attached an example of some of the plain text but like I said you'd need to post the game to know for sure.

Edit: Ya I XOR'd part of the start of the file with some overlapping data and found it is a bit different for the info you can see parts of the file names etc. in this pic. I'm sure I'm cutting stuff off since I probably removed it XORing it guessing at random but like I said you won't know the proper procedure without reviewing what the game does with it.

Image
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Re: (Azada: Ancient Magic) GPK files, presumably containing data

Post by Times New Woman »

The problem is that I cant read the dll files either.
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: (Azada: Ancient Magic) GPK files, presumably containing data

Post by LokiReborn »

Times New Woman wrote:The problem is that I cant read the dll files either.

I can try taking a look but it's probably in the executable then. This is the properly decrypted header, i knew enough of it i was able to bruteforce the rest of it

Code: Select all

data/images/
data/images/interface/
data/images/interface/boutons-ring.j2k
data/images/interface/boutons2.jpf
data/images/interface/bulle.tga
data/images/interface/font-bw.tga
data/images/interface/font.tga
data/images/interface/interface.tga
data/images/interface/menuingame.j2k
data/images/interface/page-droite.jpf
data/images/interface/page-gauche.jpf
data/images/interface/pages-termine.j2k
data/images/interface/particles.tga
data/images/interface/popup.tga
data/images/interface/rect-2.j2k
data/images/interface/ring-1.j2k
data/images/interface/ring-2.j2k
data/images/interface/ring-3.j2k
data/images/menu/
data/images/menu/book-remove.jpg
data/images/menu/bookcover.jpg
data/images/menu/bookfront.jpg
data/images/menu/boutonmenu.j2k
data/images/menu/credits-mask.tga
data/images/menu/credits.jpg
data/images/menu/mec.j2k
data/images/menu/menu.jpg
data/images/menu/moregames.j2k
data/images/menu/page-credits.tga
data/images/menu/page-credits2.j2k
data/images/menu/porte-mask.j2k
data/images/menu/profils-elements.j2k
data/images/menu/profils.jpg
data/images/nav/
data/images/nav/anim-cadre1.jpg
data/images/nav/anim-cadre2.jpg
data/images/nav/atlas-general1.tga
data/images/nav/atlas-pupitre1.tga
data/images/nav/atlas-pupitre2.tga
data/images/nav/azada1-porte.jpg
data/images/nav/azadaadventure.j2k
data/images/nav/book-actif.j2k
data/images/nav/book-camelot-small.jpg
data/images/nav/book-demon-small.jpg
data/images/nav/book-detective-small.jpg
data/images/nav/book-dracula-small.jpg
data/images/nav/book-frankenstein-small.jpg
data/images/nav/book-ghost-small.jpg
data/images/nav/book-hansel-small.jpg
data/images/nav/book-horseman-small.jpg
data/images/nav/book-invisible-small.jpg
data/images/nav/book-jekyll-small.jpg
data/images/nav/book-journey-small.jpg
data/images/nav/book-munchausen-small.jpg
data/images/nav/book-nemo-small.jpg
data/images/nav/book-oz-small.jpg
data/images/nav/book-phileas-small.jpg
data/images/nav/book-rapunzel-small.jpg
data/images/nav/book-robinson-small.jpg
data/images/nav/book-secretgarden-small.jpg
data/images/nav/book-timeline-small.jpg
data/images/nav/book-tm-small.jpg
data/images/nav/book-tresor-small.jpg
data/images/nav/book-western-small.jpg
data/images/nav/booktex1.jpg
data/images/nav/booktex2.jpg
data/images/nav/booktex3.jpg
data/images/nav/booktex4.jpg
data/images/nav/booktex5.jpg
data/images/nav/booktex6.jpg
data/images/nav/booktex7.jpg
data/images/nav/booktex8.jpg
data/images/nav/cadre.jpg
data/images/nav/cadre2.jpg
data/images/nav/coffre-open.jpg
data/images/nav/el-bibliotheque.j2k
data/images/nav/el2-bibliotheque.j2k
data/images/nav/end-book-demon-small.jpg
data/images/nav/end.jpg
data/images/nav/end2.jpg
data/images/nav/end3.jpg
data/images/nav/lentilles.j2k
data/images/nav/light-large.tga
data/images/nav/light-small.tga
data/images/nav/livre-album.jpg
data/images/nav/masque-genie-general.j2k
data/images/nav/medaillon-icone.j2k
data/images/nav/medaillon.jpg
data/images/nav/ordi-allume.jpg
data/images/nav/ordi-fusibles.j2k
data/images/nav/ordi-led.j2k
data/images/nav/ordi-mask.j2k
data/images/nav/ordi-noise.j2k
data/images/nav/ordi.jpg
data/images/nav/pupitre.jpg
data/images/nav/salle-f140.jpg
data/images/nav/salle-f192.jpg
data/images/nav/salle-f207.jpg
data/images/nav/salle-f281-allume.jpg
data/images/nav/salle-f281-masque.j2k
data/images/nav/salle-f281.jpg
data/images/nav/salle.jpg
data/images/nav/scraptex.jpg
data/images/nav/screen-mask.j2k
data/images/nav/screen.jpg
data/images/nav/symboles-popup.j2k
data/images/nav/symboles.j2k
data/images/nav/titus-bras.jpg
data/images/puzzles/
data/images/puzzles/book1/
data/images/puzzles/book1/carte-princesse.j2k
data/images/puzzles/book1/el-cochon.j2k
data/images/puzzles/book1/el-tower.jpg
data/images/puzzles/book1/facade-cochon-interne.jpg
data/images/puzzles/book1/facade-cochon.jpg
data/images/puzzles/book1/fenetre-2.j2k
data/images/puzzles/book1/fenetre.jpf
data/images/puzzles/book1/laby-1-cache.jpg
data/images/puzzles/book1/laby-1.jpg
data/images/puzzles/book1/mask-cochon.tga
data/images/puzzles/book1/page-cochon.jpg
data/images/puzzles/book1/page-fenetre.jpg
data/images/puzzles/book1/page-laby.jpg
data/images/puzzles/book1/page-tower-princesse.jpg
data/images/puzzles/book1/page-tower.jpg
data/images/puzzles/book1/poucet.tga
data/images/puzzles/book10/
data/images/puzzles/book10/canon-elements.j2k
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Re: (Azada: Ancient Magic) GPK files, presumably containing data

Post by Times New Woman »

I think that the .gpk is where the data is actually stored (like a compressed file). Now we just need to find a way to unpack all the files inside.