Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2017-01-29 07:13:29

Fotomac
Member
Registered: 2015-10-25
Post 270/297

[pokered-fr] Compile error due to extras

I'm trying to compile nostalgia-red-francais, but Cygwin is yelling at me for the following:

Traceback (most recent call last):
  File "extras/pokemontools/gfx.py", line 941, in <module>
    main()
  File "extras/pokemontools/gfx.py", line 938, in main
    method(args.filenames)
  File "extras/pokemontools/gfx.py", line 878, in convert_to_1bpp
    export_png_to_1bpp(filename)
  File "extras/pokemontools/gfx.py", line 849, in export_png_to_1bpp
    image = png_to_1bpp(filename, **arguments)
  File "extras/pokemontools/gfx.py", line 854, in png_to_1bpp
    image, kwargs = png_to_2bpp(filename, **kwargs)
  File "extras/pokemontools/gfx.py", line 641, in png_to_2bpp
    width, height, rgba, info = png.Reader(filein).asRGBA8()
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 2144, in asRGBA8
    return self._as_rescale(self.asRGBA, 8)
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 2102, in _as_rescale
    width,height,pixels,meta = get()
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 2185, in asRGBA
    width,height,pixels,meta = self.asDirect()
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 2016, in asDirect
    self.preamble()
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 1713, in preamble
    self.process_chunk(lenient=lenient)
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 1746, in process_chunk
    m(data)
  File "/home/Karen/nostalgia-red-francais/extras/pokemontools/png.py", line 1819, in _process_bKGD
    raise FormatError("bKGD chunk has incorrect length.")
png.FormatError: FormatError: bKGD chunk has incorrect length.
Makefile:59: recipe for target 'gfx/font.1bpp' failed
make: *** [gfx/font.1bpp] Error 1

Can anyone figure out the problem here? Because I could've sworn I used the most recent version of the "extras" folder.

Offline

Board footer

Powered by FluxBB