FANDOM


Adding Additional Resolution Options
This tutorial is deprecated. It is no longer relevant to the latest version of Pokémon Essentials.

This tutorial was written by HighTechnocrat. Please give credit.

Click here for more tutorials!


By default, Pokémon Essentials can display in two resolutions: 256x192, and 512x384. While these resolutions are fine on a Game Boy, they are fairly small on a large monitor.

If you want to increase the screen size, but don't actually want to add additional options in the Options menu, change the values of DEFAULTSCREENWIDTH and DEFAULTSCREENHEIGHT in the Settings script.

Open the PokemonOptions script, and go to line #364:

 screensize1=_INTL("{1}x{2}",DEFAULTSCREENWIDTH/2,DEFAULTSCREENHEIGHT/2)
 screensize2=_INTL("{1}x{2}",DEFAULTSCREENWIDTH,DEFAULTSCREENHEIGHT)

Add a third screensize:

 screensize1=_INTL("{1}x{2}",DEFAULTSCREENWIDTH/2,DEFAULTSCREENHEIGHT/2)
 screensize2=_INTL("{1}x{2}",DEFAULTSCREENWIDTH,DEFAULTSCREENHEIGHT)
 screensize3=_INTL("{1}x{2}",DEFAULTSCREENWIDTH*2,DEFAULTSCREENHEIGHT*2)

These three options determine what the Options menu will display. Because of the length of the text, the three options may become somewhat squished. If you prefer, you can change the screensize options above to something more readable:

 screensize1=_INTL("Small")
 screensize2=_INTL("Medium")
 screensize3=_INTL("Large")

Go to line #408:

 EnumOption.new(_INTL("Screen Size"),[screensize1,screensize2],
   proc { $PokemonSystem.screensize },
   proc {|value|
     oldvalue=$PokemonSystem.screensize
     $PokemonSystem.screensize=value
     $ResizeOffsetX=0
     $ResizeOffsetY=0
     pbSetResizeFactor([0.5,1.0][value])
     if value!=oldvalue
       ObjectSpace.each_object(TilemapLoader){|o| next if o.disposed?; o.updateClass }
     end
   }
 )

Update the code here to look like this:

 EnumOption.new(_INTL("Screen Size"),[screensize1,screensize2,screensize3],
   proc { $PokemonSystem.screensize },
   proc {|value|
     oldvalue=$PokemonSystem.screensize
     $PokemonSystem.screensize=value
     $ResizeOffsetX=0
     $ResizeOffsetY=0
     pbSetResizeFactor([0.5,1.0,2.0][value])
     if value!=oldvalue
       ObjectSpace.each_object(TilemapLoader){|o| next if o.disposed?; o.updateClass }
     end
   }
 )

When you launch the game, open the Options menu and you will see a third option for 1024x768. The menu will look a little bit scrunched by all of the text, but everything will work fine.

Enjoy the pixely goodness.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.