ROM Hack New Narctool (Version 0.2b)

dexter0

New Member
OP
Newbie
Joined
Dec 30, 2007
Messages
2
Trophies
0
XP
143
Country
United States
DOWNLOAD HERE:
http://members.cox.net/dexter0/software/narctool2b.zip

QUOTE said:
CHANGELOG
 Â *Added support for extracting NARCs containing folders that go 1 level deep
 Â *Temporarily removed the pack feature due to breaking the code

I have been testing this new version with the mkds course narcs and it works well. Please let me know if you come across an narc this version fails to unpack properly.
Also note that this is an upgraded version of narctool 0.1, not 0.1-p

I have also figured out the purpose of the two unknowns in the FNTB Header:
CODEtypedef struct {
ÂÂÂÂu32 id;      // "BTNF" or 0x464E5442
ÂÂÂÂu32 length;    ÂÂÂÂ// length of this section
ÂÂÂÂu32 offset;    ÂÂÂÂ// 0x00000008 If No Folders, Varies If Folders (Subtract 8 First)
ÂÂÂÂu16 extra1;           // Extra 0x0000
ÂÂÂÂu8 folders;           // Number Of Folders + 1 (for root folder)
ÂÂÂÂu8 extra2;           // Extra 0x00
} FNTBHeader;
 

dexter0

New Member
OP
Newbie
Joined
Dec 30, 2007
Messages
2
Trophies
0
XP
143
Country
United States
Yeah, both issues are because the code is based off 0.1 not 0.1p. First priority is fixing the compression routines. The pack feature is done but it can't compress the narcs into carcs properly. After that I will look into merging the 0.1-p modifications into the code so narcs from puyo puyo and pkm will extract.

I am keeping track of my progress here:
http://members.cox.net/dexter0/
 

Count Cannoli

Member
Newcomer
Joined
Jun 12, 2008
Messages
5
Trophies
0
XP
25
Country
United States
Well...Wario: Master of disguise creates an annoying noise and fails to unpack, Professor Layton and the Curious Village fails to unpack any files from any of them. It also gives a runtime error with Professor Layton, saying that the runtime requested it to terminate ina n unusual way.
 

cmccmc

Banned!
Banned
Joined
Oct 30, 2008
Messages
60
Trophies
0
XP
-38
Country
United States
I was wondering if the text in games in the narc files because i got bored about a weak ago and unpacked a bunch of games and all i could find are .narc files.
 

Noitora

::
Member
Joined
Aug 9, 2007
Messages
3,760
Trophies
1
Age
32
Location
Athens
Website
www.noitora.eu.pn
XP
289
Country
Greece
I'm using crystaltile for my narc needs but I'll use this one if it's better
biggrin.gif

Thanks dexter0.
 

Count Cannoli

Member
Newcomer
Joined
Jun 12, 2008
Messages
5
Trophies
0
XP
25
Country
United States
I get the same problem with Wario: Master of Disguise as described earlier, as well as Professor Layton. And for some reason it always seems to try unpacking a million files though I doubt there's hardly that many.
 

SCVgeo

Well-Known Member
Member
Joined
Nov 5, 2008
Messages
115
Trophies
0
Age
37
Location
USA
Website
projectpokemon.org
XP
175
Country
United States
Count Cannoli said:
I get the same problem with Wario: Master of Disguise as described earlier, as well as Professor Layton. And for some reason it always seems to try unpacking a million files though I doubt there's hardly that many.
Try this program: kiwi.ds' Editor

It is by far the best in performace of all the extraction programs.
 

wannya

Active Member
Newcomer
Joined
Sep 17, 2007
Messages
37
Trophies
0
Website
www.angeleden.net
XP
117
Country
Switzerland
CODEtypedef struct
{
ÂÂÂÂu32ÂÂÂÂÂÂÂÂÂÂÂÂblockType;ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ// block type
ÂÂÂÂu32ÂÂÂÂÂÂÂÂÂÂÂÂblockSize;ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ// block size

} ArchiveBlockHeader;

typedef struct ArchiveFNT
{
ÂÂÂÂu32ÂÂÂÂ start;
ÂÂÂÂu16ÂÂÂÂ index;
ÂÂÂÂu16ÂÂÂÂ parent;
}
ÂÂÂÂÂÂÂÂfor (count=0; countdataBlocks; count++)
ÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂswitch (block->blockType)
ÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂcase 'FATB': fat = (ArchiveFatBlockHeader*)block;ÂÂÂÂbreak;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂcase 'FNTB': fnt = (ArchiveDirBlockHeader*)block;ÂÂÂÂbreak;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂcase 'FIMG': img = (ArchiveImgBlockHeader*)block;ÂÂÂÂbreak;
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂblock = (ArchiveBlockHeader*)((u32)block + block->blockSize);
ÂÂÂÂÂÂÂÂ}
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion