• 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
Sophist_13

Could anyone convert QB maps from BN or FI to BS?

33 posts in this topic

QB maps on Black Sea are disgusting almost all, but the converted RT maps have been delicious. I thought anyone could convert maps from BN or FI as well as it was made relatively RT. Otherwise is there any Map Converter?

Share this post


Link to post
Share on other sites

Posted (edited)

Have you tried it out using this method (see Rokko's posts)? It worked flawlessly for me (though I'Ve read you might need to replace some buildings). Basically, all you have to do is to strip a scenario off all troops (no need for quickbattles anyway) and change a few hex-values in its btt-map file (see the picture in Rokko's post). I (windows) was able to find all quickbattle-maps in my battlefront-folder in my user/documents (not the installation path).  To change the hex-value, you simply download a free hexeditor and put in the new values (CM:SF = 00, CM:A = 02, CM:BN = 04, CM:FI = 06, CM:RT = 08, CM:BS = 0A, CM:FB = 0C).

 

 

 

 

Edited by Kaunitz

Share this post


Link to post
Share on other sites

I could whip up a command line based tool in a few minutes if it's as simple as changing a byte. Are you guys interested?

Share this post


Link to post
Share on other sites
9 hours ago, sbobovyc said:

I could whip up a command line based tool in a few minutes if it's as simple as changing a byte. Are you guys interested?

Yea, it'd be great!

Share this post


Link to post
Share on other sites
On ‎20‎.‎06‎.‎2017 at 9:15 PM, sbobovyc said:

https://drive.google.com/open?id=0B982H8gQa3LZaDNuM092RERXZEk

Example usage:

cm_btt_mutator.exe --type CMBS some_file.btt

--type can be CMSF,CMA,CMBN,CMFI,CMRT,CMBS

I have not tested this, let me know if you run into problems.

Very impressive! I´ve checked it out and it works flawless for me.

I converted my CMBN Le_Mesnil_Patry map to CMBS, CMRT and CMFI.

Now I can roam in Normandy landscape with T34s, T90s, M1s and Italian tanks.

Can you check if you can include CMFB to the conversion mix? Then we can have Winter Battles in Normandy and Summer Battles in the Ardennes :-)

cheers

 

 

 

 

Share this post


Link to post
Share on other sites
On ‎7‎/‎12‎/‎2017 at 8:14 AM, DesertFox said:

Very impressive! I´ve checked it out and it works flawless for me.

I converted my CMBN Le_Mesnil_Patry map to CMBS, CMRT and CMFI.

Now I can roam in Normandy landscape with T34s, T90s, M1s and Italian tanks.

Can you check if you can include CMFB to the conversion mix? Then we can have Winter Battles in Normandy and Summer Battles in the Ardennes :-)

cheers

 

 

 

 

Could you explain in layman's term how to do it? I click on the exe file and nothing happens.

Share this post


Link to post
Share on other sites

Posted (edited)

51 minutes ago, JohnO said:

Could you explain in layman's term how to do it? I click on the exe file and nothing happens.

You need to make yourself familiar with windows command prompt. How you start it you can read here:

https://www.lifewire.com/how-to-open-command-prompt-2618089

In Win 10 basically right-click on start and choose command (admin).

Step 1: Copy the scenario you want to convert into a folder of your choice. For simplicity sake let´s use C:\test. Also copy the mutator.exe there.

Step 2: Now start windows command prompt

Step 3: Within the command prompt navigate to C:\test

Step 4: convert your scenario to CMBS. Lets say it was called ABC.btt and originally created for CMRT.

Step 5: Type the following in the command prompt: "mutator.exe - t CMBS ABC.btt"

then press ENTER and your CMRT scen will be converted to a file named ABC_CMBS.btt

Step 6: Copy the converted file to your CMBS scen folder

Enjoy!

 

 

 

 

 

 

Edited by DesertFox

Share this post


Link to post
Share on other sites
37 minutes ago, DesertFox said:

You need to make yourself comfortable with windows command prompt. How you start it you can read here:

https://www.lifewire.com/how-to-open-command-prompt-2618089

In Win 10 basically right-click on start and choose command (admin).

Step 1: Copy the scenario you want to convert into a folder of your choice. For simplicity sake let´s use C:\test. Also copy the mutator.exe there.

Step 2: Now start windows command prompt

Step 3: Within the command prompt navigate to C:\test

Step 4: convert your scenario to CMBS. Lets say it was called ABC.btt and originally created for CMRT.

Step 5: Type the following in the command prompt: "mutator.exe - t CMBS ABC.btt"

then press ENTER and your CMRT scen will be converted to a file named ABC_CMBS.btt

