This is a group for all the people that like the game star wars empire and FoC

Report article RSS Feed FoC Graphics Fix for Intel Users

I have found a solution to those with issues raising their graphics to maximum on intel-run computers

Posted by Cognosco on Oct 28th, 2012

Greetings. I have an Intel Integrated Graphics card for my laptop. Pretty decent, can run Crysis 2 high with no lag, but...

It could not run a ~10 yr old star wars game on full graphics??
Can't be true. 

Fellow FoC players, if you have an intel chip but cannot raise your graphics level....

I HAVE FOUND A SOLUTION

Back in those times when EaW was new, Intel chips had no shaders. What did the devs do? They made a fixed calibration of graphics for intel users. Now as time progressed, intel users have shaders within their integrated cards. So. Where did they save the fixed calibration? 

Go to the XML of your game you will see a file called "GraphicsDetails"  (if it is not there, extract it from the .meg files.) Open it and replace the existing (graphicdetaillevelenumeration with this code)

 

xml code:
<GraphicDetailLevelEnumeration>

        <!--                                                        -->
        <!--  Default Detail sets                                   -->
        <!--                                                        -->

        <!-- Lowest default detail, de-res the textures, use fixed function pipe and crappy water -->
    <GraphicDetailLevel name="Default_0">
      <ScreenResolutionWidth>1600</ScreenResolutionWidth>
      <ScreenResolutionHeight>900</ScreenResolutionHeight>
      <ScreenAALevel>4</ScreenAALevel>
      <TextureMipLevel>0</TextureMipLevel>
      <ShaderDetailLevel>3</ShaderDetailLevel>
      <WaterDetailLevel>2</WaterDetailLevel>
      <ShadowDetail>3</ShadowDetail> 
      <ShadowVolumes>Yes</ShadowVolumes>
      <SoftShadows>Yes</SoftShadows>
      <HeatDistortions>Yes</HeatDistortions>
      <Bloom>Yes</Bloom>
      <DynamicLighting>yes</DynamicLighting>
      <ParticleDetail>1.0</ParticleDetail>
      <MeshDetail>1.0</MeshDetail>
      <EnvironmentDetail>1.0</EnvironmentDetail>
    </GraphicDetailLevel>

 

This makes the default graphics put on highest settings. DO NOT DO THIS IF YOU DO NOT HAVE THE PROCESSING POWER.

Intel users. There is a line of code, singling us out here:

xml code:
 <!--                                                                                                       -->
        <!--                                                                                                       -->
        <!-- Intel special cases, all Intel HW gets fixed function due to the lack of hardware vertex shaders      -->
        <!--                                                                                                       -->
        <!--                                                                                                       -->
       HardwareConfiguration name="Config_Intel_Fast">
                <GraphicDetailSettingName>  FF_0  FF_1  FF_2  FF_3</GraphicDetailSettingName>
                <DefaultGraphicDetailLevel>2</DefaultGraphicDetailLevel>
                <PixelShaderVersionHEX>0x0000</PixelShaderVersionHEX>
                <VertexShaderVersionHEX>0x0000</VertexShaderVersionHEX>
                <TextureMemory>200.0</TextureMemory> 
                <CPUSpeed>2.25</CPUSpeed>    

                <VendorIDHEX>0x8086</VendorIDHEX>
        </HardwareConfiguration> 

        <HardwareConfiguration name="Config_Intel_Slow">
                <GraphicDetailSettingName>  FF_0  FF_1  FF_2  FF_3</GraphicDetailSettingName>
                <DefaultGraphicDetailLevel>1</DefaultGraphicDetailLevel>
                <PixelShaderVersionHEX>0x0000</PixelShaderVersionHEX>
                <VertexShaderVersionHEX>0x0000</VertexShaderVersionHEX>
                <TextureMemory>200.0</TextureMemory> 
                <CPUSpeed>0.0</CPUSpeed>     

                <VendorIDHEX>0x8086</VendorIDHEX>
        </HardwareConfiguration>

        <!--                                                                                                       -->
        <!--                                                                                                       -->
        <!-- Generic Hardware Configs, based on cpu-speed, texture-ram, and reported shader versions               -->
        <!--                                                                                                       -->
        <!--                                                                                                       -->

        <!-- Highest detail setting, we want 6800's, X800's and above (primarily filtered by fill-rate) -->

COMMENT THIS OUT

xml code:
      <!--  HardwareConfiguration name="Config_Intel_Fast">
                <GraphicDetailSettingName>  FF_0  FF_1  FF_2  FF_3</GraphicDetailSettingName>
               <DefaultGraphicDetailLevel>2</DefaultGraphicDetailLevel>
               <PixelShaderVersionHEX>0x0000</PixelShaderVersionHEX>
               <VertexShaderVersionHEX>0x0000</VertexShaderVersionHEX>
                <TextureMemory>200.0</TextureMemory> 
                <CPUSpeed>2.25</CPUSpeed>    

               <VendorIDHEX>0x8086</VendorIDHEX>
        </HardwareConfiguration> 

       <HardwareConfiguration name="Config_Intel_Slow">
                <GraphicDetailSettingName>  FF_0  FF_1  FF_2  FF_3</GraphicDetailSettingName>
               <DefaultGraphicDetailLevel>1</DefaultGraphicDetailLevel>
               <PixelShaderVersionHEX>0x0000</PixelShaderVersionHEX>
               <VertexShaderVersionHEX>0x0000</VertexShaderVersionHEX>
                <TextureMemory>200.0</TextureMemory> 
                <CPUSpeed>0.0</CPUSpeed>     

               <VendorIDHEX>0x8086</VendorIDHEX>
       </HardwareConfiguration>
   -->

 

Open Game AND SURPRISE!!!

The_Didact 

Post comment Comments
ElfFriend
ElfFriend Oct 28 2012, 4:47pm says:

so what about amd cpus does this change something for them too?

+1 vote     reply to comment
Cognosco
Cognosco Oct 28 2012, 6:47pm replied:

not sure, the xml does not seem to have anything about amds...

+1 vote     reply to comment
Cognosco
Cognosco Oct 29 2012, 11:07pm replied:

...wait no dude it only works for intel graphics cards. says clearly

+1 vote     reply to comment
Starkiller2356
Starkiller2356 Oct 28 2012, 6:16pm says: Online

Great find! I have always wondered how to force the shaders on my laptop

+2 votes     reply to comment
Cognosco
Cognosco Oct 29 2012, 11:02pm says:

this is for intel users only. Any one complaining that it does not work either does not know how to edit XML or do not have Intel HD graphics family. If you are struggling with XML pm me. Otherwise it MUST work. If you havn't got a Intel chip, but have this problem, follow Petroglyphgames.com and go away.

+1 vote     reply to comment
Guest
Guest Jan 27 2013, 10:20am replied:

This comment is currently awaiting admin approval, join now to view.

Admiral-Ace
Admiral-Ace Nov 4 2012, 6:27pm says:

Something like this might explain why some of my ships have a solid white texture instead of the normal texture. It happend with my Executor. Which is something I haven't seen since I played FOC on my anicent computer that had XP.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Mar 30, 2010
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
News
Browse
News
Report Abuse
Report article
Related Games
Star Wars: Empire at War: Forces of Corruption
Star Wars: Empire at War: Forces of Corruption Single & Multiplayer Real Time Strategy
Related Groups
Empire at War
Empire at War Hobbies & Interests group with 262 members
Official Republic at War Mod Fan Group
Official Republic at War Mod Fan Group Fans & Clans group with 117 members
Sigma Games Studios (News&Releases)
Sigma Games Studios (News&Releases) Hobbies & Interests group with 31 members
501st Legion: Vader's Fist
501st Legion: Vader's Fist Fans & Clans group with 154 members
Sigma Game Studios
Sigma Game Studios Developer & Publisher with 15 members