Closed TTV630 closed 4 years ago
When i use the windows CMD, and drag the l64decode.py in it, and press enter i get this error:
C:\Users\TTV630>"C:\Users\TTV630\Documents\rommelen\ALPEN\l64decode\l64decode.py" usage: l64decode.py [-h] [-r] [-o] input output l64decode.py: error: the following arguments are required: input, output
You are on the right track by opening the script in the Windows CMD. To decode a .l64 file, you will need to execute:
"C:\Users\TTV630\Documents\rommelen\ALPEN\l64decode\l64decode.py" "<<PATH TO .l64 FILE>>" "<<DESIRED PATH FOR OUTPUT>>"
For example:
"C:\Users\TTV630\Documents\rommelen\ALPEN\l64decode\l64decode.py" "C:\input_file.l64" "C:\output_file.lua"
Since this is not an issue with the script itself but with how to use the script, I am closing this issue. For further help, please refer to Google or your favourite search engine for help on how to execute Python scripts.
Yeah, thanks for your reaction, its helpfull. But no i have an other problem, I have now this: C:\Users\TTV630>C:\Users\TTV630>C:\Users\TTV630\Documents\rommelen\ALPEN\l64decodeC:\Users\TTV630\Documents\rommelen\ALPEN\l64decode.py C:\Users\TTV630\Documents\rommelen\ALPEN\l64decode C:\Users\TTV630\Documents\rommelen\ALPEN\l64decode
but then he says this:access denied
From what I can tell by your description, this is not an issue with the script itself; instead, there is an issue with reading or writing file(s) due to permission issues (the folder is read-only for your user, the file is open in another program, etc.). Please try specifying another output directory and see if that makes a difference.
Since this is not an issue with the script itself, please refrain from posting here unless you find a bug with the script itself.
Yes, i think i have it, because i had it open in Notepad++
Now i have this: C:\l64decode\l64decode.py C:\l64decode\AdditionalFillTypes.l64 C:\l64decode\AdditionalFillTypes.lua
But when i press enter, nothing happens and CMD starts a new line: C:\Users\TTV630>
Does the file "C:\l64decode\AdditionalFillTypes.lua" now exist?
Yes, i made that file in Notepad, its empty
The script will create the files for you; you do not need to create the .lua file. Just supply the script with a .l64 file, and it will decode it and create the .lua file where you specify.
okey, i creat a map in l64decode, the name is lua, and this is my line in CMD: C:\l64decode\l64decode.py C:\l64decode\AdditionalFillTypes.l64 C:\l64decode\lua
So it sould work on this way? But when i press enter nothing happens?
It should work. The file "C:\l64decode\lua\AdditionalFillTypes.lua" should be created now.
But it doesnt work? I have opend CMD as administrator, and the normal way, but both times the same thing, CMD makes a new line if i press on enter
Try executing the following instead:
python "C:\l64decode\l64decode.py" "C:\l64decode\AdditionalFillTypes.l64" "C:\l64decode\lua\AdditionalFillTypes.lua"
I have copy this: python "C:\l64decode\l64decode.py" "C:\l64decode\AdditionalFillTypes.l64" "C:\l64decode\lua\AdditionalFillTypes.lua"
But the same thing
Does "Done!" appear before the new line? If not, please provide a screenshot and/or a copy of the .l64 file so that I can troubleshoot the issue.
This is in CMD
This is the L64 file
AdditionalFillTypes.zip And this is the whole file
What shows up when you execute python --version
?
i tried with cmd in administator mode. this path
C:\l64decode\l64decode.py C:\l64decode\WorkModeInputActionFix.l64 C:\l64decode\WorkModeInputActionFix.lua
insert in l64decode the file l64 but when press enter the file not convert in lua because?
I have Python 3.9
C:\WINDOWS\system32>python --version Python 3.9.0
I will look tommorow evening again!
i have a 3.3.0 version but not any change
I have tried with the file that @TTV630 provided me, and I was able to successfully decode the file using the script in the repository. Please keep in mind that the resulting files are LuaJIT bytecode files and will need to be decompiled with a decompiler before they are human-readable.
Yes i know that, i have a decompiler. But why the script doesn't work by me?
Ok thanks, write here all step for convert the file thanks
Il dom 15 nov 2020, 22:52 Andrew Hirst notifications@github.com ha scritto:
I have tried with the file that @TTV630 https://github.com/TTV630 provided me, and I was able to successfully decode the file using the script in the repository. Please keep in mind that the resulting files are LuaJIT bytecode files and will need to be decompiled with a decompiler before they are human-readable.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chill1Penguin/l64decode/issues/6#issuecomment-727643067, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYF2HVYJM7TBJZKJ3KAVW3SQBESNANCNFSM4TWLCHXA .
i make this but the lua file not create
I used it recently and I give this command:
python3.8 working/l64decode.py -r source -o working/decoded_files
but i have Python 3.8.6
hello would you help me to convert some files to lua I tried but I can't. if you want I have discord
Il lun 16 nov 2020, 15:31 Ziuta notifications@github.com ha scritto:
I used it recently and I give this command: python3.8 working/l64decode.py -r source -o working/decoded_files
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chill1Penguin/l64decode/issues/6#issuecomment-728098984, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYF2HV7GZA6V4X6W2LF75LSQEZVBANCNFSM4TWLCHXA .
When i remove Python from my computer, and i do the command in CMD, he is asking my how i would open the l64decode.py file, but when i install Python, i have 3.9, then nothing happens and the same problem as yesterday This command i use: C:\l64decode\l64decode.py C:\l64decode\AdditionalFillTypes.l64 C:\l64decode\lua
But i have tried a lot
@leone9898 The last screenshot that you provided of the command line window has the quotation marks in the incorrect spots. The script will not work. The correct command is:
python "C:\l64decode\l64decode.py" "C:\l64decode\PlaceableTipCollisionUpdateFix.l64" "C:\l64decode\lua\PlaceableTipCollisionUpdateFix.lua"
Also, does the contents of your l64decode.py file match exactly the file in the repository? If you copy-and-paste the file from the GitHub site, you may be inserting invisible or undesired characters in the file. If you are doing so, please try cloning the repository or saving the raw file instead.
Ok thanks, the python script that use is into zip file that download ftom github. I not copy and paste
Il lun 16 nov 2020, 23:45 Andrew Hirst notifications@github.com ha scritto:
@leone9898 https://github.com/leone9898 The last screenshot that you provided of the command line window has the quotation marks in the incorrect spots. The script will not work. The correct command is:
python "C:\l64decode\l64decode.py" "C:\l64decode\PlaceableTipCollisionUpdateFix.l64" "C:\l64decode\lua\PlaceableTipCollisionUpdateFix.lua"
Also, does the contents of your l64decode.py file match exactly the file in the repository? If you copy-and-paste the file from the GitHub site, you may be inserting invisible or undesired characters in the file. If you are doing so, please try cloning the repository or saving the raw file instead.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chill1Penguin/l64decode/issues/6#issuecomment-728375209, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYF2HQLB5OLS3GQWJQHUZLSQGTPHANCNFSM4TWLCHXA .
Does the script work for you now?
I don't know I have not tried, I have the pc off tomorrow Morning I try.
Il lun 16 nov 2020, 23:48 Andrew Hirst notifications@github.com ha scritto:
Does the script work for you now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chill1Penguin/l64decode/issues/6#issuecomment-728376800, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYF2HTNCJ6MBASRQTDAYU3SQGT45ANCNFSM4TWLCHXA .
is it also valid with version 3.9, or do you need to have a specific one?
Il lun 16 nov 2020, 23:50 Matteo Bagatella bagatellamatteo8991@gmail.com ha scritto:
I don't know I have not tried, I have the pc off tomorrow Morning I try.
Il lun 16 nov 2020, 23:48 Andrew Hirst notifications@github.com ha scritto:
Does the script work for you now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chill1Penguin/l64decode/issues/6#issuecomment-728376800, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYF2HTNCJ6MBASRQTDAYU3SQGT45ANCNFSM4TWLCHXA .
It should work with 3.9, too.
thank you very much i'm happy i did it, you were right there was probably some characters that didn't make the script go. And now how do i convert them into readable file? @chill1Penguin
You will need to use a LuaJIT decompiler to convert the decoded file into a readable file. There are a couple of projects out there. Google should be able to help you out there.
i'm looking but i can't find any project, will you kindly tell me some? @chill1Penguin
This is one of them: https://gitlab.com/znixian/luajit-decompiler.
i try but realese this error
the cmd release this error: C:\WINDOWS\system32>python "C:\Users\Matteo\Desktop\luajit-decompiler\main.py" "C:\Users\Matteo\Desktop\luajit-decompiler\conv\AdditionalFillTypes.lua" "C:\Users\Matteo\Desktop\AdditionalFillTypes.lua" catch_asserts Usage: main.py [options] @chill1Penguin
If you are having issues with another project, please do not post here to report an issue with the other project. This area is not designed for technical support but for reporting issues with this project only.
I write in the site of project but not responde anythink, you help me thanks
Il mar 17 nov 2020, 13:42 Andrew Hirst notifications@github.com ha scritto:
If you are having issues with another project, please do not post here to report an issue with the other project. This area is not designed for technical support but for reporting issues with this project only.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chill1Penguin/l64decode/issues/6#issuecomment-728902293, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYF2HQGMNTOPCGOFBSB7GTSQJVR7ANCNFSM4TWLCHXA .
I use this code:
But whats wrong? The file name is 100% the same, i copie it in the code
This is the map:
And with python first in the code this happens:
@TTV630 Judging by those screenshots, the issue is most likely something to do with your Python installation or system setup and has nothing to do with a bug in this script. Since the issue has nothing to do with this script, I am going to refer you to Google or another website for further support in troubleshooting your issue. I will be closing this issue.
I hope you solve the problems you are having with running this script.
Hello,
I want to use your Python script to decode the L64 files of FS19. When i open with double klick your file l64decode.py it shows up and close immediately. But when i open Python first, and drag your script in it i get this error;
But i think the problem is somewhere else then in your script. I have this problem that it immediately close with other Python files also? But I am not otherwise familiar with Python
I hope you have an anser!