The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.


Reply
 
Thread Tools
  #1    
Old September 4th, 2013, 05:33 PM
Peaverin's Avatar
Peaverin
 
Join Date: Sep 2013
Gender: Male
I saw in the Essentials suggestions post that someone asked for creating a new game.exe that doesn't stop updating the game while the window is minimized. Luckily, I remember that I saw that in a brazilian forum. By the way, this script also works with normal rpg maker xp projects.

Here's a video demonstration (tested with my current project).
Spoiler:
I put a link because if I directly put the video with the youtube tags it doesn't work(at least for me)http://www.youtube.com/watch?v=uIm6zUbTMDU

Anyways, here's the modified game.exe and the set-up tutorial. It has compatibility with Win32API based systems, so it will work with Pokemon Essentials. Read carefully all the steps:

-First of all create a security copy of your project! This should be done everytime you add something new to your project. You never know if you're downloading something that can corrupt your game!
-Download the new game.exe and replace it with your actuall game.exe. Link:
Note that some antiviruses and even your explorer can say that this file contain virus etc... You decide what to do but I can say I'm 100% it won't damage your computer.
-Then create a new script ABOVE ALL YOUR SCRIPTS! It's just one line but you'll need to put it:
Code:
cidi_dk_set_window_proc
-There's a problem: if you don't select the game window, it will be still updating but the input will be still working. To fix this just put this script above main:
Code:
module Input
  class << self
    alias cidi_dk_alias_update update
    def update(*args)
      return unless $WindowRunning
      cidi_dk_alias_update(*args)
    end
  end
end
-Finished! Test it and it should work without any problem!

Note: I wouldn't implement this "system" in my project until i haven't it finished for a release. I'm not sure if it may cause problems with the compiling system(maybe it works fine, but just in case...).

CREDITS TO:
Cidiomar (a brazilian scripter)
I don't know if the scripter gives the permission of posting that in other forums. I asked him about doing it but it seems that he is no longuer active.
I don't want to be disrespectful to him, so here's a link to the original brazilian forum post:
__________________
Click Here to enter my project's Webpage!
Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me

Last edited by Peaverin; September 4th, 2013 at 05:44 PM. Reason: Forgot the download link xD
Reply With Quote
  #2    
Old September 6th, 2013, 07:47 AM
Peaverin's Avatar
Peaverin
 
Join Date: Sep 2013
Gender: Male
Quote:
Originally Posted by bartyboy6 View Post
hey man, thanks for the virus
This doesn't contain any virus man... I'm sure you haven't at least tried it.
PD: Guys, this post has had 300 views and just 1 noob comment... Please comment if you liked it!
__________________
Click Here to enter my project's Webpage!
Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me
Reply With Quote
  #3    
Old September 6th, 2013, 11:26 AM
Alexandre's Avatar
Alexandre
 
Join Date: Mar 2005
Age: 19
Nature: Lonely
Quote:
Originally Posted by bartyboy6 View Post
hey man, thanks for the virus
No virus and works as advertised.

Thanks for this Peaverin, was looking for this exact thing the other day, is very useful for my project.
Reply With Quote
  #4    
Old September 27th, 2013, 05:57 AM
Luka S.J.'s Avatar
Luka S.J.
S.J.Ware HD
 
Join Date: Dec 2008
Age: 21
Gender: Male
Nature: Adamant
I tested this out a while ago. The only problem there is with this method, is that the viewports get cut off at 640x480 if they are larger than 640x480. Meaning that you can't change your screensize to anything bigger than that. But since Essentials works at 512x384, that's not a problem - only becomes one to those who customize their stuff. I haven't looked into why that happens yet. If I find something, I'll post it here.
__________________
[STOPPED][DEMO] Pokemon Blue Chrome
[DEVELOPING] S.J.Ware
[DEVELOPING] Tykanite
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 12:08 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.