]> git.sesse.net Git - ultimatescore/blobdiff - nageru/ultimate.lua
Enable ESK assets for US4.
[ultimatescore] / nageru / ultimate.lua
index 198ac6457f8a51559a13ea148e44cd7856b199c5..0c2fe3210a4d0410718bf98857341734c0b0e968 100644 (file)
@@ -33,9 +33,9 @@ local INPUT2_SIGNAL_NUM = 2
 local INPUT3_SIGNAL_NUM = 3
 local INPUT4_SIGNAL_NUM = 4
 local INPUT5_SIGNAL_NUM = 5
-local SBS_SIGNAL_NUM = NUM_CAMERAS
-local STATIC_SIGNAL_NUM = NUM_CAMERAS + 1
-local VIDEO_SIGNAL_NUM = NUM_CAMERAS + 2
+local VIDEO_SIGNAL_NUM = NUM_CAMERAS
+local SBS_SIGNAL_NUM = NUM_CAMERAS + 1
+local STATIC_SIGNAL_NUM = NUM_CAMERAS + 2
 
 -- Preview-only signal showing the current signal with the overlay.
 -- Not valid for live_signal_num!
@@ -197,7 +197,7 @@ local simple_scene = make_simple_scene()
 -- Load all the stinger frames.
 local stinger_images = {}
 for idx=0,24 do
-       local filename = cef_path .. "/stinger/blur" .. string.rep("0", 3 - string.len(tostring(idx))) .. idx .. ".png"
+       local filename = cef_path .. "/stinger/esk-blur" .. string.rep("0", 3 - string.len(tostring(idx))) .. idx .. ".png"
        stinger_images[idx] = ImageInput.new(filename)
 end
 
@@ -335,13 +335,9 @@ function channel_name(channel)
        elseif signal_num == INPUT3_SIGNAL_NUM then
                return "Goal R (" .. get_channel_resolution(signal_num) .. ")"
        elseif signal_num == INPUT4_SIGNAL_NUM then
-               return "Commentators (" .. get_channel_resolution(signal_num) .. ")"
+               return "Ambience (" .. get_channel_resolution(signal_num) .. ")"
        elseif signal_num == INPUT5_SIGNAL_NUM then
-               return "Laptop (" .. get_channel_resolution(signal_num) .. ")"
-       elseif signal_num == SBS_SIGNAL_NUM then
-               return "Side-by-side"
-       elseif signal_num == STATIC_SIGNAL_NUM then
-               return "Static picture"
+               return "Commentators (" .. get_channel_resolution(signal_num) .. ")"
        elseif signal_num == VIDEO_SIGNAL_NUM then
                local res = last_resolution[iptv_video:get_signal_num()]
                if (not res) or res.last_subtitle == nil then
@@ -349,6 +345,10 @@ function channel_name(channel)
                else
                        return "Futatabi (" .. get_futatabi_status(res.last_subtitle) .. ")"
                end
+       elseif signal_num == SBS_SIGNAL_NUM then
+               return "Side-by-side"
+       elseif signal_num == STATIC_SIGNAL_NUM then
+               return "Static picture"
        elseif signal_num == OVERLAY_SIGNAL_NUM then
                return "Overlay"
        end
@@ -871,7 +871,7 @@ end
 
 function prepare_sbs_scene(state, scene, t, transition_type, src_signal, dst_signal, screen_width, screen_height, input_resolution, hq)
        scene.input0.input:display(0)
-       scene.input1.input:display(4)
+       scene.input1.input:display(5)
 
        -- Both inputs are the same size (true side-by-side).
        local pos0 = pos_from_top_left(1280 - 616 - 16, 186, 616, 347, screen_width, screen_height)