League of Extraordinary Multiboxers
Posts: 584
Joined: Wed Sep 19, 2012 7:37 am
Location: Omaha, NE
Is it Possible to Change Resolution on the Fly?
My full screen monitor is 1440 x 870, leaving room for the taskbar. The attached window layout is two 720 x 870 for side by side display, focus follows mouse, with a third, empty reset region of 1440 x 870 always on top in which I can move either display to with a Mapped Key for full screen. The slots are focusing properly; however, the view is obviously distorted when both slots are in the background 720 x 870 slot.
All I really need to see the majority of the time is if the characters are facing the proper direction. The 720 x 870 works fine for this, it's mostly irrelevant if the view is too small, compressed or distorted. When I need to read the fine print, or interact with a merchant, etc, I move the slot to the active region of 1440 x 870 and the view is correct and undistorted.
Here's where I'm stuck. I would like the side by side 720 x 870 views to have an actual resolution of 720 x 870 for an undistorted view, and the always on top full screen view to have an actual resolution of 1440 x 870 for a normal, full screen view.
I think what I want is 5 regions with two swap groups (this is purely a guess):
Region 1: Slot 1, Swap Group 1, 720 x 870 size at location 0, 0
Region 2: Slot 2, Swap Group 1, 720 x 870 size at location 720, 0
Region 3: No Slot, Reset Region for Swap Group 1, 720 x 870
Region 4: No Slot, Swap Group 2, 1440 x 870 size at location 0, 0
Region 5: No Slot, Reset Region for Swap Group 2, 1440 x 870
Then I need to add some "New Window Style Action stuff" to the Mapped Key containing the already existing "New Window State Actions" to handle the resolution changes?
WINDOW LAYOUT
- Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ObjectType>ISBoxer_Toolkit.Configs.WindowLayout</ObjectType>
<SerializedObject><?xml version="1.0" encoding="utf-8"?>
<WindowLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UserScreenSet>
<AllScreens>
<UserScreen>
<Bounds>
<Left>0</Left>
<Top>0</Top>
<Width>1440</Width>
<Height>900</Height>
</Bounds>
<WorkingArea>
<Left>0</Left>
<Top>0</Top>
<Width>1440</Width>
<Height>870</Height>
</WorkingArea>
<Primary>true</Primary>
<DeviceName>\\.\DISPLAY1</DeviceName>
</UserScreen>
</AllScreens>
<Name>&lt;Window Layout-specified&gt;</Name>
</UserScreenSet>
<Name>720 x 870 Tiled</Name>
<Description>This Window Layout features stacked windows with no border, the size of the full screen, on \\.\DISPLAY1. Swapping disabled. Leaves space for the Windows taskbar. This style is great in conjunction with Video FX to see parts of, or all of, the other windows.</Description>
<FocusFollowsMouse>true</FocusFollowsMouse>
<InstantSwap>true</InstantSwap>
<SwapMode>Never</SwapMode>
<FocusClickMode>ApplicationDefined</FocusClickMode>
<RolloverStyle>
<Enabled>false</Enabled>
<Scale>1.5</Scale>
<Rollup>false</Rollup>
<Frames>10</Frames>
</RolloverStyle>
<Regions>
<Region>
<CharacterSetSlot>1</CharacterSetSlot>
<SwapGroup>0</SwapGroup>
<Permanent>true</Permanent>
<AlwaysOnTopMode>Normal</AlwaysOnTopMode>
<Rect>
<Left>0</Left>
<Top>0</Top>
<Width>720</Width>
<Height>870</Height>
</Rect>
<BorderStyle>None</BorderStyle>
</Region>
<Region>
<CharacterSetSlot>2</CharacterSetSlot>
<SwapGroup>0</SwapGroup>
<Permanent>true</Permanent>
<AlwaysOnTopMode>Normal</AlwaysOnTopMode>
<Rect>
<Left>720</Left>
<Top>0</Top>
<Width>720</Width>
<Height>870</Height>
</Rect>
<BorderStyle>None</BorderStyle>
</Region>
<Region>
<CharacterSetSlot>0</CharacterSetSlot>
<SwapGroup>0</SwapGroup>
<Permanent>true</Permanent>
<AlwaysOnTopMode>SometimesOnTop</AlwaysOnTopMode>
<Rect>
<Left>0</Left>
<Top>0</Top>
<Width>1440</Width>
<Height>870</Height>
</Rect>
<BorderStyle>None</BorderStyle>
</Region>
</Regions>
<SwapGroups>
<SwapGroup ResetRegion="2" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="0" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="1" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="2" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="3" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="4" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="5" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="6" />
<SwapGroup ResetRegion="-1" ActiveRegion="-1" PiPSqueakSlot="0" DeactivateSwapGroup="7" />
</SwapGroups>
</WindowLayout></SerializedObject>
</Box>
MAPPED KEY
- Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ObjectType>ISBoxer_Toolkit.Configs.KeyMaps.MappedKey</ObjectType>
<SerializedObject><?xml version="1.0" encoding="utf-8"?>
<MappedKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>Activate IS1:IS2</Name>
<Description />
<SendNextClickBlockLocal>false</SendNextClickBlockLocal>
<ManualLoad>false</ManualLoad>
<ResetTimer>0</ResetTimer>
<ResetType>Never</ResetType>
<Mode>Default</Mode>
<Steps>
<Step>
<Stick>0</Stick>
<Stop>false</Stop>
<Stump>false</Stump>
<Actions>
<MappedKeyAction xsi:type="WindowStateAction">
<Target>SYSTEM2-2012-06.is1</Target>
<RegionType>Reset</RegionType>
<Action>Fast</Action>
<DeactivateOthers>false</DeactivateOthers>
</MappedKeyAction>
<MappedKeyAction xsi:type="WindowStateAction">
<Target>SYSTEM2-2012-06.is2</Target>
<RegionType>Background</RegionType>
<Action>Fast</Action>
<DeactivateOthers>false</DeactivateOthers>
</MappedKeyAction>
</Actions>
</Step>
<Step>
<Stick>0</Stick>
<Stop>false</Stop>
<Stump>false</Stump>
<Actions>
<MappedKeyAction xsi:type="WindowStateAction">
<Target>SYSTEM2-2012-06.is1</Target>
<RegionType>Background</RegionType>
<Action>Fast</Action>
<DeactivateOthers>false</DeactivateOthers>
</MappedKeyAction>
<MappedKeyAction xsi:type="WindowStateAction">
<Target>SYSTEM2-2012-06.is2</Target>
<RegionType>Reset</RegionType>
<Action>Fast</Action>
<DeactivateOthers>false</DeactivateOthers>
</MappedKeyAction>
</Actions>
</Step>
<Step>
<Stick>0</Stick>
<Stop>false</Stop>
<Stump>false</Stump>
<Actions>
<MappedKeyAction xsi:type="WindowStateAction">
<Target>SYSTEM2-2012-06.is1</Target>
<RegionType>Background</RegionType>
<Action>Fast</Action>
<DeactivateOthers>false</DeactivateOthers>
</MappedKeyAction>
<MappedKeyAction xsi:type="WindowStateAction">
<Target>SYSTEM2-2012-06.is2</Target>
<RegionType>Background</RegionType>
<Action>Fast</Action>
<DeactivateOthers>false</DeactivateOthers>
</MappedKeyAction>
</Actions>
</Step>
</Steps>
</MappedKey></SerializedObject>
</Box>
Is this even possible?
If so, How will it perform when force swapping from 720 to 1440? I don't mind a flicker or delay as this will mostly be done in town or quest hubs, not during combat.
What do I need to add to what I have to get this working?
Thank you.