NesTiler icon indicating copy to clipboard operation
NesTiler copied to clipboard

System.IndexOutOfRangeException

Open gustavostuff opened this issue 2 years ago • 1 comments

I'm getting the following error:

Unexpected error System.IndexOutOfRangeException: Index was outside the bounds of the array.   at com.clusterrr.Famicom.NesTiler.Program.Main(String[] args)
make: *** [Makefile:39: pattern_0.bin] Error 1

Here's what I did:

  • Modified a bit the Makefile inside nrom_simple example, just some of the first line:
NESASM?=nesasm
EMU?=fceux64
TILER?=/home/g/nestiler/nestiler
SOURCE=main.asm
EXECUTABLE=nrom_simple.nes

IMAGE?=../../TestImages/Images/girl.png
  • added girl2.png, the image is 64x64 and 4 colors girl2.png
  • The error happens with and without "indexed mode" for the colors (Gimp functionality)

The same error also happens when running just ./nestiler -i img.png in the terminal (from the lastest Linux self-contained release)

My system is Manjaro XFCE, up to date, 64bit.

Please let me know if you need anything else.

gustavostuff avatar Nov 12 '23 21:11 gustavostuff

Hi! Sorry for such slow answer. Please try latest interim version: https://clusterm.github.io/NesTiler/

ClusterM avatar Nov 26 '23 13:11 ClusterM