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:


      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


  • Content count

  • Joined

  • Last visited

About sbobovyc

  • Rank
    Junior Member

Profile Information

  1. Combat Mission: Modding tools

    Have not looked into them, but I suspect that they are just quads created at run time.
  2. Combat Mission: Modding tools

    The mdr tools only support static objects. Show us your texture files, maybe we can debug them.
  3. Need Help From Fellow Modders

    It's possible you are not saving the alpha channel properly when you edit the texture. In the game model, the command sight has a lens with a transparent texture.
  4. Combat Mission: Modding tools

    I will make this special version publicly available for a limited time here https://bobovych.com/nextcloud/index.php/s/DWPbWtJplWF3C1Q If you have a previous version of the plugins, uninstall them and install this version. Import a vehicle into Blender. For example, I have been using UAZ-469 as a test case. Try deleting the canvas and exporting the model. View the vehicle in the game, have it move around to check that wheels still work. How wheels and tracks work is the last major piece of the puzzle that needs to be solved. Next, try adding a mesh, camo net or big radio, to the vehicle.
  5. Combat Mission: Modding tools

    The tools are at a point where you can import a vehicle and modify some parts. I have not fully figured out how wheels and tracks work, but the rest can be played with.
  6. Combat Mission: Modding tools

    Anyone interested in testing a special version of the mdr plugins that supports vehicles?
  7. It is not clear to me if you truly need to capture the screen at runtime to do your analysis or if you could just use fraps or any other similar software to capture video and do your analysis offline.
  8. I added the windows executable version of btt_mutator to the github repo. You can download it here: https://github.com/sbobovyc/CM2Tools/raw/master/dist/btt_mutator.exe
  9. Porting Maps

    I added the windows executable version of btt_mutator to the github repo. You can download it here: https://github.com/sbobovyc/CM2Tools/raw/master/dist/btt_mutator.exe
  10. Combat Mission: Modding tools

    The python API changed a lot since 2.59, so you will not be able to use my Blender scripts with that version of Blender. If I recall correctly, you can have several versions of Blender installed in parallel.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.