XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Jul 22, 2018 3:29 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [NGC] F-Zero GX Unpacker and Packer (LZ and ARC)
PostPosted: Sun Jun 19, 2011 5:56 pm 
Offline
advanced

Joined: Wed Nov 14, 2007 5:56 pm
Posts: 61
Has thanked: 0 time
Have thanks: 27 times














You can make the ads go away by registering

Here's a command line tool that will take a F-Zero GX directory and unpack all LZ and ARC files, or take an unpacked directory and pack it again.

USAGE:
Easy if you know how to use the command line.
Code:
./gxpand unpack input output
OR
./gxpand pack input output


input and output SHOULD be directories, and MUST not be the same one. (There's a way to make it work with files, but it's so weird and useless that it isn't worth explaining). Usually you would want to pack or unpack the whole game, I guess...

---

IMPORTANT!, I have not tested if the repacked ARCs work in the game, because I have nothing to edit them and test! But they will most likely work... maybe :roll:

There are no plans to support more formats in this tool! This tool will just support compression and archive formats which can be repacked lossless, and I think I got them all. This tool is designed to make possible to look at the game resources easily.

ALSO, I have already figured out the .TPL format (textures) completely, and a huge chunk of the .GMA format (models). This means that I'll post tools to convert or edit them in a few days :keke: .


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: [NGC] F-Zero GX Unpacker and Packer (LZ and ARC)
PostPosted: Mon Jun 20, 2011 6:23 pm 
Offline
advanced

Joined: Wed Nov 14, 2007 5:56 pm
Posts: 61
Has thanked: 0 time
Have thanks: 27 times
Well I have some good news. I figured out how are materials stored and I have been able to export fully texturized models :eek: There are still some problems to solve (vertex normals, texture extraction, some unknown fields in the models that I'd like to figure out), but it's pretty good until now.

Here's a render to create hype :P

Image

Uploaded with ImageShack.us


Top
 Profile  
 
 Post subject: Re: [NGC] F-Zero GX Unpacker and Packer (LZ and ARC)
PostPosted: Tue Jun 21, 2011 3:00 pm 
Offline
mega-veteran
mega-veteran

Joined: Sat Feb 05, 2011 1:41 am
Posts: 209
Has thanked: 0 time
Have thanks: 1 time
Thanks a lot for the info bro


Top
 Profile  
 
 Post subject: Re: [NGC] F-Zero GX Unpacker and Packer (LZ and ARC)
PostPosted: Fri Jul 29, 2011 10:39 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 15, 2003 6:45 pm
Posts: 4023
Location: Dungeons of Doom
Has thanked: 416 times
Have thanks: 558 times
This tool is now also on the blog. blog


Top
 Profile  
 
 Post subject: Re: [NGC] F-Zero GX Unpacker and Packer (LZ and ARC)
PostPosted: Sun Feb 19, 2012 4:19 am 
Offline
ultra-n00b

Joined: Sun Feb 19, 2012 4:13 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
hi,
sorry, but can someone give me an explicite instruction how to use these codes? i tryed it for many times, but no success..
thanks


Top
 Profile  
 
 Post subject: Re: [NGC] F-Zero GX Unpacker and Packer (LZ and ARC)
PostPosted: Thu Jan 24, 2013 5:14 pm 
Offline
ultra-n00b

Joined: Thu Jan 24, 2013 5:06 am
Posts: 5
Has thanked: 2 times
Have thanks: 0 time
@GameZelda: Thanks a lot for the tools! I've been rummaging through F-Zero GX's ROM and found a couple of cool things. The next step was to explore F-Zero AX's ROM (content is extractable with GameCube Explorer). 'gxpand' can unarchive AX's .ARC files but not any of the .LZ files. What I get is this:

C:\Users\…\gxpand unpack input output
UnLZ output\st87.gma.lz
std.stream.ReadException@std\stream.d<46>: not enough data in stream
----------------
47EA54
47E8CB
----------------

C:\Users\…\gxpand>save
'save' is not recognized as an internal or external command, operable program or batch file.

C:\Users\…\gxpand>close
'close' is not recognized as an internal or external command, operable program or batch file.


I had to screen cap to see this because the prompt closes so quickly. Anyway, I was wondering if you or anyone else here could find a way to unpack AX's .LZ files. The ROM I'm working from for AX was (re)dumped on October 14, 2009. *The ROM is under-dumped, according to DiscEx0.8(a). This is particularly important to me because I've undertaken the task of writing the the F-Zero pages on tcrf.net, and would love to complete an F-Zero AX page.

What will this accomplish? Well, going through what I could of AX, there are 19 new stages within AX's 'stg' folder that were not present in GX's ROM. Stages numbered 77-110, missing a bunch in between. These could either be test stages, or unused/beta stages. It would be crazy if we could extract that content. Not to mention that while looking at AX's 'bmp>stg', the folder containing the background images on course select, there is a file called, 'bmp_stg_aur' that is not present in GX, insisting there was 1 more venue that didn't make the cut in GX. *It is an .ARC file and can be extracted, but it's image is a placeholder (Port Town's BG with 'DUMMY' written over it.) Perhaps one of those stages at least contains 'aur' textures.

Please let me know either what I can do to get the .LZ's unpacked or help me out if you're as curious about those files as I am. C:


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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