*** Back up first ***
# Vars.h
change to
Code:REG_VAR_C( r_overall_quality , 2 , 1, 5, VF_SAVE | VF_CONSTRAINT ); REG_VAR( r_fullscreen , true , VF_SAVE ); // fullscreen mode REG_VAR( r_fullscreen_load , true , 0 ); // this value will hold r_fullscreen after loading ini file REG_VAR( r_apex_enabled , false , VF_SAVE );
# FrontEndWarZ.cpp
change to
next 2Code:var[27].SetNumber( g_toggle_crouch->GetBool()); var[28].SetNumber( r_fullscreen->GetInt()); // Fullscreen var[29].SetNumber( r_vsync_enabled->GetInt()+1);
next 3Code:// get options g_tps_camera_mode->SetInt(0); g_enable_voice_commands ->SetBool(true); int old_fullscreen = r_fullscreen->GetInt(); r_fullscreen->SetBool(true);
Code:r_width->SetInt( width ); r_height->SetInt( height ); int old_fullscreen = r_fullscreen->GetInt(); r_fullscreen->SetInt( (int)args[21].GetNumber() );
# HUDPause.cpp
change to
Code:var[27].SetNumber( g_toggle_crouch->GetBool()); var[28].SetNumber( r_fullscreen->GetInt()); var[29].SetNumber( r_vsync_enabled->GetInt()+1); gfxMovie.Invoke("_root.api.setOptions", var, 30); // add player info
# Main.cpp
change to
next 2Code:r_width->SetInt( 1024 ); r_height->SetInt( 768 ); r_bpp->SetInt( 32 ); r_fullscreen->SetBool( false );
next 3Code:r_out_of_vmem_encountered->SetInt( 0 ); r_width->SetInt( 800 ); r_height->SetInt( 600 ); r_fullscreen->SetInt( 0 ); r_texture_quality->SetInt( 1 );
Code:r_fullscreen_load->SetInt(r_fullscreen->GetInt()); /*#ifdef FINAL_BUILD r_force_aspect->SetFloat( 16.f / 9.f ); #endif*/
# r3dRender.CPP
change to
>> Compile Eclipse Studio C:\WarZ\src\EclipseStudio with FINAL build ***Code:if(Flags & R3DSetMode_Windowed) isWindowed = 1; else isWindowed = 0;
ALL Credit to >> Mr. 佳 吴 (wujia360)


Reply With Quote![[Tutorial] enable Windows Mode](http://ragezone.com/hyper728.png)


