Help us keep the site up! Got some change to spare? Why not donate a few bits and buy us a coffee. Image

[Wii] Epic Mickey - pak files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
Tosyk
double-veteran
double-veteran
Posts: 1007
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 254 times
Been thanked: 131 times
Contact:

[Wii] Epic Mickey - pak files

Post by Tosyk »

Can you help unpack this files? I want try to convert 3d models from game.
Thank you for all you do here
my blog | my forum
Friedslick6
advanced
Posts: 61
Joined: Sun Sep 12, 2010 11:11 pm
Has thanked: 35 times
Been thanked: 8 times

Re: [Wii] Epic Mickey - pak files

Post by Friedslick6 »

Man, this game is filled to the brim with goodies huh? The video files are in easily convertable .bik files, some of the images are in .dds and .bmp files, and the audio is in .wav files XD .
In those .pak files, there's mention of .hkx, .nif_wii (retitled from .nif,) and .ma files.
The .nif files use the "Gamebryo File Format, Version 20.6.5.0." This version of the Gamebryo File Format can be bought by game companies, and cannot be opened by NifTools currently...
Though, you already knew all that. I just thought I'd put the information here in case anyone has a brain spark.
I'm interested in the apparently unreadable .obj files in the 'sectors' folder. I wonder if those are even 3D objects?
User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: [Wii] Epic Mickey - pak files

Post by Mirrorman95 »

I am baffled. How do you extract the files from the paks? And if your disk drive can't read your Wii Disc, do you need to download it online to view the files?
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: [Wii] Epic Mickey - pak files

Post by youngmark »

Tosyk wrote:Can you help unpack this files? I want try to convert 3d models from game.
Hi!
It's great to see you again!

KAP(.pak) file is the same format used in NFS Shift X360.
Did you try Quickbms?
http://aluigi.org/papers/bms/nfsshift.bms
viewtopic.php?f=10&t=3717
or
viewtopic.php?f=10&t=4155&start=0&st=0&sk=t&sd=a
User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: [Wii] Epic Mickey - pak files

Post by Mirrorman95 »

I tried those codes, and they don't work.
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
User avatar
Tosyk
double-veteran
double-veteran
Posts: 1007
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 254 times
Been thanked: 131 times
Contact:

Re: [Wii] Epic Mickey - pak files

Post by Tosyk »

Seems to something wrong with my subscription on xentax.

Thanks for clearing up Friedslick6 all about this game and like you said
Friedslick6 wrote:already knew all that
Thanks for trying youngmark, but all the methods that you have mentioned don't work with the researched files.

We need someone who know how to work with zlibed files.
Thank you for all you do here
my blog | my forum
User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: [Wii] Epic Mickey - pak files

Post by Mirrorman95 »

Does anyone know how to actually view the nif files? I believe the current version of NIF only goes up to 20.5.0.0, and the version Epic Mickey uses is 20.6.5.0. So unless someone knows how to update the XML as dictated at http://niftools.sourceforge.net/forum/v ... =10&t=2810 , the nif files are of little use to anyone. And if there are other useful files in there, we don't have a working extractor for them, and without one this is an exercise in futility.
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 135 times

Re: [Wii] Epic Mickey - pak files

Post by WRS »

i got pm'd :P

should be a solid script - nothing was unknown!

Code: Select all

# QuickBMS script for Epic Monkey PAK files
# WRS (xentax.com)
endian big
comtype zlib

## header
get H_SIGNATURE long # probally not written as string
get H_VERSION long   # assumed
get H_ZERO    long
get H_SIZE    long
get H_DATAPTR long

math H_DATAPTR += H_SIZE
goto H_SIZE

## file info
get FILES long

math STRPTR = FILES     # calculate string table pos
math STRPTR *= 24       #
savepos FILEDATA        # or += H_SIZE
math STRPTR += FILEDATA #    += 4 (for FILES)

math TOTPOS = H_DATAPTR # sum of aligned size

for f = 0 < FILES

  # record header
  get UNSIZE long # real size
  get PKSIZE long # compressed size
  get ALSIZE long # aligned size

  get FOLDERNM long # string table pointer
  getdstring FILETYPE 4
  get FILENM long # string table pointer

  # get whole filename
  savepos POS

  math FOLDERNM += STRPTR
  math FILENM += STRPTR

  goto FOLDERNM
  get FOLDERSTR string
  goto FILENM
  get FILESTR string

  string FOLDERSTR += "/"
  string FOLDERSTR += FILESTR

  if UNSIZE == PKSIZE
    log FOLDERSTR TOTPOS PKSIZE
  else
    clog FOLDERSTR TOTPOS PKSIZE UNSIZE
  endif

  goto POS
  math TOTPOS += ALSIZE

next f
format highlights (new thing i'm trying)
  • file path is stored in a string table, split by filename and folder path
  • file positions can only be read by parsing all previous file headers
  • and the rest: big endian, structure alignment, zlib, header size flag
Useful tool links:
User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: [Wii] Epic Mickey - pak files

Post by Mirrorman95 »

Awesome! All of the files are extractable now! Now if we could only view bsq, or Gamebryo 20.6.5.0 nif, or lua, or KFM, or HKX, or KF, or lit_cooked, or HKW files. Fortunately, we have them now. I think lua files can be viewed.
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 135 times

Re: [Wii] Epic Mickey - pak files

Post by WRS »

Mirrorman95 wrote:Awesome! All of the files are extractable now! Now if we could only view bsq, or Gamebryo 20.6.5.0 nif, or lua, or KFM, or HKX, or KF, or lit_cooked, or HKW files. Fortunately, we have them now. I think lua files can be viewed.
the nif tools wiki has so much info on adding new formats - why not give that a shot? compare what's been updated between versions and see what this new one has done differently. these are the models you're after :)
Useful tool links:
Mr.Mouse
Site Admin
Posts: 4057
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 432 times
Been thanked: 639 times
Contact:

Re: [Wii] Epic Mickey - pak files

Post by Mr.Mouse »

Opens fine using the QuickBMS option in MultiEx Commander's script window as well! :)
pack.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: [Wii] Epic Mickey - pak files

Post by Mirrorman95 »

How do we get MultiEx?
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
Mr.Mouse
Site Admin
Posts: 4057
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 432 times
Been thanked: 639 times
Contact:

Re: [Wii] Epic Mickey - pak files

Post by Mr.Mouse »

User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: [Wii] Epic Mickey - pak files

Post by Mirrorman95 »

How do you unpack a Wii disk image?

EDIT: Never mind. I just used Noesis.

However, I'm using the beta of NifSkope updated on March 19th, and it still can't load Epic Mickey files. Why is this?
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
Post Reply