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

Okami PS3 - Generate usm from an m2v & adx file #5

Open
HojoTimberwolf opened this issue Feb 20, 2022 · 10 comments
Open

Okami PS3 - Generate usm from an m2v & adx file #5

HojoTimberwolf opened this issue Feb 20, 2022 · 10 comments
Assignees
Labels
adx image-sequence Video codec is a series of still pictures usm
Milestone

Comments

@HojoTimberwolf
Copy link

Some PS3 games use the usm file format to store cinematics. I was hoping that WannaCRI would be able to mux the extracted files from the usm but found that the the video codec used is MPEG1.

Would it be possible to implement createusm to take raw mpeg1video and an adx file to make an usm file?

@donmai-me
Copy link
Owner

Should be possible but If I remember correctly they use MPEG1 with some modifications. I'd like to support those too in the future but I would have to analyze the raw mpeg1 bitstream first.

Worst case scenario is I'd have to make a converter from normal mpeg1 video to their own version of mpeg1. I hope I'm wrong.

@HojoTimberwolf
Copy link
Author

HojoTimberwolf commented Mar 1, 2022 via email

@donmai-me
Copy link
Owner

donmai-me commented Mar 28, 2022

Thank you for your interest in helping. I have made a tool included in wannacri that will help me in collecting more data. Please update to the latest version and try running wannacri probeusm UsmFileOrDirectoryHere. Then kindly upload the log files here. If the file size is too large, zipping it should make it smaller.

@HojoTimberwolf
Copy link
Author

HojoTimberwolf commented Mar 28, 2022 via email

@donmai-me
Copy link
Owner

You seem to have not attached the file. Maybe try attaching it on Github's website itself? Here's a link to this issue #5

@HojoTimberwolf
Copy link
Author

usmlogs.zip

apperently 7z isn't supported. attaching in a zip format

@donmai-me
Copy link
Owner

Thank you very much for the logs. I'll take a look at it soon. Can I ask what game is this from?

@HojoTimberwolf
Copy link
Author

This is from the game Okami on PS3

@donmai-me donmai-me added usm adx image-sequence Video codec is a series of still pictures labels Mar 30, 2022
@donmai-me donmai-me changed the title generate usm from an m2v & adx file Okami PS3 - Generate usm from an m2v & adx file Mar 30, 2022
@donmai-me
Copy link
Owner

The video stored in Okami's usm is unusual since ffprobe reports that it's a sequence of images rather than a video file. Thanks for telling me the game btw.

@HojoTimberwolf
Copy link
Author

That actually makes some sense for the ingame cutscenes as these have to be toggled to continue. A user has to press the next button in order for the next dialog box to appear.

I don't know if this is a similar case for the the staff_roll.usm files as these run much like a movie.

@donmai-me donmai-me self-assigned this Apr 10, 2022
@donmai-me donmai-me added this to the Version 0.3 milestone Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adx image-sequence Video codec is a series of still pictures usm
Projects
None yet
Development

No branches or pull requests

2 participants