From 206419cec9e97b7078d462e882b744485f6051c4 Mon Sep 17 00:00:00 2001 From: comex Date: Fri, 20 Feb 2009 12:55:23 -0500 Subject: Forgot to add this, it might be helpful --- fullscreen.rlyt.py | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 fullscreen.rlyt.py (limited to 'fullscreen.rlyt.py') diff --git a/fullscreen.rlyt.py b/fullscreen.rlyt.py new file mode 100644 index 0000000..d9722e4 --- /dev/null +++ b/fullscreen.rlyt.py @@ -0,0 +1,133 @@ +[ + ('lyt1', { + 'a': 1, + 'width': 608.0, + 'height': 456.0 + }), + ('txl1', { + 'textures': [ + {'unk': 0, 'name': 'icon.tpl'}, + {'unk': 1, 'name': 'opera.tpl'}, + ] + }), + ('fnl1', { + 'files': [ + {'unk': 0, 'name': 'wbf1.brfna'}, + {'unk': 0, 'name': 'wbf2.brfna'}, + ] + }), + ('mat1', { + 'materials': [ + { + 'name': 'textmat', + 'tev_color': [0x0, 0x0, 0x0, 0x0], # Possibly background color + 'tev_kcolor': [0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, ], + 'unk_color': [0xff, 0xff, 0xff, 0xff], # Possibly the color of the thing itself + 'unk_color_2': [0xff, 0xff, 0xff, 0xff], + 'texref': [ { 'tex': 'opera.tpl', 'wrap_s': 0, 'wrap_t': 0 } ], # screwed up with wrap on + 'ua2': [ (0.0, 0.0, 0.0, 1.0, 1.0) ], + 'ua3': [ (1, 4, 0x1e, 0) ], # Changing this --> image disappears (not text, though) + 'ua4': None, + 'ua5': None, + 'ua6': None, + 'ua7': [], + 'ua8': [], + 'ua9': [], + 'uaa': [0x77, 0, 0, 0], # was: [0x77, 0, 0, 0] + 'uab': None, + + + } + + ] + }), + ('pan1', { + 'alpha': 0xff, + 'alpha_2': 0x0, + 'angle': 0, + 'flags_1': 1, + 'flags_2': 4, + 'width': 608, + 'height': 456, + 'name': 'RootPane', + 'x': 0, + 'y': 0, + 'xmag': 1, + 'ymag': 1, + 'z': 0 + }), + 'pas1', + #('txt1', { + #'alpha': 0xff, + #'alpha_2': 0x0, + #'angle': 0, + #'flags_1': 1, + #'flags_2': 0, + #'height': 38, + #'name': 'textbox', + #'width': 400, + #'x': 0, + #'y': 50, + #'xmag': 1, + #'ymag': 1, + #'z': 0, + #'~text.material': 'textmat', + #'~text.text': 'Some Text', + #'~text.font_idx': 0, + #'~text.unk4': 0, + #'~text.color1': 0xffffffff, + #'~text.color2': 0xffffffff, + #'~text.font_size_x': 32.0, + #'~text.font_size_y': 38.0, + #'~text.char_space': -1.0, + #'~text.line_space': -1.0, + #}), + #[('txt1', { + #'alpha': 0xff, + #'alpha_2': 0x0, + #'angle': 0, + #'flags_1': 1, + #'flags_2': 0, + #'height': 38, + #'name': 'textbox%d' % i, + #'width': 400, + #'x': random.randint(0, 600), + #'y': random.randint(0, 600), + #'xmag': 1, + #'ymag': 1, + #'z': 0, + #'~text.material': 'textmat', + #'~text.text': 'benzin (and built-in fonts) ftw!', + #'~text.font_idx': 1, + #'~text.unk4': 0, + #'~text.color1': 0xffffffff, + #'~text.color2': 0xffffffff, + #'~text.font_size_x': 32.0, + #'~text.font_size_y': 38.0, + #'~text.char_space': -1.0, + #'~text.line_space': -1.0, + #}) for i in xrange(2, 29)], + ('pic1', { + 'alpha': 0xff, + 'alpha_2': 0x0, + 'angle': 0, + 'flags_1': 1, # Black if omitted + 'flags_2': 4, # "X, Y at center?" + 'width': 608, + 'height': 456, + 'name': 'pic', + 'x': 0, + 'y': 0, + 'xmag': 1, + 'ymag': 1, + 'z': 0, + '~pic.material': 'textmat', + '~pic.texcoords': [(0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0)], + }), + 'pae1', + ('grp1', { + 'name': 'RootGroup', + 'subs': [], + 'unk': 0 + }), +] \ No newline at end of file -- cgit v1.3.1