Could Someone Help Me With My Resolutions
Hey Guys,
For some time now i have been playing GunZ with the normal screen Resolution (1024 x 768) and have 2 big black bars down either side of my screen, (see pics). I have just went on a new gunz server, Operation Gunz and they have various resolutions and the one thats perfect for me is the 1366 x 768 32bpp.
I would like to know if anybody could possible help me add them to my GunZ 1.5 client, I know Mark (Astrium) can do it as he did it for them but i cant get hold of him.
Thanks soo much guys.
Re: Could Someone Help Me With My Resolutions
Maybe you changed your resolution or something.
try this : go to your configuration panel and click on modify screen resolution.
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
gabire
Maybe you changed your resolution or something.
try this : go to your configuration panel and click on modify screen resolution.
No, its not my resolution, ive got an awkward screen but my comps default resolution is 1366 x 768 and they have coded that resolution in their source and i want help on doing it on mine for me and other people that have it.
Re: Could Someone Help Me With My Resolutions
oh sorry i did not know :p
Re: Could Someone Help Me With My Resolutions
Re: Could Someone Help Me With My Resolutions
They paid Mark for that, it also includes the fix to the HP bar positioning.
Quick note, if your PC actually supports resolutions like, 1600x900 and 1920x1080, you'll be able to choose them. Gotta love Mark after all.
Re: Could Someone Help Me With My Resolutions
How Much did Mark ask for it? Im willing to pay just not heavy amounts. Thanks Vusion
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
Duluxe
How Much did Mark ask for it? Im willing to pay just not heavy amounts. Thanks Vusion
I may be wrong, but he wanted $20.
Go ahead Phoenix, give me a warning T.T.
Re: Could Someone Help Me With My Resolutions
ZOptionInterface.cpp
Code:
if( ((float)ddm.Height / (float)ddm.Width != 0.75f) &&
((float)ddm.Height / (float)ddm.Width != 0.625f) &&
((float)ddm.Height / (float)ddm.Width != 0.6f))
continue;
Fix the rest yourself. Took me $0 and grep to find this shit.
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
[S]pirit
ZOptionInterface.cpp
Code:
if( ((float)ddm.Height / (float)ddm.Width != 0.75f) &&
((float)ddm.Height / (float)ddm.Width != 0.625f) &&
((float)ddm.Height / (float)ddm.Width != 0.6f))
continue;
Fix the rest yourself. Took me $0 and grep to find this shit.
LOL, i were blind.
Code:
for( int i=0;i<2;i++)
{
int nDM = RGetAdapterModeCount( format[i] );
mlog("Number of Display mode : %d\n", nDM );
for( int idm = 0 ; idm < nDM; ++idm )
{
if( REnumAdapterMode( D3DADAPTER_DEFAULT,format[i], idm, &ddm ))
{
if( ddm.Width < 640 || ddm.Height < 480 )
continue;
if( ((float)ddm.Height / (float)ddm.Width != 0.75f) &&
((float)ddm.Height / (float)ddm.Width != 0.625f) )
continue;
if( ddm.Width < 640 || ddm.Height < 480 )
continue;
ddm.RefreshRate = DEFAULT_REFRESHRATE;
if( ddm.Format == D3DFMT_X8R8G8B8 || ddm.Format == D3DFMT_R5G6B5 )
{
map<int, D3DDISPLAYMODE>::iterator iter_ = find_if( gDisplayMode.begin(), gDisplayMode.end(), value_equals<int, D3DDISPLAYMODE>(ddm));
if( iter_ == gDisplayMode.end() )
{
gDisplayMode.insert( map<int, D3DDISPLAYMODE>::value_type( dmIndex++, ddm ) );
sprintf( szBuf, "%d x %d %dbpp", ddm.Width, ddm.Height, ddm.Format==D3DFMT_X8R8G8B8?32:16 );
pWidget->Add(szBuf);
}
}
}
}
}
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
qet123
LOL, i were blind.
Code:
for( int i=0;i<2;i++)
{
int nDM = RGetAdapterModeCount( format[i] );
mlog("Number of Display mode : %d\n", nDM );
for( int idm = 0 ; idm < nDM; ++idm )
{
if( REnumAdapterMode( D3DADAPTER_DEFAULT,format[i], idm, &ddm ))
{
if( ddm.Width < 640 || ddm.Height < 480 )
continue;
if( ((float)ddm.Height / (float)ddm.Width != 0.75f) &&
((float)ddm.Height / (float)ddm.Width != 0.625f) )
continue;
if( ddm.Width < 640 || ddm.Height < 480 )
continue;
ddm.RefreshRate = DEFAULT_REFRESHRATE;
if( ddm.Format == D3DFMT_X8R8G8B8 || ddm.Format == D3DFMT_R5G6B5 )
{
map<int, D3DDISPLAYMODE>::iterator iter_ = find_if( gDisplayMode.begin(), gDisplayMode.end(), value_equals<int, D3DDISPLAYMODE>(ddm));
if( iter_ == gDisplayMode.end() )
{
gDisplayMode.insert( map<int, D3DDISPLAYMODE>::value_type( dmIndex++, ddm ) );
sprintf( szBuf, "%d x %d %dbpp", ddm.Width, ddm.Height, ddm.Format==D3DFMT_X8R8G8B8?32:16 );
pWidget->Add(szBuf);
}
}
}
}
}
Congrats, you just posted the original code. So?
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
[S]pirit
Congrats, you just posted the original code. So?
Opps, i will update it when i come home lol
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
qet123
Opps, i will update it when i come home lol
Code:
for( int i=0;i<2;i++)
{
int nDM = RGetAdapterModeCount( format[i] );
mlog("Number of Display mode : %d\n", nDM );
for( int idm = 0 ; idm < nDM; ++idm )
{
if( REnumAdapterMode( D3DADAPTER_DEFAULT,format[i], idm, &ddm ))
{
if( ddm.Width < 640 || ddm.Height < 480 )
continue;
if( ((float)ddm.Height / (float)ddm.Width != 0.75f) &&
((float)ddm.Height / (float)ddm.Width != 0.625f) &&
((float)ddm.Height / (float)ddm.Width != 0.6f) &&
((float)ddm.Height / (float)ddm.Width != 0.56f))
continue;
ddm.RefreshRate = DEFAULT_REFRESHRATE;
if( ddm.Format == D3DFMT_X8R8G8B8 || ddm.Format == D3DFMT_R5G6B5 )
{
map<int, D3DDISPLAYMODE>::iterator iter_ = find_if( gDisplayMode.begin(), gDisplayMode.end(), value_equals<int, D3DDISPLAYMODE>(ddm));
if( iter_ == gDisplayMode.end() )
{
gDisplayMode.insert( map<int, D3DDISPLAYMODE>::value_type( dmIndex++, ddm ) );
sprintf( szBuf, "%d x %d %dbpp", ddm.Width, ddm.Height, ddm.Format==D3DFMT_X8R8G8B8?32:16 );
pWidget->Add(szBuf);
}
}
}
}
}
What else would you possibly add? The only thing to do is fix the ZGameInterface problems with high odd resolutions. Quit acting like you can do something original.
Re: Could Someone Help Me With My Resolutions
Quote:
Originally Posted by
[S]pirit
Code:
for( int i=0;i<2;i++)
{
int nDM = RGetAdapterModeCount( format[i] );
mlog("Number of Display mode : %d\n", nDM );
for( int idm = 0 ; idm < nDM; ++idm )
{
if( REnumAdapterMode( D3DADAPTER_DEFAULT,format[i], idm, &ddm ))
{
if( ddm.Width < 640 || ddm.Height < 480 )
continue;
if( ((float)ddm.Height / (float)ddm.Width != 0.75f) &&
((float)ddm.Height / (float)ddm.Width != 0.625f) &&
((float)ddm.Height / (float)ddm.Width != 0.6f) &&
((float)ddm.Height / (float)ddm.Width != 0.56f))
continue;
ddm.RefreshRate = DEFAULT_REFRESHRATE;
if( ddm.Format == D3DFMT_X8R8G8B8 || ddm.Format == D3DFMT_R5G6B5 )
{
map<int, D3DDISPLAYMODE>::iterator iter_ = find_if( gDisplayMode.begin(), gDisplayMode.end(), value_equals<int, D3DDISPLAYMODE>(ddm));
if( iter_ == gDisplayMode.end() )
{
gDisplayMode.insert( map<int, D3DDISPLAYMODE>::value_type( dmIndex++, ddm ) );
sprintf( szBuf, "%d x %d %dbpp", ddm.Width, ddm.Height, ddm.Format==D3DFMT_X8R8G8B8?32:16 );
pWidget->Add(szBuf);
}
}
}
}
}
What else would you possibly add? The only thing to do is fix the ZGameInterface problems with high odd resolutions. Quit acting like you can do something original.
Not zgameinterface. It's zcombatinterface, zscreeneffectmanager, mint4r2, zobserver