BLooperZ / nutcracker

Tools for editing resources in SCUMM games.
GNU General Public License v3.0
42 stars 11 forks source link

Support for Extracting NPC Animated Sprites? #19

Open CyndaneraX opened 9 months ago

CyndaneraX commented 9 months ago

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

SomeRandomHEFan commented 8 months ago

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.)

BLooperZ commented 8 months ago

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

JeanxPereira commented 1 month ago

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)
BLooperZ commented 2 weeks ago

Thank you for reporting, the error should now be fixed