Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local L1_1, L2_2, L3_3, L4_4, L5_5
- L0_0 = include
- L1_1 = "file://install/lib/include.lua"
- L0_0(L1_1)
- L0_0 = include
- L1_1 = "file://install/common/include.lua"
- L0_0(L1_1)
- L0_0 = import
- L1_1 = "out_frame"
- L0_0 = L0_0(L1_1)
- L1_1 = 180000
- L2_2 = false
- L3_3, L4_4 = nil, nil
- L5_5 = export
- L5_5("__callback_complete_zip_unzip", function(A0_6, A1_7, A2_8)
- klb_logger_debug("complete unzip..." .. tostring(A1_7) .. tostring(A2_8))
- L3_3:setSimpleText(string.format("Verifying data %d%%", A1_7 * 100 / A2_8), 26, 16777215)
- end)
- L5_5 = export
- L5_5("__callback_complete_zip_finish", function()
- L2_2 = false
- disconnectAllLocalDBFacilitator()
- end)
- L5_5 = export
- L5_5("__callback_complete_zip_error", function()
- L2_2 = false
- L4_4 = TASK_kill(L4_4)
- if ONLINE_killLock then
- ONLINE_killLock()
- end
- end)
- function L5_5()
- import("NowLoading").start()
- L3_3 = import("ui").VirtualDoc.create(nil, UI_ORDER.FLOAT, 400, 280, 300, 80, 300, 80, 16, false)
- L3_3:stageOnly()
- L3_3:setSimpleText("Verifying data", 26, 16777215)
- L4_4 = ONLINE_CompleteZip("file://external/download_tmp.zip", "__callback_complete_zip_unzip", "__callback_complete_zip_finish", "__callback_complete_zip_error")
- setTimeout(function()
- L2_2 = false
- TASK_kill(L4_4)
- if ONLINE_killLock then
- ONLINE_killLock()
- end
- end, L1_1, L4_4)
- end
- function setup()
- local L0_9, L1_10, L2_11
- L0_9 = ONLINE_hasLock
- if L0_9 then
- L0_9 = ONLINE_hasLock
- L0_9 = L0_9()
- if L0_9 then
- L0_9 = true
- L2_2 = L0_9
- L0_9 = L5_5
- L0_9()
- end
- end
- L0_9 = FONT_setDefaultFont
- L1_10 = import
- L2_11 = "const"
- L1_10 = L1_10(L2_11)
- L1_10 = L1_10.DEFAULT_FONT
- L0_9(L1_10)
- L0_9 = GL_SetResolution
- L1_10 = 960
- L2_11 = 640
- L0_9(L1_10, L2_11)
- L0_9 = L0_0
- L1_10 = L0_9
- L0_9 = L0_9.checkOutFrame
- L0_9 = L0_9(L1_10)
- if L0_9 then
- L0_9 = GL_SetResolution
- L1_10 = 960
- L2_11 = 640
- L0_9(L1_10, L2_11, true)
- end
- L0_9 = SG_SetGuardBand
- L1_10 = -1200
- L2_11 = 1500
- L0_9(L1_10, L2_11, -400, 1200)
- L0_9 = ENG_isRelease
- L0_9 = L0_9()
- if L0_9 then
- L0_9 = GL_ClearColor
- L1_10 = 0
- L2_11 = 0
- L0_9(L1_10, L2_11, 0, 1)
- else
- L0_9 = GL_ClearColor
- L1_10 = 0
- L2_11 = 1
- L0_9(L1_10, L2_11, 0, 1)
- end
- L0_9 = import
- L1_10 = "sound"
- L0_9 = L0_9(L1_10)
- L0_9 = L0_9.setPauseOnInterruption
- L1_10 = false
- L0_9(L1_10)
- L0_9 = ENG_isRelease
- L0_9 = L0_9()
- if not L0_9 then
- L0_9 = import
- L1_10 = "GhostPlayer"
- L0_9 = L0_9(L1_10)
- L1_10 = import
- L2_11 = "Debug"
- L1_10 = L1_10(L2_11)
- L2_11 = getGhostPlayerActivity
- L2_11 = L2_11()
- if L2_11 then
- L1_10.cheat_perfect = true
- L2_11 = L0_9.set_tutorial_ghost
- L2_11(true)
- L2_11 = math
- L2_11 = L2_11.random
- L2_11 = L2_11(300000)
- setTimeout(function()
- if isTutorial() then
- sysReboot()
- end
- end, L2_11)
- end
- end
- end
- function execute()
- if not L2_2 then
- import("NowLoading").kill()
- if L3_3 then
- L3_3:kill()
- L3_3 = nil
- end
- disconnectAllLocalDBFacilitator()
- sysLoad("file://install/m_boot/start.lua")
- end
- end
- function leave()
- local L0_12, L1_13
- end
Advertisement
Add Comment
Please, Sign In to add comment