ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
User:桂月August/Sandbox: Difference between revisions
Jump to navigation
Jump to search
m →Codes |
|||
(18 intermediate revisions by the same user not shown) | |||
Line 212: | Line 212: | ||
== Codes == | == Codes == | ||
{|style="text-align:center;" | {|style="text-align:center;background:#f8f9fa;" | ||
!style="background:# | |+'''CSF Format''' | ||
|style="background:# | !style="background:#ff0000bf;width:10%;"| FSC | ||
|style="background:# | |style="background:#bfbfbfbf;width:10%;"|Ver | ||
|style="background:# | |style="background:#bf00ffbf;width:10%;"|NumL | ||
|style="background:# | |style="background:#7f00ffbf;width:10%;"|NumS | ||
|style="background:# | |style="background:#9f9f9fbf;width:10%;"|null | ||
|style="background:#6f6f6fbf;width:10%;"|Lang | |||
|- | |- | ||
!style="background:# | !style="background:#ff7f00bf;width:10%;"| LBL | ||
|style="background:# | |style="background:#0000ffbf;width:10%;"|NumP | ||
|style="background:# | |style="background:#ff00ffbf;width:10%;"|LenL | ||
|style="background:# | |style="background:#e5e500bf;width:10%;" colspan="2"|L | ||
|- | |- | ||
!style="background:# | !style="background:#007fffbf;width:10%;"| RTS | ||
|style="background:# | |style="background:#00efefbf;width:10%;"|LenS | ||
|style="background:# | |style="background:#00ef00bf;width:10%;" colspan="2"|S | ||
|- | |- | ||
!style="background:# | !style="background:#00bfffbf;width:10%;"|WRTS | ||
|style="background:# | |style="background:#00efefbf;width:10%;"|LenS | ||
|style="background:# | |style="background:#00ef00bf;width:10%;" colspan="2"|S | ||
|style="background:# | |style="background:#5500ffbf;width:10%;"|LenX | ||
|style="background:# | |style="background:#99cc00bf;width:10%;" colspan="2"|X | ||
|} | |} | ||
Line 240: | Line 241: | ||
| | | | ||
<div> | <div> | ||
<span style="background:#ff0000bf;">\x20\x46\x53\x43</span><span style="background:#bfbfbfbf;">\x03\x00\x00\x00</span><span style="background:#bf00ffbf;">\x5b\x0f\x00\x00</span><span style="background:#7f00ffbf;">\x5b\x0f\x00\x00</span><span style="background:#9f9f9fbf;">\x00\x00\x00\x00</span><span style="background:# | <span style="background:#ff0000bf;">\x20\x46\x53\x43</span><span style="background:#bfbfbfbf;">\x03\x00\x00\x00</span><span style="background:#bf00ffbf;">\x5b\x0f\x00\x00</span><span style="background:#7f00ffbf;">\x5b\x0f\x00\x00</span><span style="background:#9f9f9fbf;">\x00\x00\x00\x00</span><span style="background:#6f6f6fbf;">\x00\x00\x00\x00</span> | ||
<span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0c\x00\x00\x00</span><span style="background:# | <span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0c\x00\x00\x00</span><span style="background:#e5e500bf;">\x4d\x53\x47\x3a\x50\x69\x6e\x67\x49\x6e\x66\x6f</span> | ||
<span style="background:#007fffbf;">\x20\x52\x54\x53</span><span style="background:#00ffffbf;">\x0b\x00\x00\x00</span><span style="background:#00ef00bf;">\xaf\xff\x96\xff\x91\xff\x98\xff\xdf\xff\xc2\xff\xdf\xff\xda\xff\x9b\xff\x92\xff\x8c\xff</span> | <span style="background:#007fffbf;">\x20\x52\x54\x53</span><span style="background:#00ffffbf;">\x0b\x00\x00\x00</span><span style="background:#00ef00bf;">\xaf\xff\x96\xff\x91\xff\x98\xff\xdf\xff\xc2\xff\xdf\xff\xda\xff\x9b\xff\x92\xff\x8c\xff</span> | ||
<span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0c\x00\x00\x00</span><span style="background:# | <span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0c\x00\x00\x00</span><span style="background:#e5e500bf;">\x4d\x53\x47\x3a\x43\x72\x69\x74\x69\x63\x61\x6c</span> | ||
<span style="background:#007fffbf;">\x20\x52\x54\x53</span><span style="background:#00ffffbf;">\x04\x00\x00\x00</span><span style="background:#00ef00bf;">\x0b\x7e\x82\xab\xac\x9d\x04\xae</span> | <span style="background:#007fffbf;">\x20\x52\x54\x53</span><span style="background:#00ffffbf;">\x04\x00\x00\x00</span><span style="background:#00ef00bf;">\x0b\x7e\x82\xab\xac\x9d\x04\xae</span> | ||
… | … | ||
<span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0b\x00\x00\x00</span><span style="background:# | <span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0b\x00\x00\x00</span><span style="background:#e5e500bf;">\x56\x4f\x58\x3a\x63\x65\x76\x61\x30\x30\x31</span> | ||
<span style="background:#00bfffbf;">\x57\x52\x54\x53</span><span style="background:#00ffffbf;">\x0c\x00\x00\x00</span><span style="background:#00ef00bf;">\x99\x74\xb5\xab\xe5\x00\x59\xb0\xb4\x92\xcf\xad\xc7\x97\xc6\xa0\x2e\xac\xfb\xa3\x6a\xb1\xfd\xcf</span><span style="background:# | <span style="background:#00bfffbf;">\x57\x52\x54\x53</span><span style="background:#00ffffbf;">\x0c\x00\x00\x00</span><span style="background:#00ef00bf;">\x99\x74\xb5\xab\xe5\x00\x59\xb0\xb4\x92\xcf\xad\xc7\x97\xc6\xa0\x2e\xac\xfb\xa3\x6a\xb1\xfd\xcf</span><span style="background:#5500ffbf;">\x08\x00\x00\x00</span><span style="background:#99cc00bf;">\x63\x65\x76\x61\x30\x30\x31\x63</span> | ||
… | … | ||
<span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0e\x00\x00\x00</span><span style="background:# | <span style="background:#ff7f00bf;">\x20\x4c\x42\x4c</span><span style="background:#0000ffbf;">\x01\x00\x00\x00</span><span style="background:#ff00ffbf;">\x0e\x00\x00\x00</span><span style="background:#e5e500bf;">\x4e\x61\x6d\x65\x3a\x53\x6f\x76\x46\x69\x6e\x61\x6c\x65</span> | ||
<span style="background:#007fffbf;">\x20\x52\x54\x53</span><span style="background:#00ffffbf;">\x04\x00\x00\x00</span><span style="background:#00ef00bf;">\x30\x7d\xab\x7f\x37\x81\xc5\xa8</span> | <span style="background:#007fffbf;">\x20\x52\x54\x53</span><span style="background:#00ffffbf;">\x04\x00\x00\x00</span><span style="background:#00ef00bf;">\x30\x7d\xab\x7f\x37\x81\xc5\xa8</span> | ||
</div> | </div> | ||
Line 258: | Line 259: | ||
| | | | ||
<div> | <div> | ||
<span style="background:#ff0000bf;"> FSC</span>[3][3931][3931][0][0] | <span style="background:#ff0000bf;"> FSC</span><span style="background:#bfbfbfbf;">[3]</span><span style="background:#bf00ffbf;">[3931]</span><span style="background:#7f00ffbf;">[3931]</span><span style="background:#9f9f9fbf;">[0]</span><span style="background:#6f6f6fbf;">[0]</span> | ||
<span style="background:#ff7f00bf;"> LBL</span>[1][12]<span style="background:# | <span style="background:#ff7f00bf;"> LBL</span><span style="background:#0000ffbf;">[1]</span><span style="background:#ff00ffbf;">[12]</span><span style="background:#e5e500bf;">MSG:PingInfo</span> | ||
<span style="background:#007fffbf;"> RTS</span>[11]<span style="background:#00ef00bf;">Ping = %dms</span> | <span style="background:#007fffbf;"> RTS</span><span style="background:#00ffffbf;">[11]</span><span style="background:#00ef00bf;">Ping = %dms</span> | ||
<span style="background:#ff7f00bf;"> LBL</span>[1][12]<span style="background:# | <span style="background:#ff7f00bf;"> LBL</span><span style="background:#0000ffbf;">[1]</span><span style="background:#ff00ffbf;">[12]</span><span style="background:#e5e500bf;">MSG:Critical</span> | ||
<span style="background:#007fffbf;"> RTS</span>[4]<span style="background:#00ef00bf;">致命打击</span> | <span style="background:#007fffbf;"> RTS</span><span style="background:#00ffffbf;">[4]</span><span style="background:#00ef00bf;">致命打击</span> | ||
… | … | ||
<span style="background:#ff7f00bf;"> LBL</span>[1][11]<span style="background:# | <span style="background:#ff7f00bf;"> LBL</span><span style="background:#0000ffbf;">[1]</span><span style="background:#ff00ffbf;">[11]</span><span style="background:#e5e500bf;">VOX:ceva001</span> | ||
<span style="background:#00bfffbf;">WRTS</span>[12]<span style="background:#00ef00bf;">警告:侦测到核弹发射井。</span>[8]<span style="background:# | <span style="background:#00bfffbf;">WRTS</span><span style="background:#00ffffbf;">[12]</span><span style="background:#00ef00bf;">警告:侦测到核弹发射井。</span><span style="background:#5500ffbf;">[8]</span><span style="background:#99cc00bf;">ceva001c</span> | ||
… | … | ||
<span style="background:#ff7f00bf;"> LBL</span>[1][14]<span style="background:# | <span style="background:#ff7f00bf;"> LBL</span><span style="background:#0000ffbf;">[1]</span><span style="background:#ff00ffbf;">[14]</span><span style="background:#e5e500bf;">Name:SovFinale</span> | ||
<span style="background:#007fffbf;"> RTS</span>[4]<span style="background:#00ef00bf;">苏联终场</span> | <span style="background:#007fffbf;"> RTS</span><span style="background:#00ffffbf;">[4]</span><span style="background:#00ef00bf;">苏联终场</span> | ||
</div> | </div> | ||
|} | |} | ||
<pre> | <pre class="prettyprint lang-python"> | ||
csf_fp=r"stringtable09.csf" | csf_fp=r"stringtable09.csf" | ||
with open(csf_fp, "rb") as f: | with open(csf_fp, "rb") as f: | ||
Line 348: | Line 349: | ||
--></div> | --></div> | ||
</div> | </div> | ||
|} | |||
== Fonts == | |||
<span style="font-family:Consolas,monospace,Courier,serif;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
{| class="wikitable sortable" style="font-size:1.2em;" | |||
! SeqNum | |||
! Font | |||
! Display | |||
|- | |||
| 0 | |||
| Default | |||
| ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字 | |||
|- | |||
| 1 | |||
| Consolas | |||
| <span style="font-family:Consolas;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
|- | |||
| 2 | |||
| monospace | |||
| <span style="font-family:monospace;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
|- | |||
| 3 | |||
| Courier | |||
| <span style="font-family:Courier;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
|- | |||
| 4 | |||
| sans-serif | |||
| <span style="font-family:sans-serif;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
|- | |||
| 5 | |||
| serif | |||
| <span style="font-family:serif;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
|- | |||
| 6 | |||
| Microsoft YaHei | |||
| <span style="font-family:Microsoft YaHei;">ABCDEFGHIJKLMNOPQRSTUVWXYZ<br/>abcdefghijklmnopqrstuvwxyz<br/>0123456789<br/>中华人民共和国 臺灣省繁體漢字</span> | |||
|- | |||
|} | |} |
Latest revision as of 07:50, 15 February 2024
Misc
ISO 639-1 标准
|
ISO 639-3 标准
|
|
Codes
FSC | Ver | NumL | NumS | null | Lang | |
---|---|---|---|---|---|---|
LBL | NumP | LenL | L | |||
RTS | LenS | S | ||||
WRTS | LenS | S | LenX | X |
1 2 3 4 5 ⋮ 2874 2875 ⋮ 7862 7863 |
\x20\x46\x53\x43\x03\x00\x00\x00\x5b\x0f\x00\x00\x5b\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x20\x4c\x42\x4c\x01\x00\x00\x00\x0c\x00\x00\x00\x4d\x53\x47\x3a\x50\x69\x6e\x67\x49\x6e\x66\x6f \x20\x52\x54\x53\x0b\x00\x00\x00\xaf\xff\x96\xff\x91\xff\x98\xff\xdf\xff\xc2\xff\xdf\xff\xda\xff\x9b\xff\x92\xff\x8c\xff \x20\x4c\x42\x4c\x01\x00\x00\x00\x0c\x00\x00\x00\x4d\x53\x47\x3a\x43\x72\x69\x74\x69\x63\x61\x6c \x20\x52\x54\x53\x04\x00\x00\x00\x0b\x7e\x82\xab\xac\x9d\x04\xae … \x20\x4c\x42\x4c\x01\x00\x00\x00\x0b\x00\x00\x00\x56\x4f\x58\x3a\x63\x65\x76\x61\x30\x30\x31 \x57\x52\x54\x53\x0c\x00\x00\x00\x99\x74\xb5\xab\xe5\x00\x59\xb0\xb4\x92\xcf\xad\xc7\x97\xc6\xa0\x2e\xac\xfb\xa3\x6a\xb1\xfd\xcf\x08\x00\x00\x00\x63\x65\x76\x61\x30\x30\x31\x63 … \x20\x4c\x42\x4c\x01\x00\x00\x00\x0e\x00\x00\x00\x4e\x61\x6d\x65\x3a\x53\x6f\x76\x46\x69\x6e\x61\x6c\x65 \x20\x52\x54\x53\x04\x00\x00\x00\x30\x7d\xab\x7f\x37\x81\xc5\xa8 |
1 2 3 4 5 ⋮ 2874 2875 ⋮ 7862 7863 |
FSC[3][3931][3931][0][0] LBL[1][12]MSG:PingInfo RTS[11]Ping = %dms LBL[1][12]MSG:Critical RTS[4]致命打击 … LBL[1][11]VOX:ceva001 WRTS[12]警告:侦测到核弹发射井。[8]ceva001c … LBL[1][14]Name:SovFinale RTS[4]苏联终场 |
csf_fp=r"stringtable09.csf" with open(csf_fp, "rb") as f: csf=f.read() print(csf[csf.find(bytes(" LBL", "ascii")):csf.find(bytes(" RTS", "ascii"))]) c=b"\x0b\x7e\x82\xab\xac\x9d\x04\xae" s=bytes([0xff-i for i in c]).decode("utf-16-le") print(s)
Background Color
#007fff#0000ff#3f00ff#7f00ff#bf00ff#df00ff#ef00ff#ff00ff #ff3f00#ff7f00#ffbf00#bfbf00#7fbf00#7fdf00#7fef00#7fff00 #1f1f1f#3f3f3f#5f5f5f#7f7f7f#9f9f9f#bfbfbf#dfdfdf#ffffff |
#007fff | #0000ff | #3f00ff | #7f00ff | #bf00ff | #df00ff | #ef00ff | #ff00ff |
#ff3f00 | #ff7f00 | #ffbf00 | #bfbf00 | #7fbf00 | #7fdf00 | #7fef00 | #7fff00 |
#1f1f1f | #3f3f3f | #5f5f5f | #7f7f7f | #9f9f9f | #bfbfbf | #dfdfdf | #ffffff |
Tabs
1
一,いち,일
2
二,に,이
3
三,さん,삼
|}
Fonts
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
中华人民共和国 臺灣省繁體漢字
SeqNum | Font | Display |
---|---|---|
0 | Default | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |
1 | Consolas | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |
2 | monospace | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |
3 | Courier | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |
4 | sans-serif | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |
5 | serif | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |
6 | Microsoft YaHei | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 中华人民共和国 臺灣省繁體漢字 |