Quick code change request: 800 x 600 intro video

Questions / Announcements area for beta tests of Allegiance's future updates.
sgt_baker
Posts: 1510
Joined: Wed Oct 20, 2004 7:00 am
Location: London, UK.
Contact:

Post by sgt_baker »

Hi folks,

I wondered if some one with a virgin copy of the current R4 source could make a quick code change for me and post me the compiled Allegiance.exe. All it is to to change line 218 of videoscreen.cpp to "return WinPoint(800, 600);". If my nooby assessment is correct, this will cause Alleg to play back the intro movie in 800x600. I might be wrong, but it's worth a shot.

I would do this myself, but don't currently have any of the required SDKs and other C++ quirks installed for compiling R4. Any help would be very much appreciated.

Cheers,

Baker
Image
Granary Sergeant Baker - Special Bread Service (Wurf - 13th Oct 2011)
badpazzword
Posts: 3627
Joined: Thu Jan 12, 2006 8:00 am
Contact:

Post by badpazzword »

I for one would not like to have Alleg trying to switch the screen resolution back and forth every time I launch Allegiance. :)
Have gaming questions? Get expert answers! Image Image
sgt_baker
Posts: 1510
Joined: Wed Oct 20, 2004 7:00 am
Location: London, UK.
Contact:

Post by sgt_baker »

Currently alleg switches the resolution to 640 x 480 when you play an intro video. The intro screen's native resolution is 800x600. This change request is an effort to prevent a mode change.

:)
Image
Granary Sergeant Baker - Special Bread Service (Wurf - 13th Oct 2011)
Dogbones
Posts: 2721
Joined: Mon Nov 24, 2003 8:00 am
Location: Virginia

Post by Dogbones »

Launch allegiance with -nomovie problem solved ;)
Given no one else has replied to this and there are no posts in the dev section it seems none of the 'current' devs have tried this. I've been away the last 3 weekends. If I can get a bit of time I'll give this a try.
Image
DOG PROPERTY LAWS:
2. If it's in my mouth, it's mine.
[unless it tastes bad, then it is yours.]
sgt_baker
Posts: 1510
Joined: Wed Oct 20, 2004 7:00 am
Location: London, UK.
Contact:

Post by sgt_baker »

Thanks Dog. :D

Just for a bit more background on this: There is talk of making a new introduction video which focuses on real-world aspects of alleg whilst also looking damn cool. My immediate observation was that, probably due to video being a bit of a strain back in 2000, the current incarnation of that aspect of the game is stuck in 640x480 whilst Alleg's native resolution is 800x600.

Might as well have a vid where people can actually read the chat!

:)
Image
Granary Sergeant Baker - Special Bread Service (Wurf - 13th Oct 2011)
Dogbones
Posts: 2721
Joined: Mon Nov 24, 2003 8:00 am
Location: Virginia

Post by Dogbones »

Agreed
Image
DOG PROPERTY LAWS:
2. If it's in my mouth, it's mine.
[unless it tastes bad, then it is yours.]
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

Think we could make the change rely on some global variables instead of constants?
I'm thinknig that if we ever try and upgrade alleg to use resolutions greater than the pre-millenium 800*600 standard it might be useful to have all resolution things changeable from one switch...
Or two switches, one for in flight (/game) res, one for the lobby, main screen, intro vid.
sgt_baker
Posts: 1510
Joined: Wed Oct 20, 2004 7:00 am
Location: London, UK.
Contact:

Post by sgt_baker »

IIRC the principal problem with that is that the dialogs etc are all hard-coded to use 800x600. Obviously, they managed to change the launch screen wotsit to display in other resolutions with letterboxing, but without a fundamental rework of MDL and/or the screens you mentioned, we'd be stuck with the same problem as we have in-game.
Image
Granary Sergeant Baker - Special Bread Service (Wurf - 13th Oct 2011)
Adept
Posts: 8660
Joined: Thu Sep 27, 2007 12:53 pm
Location: Turku, Finland

Post by Adept »

sgt_baker wrote:QUOTE (sgt_baker @ May 19 2009, 06:04 PM) Thanks Dog. :D

Just for a bit more background on this: There is talk of making a new introduction video which focuses on real-world aspects of alleg whilst also looking damn cool. My immediate observation was that, probably due to video being a bit of a strain back in 2000, the current incarnation of that aspect of the game is stuck in 640x480 whilst Alleg's native resolution is 800x600.

Might as well have a vid where people can actually read the chat!

:)
Baker, now you jumped the gun. I wanted to do a good post summing up the idea :doh:

Oh well, I'll post when I'm ready.
ImageImageImageImageImage
<bp|> Maybe when I grow up I can be a troll like PsycH
<bp|> or an obsessive compulsive paladin of law like Adept
sgt_baker
Posts: 1510
Joined: Wed Oct 20, 2004 7:00 am
Location: London, UK.
Contact:

Post by sgt_baker »

Adept wrote:QUOTE (Adept @ May 24 2009, 02:26 PM) Baker, now you jumped the gun. I wanted to do a good post summing up the idea :doh:

Oh well, I'll post when I'm ready.

Well there's a subtle difference between 'there is talk of' and 'people are making'. ;) Anyhow, the task of getting Alleg to display a video at a useful resolution is distinct to making the actual content.
Image
Granary Sergeant Baker - Special Bread Service (Wurf - 13th Oct 2011)
Post Reply