Author Topic: Resolution  (Read 4028 times)

Cazador

  • *
  • Posts: 262
    • View Profile
Resolution
« on: 2006-06-13 04:06:08 »
Hey,
 I know about Saints Res pack but the thing is like many people ...my monitor can't get that res....if anyone could manage to get 800x600 or 1024x768 I would love you lol

or if u could gimme suggestions to do this and if I figure it out I'll release it publically ...I have the whole summer to figure it out ...if someone could just get me started   :wink:

Aaron

  • *
  • Posts: 2818
    • View Profile
    • http://aaron-kelley.net/
Re: Resolution
« Reply #1 on: 2006-06-13 05:26:31 »
The SaiNT has said that there will not be support for any other resolutions any time soon.
Do you know assembly?  If you don't, it's going to be tough for you to do anything.

Borde

  • *
  • Posts: 891
    • View Profile
Re: Resolution
« Reply #2 on: 2006-06-13 11:11:57 »
Now that i'm trying to hack the EXE by myself I can see why The saint said it would be so hard to change the resolution to anything that isn't a multiple of the original resolution of the game. The problem is that the game uses integer multiplications to calculate the position of the tiles. You can tell the game to multiply it easily by 2 or 3, but by no means by 1.5, for example. If you wanted to do so, you would need to replace all those integer multiplications by floating point multiplications. That's really problematic since a floating point multiplication takes much more space (in the code) than an integer multiplication, so it doesn't fit in the code. It can be done, that's for sure, but don't know eaxcly how. Just can tell you that is much harder.

jamesyfx

  • *
  • Posts: 70
    • View Profile
Re: Resolution
« Reply #3 on: 2006-06-13 15:51:00 »
I dont claim to know anything about programming, but could you just put it in a resizable window and have it move around freely?

Im sure its pretty easy to get hold of an algorithm that does that.

But Im guessing that means a lot of distortion and unreadable text.. right? :/

Borde

  • *
  • Posts: 891
    • View Profile
Re: Resolution
« Reply #4 on: 2006-06-13 16:41:24 »
The problem is that even if you put there a resizable window, Windows won't resize the image inside it for you. You should then catch the event and resize the image... which leads us to the same problem.

rmco2003

  • Guest
Re: Resolution
« Reply #5 on: 2006-06-23 21:59:39 »
That's really problematic since a floating point multiplication takes much more space (in the code) than an integer multiplication, so it doesn't fit in the code.

Can't you just generate the code and modify the pointer for the code to point to your code at the end of the file?