Jump to content


Photo

How to update the Runners SOLVED


  • Please log in to reply
15 replies to this topic

#1 Weird Dragon

Weird Dragon

    GMC Member

  • Global Moderators
  • 1916 posts
  • Version:GM:Studio

Posted 01 July 2012 - 04:46 PM

You know when you launch Studio you now and then get a window teliing about updates that you can install.
In that window there is always this message:

NOTE: ****** Remember to update the Runners to the latest version whenever you update Studio *****


Now my question is: How do you update the runners?

I have Studio + the HTML5 module. As far as I can see that means I have 3 runners, a runner for Windows, a runner for Mac OS X and a runner for HTML5. So everytime I install the updates I am supposed to update those 3 runners. I have found no answer on how to do that here on GMC, so maybe everyone but me know since they haven't asked about it. I couldn't find an answer on the YoYo Games site or on the YoYo Games Game Maker Wiki either nor does the Studio help file reveal the secret.

I have a hard time believing that I would need to download and re-install Studio and HTML5 everytime in order to update those runners, so I haven't done that, but what else is there to do?

Or rather: What have I missed?

Edited by Weird Dragon, 01 July 2012 - 05:59 PM.
Added SOLVED

  • 0

#2 Hugo_Peters

Hugo_Peters

    herp derp

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

Posted 01 July 2012 - 04:58 PM

You only have to update the runners for iOS, Android and Mac. Windows and HTML5 are updated when you install the new update.
  • 0

#3 LaikeEndaril

LaikeEndaril

    GMC Member

  • New Member
  • 24 posts

Posted 01 July 2012 - 05:06 PM

The Mac runner automatically updates, as well.

Here's a topic that explains the runner updating:

http://gmc.yoyogames...howtopic=538006

Edited by LaikeEndaril, 01 July 2012 - 05:08 PM.

  • 1

#4 Hugo_Peters

Hugo_Peters

    herp derp

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

Posted 01 July 2012 - 05:12 PM

The Mac runner automatically updates, as well.

Here's a topic that explains the runner updating:

http://gmc.yoyogames.com/index.php?showtopic=538006

Oh okay, didn't know that! Never used the Mac runner.
  • 0

#5 LaikeEndaril

LaikeEndaril

    GMC Member

  • New Member
  • 24 posts

Posted 01 July 2012 - 05:41 PM


The Mac runner automatically updates, as well.

Here's a topic that explains the runner updating:

http://gmc.yoyogames.com/index.php?showtopic=538006

Oh okay, didn't know that! Never used the Mac runner.


Me neither, I just read about it while looking around. :)
  • 0

#6 kburkhart84

kburkhart84

    GMC Member

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

Posted 01 July 2012 - 05:42 PM

I'm pretty sure the Android runner also updates automatically, but not by choice, rather because Google didn't provide a way to "stop" the running program except by forcing the file to be replaced. I don't remember which topic it was in, but Russell is the one who mentioned it I'm pretty sure.
  • 0

#7 Hugo_Peters

Hugo_Peters

    herp derp

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

Posted 01 July 2012 - 05:56 PM

I'm pretty sure the Android runner also updates automatically, but not by choice, rather because Google didn't provide a way to "stop" the running program except by forcing the file to be replaced. I don't remember which topic it was in, but Russell is the one who mentioned it I'm pretty sure.

No. You have to remove the old YoYoRunner.apk file and install the new one.
  • 0

#8 Weird Dragon

Weird Dragon

    GMC Member

  • Global Moderators
  • 1916 posts
  • Version:GM:Studio

Posted 01 July 2012 - 05:56 PM

Thanks for the replies. Posted Image

Amazing that I didn't find the topic which LaikeEndaril gave a link to. As a moderator I recommend users to use the search function, so of course I use it myself. Well, I suppose I wasn't awake at the moment.

Anyway, a mystery has been solved.
  • 0

#9 LaikeEndaril

LaikeEndaril

    GMC Member

  • New Member
  • 24 posts

Posted 01 July 2012 - 06:11 PM

Thanks for the replies. Posted Image

Amazing that I didn't find the topic which LaikeEndaril gave a link to. As a moderator I recommend users to use the search function, so of course I use it myself. Well, I suppose I wasn't awake at the moment.

Anyway, a mystery has been solved.


Google's search engine is better than GMC's ;)

In google:
"update runner" site:gmc.yoyogames.com

  • 1

#10 kburkhart84

kburkhart84

    GMC Member

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

Posted 02 July 2012 - 04:01 AM


I'm pretty sure the Android runner also updates automatically, but not by choice, rather because Google didn't provide a way to "stop" the running program except by forcing the file to be replaced. I don't remember which topic it was in, but Russell is the one who mentioned it I'm pretty sure.

No. You have to remove the old YoYoRunner.apk file and install the new one.


When Google allow me to kill a running activity then I will stop installing the runner each time - currently the only way to kill any running process is to reinstall it...

I may add a check to see if the runner is already running and if it is not then not reinstall... though do not hold your breath for that one.

RUssell


This quote was made by Russell in this topic. I had to search for it but I found it. It leads me to believe that the runner is being installed each time with the Android OS. Did I mis-understand the post?
  • 0

#11 LaikeEndaril

LaikeEndaril

    GMC Member

  • New Member
  • 24 posts

Posted 03 July 2012 - 01:50 AM



I'm pretty sure the Android runner also updates automatically, but not by choice, rather because Google didn't provide a way to "stop" the running program except by forcing the file to be replaced. I don't remember which topic it was in, but Russell is the one who mentioned it I'm pretty sure.

