Could Someone Help Me With My Resolutions

Results 1 to 14 of 14
  1. #1
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    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.

    Spoiler:



    This is what mine shows up with as 1024 x 768




    Thanks soo much guys.


  2. #2
    Account Upgraded | Title Enabled! gabire is offline
    MemberRank
    Dec 2008 Join Date
    CanadaLocation
    577Posts

    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.

  3. #3
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by gabire View Post
    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.

  4. #4
    Account Upgraded | Title Enabled! gabire is offline
    MemberRank
    Dec 2008 Join Date
    CanadaLocation
    577Posts

    Re: Could Someone Help Me With My Resolutions

    oh sorry i did not know :p

  5. #5
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Could Someone Help Me With My Resolutions

    LOL, you won't get it.

  6. #6
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    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.

  7. #7
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    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

  8. #8
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by Duluxe View Post
    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.

  9. #9
    Proficient Member [S]pirit is offline
    MemberRank
    Apr 2009 Join Date
    182Posts

    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.

  10. #10
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by [S]pirit View Post
    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);
    							}
    						}
    					}
    				}
    			}

  11. #11
    Proficient Member [S]pirit is offline
    MemberRank
    Apr 2009 Join Date
    182Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by qet123 View Post
    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?

  12. #12
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by [S]pirit View Post
    Congrats, you just posted the original code. So?
    Opps, i will update it when i come home lol

  13. #13
    Proficient Member [S]pirit is offline
    MemberRank
    Apr 2009 Join Date
    182Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by qet123 View Post
    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.

  14. #14
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Could Someone Help Me With My Resolutions

    Quote Originally Posted by [S]pirit View Post
    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



Advertisement