Allegiance Resolution Changer

Allegiance discussion not belonging in another forum.
badpazzword
Posts: 3627
Joined: Thu Jan 12, 2006 8:00 am
Contact:

Post by badpazzword »

A recently posted KB topic explains how to change the resolution by manually tweaking the registry. It correctly underlines the importance of being very wary when hand modifying the registry.

Well, I built a little app to help change it without touching the registry. Just in case you don't trust putting your hands in there.

You may/will need admin rights, as always.

Download version 0.3 (updated) (68 Kb)

Credits go to All-Api, Documentation staff, Bunnywabbit, aem, Dogbones, Eclipse.

EDIT: Typos.
Last edited by badpazzword on Wed May 30, 2007 4:41 pm, edited 1 time in total.
Have gaming questions? Get expert answers! Image Image
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

oh cool /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
Enfyrneaux
Posts: 101
Joined: Thu Nov 17, 2005 8:00 am
Location: California

Post by Enfyrneaux »

Your app touches the registry instead of the user, to be precise.
That said, this is awesome for us UMPC users with crazy proportions like 800x480.
Last edited by Enfyrneaux on Tue May 29, 2007 8:38 pm, edited 1 time in total.
[sig][/sig]Image
Image
badpazzword
Posts: 3627
Joined: Thu Jan 12, 2006 8:00 am
Contact:

Post by badpazzword »

I did say it's a little app. Nothing special. But you need to begin with little stuff, don't you? /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
Have gaming questions? Get expert answers! Image Image
aem
Posts: 1471
Joined: Sat Apr 02, 2005 8:00 am
Location: Charlotte, NC

Post by aem »

Well I opened it up and was getting errors left and right. Everytime I open it "Error 383 at line 22 in frmMain.frm.Form_Load)." 'Text' property is read-only

Whenever I click Cancel "Error 5 at line 8 in frmMain.frm.Command1_Click" Invalid procedure call or argument.


Hopefully someday I'll learn the DirectX calls necessary to grab the resolutions supported by the graphics device or someone else can code it up. I've tried to find it but haven't found it so far. Allegiance should grab the supported resolutions from each player and have those selectable in game.
badpazzword
Posts: 3627
Joined: Thu Jan 12, 2006 8:00 am
Contact:

Post by badpazzword »

I think I got the problem is. The app tries to be smart and automagically sets the resolution in the drop down list to match your windows resolution. This is the resolution you most likely want for a number of reasons. But if the resolution is not found in the drop down list, the assignment fails and an exception is raised. A standard, useless, error handler catches the exception, warns the user and keeps the application alive. VB6 can be so much of a @#(! with error handling...

But enough with technical details. I suggest against downloading the tool until this is fixed and a new version is pushed out - which given the time will happen in around 18/24 hours.

To confirm my theory: aem, what is your Windows resolution?

Thanks!
Have gaming questions? Get expert answers! Image Image
badpazzword
Posts: 3627
Joined: Thu Jan 12, 2006 8:00 am
Contact:

Post by badpazzword »

I think I got the problem is. The app tries to be smart and automagically sets the resolution in the drop down list to match your windows resolution. This is the resolution you most likely want for a number of reasons. But if the resolution is not found in the drop down list, the assignment fails and an exception is raised. A standard, useless, error handler catches the exception, warns the user and keeps the application alive. VB6 can be so much of a @#(! with error handling...

But enough with technical details. The thing is fixed so go grab the new version!

To confirm my theory: aem, what is your Windows resolution?

Thanks!

EDIT: Updated.
Last edited by badpazzword on Thu May 31, 2007 3:20 pm, edited 1 time in total.
Have gaming questions? Get expert answers! Image Image
Dogbones
Posts: 2721
Joined: Mon Nov 24, 2003 8:00 am
Location: Virginia

Post by Dogbones »

badpazzword wrote:QUOTE (badpazzword @ May 29 2007, 06:37 PM) This is the resolution you most likely want for a number of reasons.
I think this is a bad assumption. Given that the info panels do not scale, I for one do not run in full screen mode at the resolution I keep my desktop at 1600x1200 ... I'd need a magnifying glass tapped to my flat panel over the mini-map /doh.gif" style="vertical-align:middle" emoid=":doh:" border="0" alt="doh.gif" />
Image
DOG PROPERTY LAWS:
2. If it's in my mouth, it's mine.
[unless it tastes bad, then it is yours.]
Gandalf2
Posts: 3943
Joined: Wed Oct 13, 2004 7:00 am
Location: W. Midlands, UK

Post by Gandalf2 »

Lack of scaling is why I'm still running alleg at 800x640. Those boxes are just to darn small otherwise.

Though that may change if I get my PC working through my 28" TV next week!
Image
Image
spideycw - 'This is because Grav is a huge whining bitch. But we all knew that already' Dec 19 2010, 07:36 PM
aem
Posts: 1471
Joined: Sat Apr 02, 2005 8:00 am
Location: Charlotte, NC

Post by aem »

My resolution is 1272 x 768 because I was never able to get my bargain HDTV to display right at 1280x768 which is its native resolution. It does look excellent, just the 8 pixels on the right side are black but thats not very noticeable.
Last edited by aem on Tue May 29, 2007 11:58 pm, edited 1 time in total.
Post Reply