Skip to content

dumpdata issues with NMV extract #6

@lovedayb

Description

@lovedayb

Hi there,

I know it's been a long time since you have worked on this project, but I'm hoping you can help!

When I try to run the dumpdata script, I have issues with the pff.py extraction, as well as the trailing 'ffmpeg -framerate 1 -i nav-%1d.jpg -r 25 -y -c:v libx264 -crf 22 -pix_fmt yuv420p data/nav.mp4'.

With a bit of work, I managed to get pff.py modified to handle the binary extraction better with the newer python versions, such as using 'read_bytes' and 'write_bytes'. This extracts the jpg files fine.

However, I'm confused about this line:
ffmpeg -framerate 1 -i nav-%1d.jpg -r 25 -y -c:v libx264 -crf 22 -pix_fmt yuv420p data/nav.mp4

The %1d format specifier is confusing - is this line meant to sit inside the previous FOR loop? Or is it only meant to process one of the jpg files?

Any advice would be really appreciated! I'm trying to rebuild the game in another engine such as Godot or AGS but still experimenting and will definitely need all of the hotspots to speed the process up!

Cheers,
Ben

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