Determining the native resolution of an AGS game from it's executable.

Started by Calin Leafshade, Fri 25/03/2011 21:21:28

Previous topic - Next topic

Calin Leafshade

I'm trying to find a way to establish the native res of a game from its exe.

I assume this must be stored somewhere in the exe but I suck when it comes to hex editors and stuff like that.
Anyone with some expertise want to give it a go?

monkey0506

What do you need this information for? I'm guessing that you're hoping to find some way of reading this information programatically? Coz winsetup.exe can tell you the native resolution of a game if that's really all you need..

Calin Leafshade

Specifically I need it for nexus.

I need to establish (programatically) the native resoluion in order to interpret the scaling mode. 2X scaling means something different to a 1024x768 game than a 320x200 game.

TomatoesInTheHead

Isn't this the "defaultres" setting in acsetup.cfg, with 0 being 320x200, 1 being 320x240, and so on?

Calin Leafshade

no i dont believe so.

And besides I need to get the information from the executable because i cant guarantee that acsetup.dat will exist.

SMF spam blocked by CleanTalk