Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

about TNT-master , creating nri file

Newbie Spellweaver
Joined
Dec 21, 2019
Messages
17
Reaction score
1
As 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 (ㅠ.ㅠ)
 
Libre Software Dev
Developer
Joined
Sep 25, 2012
Messages
676
Reaction score
434
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:
Upvote 0
Newbie Spellweaver
Joined
Dec 21, 2019
Messages
17
Reaction score
1
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..?
 
Upvote 0
Libre Software Dev
Developer
Joined
Sep 25, 2012
Messages
676
Reaction score
434
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.
 
Upvote 0
Newbie Spellweaver
Joined
Dec 21, 2019
Messages
17
Reaction score
1
Thank you for reply:D:

I did this processes,



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 ..
 
Upvote 0
Libre Software Dev
Developer
Joined
Sep 25, 2012
Messages
676
Reaction score
434
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:
Upvote 0
Newbie Spellweaver
Joined
Dec 21, 2019
Messages
17
Reaction score
1
Thanks to your help, all my questions have been solved!:eek:tt:

EDIT 1 Year later:
?????In the past year, there have been three donations of 5,000 w each.
 
Last edited:
Upvote 0
Libre Software Dev
Developer
Joined
Sep 25, 2012
Messages
676
Reaction score
434
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:
Upvote 0
Initiate Mage
Joined
Mar 28, 2021
Messages
1
Reaction score
0
Excuse me, may I have a question, sorry for the bad english,
I search a lot of about gawi, could you tell me what is gawi,
and how to know that the woGawi value how to change,
I have seen the github ./docs/NORI_format.md, but still don't understand how to get that,
thank you so much.
 
Upvote 0
Back
Top