about TNT-master , creating nri file

Results 1 to 8 of 8
  1. #1
    Registered Yobbi is offline
    MemberRank
    Dec 2019 Join Date
    13Posts

    sad about TNT-master , creating nri file

    about TNT-master , creating nri file
    https://drive.google.com/file/d/1dNh...ew?usp=sharingAs you know some posts, "Config file does not exist. Tragic." was mentioned.
    but Still I don't know how I can solve this errors...

    java -jar TNT.jar c exam.nri.bac path..?
    java -jar TNT.jar c exam.nri.cfg path..?
    java -jar TNT.jar c exam.nri path..?

    About "Config file does not exist. Tragic."
    where I can find Config files..?
    And How can I compile this bmp files to .nri files...?
    Please let me know (ㅠ.ㅠ)


  2. #2
    Libre Software Developer PyroSamurai is offline
    ModeratorRank
    Sep 2012 Join Date
    USALocation
    651Posts

    Re: about TNT-master , creating nri file

    That feature is currently meant mostly for modifying existing NORI files.
    Use "java -jar TNT.jar A example.nri" to get a config file for an existing NORI.
    I can't really say the procedure is friendly for non-english speakers.
    Last edited by PyroSamurai; 01-01-21 at 05:02 PM.
    Happy Hacking!
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not."-Dr. Seuss

    I don't want admiration. I want you to follow my example.
    The best way to bring moderator attention to a post is to use the report button (⚠️).

    Like my releases or want to thank me? -> give me rep. (✶ at bottom left)
    For other displays of affection -> use the like button.
    Moderator of Trickster Online & f168
    RZ Dev


  3. #3
    Registered Yobbi is offline
    MemberRank
    Dec 2019 Join Date
    13Posts

    Re: about TNT-master , creating nri file

    Thank you.
    For your help, I met

    =========================================
    Absorbing BMP files:
    C:\Users\biosb\Desktop\asd\InstructionUI_1024.nri_1.bmp
    C:\Users\biosb\Desktop\asd\InstructionUI_1024.nri_2.bmp
    C:\Users\biosb\Desktop\asd\InstructionUI_1024.nri_3.bmp
    Error in (CM):java.nio.BufferOverflowException
    =========================================
    Could you help me how to fix this errors..?

  4. #4
    Libre Software Developer PyroSamurai is offline
    ModeratorRank
    Sep 2012 Join Date
    USALocation
    651Posts

    Re: about TNT-master , creating nri file

    The the only thing buffer overflow tells me is that one of the byte arrays wasn't large enough for the input data.
    What did you change?
    Show me your full command line like your first post.
    Happy Hacking!
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not."-Dr. Seuss

    I don't want admiration. I want you to follow my example.
    The best way to bring moderator attention to a post is to use the report button (⚠️).

    Like my releases or want to thank me? -> give me rep. (✶ at bottom left)
    For other displays of affection -> use the like button.
    Moderator of Trickster Online & f168
    RZ Dev


  5. #5
    Registered Yobbi is offline
    MemberRank
    Dec 2019 Join Date
    13Posts

    Re: about TNT-master , creating nri file

    Thank you for reply

    I did this processes,

    https://drive.google.com/drive/folde...j5?usp=sharing

    1. instruction2014_UI.nri and TNT in folder 'asd'.
    at this folder, launch mode 'A' and get cfg files.

    2. at this folder, launch mode 'E' or 'e' and get some bmp files which consists 'instruction2014_UI.nri'
    By doing this I could get 3pics(at game start button image)

    3. and I didnt change anything. For learning how to complile it to original one.
    so I move 'instruction2014_UI.nri' to outside.

    4. this time, My folder has 1 folder (named InstructionUI_1024_nri),
    cfg files, and TnT.

    5. Start mode 'c'

    and I get that errors ..

  6. #6
    Libre Software Developer PyroSamurai is offline
    ModeratorRank
    Sep 2012 Join Date
    USALocation
    651Posts

    Re: about TNT-master , creating nri file

    What you did with your google drive folder was great :) It gave me all the info I needed.
    The problem is with the file itself. I've never seen this file before so I didn't have it to test.
    The data stored in the original file is wrong.
    If you check your file's properties you'll see it's actual size is 120448 just like all other InstructionUI_1024 files.
    You'll need to edit the .cfg file to correct it.
    Code:
    <woGawi>1296</woGawi>  -->  <woGawi>2388</woGawi>
    <fsize>119356</fsize>  -->  <fsize>120448</fsize>
    After that it will compile correctly.
    ... Well as good as the 1.5 TNT version can do, anyways.

    You should probably remove palette as well.
    I just realized the 1.5 version of TNT doesn't pull Palette header info from the cfg, at all.
    It was really only designed to do 16bit and 24bit NORI.
    The palette is unnecessary on those bpp.
    So I just assume people would just adjust woGawi,fsize, & gsize and set hasPalette=0.
    A bit of an oversight on my part.
    I didn't think that no one would donate even $1 to fund the next version.
    Last edited by PyroSamurai; 03-01-21 at 11:30 PM. Reason: discovered new bug., typos
    Happy Hacking!
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not."-Dr. Seuss

    I don't want admiration. I want you to follow my example.
    The best way to bring moderator attention to a post is to use the report button (⚠️).

    Like my releases or want to thank me? -> give me rep. (✶ at bottom left)
    For other displays of affection -> use the like button.
    Moderator of Trickster Online & f168
    RZ Dev


  7. #7
    Registered Yobbi is offline
    MemberRank
    Dec 2019 Join Date
    13Posts

    Re: about TNT-master , creating nri file

    Thanks to your help, all my questions have been solved!

    I will support all programming developed in the future and continue development by participating even with a small donation.

  8. #8
    Libre Software Developer PyroSamurai is offline
    ModeratorRank
    Sep 2012 Join Date
    USALocation
    651Posts

    Re: about TNT-master , creating nri file

    Glad to here your issue has been solved. I'm sure you'll be able to help other Koreans now as well :)
    Every bit is appreciated.


    EDIT 3 Weeks later:
    I still haven't received a single $0.01 from this guy.
    Just like everyone else, he only has words to offer.
    Last edited by PyroSamurai; 25-01-21 at 10:07 PM. Reason: add update to promised donation
    Happy Hacking!
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not."-Dr. Seuss

    I don't want admiration. I want you to follow my example.
    The best way to bring moderator attention to a post is to use the report button (⚠️).

    Like my releases or want to thank me? -> give me rep. (✶ at bottom left)
    For other displays of affection -> use the like button.
    Moderator of Trickster Online & f168
    RZ Dev




Advertisement