This one also failed
Next one: https://vassalengine.org/~uckelman/VASSAL-7b6ba53e.exe
(I suspect this one will work. The bad commit is probably fa9a7cbd. Once weāve confirmed that, Iāll stare at it a bit to see if I can spot whatās wrong, and then Iāll have a fix for you to test.)
Yes, this one did work. Might not get to your next one for an hour or so
Next one: https://vassalengine.org/~uckelman/VASSAL-revert.exe
This one is produced by launch4j 3.50 with commit fa9a7cbd reverted. I suspect it will work. The next step after this one is to figure out whatās wrong with that commit. I donāt quite see it yet.
Yes, this one worked
Try running the original VASSAL.exe from 3.6.17 with the command line option --l4j-debug-all
, so like this:
VASSAL.exe --l4j-debug-all
That should produce a file named launch4j.log
. Please post the contents of that file.
I didnāt find the log file anywhere, I looked in the user profile path and the vassal directory.
I expect the log would be written in the directory from which youāre launching VASSAL.exe
. Can you run it from your user directory? Say, as C:\Program Files\VASSAL-3.6.17\VASSAL.exe --l4j-debug-all
?
Hereās where I found one:
C:\Users\XXXXXX\AppData\Local\VirtualStore\Program Files\VASSAL-3.6.17
But it is a zero byte file.
Does the timestamp for that file match when you ran VASSAL.exe
?
Yes, it matched 17:55 EST
Letās see if we can figure out how far it gets before crashing.
Try this one: https://vassalengine.org/~uckelman/VASSAL-1.exe
(This one might work. If it works, that means it got at least up to the bail-out point I inserted.)
Actually it didnāt get through. I also tried it with the log switch and it didnāt create one.
Just to make sure, I ran VASSAL-7b6ba53e.exe again with the log switch and it did create one, so I know it can work
Thank you for checking thatāI was about to ask. This means VASSAL-1.exe is failing sooner than I thought it would.
No run on that one and no log
How about this one? https://vassalengine.org/~uckelman/VASSAL-3.exe
Same result, no run and no log
Itās obnoxious that it doesnāt flush the log on each write⦠Thatās something youād really like to have when youāre doing debug logging.
Iāll stare at this more tomorrow. Thanks for testing.
Iāve hit a wall. In order to debug further, I need to be able to recompile head.c
in Launch4j, but Launch4j doesnāt provide any instructions for doing that correctly. (Iāve spent about four hours now trying.)
Iām going to file a bug report with Launch4j, but it could be a long time (or never) before it gets acted on. I might switch us back to Launch4j 3.14, which doesnāt have this problem. In the meantime, you can use a VASSAL.exe from 3.6.16 as your launcher instead.