Erik Springelkamp Posted November 24, 2014 Share Posted November 24, 2014 I would like to use Mad Mike's ScAnCaDe tool to decompile some campaigns, and downloaded his latest version 1.7. However, I cannot get it to run: I have installed the latest Java runtime (which I hardly trust any more, considering Oracle's effort to make you install additional stuff) on my Windows 7 machine, but double clicking on the jar doesn't produce anything, while using the command prompt to make java.exe execute the jar produces the error message: "cannot find <jar-name>-main class". I know this is not a support forum for this tool, however I don't know where else to ask this, and I assume there are people over here who use the tool. 0 Quote Link to comment Share on other sites More sharing options...
A Canadian Cat Posted November 24, 2014 Share Posted November 24, 2014 I just tried it my self - with success. Double clicking did not work on my machine though - not sure why. But running from teh command line worked. Here is what I did: first I copied a few .btt files to the directory where I unzipped the CMx2_ScAn_CaDe_v1.7 files then I ran this command line: C:\Users\ileslie\Dropbox\Downloads\Tools\ScenarioInfo>java -jar CMx2_ScAn_CaDe_v1.7.jar That worked and produced the "Scenario_Listing.xml" file as expected. I am running Java 8 but I do not see anything that requires that in the .jar file. 0 Quote Link to comment Share on other sites More sharing options...
Erik Springelkamp Posted November 24, 2014 Author Share Posted November 24, 2014 I just tried it my self - with success. Double clicking did not work on my machine though - not sure why. But running from teh command line worked. Here is what I did: first I copied a few .btt files to the directory where I unzipped the CMx2_ScAn_CaDe_v1.7 files then I ran this command line: That worked and produced the "Scenario_Listing.xml" file as expected. I am running Java 8 but I do not see anything that requires that in the .jar file. Ah, I will try that -jar option. It is over 10 years ago that I worked with java, and forgot what options to use. Java evidently expected my jar to be a main class, that is consistent with the error message. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
Mic2Bec Posted November 25, 2014 Share Posted November 25, 2014 However, I cannot get it to run: I have installed the latest Java runtime (which I hardly trust any more, considering Oracle's effort to make you install additional stuff) on my Windows 7 machine Java hint : Control Panel - Java - Advanced properties - scroll down to last checkbox ( in french it's "supprimer les offres de parrainage" ~ "remove commercial offers ???" ) - check it. No more f***ing Ask.com toolbar on next update. 0 Quote Link to comment Share on other sites More sharing options...
Erik Springelkamp Posted November 25, 2014 Author Share Posted November 25, 2014 Ah, I found the place to download offline installers for Java, and I chose 64-bit version, so it will not run in my browser, and there were no ask.com offers. And now double-click on the jar works as well as using the command line. (it also made Vassal work) 0 Quote Link to comment Share on other sites More sharing options...
A Canadian Cat Posted November 26, 2014 Share Posted November 26, 2014 Great glad it works for you now 0 Quote Link to comment Share on other sites More sharing options...
grunt_GI Posted December 30, 2015 Share Posted December 30, 2015 Hi,Is 1.8 the latest version of the Scenario and Campaign Decompiler (CMx2_ScAn_CaDe)? Thanks 0 Quote Link to comment Share on other sites More sharing options...
Mad Mike Posted December 30, 2015 Share Posted December 30, 2015 Hi,Is 1.8 the latest version of the Scenario and Campaign Decompiler (CMx2_ScAn_CaDe)? ThanksYep, it is. See my signature for the download link. 0 Quote Link to comment Share on other sites More sharing options...
grunt_GI Posted December 30, 2015 Share Posted December 30, 2015 Ok, thanks much...just checking..what a wonderful tool... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.