Jump to content


Photo

GM4MAC AVI's don't work?


  • Please log in to reply
3 replies to this topic

#1 OrNothing

OrNothing

    GMC Member

  • New Member
  • 13 posts
  • Version:Mac

Posted 13 March 2012 - 04:57 PM

I know there have been topics about this, I'm just bringing it up again in the hope that there has since been a solution. basically I can't get AVI video files to play. I have a company logo video and cutscene, I want the order of my game to be (by room):

1. Company Logo
2. Game Menu
3. Cutscene
4. Level 1

But the AVI's don't seem to work at all.

Is there somewhere I can see a detailed step by step guide on how to do this via D&D or GML?

Thanks!
  • 0

#2 1 Shogun

1 Shogun

    GMC Member

  • GMC Member
  • 40 posts
  • Version:Mac

Posted 14 March 2012 - 01:07 AM

As far as I know, because no one will help me on this either, GM4Mac will not play splash videos. I have tried just about every format (mpeg-[all forms], avi, flv, wmv, etc.) and way(globally including and external loading) to play them and can't get it to work. And, don't bother posted a bug the "official" way (Mantis [GM4Mac bugs] or Mojo [Site and billing]) because Mantis hasn't replied to a GM4Mac bug issue since July 28, 2011, and it has only been updated twice since it's official release. Sorry, but unless someone figures out a way to play a splash video by calling a command via the Terminal (there is a dylib for using Terminal commands), we're out of luck. And because of GM9 (not GameMaker Studio) for Mac and PC coming soon, they probably don't see any money in fixing this. I of course disagree because if they can't get GM4Mac working right why should I trust GM9 to work either? You could "blah blah blah" about different programing languages being used to "improve" GM9 all day, but no one really cares how it works, just that it does. So, not fixing issues like this would be a very stupid move on YoYo's part. And trust me, if you haven't noticed already, GM4Mac is full of bugs. But I've often wondered if they don't fix its issues because if GM4Mac worked perfectly, with the tons of image and video editors out there, there would be no need for a GM9 for MacOSX (other than strict 64-bit users). Because when it comes down to it, the sprite editor is the only noticeable thing that gets improved when a new version comes out. They say loading time is faster but if I use external sprites and audio with no "preloading," I can't tell the difference between GM7 and GM8.
  • 0

#3 alexandervrs

alexandervrs

    GMC Member

  • GMC Member
  • 419 posts
  • Version:GM:Studio

Posted 18 March 2012 - 12:03 AM

Just a guess, but have you tried Apple .mov files as I suppose GameMaker would just show the video using the OS decoder (e.g. Quicktime)?
  • 0

#4 1 Shogun

1 Shogun

    GMC Member

  • GMC Member
  • 40 posts
  • Version:Mac

Posted 18 March 2012 - 03:38 PM

I don't know about "alexandervrs" or "OrNothing," but I can't get *.mov to work. Just tried it a couple of minutes ago. I used both "drag and drop" and code. I did have my external sound editors to all "Audacity" and then changed them to "QuickTime," but it didn't help. I have also tried other "splash" codes (images) to see if the problem is just video, it's not. None of them work. You may have to set up a room with a large sprite and many sub-images plus sound to get a "video effect." And just in case anyone else is checking on this thread, I also have the Perian plugin, DIVX, and Flip4Mac with no trouble playing video online or offline.

What you could also do is contact "ugriffin" to fix his download links to GMac Terminal found here: http://gmc.yoyogames...howtopic=492014 and then use the following code to QuickLook the video:

qlmanage -p [file path plus video goes here without brackets] >& /dev/null &

Or, maybe you could rearrange the order in which you want the video played, and create a shell script that opens QuickLook to view the video, sleeps the video length of seconds, and then opens the game app.

However, the video may not play automatically, and I have no idea if you could create a shell script to run multiple commands in order to quit the Terminal at the end. So, until the links are fixed, I can only speculate as to if this will work. And, I wish someone else would comment on this thread because I posted a thread about this a while back, but all I got was a comment as to "it's probably a bug" rather than something useful like (though still appreciated): "I can't get it to work either." Apparently no one using GM4Mac has actually tried to play a splash video except you and I.

If you do decide to get ahold of "ugriffin" and the link is fixed, could you please post the link here too...
...I really doubt YoYo will fix this bug.

*Edit:

If you do use the large sprite idea, you should probably try to load an animated gif image externally to save space and loading time, or just use a couple of small animated sprites and a couple of backgrounds. I don't really know anything about your game idea, whether it's 2d or 3d...just saying.

Edited by 1 Shogun, 18 March 2012 - 03:54 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users