InterDVDPGC

Inherits: Resource < RefCounted < Object

Program Chain: cells plus pre/post instruction arrays.

Description

PGC pre/post and cell-post sites are written into the IFO. First Play (FPC) is a PGC on InterDVDProject. Set Resource.resource_name so button destination dropdowns can label this title. The inspector DVD Authoring buttons append a video cell or a Jump Title highlight.

Properties

Array[InterDVDButton]

buttons

[]

Array[InterDVDCell]

cells

[]

PackedColorArray

clut

PackedColorArray()

int

default_button

1

int

next_pgc

0

Array[PackedByteArray]

post_commands

[]

Array[PackedByteArray]

pre_commands

[]

int

prev_pgc

0

int

still_time

0

int

parental_id

0

int

uops

0

int

goup_pgc

0

int

title_set_nr

0

Methods

InterDVDCell

add_cell_from_video(path: String)

InterDVDButton

add_jump_title_button(title_n: int = 1)


Property Descriptions

Array[InterDVDButton] buttons = [] 🔗

Optional highlight buttons overlaid on this title (for example a Next Scene control). Written as PCI HLI in the title VOB.


Array[InterDVDCell] cells = [] 🔗

Ordered cells in this PGC. Each cell is muxed into the title VOB; cell N is chapter N (PGN N / PTT N).


PackedColorArray clut = PackedColorArray() 🔗

Optional 16-entry PGC palette written at PGC offset 0xA4. Empty keeps the default golds.

Note: The returned array is copied and any changes to it will not update the original property value. See PackedColorArray for more details.


int default_button = 1 🔗

  • void set_default_button(value: int)

  • int get_default_button()

Forced-selected title-domain button when this PGC has highlight buttons.


int next_pgc = 0 🔗

  • void set_next_pgc(value: int)

  • int get_next_pgc()

Next PGC number. Titles with highlight buttons default to looping this PGC when unset.


Array[PackedByteArray] post_commands = [] 🔗

PGC post commands (used after the last cell).


Array[PackedByteArray] pre_commands = [] 🔗

PGC pre commands.


int prev_pgc = 0 🔗

  • void set_prev_pgc(value: int)

  • int get_prev_pgc()

Previous PGC number.


int still_time = 0 🔗

  • void set_still_time(value: int)

  • int get_still_time()

Still time in seconds written on the last cell (255 = infinite).


int parental_id = 0 🔗

  • void set_parental_id(value: int)

  • int get_parental_id()

Parental id for TT_SRPT and PGCI search pointer.


int uops = 0 🔗

  • void set_uops(value: int)

  • int get_uops()

Prohibited user operations written at PGC offset 8.


int goup_pgc = 0 🔗

  • void set_goup_pgc(value: int)

  • int get_goup_pgc()

Go-Up PGC number at IFO offset 0xA0.


int title_set_nr = 0 🔗

  • void set_title_set_nr(value: int)

  • int get_title_set_nr()

1-based VTS number. 0 compiles as VTS 1.


Method Descriptions

InterDVDCell add_cell_from_video(path: String) 🔗

Appends a cell whose InterDVDCell.source_path is path and returns it. Each cell is chapter N in this title.


InterDVDButton add_jump_title_button(title_n: int = 1) 🔗

Appends a Jump Title highlight button targeting title_n and returns it.