[TOOL] BIN2MP4

Discussion in 'Wii U - Hacking & Backup Loaders' started by Kakkoii, Mar 4, 2016.

  1. Kakkoii
    OP

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    Whipped up a little tool tonight as an easier way for people to obtain MP4 versions of the things they compile or find online, as I know many people can have a hard time setting up PHP servers.
    Also can be integrated into your compiling workflow scripts to go straight to MP4.

    [​IMG]
    Source code

    Command Line usage:
    Changelog:
    Warning: Spoilers inside!

    **Note: As it may not be obvious to some, your .bin file still needs to have been compiled for the correct system version.
     

    Attached Files:

    Last edited by Kakkoii, Mar 5, 2016


  2. Falkiner

    Falkiner Advanced Member

    Newcomer
    75
    14
    Mar 16, 2013
    Brazil
    This is Great!

    Congrats!
     
    Kakkoii likes this.
  3. DrCrygor07

    DrCrygor07 Italian Wario Ware bootleg©

    Member
    1,682
    621
    Sep 4, 2014
    Italy
    Great program! Not useful for me but good job!
     
    Subtle Demise and Kakkoii like this.
  4. rw-r-r_0644

    rw-r-r_0644 GBAtemp Fan

    Member
    327
    369
    Jan 13, 2016
    Italy
    Nice program :)
    I had the same idea but no time to make it. I will try to make a command line version so I can modify my libwiiu script to make the mp4 and move it to www folder automatically.
    Thank you a lot! Also thank you for publishing source!
     
    Last edited by rw-r-r_0644, Mar 4, 2016
    Kakkoii likes this.
  5. Kakkoii
    OP

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    Thanks, I already plan to create a command line version or try to add it into this app so it can do both, so if you don't mind waiting a day or so that'll be out too :P
     
    rw-r-r_0644 likes this.
  6. Kafluke

    Kafluke GBAtemp Psycho!

    Member
    3,434
    1,698
    May 6, 2006
    United States
    What you say may be useless might be just the thing that someone is looking for.

    Keep up the good work @Kakkoii!
     
    vgmoose and Kakkoii like this.
  7. memomo

    memomo ( ͡° ͜ʖ ͡°)

    Member
    1,070
    548
    Nov 30, 2013
    Very useful, thanks a lot
     
    Last edited by memomo, Mar 4, 2016
  8. rw-r-r_0644

    rw-r-r_0644 GBAtemp Fan

    Member
    327
    369
    Jan 13, 2016
    Italy
    Hmm... Have you tested the program? I actually successfully made a cmd version and tested but I found out the output mp4 wasn't working so I tried making one with your binary and it was still not working. I tryed with code550.bin from helloworld example. Have you got it to work? I'm on 551E
     
  9. Blackspoon

    Blackspoon Member

    Newcomer
    29
    9
    Feb 19, 2016
    Gambia, The
    next to the blackfork
    @Kakkoii can you make a commandline version? it would be perfect to include them into a makefile like bin2s.
     
  10. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,681
    1,371
    Aug 2, 2014
    Germany
    Ah, increasingly useless? :unsure:
     
  11. rw-r-r_0644

    rw-r-r_0644 GBAtemp Fan

    Member
    327
    369
    Jan 13, 2016
    Italy
    -snip-
     
    Last edited by rw-r-r_0644, Mar 4, 2016
  12. Kakkoii
    OP

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    I only have a 5.4 console, so I was only able to test on that. Could you send me a .mp4 of something that has worked for you on 5.5.1?
    Thanks
     
  13. Whatnoww

    Whatnoww GBAtemp Regular

    Member
    184
    89
    Jan 27, 2016
    Canada
    This needs to be added to a sticky with homebrew tools.
     
  14. Kakkoii
    OP

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    Updated with command line functionality. If you pass it command line arguments, the GUI won't launch, so it can be used easily in scripted workflows.
    Error codes are returned as well if something goes wrong. So a check with your script for an %errorlevel% < 0 will allow you to stop your script if something went wrong.

    I don't have a 5.5.1 system, so if someone can supply me with a .mp4 that works for them on 5.5.1 that would be great.
     
    rw-r-r_0644 and Blackspoon like this.
  15. Kakkoii
    OP

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    Updated with more solid support for 5.5.0 and 5.5.1.
    Thanks to @rw-r-r_0644 for supplying a working 5.5.1 mp4 file for me to examine.

    Hopefully can get some feedback from others!

    Added :)
     
    Last edited by Kakkoii, Mar 5, 2016
    supermalloch and Antonio Ricardo like this.
  16. Blackspoon

    Blackspoon Member

    Newcomer
    29
    9
    Feb 19, 2016
    Gambia, The
    next to the blackfork
    Its perfect for my purpose. This is a damn great tool.
     
  17. Primosete

    Primosete Newbie

    Newcomer
    2
    1
    Jun 29, 2014
    Thks a lot for this great tool
     
  18. Kakkoii
    OP

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    Here's an experimental version that needs to be tested on other versions than 5.4.0 before I release it.
    It should allow .BIN payloads of up to 29832 bytes (29.13kb), instead of the 20480 bytes that the current modified PHP files are able to do.
    Hopefully will allow people to make some nicer homebrew on 5.5.0/5.5.1 especially.

    I can't test it for 5.3.2/5.5.0/5.5.1, so anyone on that version that can test this with a >24kb .bin file would be helpful. (just fill it with a bunch of unused functions or something to bloat it.)
     

    Attached Files:

    Last edited by Kakkoii, Mar 6, 2016
    Net-KILLER likes this.
  19. smallchoi

    smallchoi Member

    Newcomer
    44
    0
    Feb 29, 2016
    Saint Kitts and Nevis
    how do i use it
     
  20. smallchoi

    smallchoi Member

    Newcomer
    44
    0
    Feb 29, 2016
    Saint Kitts and Nevis
    where could i find mp4 which mp4