Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenloses um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereiche, welche für Gäste verwehrt bleiben

Tool iGOLua

Status
Für weitere Antworten geschlossen.

Zhenja-81

Hacker
Registriert
24. August 2009
Beiträge
386
Reaktionspunkte
35.875
Punkte
253
Here is some good in you could see the beginning of the project "iGO unluac" as I expected and forced a max "JiGOLua" is ready
At first I decompile and compile I better than "iGOLua"




It is based on the lua decompiler 5.1 "unluac" of tehtmi:
Du musst dich Anmelden oder Registrieren um diesen link zusehen!


And the compiler included in Luaj of ian_farmer and jim_roseborough:
Du musst dich Anmelden oder Registrieren um diesen link zusehen!


Changes for compatibility with "iGO"
- Configuration of integer numbers in Lua
- Compilation and decompilation forced little endian
- Added full support WideString (constant id 0x9)
- Added 5 new opcodes for binary operators:
BAND = 38;
BOR = 39;
BXOR = 40;
BSHL = 41;
BSHR = 42;

instructions:
WideString: The WideStrings or French speaking over the strings with characters utf16 are reported with an L before quotation marks. (eg: L "")
BAND: bitwise AND operator & in JiGOLua
BOR: Binary OR Operator | in JiGOLua
BXOR: XOR binary operator ^ in JiGOLua
BSHL: Offset bit left operator << in JiGOLua
BSHR: shift bit right >> in JiGOLua operator

The app can also be used from the command line:
usage: java-jar JiGOLua.jar [option] [filename]
Available options are:
-d decompile
-b build
-o name build output to file 'name' (default is "luac.out")
-v show version information
-h show this help

Be careful when compiling, the file must be compiled with its final name!

Java 7 is installed on your computer to use it.
Du musst dich Anmelden oder Registrieren um diesen link zusehen!


Djeman ©



THX djeman
 
Zuletzt bearbeitet:
JiGOLua v1.10

JiGOLua v1.10 by djeman



Changelog:
v1.10: - Adding parentheses on binary expressions when they call to a function
eg: (value * 8388608 + geocoord_parser.half):toInt()
v1.9: - Added a new menu Debug with:
* Disassemble lua file => To disassemble compiled files
* Check reversing => Checking the source file recompiled decompiled sources, accurately indicates the different lines
* Compare files compiled => The same test but with the choice of files
v1.8: Fixed problem parsing text files (decompiled source)
v1.7: - Fixed allocation WideStrings the compilation
- Fixed error when decompiling conditions last empty branch
v1.6: Improved error display
v1.5: - The display of the line and column updates now on all cursor movements
- Changing the strings for decompiling decompile always online
- Addition of backslash before apostrophes in strings on decompilation
- Some other minor staining and loading files decompiled
v1.4: fixed compilation big problem
v1.3: Added a menu Extras with a utility to extract and create zip files
v1.2: Fixed binary operators in the decompiled code
v1.0: initial



Du musst dich Anmelden oder Registrieren um diesen Inhalt sichtbar zu machen!
THX djeman​


Enjoy :)

Cyrille
 
Zuletzt bearbeitet:
AW: iGOLua

New update !!!
JiGOLua v1.6: Improved error display

View this post for the description and installation of JiGOLua:
Du musst dich Anmelden oder Registrieren um diesen link zusehen!

View this post for the download: Post #2

THX djeman


Enjoy :)

Cyrille
 
Zuletzt bearbeitet:
AW: iGOLua

New update !!!
JiGOLua v1.8: Fixed problem parsing text files (decompiled source)

View this post for the description and installation of JiGOLua:
Du musst dich Anmelden oder Registrieren um diesen link zusehen!

View this post for the download: Post #2

THX djeman


Enjoy :)

Cyrille
 
Zuletzt bearbeitet:
AW: iGOLua

New update !!!
JiGOLua v1.9: - Added a new menu Debug with:
* Disassemble lua file => To disassemble compiled files
* Check reversing => Checking the source file recompiled decompiled sources, accurately indicates the different lines
* Compare files compiled => The same test but with the choice of files

View this post for the description and installation of JiGOLua:
Du musst dich Anmelden oder Registrieren um diesen link zusehen!

View this post for the download: Post #2

THX djeman


Enjoy :)

Cyrille
 
Zuletzt bearbeitet:
AW: iGOLua

New update !!!
JiGOLua v1.10: - Adding parentheses on binary expressions when they call to a function
eg: (value * 8388608 + geocoord_parser.half):toInt()

View this post for the description and installation of JiGOLua:
Du musst dich Anmelden oder Registrieren um diesen link zusehen!

View this post for the download: Post #2

THX djeman


Enjoy :)


Cyrille
 
Zuletzt bearbeitet:
AW: iGOLua

Hello,

I found a bug in JiGOLua v1.10.

MODEL.navigation.want_junctionview = not vRouteCalculation() and not MODEL.screen.msgbox.is_onscreen()
and (MODEL.navigation.tunnel_view.enabled() or MODEL.navigation.junction_view_on() and not MODEL.navigation.dead_reckoning() and bLaneinfoSignpostValid())

is decompiled to:

MODEL.navigation.want_junctionview = not vRouteCalculation() and not MODEL.screen.msgbox.is_onscreen()
and not MODEL.navigation.tunnel_view.enabled() and MODEL.navigation.junction_view_on() and bLaneinfoSignpostValid()


Perhaps this could help someone

(It took me some time to find the right function)
 
Zuletzt bearbeitet:
Boardregeln beachten!

Wenn die Links down sind, dann mache es so, wie´s die Boardregeln (die du anscheinend noch nicht gelesen hast) verlangen und schreibe dem Anbieter eine nette PN, damit er sein Angebot erneuert! :emoticon-0103-cool:
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben