Installation script is broken and decompilation fails
Opened this issue · 1 comments
Thanks for your update to the app, Noah. I've been looking for a simple command line tool to assist with compiling 8XP apps and strip comments etc. I gave it a crack but unfortunately it's quite buggy:
-
The
win-installer.bat
fails to run as it seems that you've renamed theCPP
files toCC
. I eventually found my way around this manually and managed to create an EXE file. -
When decompiling a very simple
8XP
file (temp2.zip):Disp 1+1
It produced the following file:
1+1{->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->FRAC->
Is this a bug in the decompiler? Or perhaps an issue with me not running the
g++
commands correctly?
-
Thank you for pointing out the windows install script hasn't been updated following the recent file renaming in 8ee9d07. Commit 11d4bd4 has been made to address this issue and should fix it.
-
This bug you experienced when decompiling temp2.8xp also happens on my system, so you seem to have run the g++ commands correctly. Currently, the decompiler is very limited: It only works correctly when decompling 8xp-files that have been compiled from source files via tibasicc. Other 8xp-files produce unexpected results like this. I could (or should) have pointed this out more clearly, that is.
I will decide later how to deal with issue management, but I will probably create a new issue that mentions and explains your 2. point and close this issue as your 1. point is already fixed.