XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Jan 19, 2019 10:14 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha A's)
PostPosted: Thu Apr 21, 2011 2:02 pm 
Offline
advanced
User avatar

Joined: Sun Feb 27, 2011 11:46 am
Posts: 56
Has thanked: 0 time
Have thanks: 3 times

The game is called Magical Girl Lyrical Nanoha A's Portable: The Battle of Aces.
Image

Here are some samples of .pac package, from ?:\PSP_GAME\USRDIR\
http://www.gamefront.com/files/20246953/pac_samples.rar

They contain .gim images/textures and .gmo 3d models. You can see filenames inside them.

Also, I found some bytes with certain meanings:
Image(click to enlarge)
But still cannot get the correct file context. Maybe it's using a LZS algorithm.

Anyone take a look into this format would be a great help.. thx~

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha
PostPosted: Thu Apr 21, 2011 4:14 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 644 times
I don't know what compression it is or if it could be an lzss with different parameters (those I tested gave no good results) so the following is the script without decompression:
Code:
# NO DECOMPRESSION
idstring "add"
goto 0x10
get FILES long
goto 0x20
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    get DUMMY long
    get DUMMY long
    get NAME_OFF long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    savepos TMP
    goto NAME_OFF
    get NAME string
    goto OFFSET
    getdstring SIGN 3
    if SIGN == "LZS"
        get DUMMY byte
        get DUMMY long
        get HEAD_SIZE long
        get DUMMY long
        get SIZE long
        get ZSIZE long
        math ZSIZE  -= HEAD_SIZE
        math OFFSET += HEAD_SIZE
        #clog NAME OFFSET ZSIZE SIZE
        log NAME OFFSET ZSIZE
    else
        log NAME OFFSET SIZE
    endif
    goto TMP
next i
so it's mainly for developers who want to find what is the algorithm


Top
 Profile  
 
 Post subject: Re: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha
PostPosted: Thu Apr 21, 2011 4:59 pm 
Offline
advanced
User avatar

Joined: Sun Feb 27, 2011 11:46 am
Posts: 56
Has thanked: 0 time
Have thanks: 3 times
aluigi wrote:
I don't know what compression it is or if it could be an lzss with different parameters (those I tested gave no good results) so the following is the script without decompression:
......
so it's mainly for developers who want to find what is the algorithm

Seems hopeless.. :(
This game cannot be emulated yet; it's almost impossible to get assembly instructions. Then how can we know the algorithm? That's really hard.. :cry:

Correctly I even dunno if this compression is in byte-level or bit-level.. :scaredy:

Anyway, thx 4 your scripts! :keke:


Top
 Profile  
 
 Post subject: Re: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha
PostPosted: Fri May 13, 2011 6:09 am 
Offline
advanced
User avatar

Joined: Sun Feb 27, 2011 11:46 am
Posts: 56
Has thanked: 0 time
Have thanks: 3 times
aluigi wrote:
...

problem solved.
take a look at this: viewtopic.php?p=53922#p53922 :wink:

if u really care about the details, i'll translate the Chinese comments in the src into English. :oops: but i still misunderstand how unpac works..


Top
 Profile  
 
 Post subject: Re: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha
PostPosted: Fri May 13, 2011 10:04 am 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2509
Has thanked: 57 times
Have thanks: 1249 times
post the tool?


Top
 Profile  
 
 Post subject: Re: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha
PostPosted: Fri May 13, 2011 11:22 am 
Offline
advanced
User avatar

Joined: Sun Feb 27, 2011 11:46 am
Posts: 56
Has thanked: 0 time
Have thanks: 3 times
chrrox wrote:
post the tool?

As i said in viewtopic.php?p=53907#p53907, leoheart, the translator, posted the tool in his fc2 blog (http://leoheart.blog43.fc2.com/?mode=edit&rno=2150) in a MF link.
don't forget to add "-z" parameter. usage: viewtopic.php?p=53926#p53926

btw, i saw u in gameresearch.5d6d, chrrox~ :P


Top
 Profile  
 
 Post subject: Re: [Req] .pac format for PSP (Magical Girl Lyrical Nanoha
PostPosted: Thu Jan 10, 2019 4:06 pm 
Offline
beginner

Joined: Sat Jun 20, 2015 5:36 pm
Posts: 29
Has thanked: 0 time
Have thanks: 0 time
Can someone reupload the unpac tool? The mediafire link is dead



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: devilsnake88, PaulPhoenix31139, zory16 and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group