[version:2, standalone:true]

//
// DMP-5000 10.35.0.77 64-bit
//
// DMP-5000 Startup Script
//
// This file was auto-generated at 2026-07-17 07:19:50
// DO NOT EDIT! - custom actions can be added in Content/startup.script
//


//wait for VIP ready state
vip.wait(timeout:120);

//increase base process priority
system.setpriority("high");

system.kiosk(false);

//set system resolution for screen outputs
system.setvideomode(gpu:"0", refresh:"60/1", width:"1280", height:"720");

//discover hardware/network sources
system.discover("hardware");
jobs.add(id:"discover", delay:10, "system.discover(\'network\');");

output["0"].open(video:"window", gpu:0, width:"1280px", height:"720px", refresh:"60/1", audio:"none", onclose:"app.quit();");
sign["primary"].open(output:"0", width:1280, height:720, direct:true, preview:false, audio:false, background:"#00000000");
output["0"].map(src:"sign://./primary", from:"rect(0px 0px 1280px 720px)", to:"rect(0px 0px 1280px 720px)", audio:false);

sign["ntcip-1"].open(output:"0", height:32, width:112, layout:"none");
sign["ntcip-1"].map(src:"system/ntcip/sign-1.dpf");
output["0"].map(src:"sign://./ntcip-1", to:"rect(0px 0px 112px 32px)");


output["0"].syncpixel(enabled:true, syncfps:3);


//startup cpp and app services with defaults
service["*"].open();
sign["primary"].export("boot", file:"system/startup/sign/primary/boot_full.vmpl", compact:false);
sign["primary"].heartbeat();
zone["primary"].add(src:"system/startup/sign/primary/boot_full.vmpl", mode:"one-time", runtimes:1, pop:false, commit:"boot", onsuspend:"sign[\"primary\"].schedule(type:\"*\", action:\"resume\");");
zone["primary"].commit("boot");


//automatically make window outputs fullscreen
jobs.add(id:"fullscreen", delay:3, "output[\'0\'].fullscreen(mode:\'fsbw\');");


