-
Notifications
You must be signed in to change notification settings - Fork 10
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
Comments
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. |
Thanks for the reply. I wish I could help in this regard but sadly I have
just started digging into the usm compression for the ps3. From what I have
been able to learn, the program Scaleform 4.6.33 can be used for generating
PS3 usm files and is the goto for most game hackers for the ps3. In my
stubbornness, I didn't want to convert the files I modified into an rgb32 /
wav format just to have the files converted again back into something the
PS3 can read.
I can provide some files for you to analyze if need be. After reading your
blog post, the first thing I did was throw the usm file into a hex editor
to see what I could find.
some of the data in the usm below
<NULL>.VIDEO_HDRINFO.width.height.mat_width.mat_height.disp_width.disp_height.scrn_width.mpeg_dcprec.mpeg_codec.alpha_type.total_frames.framerate_n.framerate_d.metadata_count.metadata_size.ixsize.pre_padding.max_picture_size.color_space
<NULL>.AUDIO_HDRINFO.audio_codec.sampling_rate.total_samples.num_channels.ixsize
|
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 |
I have generated a couple logs and compressed them via 7zip. Currently have
generated 9 logs in total. These are all from the game Okami on PS3
|
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 |
apperently 7z isn't supported. attaching in a zip format |
Thank you very much for the logs. I'll take a look at it soon. Can I ask what game is this from? |
This is from the game Okami on PS3 |
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. |
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. |
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?
The text was updated successfully, but these errors were encountered: