A new 'major' version of witpDecoder is ready. This time it is Version 0.5
What is WitpDecoder? A general explanation can be found at the beginning of the old witpdecoder thread. Preferably do not read too much of it as most of it is hopelessly outdated (thus this new thread).
If you used previous versions of witpDecoder, please install this in a new directory. It contains new a hsqldb and SWT version, major changes to the database schema which require reinitialization, and a new way to create a more readable map overview map (thanks to VSWG for the tip). You may want to copy any clusters.csv and clusterbases.csv file over from your old directory.
What's new? From the latest version (0.4c) at least the following improvements where made:
A sidebar was added to the Map overview tab to show info on clicked on hexes (using pop-ups was considered a bit difficult)
An overview of the aircraft classes was added which allows sorting them after various criteria and also tells you where they are build (and how many you have researched yet).
The "Prefs" button in the leader tab finally works.
DB update routines where reworked (and should be faster now). So witpDecoder should no longer crash after excessive use of the "Load Batch" function. As a side effect changes to leader skills and completed ship repairs are shown in the shell window created at startup (if you are using witpdecoder.bat)
Future inconsistencies are no longer shown by default (although you can switch them on again).
Probably lots of bug fixes.
Any enterprising Java & SQL Programmer with too much time on his hands can write plugins for the Map overview tab to replace the current "Positioning test".
Future updates This is probably the last 'major' release before the AE version. Unless lots of time mysteriously appears minor releases will only fix bugs and allow more than one plugin.
First picture: The "Ship Repair" mode of the "Map Overview" tab with the new sidebar.
@bobogoboom You seem to be missing a Windows Graphics library. See the 'Why do I get "SWTException: Unable to load graphics library" using GC?' question on http://www.eclipse.org/swt/faq.php#nographicslibrary
Have been using v 0.4 while playing Guadalcanal (the official scenario 5) and this have worked fine. I get about fifteen error messages when I load the current savefile. However with v 0.5 I get an additional fatal errormessage at the end, Any idea what this is about?
ORIGINAL: RAM yah, got the problem too, I'm trying to load a savegame of the scenario 157, got exactly the same error.
Can't be since other people reported the problem during initialization, not during save game loading.
This is most probably a mismatch between the value range witpDecoder's database expect for some AC attribute and what CHS choose to set it to. Unless someone with this error sends me the generated WITP???.csv files from his witpdecoder directory I can't do anything about it. I got CHS 158c (due to some other issues) and with that the problems doesn't seem to occur.
Oh, and no fix before Christmas anyway, have a nice holiday.
Posts: 1517
Joined: 7/16/2006 From: Newcastle upon Tyne. England Status: offline
Ok, I just reinstalled the programme to a clean folder. I have already installed to two other ones that worked fine.... base WITP and CHS 155. This is CHS158.
Picture of screen report attached. Here is the log file:
java.lang.ClassNotFoundException: de.retsiemuab.witpDecoder.gui.mapviewPlugins.TestPlugin at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at de.retsiemuab.witpDecoder.gui.am.<init>(Unknown Source) at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source) at de.retsiemuab.witpDecoder.Main.a(Unknown Source) at de.retsiemuab.witpDecoder.Main.main(Unknown Source) Not loading one/all plugins. Could not create or initialize the databasejava.sql.SQLException: Numeric value out of range java.sql.SQLException: Numeric value out of range at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source) at de.retsiemuab.witpDecoder.d.a(Unknown Source) at de.retsiemuab.witpDecoder.ioreaders.c.a(Unknown Source) at de.retsiemuab.witpDecoder.d.b(Unknown Source) at de.retsiemuab.witpDecoder.gui.at.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at de.retsiemuab.witpDecoder.gui.u.d(Unknown Source) at de.retsiemuab.witpDecoder.gui.i.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source) at de.retsiemuab.witpDecoder.Main.a(Unknown Source) at de.retsiemuab.witpDecoder.Main.main(Unknown Source) Couldn't set up a working DB template. Bad, Bad.
BTW, the first Exception indicates that you didn't correctly install the de/retsiemuab/... directory containing the Plugin (or that I put it wrongly into the zip archive).
I made no changes to the zip files since I put it on-line yesterday. VSWG is talking about a beta version where he managed to find some errors (including the "USA base oil doesn't work" error which was caused by me being too blind to see that I programmed a "=" instead of a "+=". ;-)
Posts: 1517
Joined: 7/16/2006 From: Newcastle upon Tyne. England Status: offline
Its odd, as I have already installed the files into two other WITP file structures with no problem. So the install should be identical. The previous WITPdecoder works fine on the 158 scenario so I know everything is ok in terms of my set up. I will simply try again from scratch with a new download and see what that does.
Posts: 18715
Joined: 10/28/2002 From: Graham, NC, USA Status: offline
Two installations for my AI and PBEM games of CHS 155 are both working great for me.
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
Daily supply/fuel/oil/resources is recognized and displayed by witpDecoder! Or do you want to have them displayed separately?
quote:
ORIGINAL: Woos
I made no changes to the zip files since I put it on-line yesterday. VSWG is talking about a beta version where he managed to find some errors (including the "USA base oil doesn't work" error which was caused by me being too blind to see that I programmed a "=" instead of a "+=". ;-)
Yes, sorry for the confusion. This bug is fixed in the version posted in this thread. I'm using this new version, and it works fine with my CHS Scen 158 PBEM.
Posts: 1517
Joined: 7/16/2006 From: Newcastle upon Tyne. England Status: offline
Well I can see no logical explanation why it won't work for me. V.4 works fine. I have created a new folder (in the right place) and about ten times now installed v.5 into there and run it... all with the same results. I have several times deleted the excel files that witpload creates in the scenario folder as well and watched them rebuild when I run v.5.
I have done exactly the same install for my CHS 155 and my base 15 scenarios in other installs and they both worked first time.
I can only think that there is some problem with the scenario files - if I load a new original scenario file will that mess up my game?
Posts: 18715
Joined: 10/28/2002 From: Graham, NC, USA Status: offline
quote:
ORIGINAL: VSWG
quote:
ORIGINAL: USS America
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
Daily supply/fuel/oil/resources is recognized and displayed by witpDecoder! Or do you want to have them displayed separately?
Maybe my understanding of the base screen for US in CHS 155 is wrong then. The base shows Oil Storage: 55000/6000, and the Oil industry at the base is currently: (499) x 1.
WitPDecoder 0.5 displays the following for the US base: United States: 6 (+2994)
Seems to me the Decoder display matches perfectly with the "Oil Industry" at the base. What then, is the /6000 displayed on the base Oil Storage? I took it to mean the same as SF in Stock, where there is Supply Storage and then "bonus" supply production at the base.
Anyone have any ideas that can clear this up for me?
WitPDecoder 0.5 displays the following for the US base: United States: 6 (+2994)
The Industry tab displays only numbers for the entire cluster, not single bases, so I have no idea how you are able to see the production for "United States" alone - unless you use a separate cluster for this base only.
BTW, (499) x1 means 499 damaged oil centers, and 1 undamaged, so your total oil production by industry should be 6, for a total of 6006.
quote:
Seems to me the Decoder display matches perfectly with the "Oil Industry" at the base. What then, is the /6000 displayed on the base Oil Storage? I took it to mean the same as SF in Stock, where there is Supply Storage and then "bonus" supply production at the base.
You are correct, the /6000 means another 6000 oil arriving every day at this base. As I said above, this wasn't displayed correctly in V. 0.4, but it works fine for me now - are you sure you are using V. 0.5? Have you deleted all witp.* files before installing the new version?