Coder Social home page Coder Social logo

wannacri's People

Contributors

donmai-me avatar emoose avatar keikei14 avatar pmdevita avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wannacri's Issues

fmtver - Is it important?

I'm working on a reader for the USM files used in Deus Ex Human Revolution, but I kept giving me an error with the format version of the @SFV chunks

I commented out https://github.com/donmai-me/WannaCRI/blob/master/wannacri/usm/usm.py#L187 and https://github.com/donmai-me/WannaCRI/blob/master/wannacri/usm/usm.py#L251 and I got the demuxed video and audio just fine, so I'm wondering if it's important to check for the fmtver key at all.

BTW, I also had to add

        SUBTITLE = bytearray("@SBT", "UTF-8")
        CUE = bytearray("@CUE", "UTF-8")

to the ChunkType enum

Okami PS3 - Generate usm from an m2v & adx file

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?

Tales of Arise: USM Alpha Transparency Support

 Thanks for your amazing works. this tool did work for me on old Criware files, but not recently files

Here is the EMB_AST link(not work with wannacri): EMB_AST

I picked some difference from two files, which worked fine with left, but not right
484rWR.png
Here is the error message

 for i, usmfile in enumerate(usmfiles):
        filename = os.path.basename(usmfile)
        print(f"Processing {i+1} of {len(usmfiles)}... ", end="", flush=True)
        try:
            usm = Usm.open(usmfile, encoding=args.encoding, key=args.key)

            usm.demux(
                path=args.output,
                save_video=True,
                save_audio=True,
                save_pages=args.pages,
                folder_name=filename,
            )
        except ValueError:
            print("ERROR")
            print(f"Please run probe on {usmfile}")
        else:
            print("DONE")

484yS1.png

I'm not sure if the KEYUSEDIFENCRYPTED is needed?
wannacri extractusm /path/to/usm/file/or/folder --key 0xKEYUSEDIFENCRYPTED

Or, if this file has new encryption, your help will be greatly appreciated!!!

What conatiner supports creating usm?

I just discovered that there's a container made by google called vp9. I searched it and Webm contains it which is based from matroska. I tried making webm video files from ffmpeg to create usm files but it doesn't work... What kind of format does it need to create a usm?
(Sorry for dumb question i am new to github.)

Also If it's okay to ask, how's the progress for h.264 videos?
Great work on this program btw 😊

poggers

There is too much pog in this repo. Starred

error

trying to export the .whl file but I get this
image

Error to Create or Extract USM file

image

I'm trying to create a USM file but I get a mysterious error and I can't create the USM file, the same thing happens when extracting. Thank you

Error while trying to install WHL

I'm new to installing Python stuff from WHL, but I'm following the steps I can find and am getting an error...

Processing c:\users\kojom\downloads\wannacri\wannacri-0.3.0-py3-none-any.whl
Collecting ffmpeg-python~=0.2.0 (from WannaCRI==0.3.0)
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting future (from ffmpeg-python~=0.2.0->WannaCRI==0.3.0)
  Using cached future-0.18.3-py3-none-any.whl
Installing collected packages: future, ffmpeg-python, WannaCRI
  Attempting uninstall: future
    Found existing installation: future 0.18.3
    Uninstalling future-0.18.3:
      Successfully uninstalled future-0.18.3
  WARNING: Failed to write executable - trying to use .deleteme logic
  Rolling back uninstall of future
  Moving to c:\python312\lib\site-packages\future-0.18.3.dist-info\
   from C:\Python312\Lib\site-packages\~uture-0.18.3.dist-info
  Moving to c:\python312\lib\site-packages\future\
   from C:\Python312\Lib\site-packages\~uture
  Moving to c:\python312\lib\site-packages\libfuturize\
   from C:\Python312\Lib\site-packages\~ibfuturize
  Moving to c:\python312\lib\site-packages\libpasteurize\
   from C:\Python312\Lib\site-packages\~ibpasteurize
  Moving to c:\python312\lib\site-packages\past\
   from C:\Python312\Lib\site-packages\~ast

ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\futurize.exe' -> 'C:\\Python312\\Scripts\\futurize.exe.deleteme'

Error to Create or Extract USM file 2nd

I'm trying to create a USM without encryption .,But there's a problem.
I have already copied files ffmpeg.exe and ffprobe.exe to wannacri.exe folder.
command:wannacri createusm 666.mp4
666.mp4 is a video,My computer can play normally

Extraction error

I've got some errors when a was trying extract usm file and even use command 'probeusm'. File has been created via Scaleform VideoEncoder (CRI Medianoche [NR] Ver.1.70.00 - 2013-03-08) with sample video and subtitles. And video correctly works in game. (Although I had to change the value of the language id in the subtitle chunk so that they are displayed)
I didn't find any mention of the @SBT tag (signature) in the log file.
test_1_usm.usm_NSi.log
test_1_usm.zip
screenshot 1
screenshot 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.