Jump to content


Photo

game requires Run as Administrator


  • Please log in to reply
5 replies to this topic

#1 Donovan9830

Donovan9830

    GMC Member

  • GMC Member
  • 38 posts
  • Version:Unknown

Posted 02 July 2012 - 08:18 AM

Hello,

My current project has lots of included files. It seems that when the game surpassed 100MB in size (the compiled file), running the game no longer allowed the inclusion of external files unless the game is run as administrator. Is there a way to deal with the player's security settings so that this is no longer necessary?

I have a smaller version of the game with only two levels for demo purposes that doesn't have this problem, which leads me to think a security measure kicks in if the file grows beyond a certain weight (probably 100MB).

Thanks!
  • 0

#2 Jack Indie Box

Jack Indie Box

    GMC Member

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

Posted 02 July 2012 - 09:27 AM

no idea. but how about you dont package up all ther files in the included files? so have some folders with the resources? not many comercial games just come out as 1 file
  • 0

#3 Desert Dog

Desert Dog

    GMC Member

  • Global Moderators
  • 6409 posts
  • Version:Unknown

Posted 02 July 2012 - 09:29 AM

Whoops, sorry, wrong section! Moved to GameMaker-Windows discussion forum.
  • 0

#4 icymx

icymx

    Patrick Brett

  • GMC Member
  • 790 posts
  • Version:GM8

Posted 05 July 2012 - 02:22 PM

I can't help you with the problem, but I do have some advice - including that much data into your game is going to put a massive drain on your users' proccessing power.

Try to make as many things as possible load externally - music, backgrounds, even some sound effects. Doing that will make your game load faster and simultaneously solve your problem.

EDIT: Just realized...
"I can't solve your problem, but..."
"... and that should solve your problem."

I may contradict myself, but at least I don't contradict myself.

Edited by icymx, 05 July 2012 - 02:30 PM.

  • 1

#5 Jack Indie Box

Jack Indie Box

    GMC Member

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

Posted 05 July 2012 - 03:37 PM

proccessing power


will less likely affect the cpu than the ram. but i agree with the rest
  • 0

#6 Donovan9830

Donovan9830

    GMC Member

  • GMC Member
  • 38 posts
  • Version:Unknown

Posted 05 July 2012 - 04:18 PM

Thanks everyone.

I do load things externally. Everything except sound & music. I think the problem is that all my images are included files though, and the game exports them into the local program folder upon loading. Up to a certain amount of files written Windows lets it pass, but apparently beyond a certain point some kind of malware security kicks in. I don't see what else it could be since running as administrator works. So I'll try to wrap them in the installer instead so it doesn't have to write. Hopefully that'll do it.

About the external files I have found little or no incidence from externalizing music files in GM8 (but it did have a big impact before) which is why they're not externalized.

I was hoping there'd be a way to have the windows security leave it alone that I didn't find but oh well :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users