Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Extracting NPC Animated Sprites? #19

Open
MiloCharmingMagician opened this issue Sep 29, 2023 · 4 comments
Open

Support for Extracting NPC Animated Sprites? #19

MiloCharmingMagician opened this issue Sep 29, 2023 · 4 comments

Comments

@MiloCharmingMagician
Copy link

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

@SomeRandomHEFan
Copy link

SomeRandomHEFan commented Oct 11, 2023

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
Copy link
Owner

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 #13 (comment)

For this time, it is better to use HEERip

@JeanxPereira
Copy link

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
Copy link
Owner

Thank you for reporting, the error should now be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants