nutcracker icon indicating copy to clipboard operation
nutcracker copied to clipboard

Support for Extracting NPC Animated Sprites?

Open MiloCharmingMagician opened this issue 1 year ago • 4 comments

I extracted Freddi Fish 3 but don't see any images for any of the sprites like npcs, player, etc.

MiloCharmingMagician avatar Sep 29 '23 04:09 MiloCharmingMagician

From my experience using HEERip (https://github.com/suppertails66/heerip), animated sprites in HE games seem to generally be in the AKOS format, with exception of some extremely early releases of their first games, which instead use the COST format. The readme for this software claims that it only supports background and object images, so I'd assume it only supports the RMIM and OBIM formats. If you want to get images from HE games, HEERip will serve you better for now. (Even it doesn't support COST images, but you'd only encounter those in their first games' floppy releases or their corresponding demos.)

SomeRandomHEFan avatar Oct 11 '23 09:10 SomeRandomHEFan

Thank you, AKOS support is still WIP and have some problem with colors at the moment if you would like to check it out (and have python installed) you can try following https://github.com/BLooperZ/nutcracker/issues/13#issuecomment-1273577350

For this time, it is better to use HEERip

BLooperZ avatar Oct 13 '23 10:10 BLooperZ

python -m nutcracker.sputm.costume.akos "D:\GamingLibrary\The Curse of Monkey Island\COMI.LA0"

Traceback (most recent call last):
  File "C:\Users\usuario\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\usuario\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\DownloadLibrary\nutcracker\src\nutcracker\sputm\costume\akos.py", line 214, in <module>
    for idx, ((xoff, yoff), im) in enumerate(
  File "D:\DownloadLibrary\nutcracker\src\nutcracker\sputm\costume\akos.py", line 173, in read_akos_resource
    locs, decoded = decode_frame(akhd, ci, cd, akpl)
  File "D:\DownloadLibrary\nutcracker\src\nutcracker\sputm\costume\akos.py", line 94, in decode_frame
    return (xoff, yoff), {
  File "D:\DownloadLibrary\nutcracker\src\nutcracker\sputm\costume\akos.py", line 65, in decode1
    assert d_data == data, (len(d_data), len(data))
AssertionError: (3276, 3277)

JeanxPereira avatar Jun 04 '24 16:06 JeanxPereira

Thank you for reporting, the error should now be fixed

BLooperZ avatar Jun 15 '24 20:06 BLooperZ