Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 57

Thread: Luigi's mansion

  1. #31
    I like beer Anton's Avatar
    Join Date
    Apr 2002
    Location
    Kiev, Ukraine
    Posts
    196
    Hey, your editor is nice work!

    I'll explain why I need rarc packer.
    In ZeldaTP, there is a file LogoPalUK.arc (in Root/Res/Layout folder).
    It contains this at the beginning of the game:





    There are two *.bti files - first one (warning.bti) is the main text ("warning -...." etc..."), the second one (warning_pstart.bti) is "press any button...".

    I successfully changed the first picture (made a title screen for a russian translation of ZeldaTP that I'm working on now):



    But I can't change the second one ("press any button to continue").
    This two bti files are in rarc file which contains some other bti files.
    My changed "warning.bti" file became the same size that original one and I inserted it to rarc in hex-editor.
    But the second one (warning_pstart.bti) becomes much bigger, so I can't insert it in hex-editor - I need to repack rarc, containing all this files, then yaz0-it and then finally put back into ISO.

    I used BTI tools by Lunaboy (can be found in this thread: http://emutalk.net/showthread.php?t=49228&page=2)

    So all I need for now - is to CORRECTLY extract rarc, replace BTIs, CORRECTLY pack the rarc back and Yaz0 it. That's, basically, it...
    Last edited by Anton; September 30th, 2009 at 13:39.


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #32
    EmuTalk Member
    Join Date
    Oct 2004
    Posts
    17
    Well here's a current build of my packer RARC Packer.
    To pack files just drag and drop the "root" folder onto the exe. In the case of LogoPalUK.arc the root folder is the one named "archive". It only goes two folders deep currently, but that's been sufficient for everything I've had to work with, let me know if you need more.
    Also the format is not 100% reversed so it's possible that TP will check some aspect of the rarc that isn't built properly and won't work, but hopefully not.
    You may find you don't need to compress the new files with yaz0, in FSA files can be compressed or not and the game reads them either way.

  3. #33
    I like beer Anton's Avatar
    Join Date
    Apr 2002
    Location
    Kiev, Ukraine
    Posts
    196
    Thanx for the tool, jth!
    I'll try it ASAP.

    That's right, in LogoPalUK there is a root folder - "archive", and it contains another folder - "dat" with 7 *.bti files inside. You say two folders deep? So it should work then

    Well, I think I'll better Yaz0 compress all needed stuff, same like original files are... Yaz0 archiver works just fine for me, it's not necessary to leave files deYaz0-ed, I guess.

    Quote Originally Posted by jth View Post
    it's possible that TP will check some aspect of the rarc that isn't built properly
    There are no compression ratio in Zelda RARCs. Any.
    Just Rarc header, then some data, then file list, then some data (may be empty (00-s), then the header of the first file, it's data, then the header of the second file, it's data, etc...
    Last edited by Anton; October 1st, 2009 at 07:16.

  4. #34
    EmuTalk Member
    Join Date
    Oct 2004
    Posts
    17
    By two folders deep I mean two inside the root folder, so it should handle it even if there was another folder inside "dat", for example.

    I didn't mean there was any compression, only that there are a few parts of the rarc format that my packer assumes are always the same, though they might not be, which could cause problems. I doubt it will though, all the important things are working.

  5. #35
    I like beer Anton's Avatar
    Join Date
    Apr 2002
    Location
    Kiev, Ukraine
    Posts
    196
    It works! Finally
    Thanks a lot for the tool. Seems to be a correct packing.
    Now my title screen is completely in russian

    Last edited by Anton; October 2nd, 2009 at 18:15.

  6. #36
    EmuTalk Member Lunaboy's Avatar
    Join Date
    Nov 2005
    Posts
    15
    Okay...
    I'd spent many hours on writing an ARC packer and now it’s ready to be released, I see this.

    Mine is a little different from Jth’s packer:
    1. It supports an unlimited directory-depth
    2. It stores all filenames in lowercase text
    3. It can optionally save to a user-given filename

    All ARC archives I’ve seen until now are only using lowercase filenames and I don’t know if the game-engine is case-sensitive. Because of that my ARC packer converts all filenames and directory names to lowercase before saving them to the archive.

    Since you’ve already got an ARC packer, I guess mine is not needed anymore.
    In case anyone is interested in my packer, I’ve posted it here.

    Because I get an 'Unable to move/copy file' error while uploading the attachment, I'm using RapidShare:
    http://rapidshare.de/files/48457336/ArcPack.zip.html

    @Jth:
    I’ve tested your packer on my ArcPack test-directory and it’s working as it should be. You’ve also got the checksum generation of the filenames implemented. I know how difficult it is to write the packer. Great job!

  7. #37
    EmuTalk Member
    Join Date
    Oct 2004
    Posts
    17
    Thanks Lunaboy, it sure was a pain to write! Any chance you could post your source, or just the part that allows it to do unlimited folder depth? I'm pretty new to coding and I wasn't really sure how to implement that in my packer so I just had the folder packing code nested again inside itself ^^;

  8. #38
    I like beer Anton's Avatar
    Join Date
    Apr 2002
    Location
    Kiev, Ukraine
    Posts
    196
    Thanks guys, both of you, for the great tools!

  9. #39
    EmuTalk Member thakis's Avatar
    Join Date
    Feb 2005
    Posts
    159
    jth/Lunaboy: Any chance of posting the source somewhere?

  10. #40

Page 4 of 6 FirstFirst ... 23456 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •