Nori tool create

Newbie Spellweaver
Joined
Sep 20, 2019
Messages
31
Reaction score
2
im having problem creating .nri file


Code:
Gathering data from config file...
NORI filename: intro_base800.nri
Absorbing BMP files:
./intro_base800_nri/intro_base800.nri_1.bmp
Error in (getImgData):
java.nio.BufferOverflowException
Error in (CM):
java.nio.BufferOverflowException

thats the error when i correct the exact file size on cfg.
idk where do i get the woGawi value
 
Libre Software Dev
Developer
Joined
Sep 25, 2012
Messages
676
Reaction score
434
It's failing on "get image data", not file size. Honestly, I have no clue how you made a mistake on this NORI file. You didn't need to change anything as long as your new image is the same Width, Height, and bpp as the original (which it should be).

woGawi = 472, fsize = 960548, gsize = 960076, bpp = 16

The program should automatically strip the needed data from any BMP you offer it, even at the 1.5.1 version.
 
Upvote 0
Newbie Spellweaver
Joined
Sep 20, 2019
Messages
31
Reaction score
2


the Resolution is same as the original which is 800x600 and i didn't change anything on the config file but still receiving the same error

Code:
C:\Users\Korone\Desktop\Eternal Trickster\cabala-full-client\data\ui_nori\intro_img>java -jar TNT2.jar c ./intro_base800.nri.cfg ./intro_base800_nri/
Gathering data from config file...
NORI filename: intro_base800.nri
Absorbing BMP files:./intro_base800_nri/intro_base800.nri_1.bmp
Error in (getImgData):java.nio.BufferOverflowExceptionFinalizing file...
NORI File Creation Complete.



im finally created a .nri file


but it shows like this
 

Attachments

You must be registered for see attachments list
Upvote 0
Newbie Spellweaver
Joined
Sep 20, 2019
Messages
31
Reaction score
2
yes i write that ui for your tool, anyway i manage to fix the problem by using BMP2NRI converting 16bpp to 24bpp img nri
 
Upvote 0