stary2001 / bclyt-stuff Goto Github PK
View Code? Open in Web Editor NEW๐ค about the BCLYT format
๐ค about the BCLYT format
python view.py HudMenu_00.bclyt
There are 15 textures
0x40 b'HudBat_02.bclim'
0x50 b'HudBatBase_01.bclim'
0x64 b'HudBatLgt_01.bclim'
0x77 b'HudBatMask_00.bclim'
0x8b b'HudBatPlg_01.bclim'
0x9e b'HudCoin_W_00.bclim'
0xb1 b'HudCoinLgt_00.bclim'
0xc5 b'HudNetAntOut_00.bclim'
0xdb b'HudNetAntOut_01.bclim'
0xf1 b'HudNetAtnL_10.bclim'
0x105 b'HudNetAtnLgt_00.bclim'
0x11b b'HudNetAtnMask_03.bclim'
0x132 b'HudNetAtnR_10.bclim'
0x146 b'HudNetModeL_00.bclim'
0x15b b'HudWalk_W_00.bclim'
Traceback (most recent call last):
File "/home/duda/bclyt-stuff/view.py", line 48, in <module>
layout = LayoutFile.from_file(f)
File "/home/duda/bclyt-stuff/parse.py", line 157, in from_file
res = lyt.read_section()
File "/home/duda/bclyt-stuff/parse.py", line 372, in read_section
raise Exception("Unknown section {}".format(magic))
Exception: Unknown section b'fnl1'
I modified it a bit to use print instead of raise so that it continues:
There are 15 textures
0x40 b'HudBat_02.bclim'
0x50 b'HudBatBase_01.bclim'
0x64 b'HudBatLgt_01.bclim'
0x77 b'HudBatMask_00.bclim'
0x8b b'HudBatPlg_01.bclim'
0x9e b'HudCoin_W_00.bclim'
0xb1 b'HudCoinLgt_00.bclim'
0xc5 b'HudNetAntOut_00.bclim'
0xdb b'HudNetAntOut_01.bclim'
0xf1 b'HudNetAtnL_10.bclim'
0x105 b'HudNetAtnLgt_00.bclim'
0x11b b'HudNetAtnMask_03.bclim'
0x132 b'HudNetAtnR_10.bclim'
0x146 b'HudNetModeL_00.bclim'
0x15b b'HudWalk_W_00.bclim'
Unknown section b'fnl1'
Unknown section b'\x02\x00\x00\x00'
Unknown section b'\x16\x00\x00\x00'
Unknown section b'std.'
Unknown section b't\x00Hu'
Unknown section b'fnt\x00'
Unknown section b'L\x0b\x00\x00'
Unknown section b'd\x00\x00\x00'
Unknown section b'\xc0\x01\x00\x00'
Unknown section b'(\x02\x00\x00'
Unknown section b'\x90\x02\x00\x00'
Unknown section b'D\x03\x00\x00'
Unknown section b'T\x04\x00\x00'
Unknown section b'@\x05\x00\x00'
Unknown section b'\xa8\x06\x00\x00'
Unknown section b'\xa4\x07\x00\x00'
Unknown section b'$\t\x00\x00'
Unknown section b'8\n\x00\x00'
Unknown section b'P_Ba'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'2\xff\xff\xff'
Unknown section b'\xff\xff\xff\xff'
Unknown section b'\xff\xff\xff\xff'
Unknown section b'\xd5\x06\x00\x00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x80?'
Unknown section b'\x00\x01\x00\x00'
Unknown section b'\x11\x00\x00\x00'
Unknown section b't\x06\x00\x04'
Unknown section b'e\x06\x00\x01'
Unknown section b'\x11\x00\x00\x00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'P_Ne'
Unknown section b'e_00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\xa1Q\xed2'
Unknown section b'\xff\xff\xff\xff'
Unknown section b'\xff\xff\xff\xff'
Unknown section b'\xbf\x07\x00\x00'
Unknown section b'\r\x00\x04\x04'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x80?'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x80?'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x00\x00'
Unknown section b'\x00\x00\x80?'
Unknown section b'\x00\x01\x00\x00'
Unknown section b'D\x04\x02\x06'
Unknown section b'\x11\x00\x00\x00'
Unknown section b'\x12&\x02D'
None
None
Traceback (most recent call last):
File "/home/duda/bclyt-stuff/view.py", line 58, in <module>
frame.setGeometry(10, 10, layout.root_pane.width, layout.root_pane.height)
AttributeError: 'NoneType' object has no attribute 'width'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.