Step 6: Copy the converted file to your CMBS scen folder

Enjoy!

Slight correction- your earlier directions and the one that works is "cm_btt_mutator.exe -t CMBS some_file.btt".  At least for running. 

I just tried on a couple CMSF maps.  It did create the new btt file however it will not open in CMBS. I am not totally surprised, it is asking a lot to move from CMSF to CMBS, but I had to try. :D

 

 

 

Share this post


Link to post
Share on other sites

Posted (edited)

40 minutes ago, sburke said:

Slight correction- your earlier directions and the one that works is "cm_btt_mutator.exe -t CMBS some_file.btt".  At least for running. 

I just tried on a couple CMSF maps.  It did create the new btt file however it will not open in CMBS. I am not totally surprised, it is asking a lot to move from CMSF to CMBS, but I had to try. :D

 

 

 

I converted three CMSF maps (rural I, rural II and rural III, I think all are by Pete Weneman) perfectly fine into CMFI. Hadn´t tested with scens though

Cause I´m lazy I renamed the *.exe simply to cm.exe. Avoids long typing :-)

edit: Just checked, jep those rural maps can be converted to CMBS also. Additionally I tried Hammertime v4 and stripped it of all units. It converts, but crashes CMBS. So, as expected, the tool will not work on every map/scen.

edit2: Wittmanns Demise from CMBN can also be converted and loads in the editor without problems. Would you give him M1s or T90s for a 70 years timewarp ? :-)

 

 

 

Edited by DesertFox

Share this post


Link to post
Share on other sites
On 7/12/2017 at 10:14 AM, DesertFox said:

Very impressive! I´ve checked it out and it works flawless for me.

I converted my CMBN Le_Mesnil_Patry map to CMBS, CMRT and CMFI.

Now I can roam in Normandy landscape with T34s, T90s, M1s and Italian tanks.

Can you check if you can include CMFB to the conversion mix? Then we can have Winter Battles in Normandy and Summer Battles in the Ardennes :-)

cheers

 

 

 

 

Thanks, glad it works! I added CMFB support to the python script.

Share this post


Link to post
Share on other sites
1 hour ago, sbobovyc said:

Thanks, glad it works! I added CMFB support to the python script.

Thanks for your work! Can you create a new *.exe file from that? Unfortunately I have no clue how to run python files.

Share this post


Link to post
Share on other sites
3 hours ago, DesertFox said:

edit2: Wittmanns Demise from CMBN can also be converted and loads in the editor without problems. Would you give him M1s or T90s for a 70 years timewarp ? :-)

leopards- you're gonna have to use CMSF :D

 

Share this post


Link to post
Share on other sites
On 2017-07-13 at 3:38 AM, NPye said:

Is there a mac version?

Seconded! I would love to have CMFI and maybe even SF and BN maps. If there's no way to do it myself on mac, can someone upload folders somewhere?

Share this post


Link to post
Share on other sites
4 hours ago, DougPhresh said:

Seconded! I would love to have CMFI and maybe even SF and BN maps. If there's no way to do it myself on mac, can someone upload folders somewhere?

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.

 

 

Share this post


Link to post
Share on other sites

Well I meant moreso that someone who knows what they are doing could just upload the converted QB maps somewhere so anyone can download it and simply drop them into the proper folder.

Share this post


Link to post
Share on other sites
On ‎14‎.‎07‎.‎2017 at 0:51 AM, DesertFox said:

Thanks for your work! Can you create a new *.exe file from that? Unfortunately I have no clue how to run python files.

Just to avoid confusion. I meant upgrading your cm_btt_mutator.exe to CMFB capability. Thanks!

Share this post


Link to post
Share on other sites
15 hours ago, DougPhresh said:

Well I meant moreso that someone who knows what they are doing could just upload the converted QB maps somewhere so anyone can download it and simply drop them into the proper folder.

What about uploading them to the Scenario Depot?

I would love to try some CMFI or CMSF maps converted to CMBS....that terrain with modern equipment would be a blast I think.

I believe someone converted a ton of CMRT QB maps to CMBS by a different method since they were fairly similar and uploaded them there.

Thanks

Share this post


Link to post
Share on other sites
3 hours ago, grunt_GI said:

What about uploading them to the Scenario Depot?

I would love to try some CMFI or CMSF maps converted to CMBS....that terrain with modern equipment would be a blast I think.

My thoughts exactly! CMBS and CMFI are my two favourite titles! I'd love to send a Ranger battalion up some of those hills or mountains!

Share this post


Link to post
Share on other sites

Can't run that .exe in wine, and I can't figure out how to use the python script on mac.

Do I type the file I want to convert into the script first?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now