Skip to content

Trouble trying to extract assets.dat from AVGN Adventures (3DS version) #2

Description

@leomontenegro6

I heard that the game "Angry Video Game Nerd Adventures" was created in the same engine than Freedom Planet (or similar). So after getting the 3DS version and extracting the romfs data, I managed to get a "assets.dat" file. Then, I tried using fp-assets to extract contents from that file, to see what happens.

I managed to install Pillow 2.7.0, then copied fp-assets.py and assets.bin to a same folder, and finally run the command below:

python fp-editor.py -x

However, it didn't worked as it should, and instead it returned me the following error:

Traceback (most recent call last):
  File "fp-assets.py", line 479, in <module>
    assets_dir_path=assets_dir_path)
  File "fp-assets.py", line 407, in extract_all_assets
    "img_%d_meta.txt" % index)
  File "fp-assets.py", line 132, in extract_img
    img_w = struct.unpack("<H", assets_file.read(2))[0]
struct.error: unpack requires a string argument of length 2

The tool could extract only the files "preload_data.bin" and "type_sizes.txt" and create five folders: "audio", "files", "fonts", "images" and "shaders". However, all folders are empty, which suggests me that it aborted the extraction the moment it tried to extract images.

Is there a way of extracting and remounting that file? Even if it's a workaround?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions