Jump to content
  • Announcements

    • Battlefront.com

      Special Upgrade 4 Tech Tips   12/27/2016

      Hi all! Now that Upgrade 4 is out and about in large quantities we have now discovered a few SNAFUs that happen out in the scary, real world that is home computing.  Fortunately the rate of problems is extremely small and so far most are easily worked around.  We've identified a few issues that have similar causes which we have clear instructions for work arounds here they are: 1.  CMRT Windows customers need to re-license their original key.  This is a result of improvements to the licensing system which CMBN, CMBS, and CMFB are already using.  To do this launch CMRT with the Upgrade and the first time enter your Engine 4 key.  Exit and then use the "Activate New Products" shortcut in your CMRT folder, then enter your Engine 3 license key.  That should do the trick. 2.  CMRT and CMBN MacOS customers have a similar situation as #2, however the "Activate New Products" is inside the Documents folder in their respective CM folders.  For CMBN you have to go through the process described above for each of your license keys.  There is no special order to follow. 3.  For CMBS and CMFB customers, you need to use the Activate New Products shortcut and enter your Upgrade 4 key.  If you launch the game and see a screen that says "LICENSE FAILURE: Base Game 4.0 is required." that is an indication you haven't yet gone through that procedure.  Provided you had a properly functioning copy before installing the Upgrade, that should be all you need to do.  If in the future you have to install from scratch on a new system you'll need to do the same procedure for both your original license key and your Upgrade 4.0 key. 4.  There's always a weird one and here it is.  A few Windows users are not getting "Activate New Products" shortcuts created during installation.  Apparently anti-virus software is preventing the installer from doing its job.  This might not be a problem right now, but it will prove to be an issue at some point in the future.  The solution is to create your own shortcut using the following steps: Disable your anti-virus software before you do anything. Go to your Desktop, right click on the Desktop itself, select NEW->SHORTCUT, use BROWSE to locate the CM EXE that you are trying to fix. The location is then written out. After it type in a single space and then paste this:

      -showui

      Click NEXT and give your new Shortcut a name (doesn't matter what). Confirm that and you're done. Double click on the new Shortcut and you should be prompted to license whatever it is you need to license. At this time we have not identified any issues that have not been worked around.  Let's hope it stays that way Steve
    • Battlefront.com

      Forum Reorganization   10/12/2017

      We've reorganized our Combat Mission Forums to reflect the fact that most of you are now running Engine 4 and that means you're all using the same basic code.  Because of that, there's no good reason to have the discussion about Combat Mission spread out over 5 separate sets of Forums.  There is now one General Discussion area with Tech Support and Scenario/Mod Tips sub forums.  The Family specific Tech Support Forums have been moved to a new CM2 Archives area and frozen in place. You might also notice we dropped the "x" from distinguishing between the first generation of CM games and the second.  The "x" was reluctantly adopted back in 2005 or so because at the time we had the original three CM games on European store shelves entitled CM1, CM2, and CM3 (CMBO, CMBB, and CMAK).  We didn't want to cause confusion so we added the "x".  Time has moved on and we have to, so the "x" is now gone from our public vocabulary as it has been from our private vocabulary for quite a while already.  Side note, Charles *NEVER* used the "x" so now we're all speaking the same language as him.  Which is important since he is the one programming them

sbobovyc

Members
  • Content count

    94
  • Joined

  • Last visited

About sbobovyc

  • Rank
    Junior Member

Profile Information

  1. Irratic Framerate Issue

    I have a laptop with Optimus technology which is supposed to switch between the Intel GPU and Nvidia GPU based on the task. For some reason, it does not properly switch for CM so one has to manually set it. Also, every time I update the driver, I have repeat this process.
  2. Irratic Framerate Issue

    Basically, glTexImage2D function loads images into GPU memory and glDeleteTextures deletes them from GPU memory. From a trace capture, I saw that images for the scene were loaded into memory when entering battle and they get deleted when exiting battle to main menu. While flying around the map and looking at things near and far, no glDeleteTextures calls are made. If you don't want to take a trace, you can verify this by watching the GPU memory consumption through the stages of being in the main menu, loading a save and quitting to main menu. My GPU has 4096 MB of VRAM and the highest usage that I saw (with the help of GPU-Z) was slightly above 1300 MB. It's definitely possible to exceed this in more complex scenes.
  3. Irratic Framerate Issue

    I can capture a trace tonight and see if that is happening from OpenGL API perspective. You have to remember that the driver can do things behind the scenes to "help" your application.
  4. Irratic Framerate Issue

    Also, I don't know if anyone has mentioned it on this thread, but I have found that limiting the frame rate through NVIDIA Inspector to 60 fps greatly improves smoothness. On my system, this is due to the fact when I look at a scene that is not busy, such as the sky or the horizon, the GPU will render the scene at a very high frame rate. Even though a scene is simple, this increases the temperature of the GPU and even makes the fan kick in. Transitioning to a more busy scene creates a stutter where the frame rate can drop into the teens while the GPU cools down and the various clock speeds adjust themselves.
  5. Irratic Framerate Issue

    Is there any chance that we can get a computation time breakdown of different sections of the game loop? Even better version would have trace functionality.
  6. Testing

    Excellent
  7. Testing

    Use my Blender tools to import the model into Blender, then change the diffuse texture to your modded texture and export the model.
  8. High Screen Resolution Blurry Text

    I can confirm that Nvidia does not switch from Intel to Nvidia GPU when CMBS runs. You will have to manually add it to the white list every time the exe file changes.
  9. If the map format is not changed, you can try to use my mdr mutator script to port the map.
  10. High Screen Resolution Blurry Text

    What GPU(s) do you have?
  11. Combat Mission: Modding tools

    @Battlefront.com Could you move this thread to either CM2 General Discussion or CM2 Scenario and Mod Tips? I created this thread back when the general section did not exist.
  12. On a console, do: cd path_where_the_script_is python3 btt_mutator.py YourMap.btt -t CMFI If you want, I can walk you through it over teamviewer, just PM me.
  13. Alright, lets call this an "unofficial" release. I added CMFB as an option. https://drive.google.com/open?id=0B982H8gQa3LZclkyYlBQaGtyQ2M
  14. I don't have a mac and I don't want to get into packaging my tools as executables. The beauty of python is that it is cross platform, but it does require a bit of setup if you are on Windows or OS X. For mac, I recommend https://conda.io/docs/install/full.html#full-installation A while ago I made a video on how to install python (on Windows) and use some of the tools from a console. The only difference is that now you should install the latest Python 3 instead of 2.
×