Jump to content

[GUI] Default theme add-on: Legacy PC window


Recommended Posts

ezgif-1-28853c2954.thumb.gif.a216835771d6ad49387d462eaa9d5e7f.gif

This was a lot of fun to make, a little something for everyone stuck in the past.

Requirements: notepad-plus-plus or other text editor that has line count and syntax high-lighting

How to install:

1. open the gfx_ui.xml and pc.xml
2. inside the gfx_ui.xml add the following above the area "button-npc-dark.selected":

        <composed name="pc.background">
            <alias ref="ui-inner-frame-tab.background" inset="0,275,0,0"/>
        </composed>


3. inside the pc.xml replace lines 4-37 with the following:

  <theme name="pc-frame" ref="base-frame">
    <param name="background"><image>pc.background</image></param>
        <param name="titleAreaLeft"><int>285</int></param>
    <param name="border"><border>34,6,6,0</border></param>
    <theme name="pc-box-button" ref="button">
      <param name="background"><image>ui-button.background</image></param>
      <param name="textAlignment"><enum type="alignment">center</enum></param>
      <param name="border"><border>3,12</border></param>
    </theme>
    <theme name="preview-frame" ref="-defaults">
        <param name="maxWidth"><int>1</int></param>
        <param name="font"><font>symbols-white</font></param>
      <theme name="label" ref="-defaults" allowWildcard="true">
        <param name="border"><border>9999</border></param>
        <param name="maxWidth"><int>1</int></param>
        <param name="font"><font>symbols-white</font></param></theme>
      <theme name="monster-name-label" ref="label" allowWildcard="true"></theme>
      <theme name="label-title" ref="label" allowWildcard="true"></theme>
      <theme name="label-markup" ref="label" allowWildcard="true"></theme>
      <theme name="label-hidden-ability" ref="label"></theme>
      <theme name="border-container" ref="label"></theme>
    </theme>


4. inside the pc.xml find the value "box-name" and change its background parameter from none to:

editfield.background


That's it, enjoy.

Unfixable known issues:
- empty space on left side of window, can't drag all the way to left side of PokeMMO window
- doesn't auto center on opening (technically fixable, but then you wouldn't be able to move the window at all.)

Thanks @realmadrid1809 for taking my crazy initial pitch and making it a reality

This was a pretty silly edit, but goes to show what is achievable if you think outside the box.
There's so many things you can still do with this game. Never stop looking forward.
 

Edited by nurver9
undo bold
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.