Hacking Convert bin to mp4 without hosting a php server

  • Thread starter Thread starter vgmoose
  • Start date Start date
  • Views Views 1,625
  • Replies Replies 6
  • Likes Likes 2

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
365
Reaction score
1,054
Trophies
2
Website
github.com
XP
3,552
Country
United States
The current recommended way to make an mp4 file is to host a php server with wiiuhaxx.php, visit the URL in a browser, and save the page as an mp4. BUT...

Another way is to run the php script from the bash terminal, with the script in the same directory as the codeXXX.bin:
Code:
php -r '$_REQUEST["sysver"]="550"; require_once("wiiuhaxx.php");' > output.mp4

This requires php be installed, but doesn't need a running server! There's no real advantage is provided by this, but it might make things easier for a very small subset of people.
 
  • Like
Reactions: Kafluke and pwsincd
The current recommended way to make an mp4 file is to host a php server with wiiuhaxx.php, visit the URL in a browser, and save the page as an mp4. BUT...

Another way is to run the php script from the bash terminal, with the script in the same directory as the codeXXX.bin:
Code:
php -r '$_REQUEST["sysver"]="550"; require_once("wiiuhaxx.php");' > output.mp4

This requires php be installed, but doesn't need a running server! There's no real advantage is provided by this, but it might make things easier for a very small subset of people.
Or you could just use this. No need for php to be installed.

https://gbatemp.net/threads/tool-bin2mp4.417414/
 
True but it's drag and drop and most people have at least one PC in their home.
Well, for example, my use case for this is putting it in my Makefile so that an mp4 is automatically generated and uploaded to a static server (such as dropbox, google drive, or github pages).

Another use case would be on a server where you don't want to configure php hosting, because you don't host other php things, but do want to be able to compile a Wii U project in a runnable form on it.

So in terms of time saving on small things like that, it's nice to have another option available. However, that is a pretty cool program you linked, and it also has a command line usage for people compiling on Windows.
 
Last edited by vgmoose,
  • Like
Reactions: Kafluke
Well, for example, my use case for this is putting it in my Makefile so that an mp4 is automatically generated and uploaded to a static server (such as dropbox, google drive, or github pages).

Another use case would be on a server where you don't want to configure php hosting, because you don't host other php things, but do want to be able to compile a Wii U project in a runnable form on it.

So in terms of time saving on small things like that, it's nice to have another option available. However, that is a pretty cool program you linked, and it also has a command line usage for people compiling on Windows.
Yeah, it's a good one. It keeps getting buried and it's hard to find but every now and then I get a request for an mp4 and I use it.

Keep up the great work. We appreciate your contribution to the scene!
 
  • Like
Reactions: vgmoose
Well, for example, my use case for this is putting it in my Makefile so that an mp4 is automatically generated and uploaded to a static server (such as dropbox, google drive, or github pages).

Another use case would be on a server where you don't want to configure php hosting, because you don't host other php things, but do want to be able to compile a Wii U project in a runnable form on it.

So in terms of time saving on small things like that, it's nice to have another option available. However, that is a pretty cool program you linked, and it also has a command line usage for people compiling on Windows.
My app that Kafluke posted works as a command line tool as well, it's in the description :)
 

Site & Scene News

Popular threads in this forum