Closed alexsteve647 closed 3 months ago
yea... says nothing... You didn't specify what script you're trying to decompile, what error you're getting, and you didn't attach that script either.... The only thing I can write back to your post is "It works for me".
Used command: python l64decode.py scripts decompiled_scripts
Output:
Processing scripts\AchievementManager.l64...
Processing scripts\AdsSystem.l64...
Processing scripts\AnimCurve.l64...
Processing scripts\BaseMission.l64...
Processing scripts\Benchmark.l64...
Processing scripts\CameraFlightManager.l64...
Processing scripts\CameraPath.l64...
Processing scripts\CollisionFlag.l64...
Processing scripts\CollisionMask.l64...
Processing scripts\DedicatedServer.l64...
Processing scripts\drawing.l64...
Processing scripts\events.l64...
Processing scripts\ExtraContentSystem.l64...
Processing scripts\Files.l64...
Processing scripts\FSBaseMission.l64...
Processing scripts\FSCareerMissionInfo.l64...
Processing scripts\FSMissionInfo.l64...
Processing scripts\game.l64...
Processing scripts\GameSettings.l64...
Processing scripts\GameState.l64...
Processing scripts\GameStateManager.l64...
Processing scripts\I18N.l64...
Processing scripts\io.l64...
Processing scripts\KioskMode.l64...
Processing scripts\main.l64...
Processing scripts\menu.l64...
Processing scripts\MessageCenter.l64...
Processing scripts\MissionInfo.l64...
Processing scripts\mods.l64...
Processing scripts\MoneyType.l64...
Processing scripts\RestartManager.l64...
Processing scripts\Shader.l64...
Processing scripts\StartParams.l64...
Processing scripts\std.l64...
Processing scripts\SystemConsoleCommands.l64...
Processing scripts\testing.l64...
Done!
Files decompiled not correctly. Example(from main.lua):
LJdataS/scripts/main.lua( ±- L €debugPlatformId ÿ jš¦+ 6 9' B X€6 96 9' B X€' B6 8
X€6 8
X€3 7 6 B7
6 9
X€6 9 X€+ X€+ 7
6 9 X€6 9 X€+ X€+ 7 6 9 X€6 9 X€+ X€+ 7 6 9 X€+ X€+ 7 6 9 X€+ X€+ 7 6 9 X€6 9 X€+ X€+ 7 6 X€6 7 6 X€6 7 2 €K GS_IS_MOBILE_VERSIONGS_IS_CONSOLE_VERSIONGS_PLATFORM_PHONEIOSANDROIDGS_PLATFORM_SWITCH
SWITCHGS_PLATFORM_GGPGGPGS_PLATFORM_PLAYSTATIONPS5PS4GS_PLATFORM_XBOXXBOX_SERIES
XBOX_ONEGS_PLATFORM_PCMACWINGS_PLATFORM_IDgetPlatformId PlatformId
getValue trim
string
platform
getIsSetStartParams
Used scripts: scripts.zip
Thank you for help!
Well, everything is ok, .l64 were decoded correctly.
Of course no.
The code in this repository is not meant to decompile the .l64 files from Farming Simulator. It is solely meant to decode them into a format that can be readable by a separate LuaJIT decompiler. After decoding the .l64 files, you will still need to run them through a decompiler.
Thank you sir for answer!
Title says all.