It is currently Tue Jul 17, 2018 8:47 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 275 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19
Author Message
 Post subject: Re: NES Screen Tool
PostPosted: Wed Mar 14, 2018 9:55 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2143
Location: DIGDUG
My current work-around solution is to insert alphanumeric characters into the blank area of the original image, then import lossy, and then edit out the alphanumeric tiles, leaving them unused. Takes me very little time.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
 Post subject: Re: NES Screen Tool
PostPosted: Sat Mar 17, 2018 12:52 am 
Offline
User avatar

Joined: Sat Mar 30, 2013 12:24 am
Posts: 342
FrankenGraphics wrote:
Hey shiru, i was wondering if you could look into this?

-As of some recent version, NESST saves .chr files as 8kB by default. This causes inconvenience further down the pipe as 95% of the time, the other 4kB is just an empty fill. I was wondering if you could make it so that unless theres some actual content other than a fill on the "B" set, a 4kB file would be defaulted?

The current workaround for this is either
-saving each file separately rather than all three/four at once; which gives the option to set filesize for chr files.
-cut the superfluous 4kB:s in a hex editor
-use ca65 and pass a 4kB range for the .incbin directive (not an option in other assemblers).
-use powershell or bash to cut it in half

So there are options, but adds a step to the process and a bit of required vigilance compared to earlier NESST versions. If an 8kb file gets in by mistake and breaks a boundary, ca65 users will get a warning, asm6 users will see the file assemble silently but it won't run properly.


Am I misunderstanding your request or are we using different versions of NESst?

It looks to me like 4k is default with other options available:


Attachments:
tmp.gif
tmp.gif [ 45.98 KiB | Viewed 824 times ]

_________________
www.mteegfx.com
Top
 Profile  
 
 Post subject: Re: NES Screen Tool
PostPosted: Sat Mar 17, 2018 1:54 am 
Offline
Formerly WheelInventor

Joined: Thu Apr 14, 2016 2:55 am
Posts: 1651
Location: Gothenburg, Sweden
When you All > Save, it saves an 8kB chr file with no options. (But used to save an 4kB file, no options in earlier versions).
When you Chr > Save, it saves your latest used option, + gives you options.

_________________
http://www.frankengraphics.com - personal NES blog


Top
 Profile  
 
 Post subject: Re: NES Screen Tool
PostPosted: Sat Mar 17, 2018 4:38 am 
Offline
User avatar

Joined: Sat Mar 30, 2013 12:24 am
Posts: 342
Ah, that'd explain why I hadn't noticed. My workflow doesn't typically have me saving all.

_________________
www.mteegfx.com


Top
 Profile  
 
 Post subject: Re: NES Screen Tool
PostPosted: Fri May 11, 2018 6:39 am 
Offline
User avatar

Joined: Fri Mar 16, 2018 1:52 pm
Posts: 31
Location: Finland
Quote:
Load CHR file with size of 1K, 2K, 4K, 8K, or other size of multiple of 16.


Regardless of this I'm still getting "Wrong file size" error from loading a file of 32k in size.

EDIT: This seems to happen with 16k files as well. This is weird since both of tese are in a multiple of 16.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 275 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group