No. You have to remove the old YoYoRunner.apk file and install the new one.


When Google allow me to kill a running activity then I will stop installing the runner each time - currently the only way to kill any running process is to reinstall it...

I may add a check to see if the runner is already running and if it is not then not reinstall... though do not hold your breath for that one.

RUssell


This quote was made by Russell in this topic. I had to search for it but I found it. It leads me to believe that the runner is being installed each time with the Android OS. Did I mis-understand the post?


He's saying that the Yoyo Games runner for Android (which is built into any game you export for Android) is installing each time ON THE ANDROID (when you play the game on the Android). This doesn't really have anything to do with which runner you have installed on your computer (except that the runner it installs on the Android is whichever one you had installed on your computer when you last compiled and exported the game).

In other words, it doesn't pertain to your question at all. XD
  • 0

#12 kburkhart84

kburkhart84

    GMC Member

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

Posted 03 July 2012 - 02:34 AM

I'm not the one asking about it, but yes, it would be important for the OP's question, because that runner that is getting re-installed each time(on android, not iOS) is the one that we are being advised to reinstall each update. The way Russell's quote appears to me is that because you can't stop an app from running on Android(as in Google has not provided a way) the only way to stop it is to force reinstall it. If that is happening, the new one would be overwriting the old one every time, and so we wouldn't have to reinstall it ourselves. In the case of iOS, and likely in the case of the Mac runner, we may have to reinstall, but it appears that in the case of Android we do not.
  • 0

#13 LaikeEndaril

LaikeEndaril

    GMC Member

  • New Member
  • 24 posts

Posted 04 July 2012 - 05:39 PM

I'm not the one asking about it, but yes, it would be important for the OP's question, because that runner that is getting re-installed each time(on android, not iOS) is the one that we are being advised to reinstall each update. The way Russell's quote appears to me is that because you can't stop an app from running on Android(as in Google has not provided a way) the only way to stop it is to force reinstall it. If that is happening, the new one would be overwriting the old one every time, and so we wouldn't have to reinstall it ourselves. In the case of iOS, and likely in the case of the Mac runner, we may have to reinstall, but it appears that in the case of Android we do not.


Ah, sorry. I quoted the wrong one.

Anyway, from what I understood, you have some version of the Android runner installed on your development computer, which ends up packaged with the game when you export it for Android use. Then, when it's installed on the Android, the Yoyo Games Android runner ON THE ANDROID re-installs automatically (because it's included in the final game export), but the runner ON YOUR COMPUTER doesn't update automatically when you update GM. And I also thought he was asking about the one on your computer, as that's what the error message seems to pertain to.

I don't know for sure if this is how it works, but it seems the most likely case to me. Basically, that error message is saying...

"If you update GM without updating the runner, the runner that's exported with your game may not have some recently added functionality that we used in the latest release of GM, so your game will glitch / crash / make your Android explode when you try to run it on the Android, because it's trying to use stuff that doesn't exist on the old, outdated runner that you're still exporting."

So...if it works the way I think it does, the runners for whatever system the game runs on will ALWAYS update automatically (to whichever version is included in the game itself; the one you had installed on your computer when you exported the game), regardless of which system it is. The runners on your computer, though (besides the Windows, Mac, and HTML5 runners), need to be updated manually, so that the one they programmed the newest version of GM around is included when you export your game. Now, this said, if the version of the runner included in your game is an older version than the version already on the playing system (Android), it might keep the newer version, or it might overwrite it with the older version...I can't take a guess at that one, because it depends on whether the OS uses the runner included in the game for THAT GAME ONLY, or if all games with a version of the runner install the runner to the same location, which would allow such a check and conditional overwrite.

Anyway, if someone knows for sure, I'm a bit curious now, too.
  • 0

#14 kburkhart84

kburkhart84

    GMC Member

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

Posted 04 July 2012 - 06:06 PM

I'm understanding that the runners on the development computer get updated, and per the quote I mentioned, the Android one does too(though not by choice). But the iOS and Mac ones would possibly not, because they are not on the same system that gets the updated studio version. The only reason the android would get it is because of what is mentioned in the quote, and I assume that at some point that could change.
  • 0

#15 rwkay

rwkay

    YoYo Games CTO

  • YoYo Games Staff
  • 1414 posts
  • Version:Unknown

Posted 04 July 2012 - 08:08 PM

On Android the runner is indeed installed when you are connected by a USB cable (and have the ADB drivers installed correctly) - if you do not connect by a USB cable and use the Wifi method then you need to install the YoYo Runner itself (so the advice still stands) - there are many ways to do this on android, like using Dropbox so not everyone uses a USB cable.

But if you do use a cable then the YoYo Runner is installed each time you press run (or debug).

Russell
  • 0

#16 LaikeEndaril

LaikeEndaril

    GMC Member

  • New Member
  • 24 posts

Posted 07 July 2012 - 07:38 AM

On Android the runner is indeed installed when you are connected by a USB cable (and have the ADB drivers installed correctly) - if you do not connect by a USB cable and use the Wifi method then you need to install the YoYo Runner itself (so the advice still stands) - there are many ways to do this on android, like using Dropbox so not everyone uses a USB cable.

But if you do use a cable then the YoYo Runner is installed each time you press run (or debug).

Russell


Thanks for the info, Russell. :)

If I get back into programming as much as I used to, I might go ahead and buy the Android add-on.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users