├── .eslintrc.js ├── .github └── workflows │ └── main.yaml ├── .gitignore ├── LICENSE ├── README.md ├── cli ├── main.ts └── tsconfig.json ├── env.d.ts ├── format.md ├── index.html ├── package-lock.json ├── package.json ├── src ├── App.vue ├── assets │ ├── AutoComplete.json │ ├── FFXIV_Lodestone_SSF.ttf │ ├── FFXIV_Lodestone_SSF.woff │ ├── Icon.css │ ├── LogFilter.json │ ├── LogFilterColor.css │ ├── LogKind.css │ ├── UIColor.css │ └── fonticon_xinput.png ├── component │ ├── FilterSetting.vue │ ├── Message.vue │ └── TokenText.vue ├── main.ts └── model │ ├── actlog_parser.ts │ ├── auto_translate.ts │ ├── binlog_parser.ts │ ├── filter.ts │ └── message.ts ├── tsconfig.config.json ├── tsconfig.json └── vite.config.ts /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | node: true, 4 | browser: true, 5 | }, 6 | extends: [ 7 | "eslint:recommended", 8 | "@vue/eslint-config-typescript/recommended", 9 | "@vue/eslint-config-prettier", 10 | ], 11 | rules: { 12 | // override/add rules settings here, such as: 13 | // 'vue/no-unused-vars': 'error' 14 | "no-case-declarations": "off", 15 | }, 16 | }; 17 | -------------------------------------------------------------------------------- /.github/workflows/main.yaml: -------------------------------------------------------------------------------- 1 | name: Build and GH-Page Deploy 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout 14 | uses: actions/checkout@v2 15 | with: 16 | persist-credentials: false 17 | 18 | - name: Build 19 | run: | 20 | npm ci 21 | npm run build 22 | 23 | - name: Deploy to GH Page 24 | uses: JamesIves/github-pages-deploy-action@4.1.1 25 | with: 26 | branch: gh-pages 27 | folder: dist 28 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | .DS_Store 12 | dist 13 | dist-ssr 14 | coverage 15 | *.local 16 | 17 | /cypress/videos/ 18 | /cypress/screenshots/ 19 | 20 | # Editor directories and files 21 | .vscode/* 22 | !.vscode/extensions.json 23 | .idea 24 | *.suo 25 | *.ntvs* 26 | *.njsproj 27 | *.sln 28 | *.sw? 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ffxiv-log-parser 2 | 3 | FFXIV 日志解析工具 4 | 5 | 用于从 FFXIV 的日志中解析出聊天记录或其他信息。 6 | 7 | 当前支持以下两种日志: 8 | 9 | - 游戏日志 10 | - ACT 日志 11 | 12 | ## 游戏日志 13 | 14 | 存放于 `My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV_CHRxxxxxxxxxxxxxxxx/log` 目录下,是游戏自动生成的日志。 15 | 16 | 优点: 17 | - 不需要使用第三方插件 18 | - 完整的特殊格式支持,包括 19 | - 定型文支持 20 | - 物品独立高亮颜色 21 | - 等等 22 | 23 | 缺点: 24 | - 此日志是非实时写出的,通常要超过1000行后才会写出 25 | - 每次登录游戏后,此日志都会被从头开始覆盖。 26 | 27 | 日志格式请参见 format.md 28 | 29 | ## ACT 日志 30 | 31 | 存放于 ACT 目录下的 `FFXIVLogs` 文件夹,是 FFXIV ACT 插件生成的日志。 32 | 33 | 优点: 34 | - 数据持久存储,不会被覆盖 35 | 36 | 缺点: 37 | - 日志为纯文本,没有特殊格式的支持 38 | -------------------------------------------------------------------------------- /cli/main.ts: -------------------------------------------------------------------------------- 1 | import { readFile } from "fs/promises"; 2 | import { argv, exit } from "process"; 3 | 4 | import { BinLogParser } from "../src/model/binlog_parser"; 5 | import { Message, TokenItem, buf2hex } from "../src/model/message"; 6 | 7 | if (argv.length < 3) { 8 | console.log("Usage: converter "); 9 | exit(-1); 10 | } 11 | 12 | readFiles(argv.slice(2)); 13 | 14 | async function readFiles(files: string[]) { 15 | const msgs: Message[] = []; 16 | 17 | for (let i = 0; i < files.length; i++) { 18 | const file = files[i]; 19 | const buffer = await readFile(file); 20 | 21 | const msg = BinLogParser.parse(toArrayBuffer(buffer)); 22 | for (let i = 0; i < msg.length; i++) { 23 | const m = msg[i]; 24 | 25 | let printK = false; 26 | 27 | for (let j = 0; j < m.sender.items.length; j++) { 28 | const it = m.sender.items[j]; 29 | printK ||= printIt(it); 30 | } 31 | for (let j = 0; j < m.text.items.length; j++) { 32 | const it = m.text.items[j]; 33 | printK ||= printIt(it); 34 | } 35 | 36 | if (printK) { 37 | console.log(file, m.sender.ToString(), m.text.ToString()); 38 | } 39 | } 40 | 41 | msgs.push(...msg); 42 | console.log(file, msg.length); 43 | } 44 | 45 | const filterSet = new Set(); 46 | const cmdSet = new Set(); 47 | 48 | for (let i = 0; i < msgs.length; i++) { 49 | const msg = msgs[i]; 50 | filterSet.add(msg.filter); 51 | 52 | for (let j = 0; j < msg.sender.items.length; j++) { 53 | const it = msg.sender.items[j]; 54 | cmdSet.add(it.cmd); 55 | } 56 | for (let j = 0; j < msg.text.items.length; j++) { 57 | const it = msg.text.items[j]; 58 | cmdSet.add(it.cmd); 59 | } 60 | } 61 | // console.log(toHexArray(Uint8Array.from(filterSet).sort())); 62 | // console.log(toHexArray(Uint8Array.from(cmdSet).sort())); 63 | } 64 | 65 | function printIt(item: TokenItem): boolean { 66 | const dw = new DataView(item.param); 67 | 68 | if (item.cmd !== 0x2e) return false; 69 | 70 | // const unkList = [0xF3, 0xF4, 0xF5, 0xF7, 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD]; 71 | // for (let i = 0; i < item.param.byteLength; i++) { 72 | // const current = dw.getUint8(i); 73 | // if (current < 0xF0) continue; 74 | // if (current == 0xF0 || current == 0xF1) { 75 | // i++; 76 | // continue; 77 | // } 78 | // if (current == 0xF2) { 79 | // i+=2; 80 | // continue; 81 | // } 82 | // if (current == 0xF6) { 83 | // i+=3; 84 | // continue; 85 | // } 86 | // if (current == 0xFE) { 87 | // i+=4; 88 | // continue; 89 | // } 90 | // if (unkList.includes(current) && i < item.param.byteLength - 1) { 91 | // console.log(item.cmd, buf2hex(item.param)); 92 | // return true; 93 | // } 94 | // } 95 | 96 | // if (item.param.byteLength === 1 && dw.getUint8(0) === 1) { 97 | // return false; 98 | // } 99 | // const knownList = [0xf201f5, 0xf20226, 0XF20228, 0XF2022a]; 100 | // if (item.param.byteLength === 3) { 101 | // let v = (dw.getUint8(0) << 16) + (dw.getUint8(1) << 8) + (dw.getUint8(2) << 0); 102 | // if (knownList.includes(v)) return false; 103 | // } 104 | 105 | console.log(item.cmd, buf2hex(item.param)); 106 | return true; 107 | // return false; 108 | } 109 | 110 | function toArrayBuffer(buf) { 111 | const ab = new ArrayBuffer(buf.length); 112 | const view = new Uint8Array(ab); 113 | for (let i = 0; i < buf.length; ++i) { 114 | view[i] = buf[i]; 115 | } 116 | return ab; 117 | } 118 | 119 | function toHexArray(array) { 120 | return [...array].map((n) => n.toString(16)); 121 | } 122 | -------------------------------------------------------------------------------- /cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "module": "es2022", 3 | "compilerOptions": { 4 | "target": "es2022" 5 | }, 6 | "types": [ 7 | "node" 8 | ] 9 | } -------------------------------------------------------------------------------- /env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /format.md: -------------------------------------------------------------------------------- 1 | ## 文件格式 2 | 3 | 文件格式: 4 | ``` 5 | | Header | Offset Table | Log entries | 6 | ``` 7 | 8 | 文件头: 9 | ``` 10 | | 0 - 3 | 4 - 7 | 11 | | begin | end | 12 | ``` 13 | 14 | - begin: 条目开始offset 15 | - end: 条目结束offset 16 | 17 | 使用 end - begin 即可得到此文件有多少行 log。 18 | 19 | 偏移表: 20 | ``` 21 | | 0 - 3 | 4 - 7 | ... 22 | | offset1 | offset2 | ... 23 | ``` 24 | 偏移表中的数据个数与上面计算的行数一致。 25 | 26 | - offset: 指示当前log的尾部偏移量。偏移量从第一个条目开始计算。 27 | 28 | Log: 29 | ``` 30 | | 0 - 3 | 4 | 5 | 6 - 7 | 8 | ... | N | ... | 31 | | timestamp | filter | channel | 0x0000 | 0x1f | Sender | 0x1f | Message | 32 | ``` 33 | 34 | 每条Log以0x1F为分割线,将其分为三个部分: 35 | - Log 头 36 | - timestamp: 发送时间戳 37 | - filter: 参见 LogFilter.csv 38 | - channel: 39 | - 发送者:可以为空 40 | - 消息:消息内容 41 | 42 | 消息与发送者为带标记文本,详情见下方。 43 | 44 | ## 带标记文本 45 | 46 | 带标记文本是一种 UTF-8 文本与标记信息混排的文本。 47 | 48 | 标记信息格式如下: 49 | 50 | ``` 51 | | 0 | 1 | 2 | 3 ... | Len + 3 | 52 | | Header | Type | Len | Data | End | 53 | ``` 54 | 55 | - Header: 标记头,始终为 0x02 56 | - Type: 标记类型 57 | - Len: 参数长度,包括最后的结束符 58 | - Data: 参数 59 | - End: 结束符,始终为 0x03 60 | 61 | ### 参数编码格式 62 | 63 | 由于此数据可以看作字符串,故中间不能出现0x00,否则会截断字符串。 64 | 65 | 根据已有数据分析,我们可知数据Dat以如下规则编码: 66 | - 0x00-0xCE: 编码为 Dat + 1 67 | - 0xCF-0xFF: 前面添加 0xF0, 形成 [0xF0, Dat] 68 | - 0x0100-0xFFFF: 69 | - 若以00结尾:前面添加 0xF1,形成 [0xF1, Dat>>8] 70 | - 若不以00结尾:前面添加 0xF2,形成 [0xF2, Dat>>8, Dat&0xFF] 71 | - 0x010000-0xFFFFFF: 72 | - 若中间没有0:前面添加 0xF6,形成 [0xF6, Dat>>16, Dat>>8, Dat&0xFF] 73 | - 0x01000000-0xFFFFFF: 74 | - 若中间没有0:前面添加 0xFE,形成 [0xFE, Dat>>24, Dat>>16, Dat>>8, Dat&0xFF] 75 | 76 | 数据以大端序存储 77 | 78 | ### 0x12 图标 79 | 80 | 参数为 1 Byte. 81 | 82 | 目前已知的参数值有: 83 | 84 | - 4f: 皇冠 85 | - 4e: 豆芽 86 | - 51: 锤子 87 | - 59: 跨服的花 88 | - 60: 豆花 89 | 90 | ### 0x13 设置颜色 91 | 92 | 参数有两种类型: 93 | 94 | - 4 Byte:设置颜色,格式为ARGB 95 | - 1 Byte: EC,重置颜色 96 | 97 | 示例: 98 | 99 | ``` 100 | [FE FF F3 F3 F3]: 白色: F3F3F3 101 | [FE FF FA 89 B6]: 紫色: FA89B6 102 | [EC]: 重置颜色 103 | ``` 104 | 105 | 此格式已经很少见到了,基本上使用后面的样式设定代替。 106 | 107 | ### 0x27 链接到目标 108 | 109 | 第一个参数为目标类型,当前已知的有: 110 | 111 | #### 0x00 玩家 112 | 113 | 其余参数未知 114 | 115 | #### 0x02 物品 116 | 117 | - 参数1:物品ID。若为HQ则 +1,000,000 118 | - 其余参数未知 119 | 120 | ``` 121 | [03 f2 16 c1 02 01]: // 16c1 = 物品 ID 122 | [03 13 02 01]: // 雷之晶簇(18, 0x12) 123 | [03 f6 0f d3 e0 02 01]: // 艾布拉纳赛黄晶 HQ. 0x0fd3e0 = 物品ID + 1000000 124 | ``` 125 | 126 | #### 0x03 地图 127 | 128 | - 参数1:Territory ID, Map ID 129 | - 参数2:X坐标 * 1000, int32 类型 130 | - 参数3:Y坐标 * 1000, int32 类型 131 | - 其余参数未知 132 | 133 | ``` 134 | [04 fe 03 bd 02 b8 fe ff f6 48 c6 f6 0c aa 76 ff 01] // 萨维奈岛 3x ( 8.7 , 38.0 ) 135 | [04 fe 03 32 01 f0 fe ff fc 1d 61 fe ff fe d2 05 ff 01] // 黑风海 ( 16.3 , 19.9 ) Z:-2.8 136 | ``` 137 | 138 | #### 0x05 成就 139 | 140 | - 参数1: 成就ID 141 | - 其余参数未知 142 | 143 | #### 0x07 招募板 144 | 145 | (当前有XXX个队伍正在招募队员) 146 | 147 | 参数未知。 148 | 149 | ``` 150 | [08 01 01 01 ff 01] 151 | ``` 152 | 153 | #### 0x08 Buff 状态 154 | 155 | - 参数1: Buff ID,参见 Status.csv 156 | - 其余参数未知 157 | 158 | ``` 159 | [9 f2 4 b4 1 1 ff 2 20] // 醒梦 160 | [9 f2 4 a9 1 1 ff 2 20] // 雪仇 161 | ``` 162 | 163 | #### 0x09 队员招募 164 | 165 | 其余参数未知 166 | 167 | ``` 168 | [0a f6 02 e0 e6 01 f3 01] 169 | ``` 170 | 171 | #### 0xce 结束链接 172 | 173 | 其余参数未知 174 | 175 | ``` 176 | [cf 1 1 1 ff 1] 177 | ``` 178 | 179 | ### 0x2E 定型文 180 | 181 | 有两个参数: 182 | 183 | - 第一个参数是组别 184 | - 第二个参数是ID 185 | 186 | 其对应内容请参考 Completion.csv 这个表。 187 | 188 | 示例: 189 | 190 | ``` 191 | - [04 f2 01 9c]: 嗯…… 192 | - 组别: 03 193 | - ID: 0x19c = 412 194 | ``` 195 | 196 | 可参考对应表: [Github gist](https://gist.github.com/3735943886/fe5ac8012ffe37c9dfa180b1944b513c) 197 | 198 | ### 0x48 样式设定 199 | 200 | 只有一个参数 201 | - 参数为0时重置样式 202 | - 参数为其他时设定样式 203 | 204 | 样式内容参见 UIColor.csv 205 | 206 | ``` 207 | [f2 01 f4] 链接图标参数(橙色) 208 | [f2 02 25] 普通物体(看上去像是白色) 209 | [f2 02 27] 绿色装备 210 | [f2 02 29] 蓝色装备 211 | [f2 02 05] Buff 图标(蓝色) 212 | [f2 02 06] Debuff 图标 (红色) 213 | [f2 02 3b] 量谱 214 | [01] 重置样式 215 | ``` 216 | 217 | ### 0x49 样式设定 218 | 219 | 只有一个参数 220 | - 参数为0时重置样式 221 | - 参数为其他时设定样式 222 | 223 | 样式内容参见 UIColor.csv 224 | 225 | ``` 226 | [f2 01 f5] 链接图标参数 (橙色) 227 | [f2 02 26] 部分物体链接前也可见参数(看上去像是白色) 228 | [f2 02 28] 绿色装备 229 | [f2 02 2a] 蓝色装备 230 | [f2 02 3c] 量谱 231 | [01] 重置样式 232 | ``` 233 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | FFXIV 日志解析工具 8 | 9 | 10 |
11 | 12 | 13 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ffxiv-log-parser", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "vite", 6 | "dev2": "vite --host --port 48990", 7 | "build": "run-p type-check build-only", 8 | "preview": "vite preview --port 4173", 9 | "build-only": "vite build", 10 | "type-check": "vue-tsc --noEmit", 11 | "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" 12 | }, 13 | "dependencies": { 14 | "purecss": "^2.1.0", 15 | "vue": "^3.2.38", 16 | "vue-facing-decorator": "^2.1.12", 17 | "vue-gtag": "^2.0.1" 18 | }, 19 | "devDependencies": { 20 | "@rushstack/eslint-patch": "^1.1.4", 21 | "@types/node": "^16.11.56", 22 | "@vitejs/plugin-vue": "^3.0.3", 23 | "@vue/eslint-config-prettier": "^7.0.0", 24 | "@vue/eslint-config-typescript": "^11.0.0", 25 | "@vue/tsconfig": "^0.1.3", 26 | "eslint": "^8.22.0", 27 | "eslint-plugin-vue": "^9.3.0", 28 | "npm-run-all": "^4.1.5", 29 | "prettier": "^2.7.1", 30 | "typescript": "~4.7.4", 31 | "vite": "^3.0.9", 32 | "vue-tsc": "^0.40.7" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 32 | 33 | 220 | 221 | 275 | -------------------------------------------------------------------------------- /src/assets/FFXIV_Lodestone_SSF.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ffxiv-cyou/ffxiv-log-parser/39dcfa685b2ce9b00364ca152cd17eb4153397cc/src/assets/FFXIV_Lodestone_SSF.ttf -------------------------------------------------------------------------------- /src/assets/FFXIV_Lodestone_SSF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ffxiv-cyou/ffxiv-log-parser/39dcfa685b2ce9b00364ca152cd17eb4153397cc/src/assets/FFXIV_Lodestone_SSF.woff -------------------------------------------------------------------------------- /src/assets/Icon.css: -------------------------------------------------------------------------------- 1 | icon.fonticon { 2 | --width: 40px; 3 | width: var(--width); 4 | height: 40px; 5 | display: inline-block; 6 | vertical-align: bottom; 7 | background-image: url("./fonticon_xinput.png"); 8 | } 9 | 10 | icon.fonticon-1 { 11 | background-position: -0px -340px; 12 | } 13 | icon.fonticon-2 { 14 | background-position: -40px -340px; 15 | } 16 | icon.fonticon-3 { 17 | background-position: -80px -340px; 18 | } 19 | icon.fonticon-4 { 20 | background-position: -120px -340px; 21 | } 22 | icon.fonticon-5 { 23 | background-position: -160px -340px; 24 | } 25 | icon.fonticon-6 { 26 | background-position: -0px -380px; 27 | } 28 | icon.fonticon-7 { 29 | background-position: -40px -380px; 30 | } 31 | icon.fonticon-8 { 32 | background-position: -80px -380px; 33 | } 34 | icon.fonticon-9 { 35 | background-position: -120px -380px; 36 | } 37 | icon.fonticon-10 { 38 | background-position: -160px -380px; 39 | } 40 | icon.fonticon-11 { 41 | background-position: -0px -420px; 42 | } 43 | icon.fonticon-12 { 44 | background-position: -40px -420px; 45 | } 46 | icon.fonticon-13 { 47 | background-position: -80px -420px; 48 | } 49 | icon.fonticon-14 { 50 | background-position: -120px -420px; 51 | } 52 | icon.fonticon-15 { 53 | background-position: -160px -420px; 54 | } 55 | icon.fonticon-16 { 56 | background-position: -0px -460px; 57 | --width: 108px; 58 | } 59 | icon.fonticon-17 { 60 | background-position: -108px -460px; 61 | --width: 108px; 62 | } 63 | icon.fonticon-18 { 64 | background-position: -0px -500px; 65 | --width: 60px; 66 | } 67 | icon.fonticon-19 { 68 | background-position: -60px -500px; 69 | --width: 60px; 70 | } 71 | icon.fonticon-20 { 72 | background-position: -120px -500px; 73 | } 74 | icon.fonticon-21 { 75 | background-position: -160px -500px; 76 | } 77 | icon.fonticon-22 { 78 | background-position: -0px -540px; 79 | --width: 60px; 80 | } 81 | icon.fonticon-23 { 82 | background-position: -60px -540px; 83 | --width: 60px; 84 | } 85 | icon.fonticon-24 { 86 | background-position: -120px -540px; 87 | } 88 | icon.fonticon-25 { 89 | background-position: -160px -540px; 90 | } 91 | 92 | icon.fonticon-51 { 93 | background-position: -248px -340px; 94 | } 95 | icon.fonticon-52 { 96 | background-position: -288px -340px; 97 | } 98 | icon.fonticon-53 { 99 | background-position: -328px -340px; 100 | } 101 | icon.fonticon-54 { 102 | background-position: -200px -340px; 103 | --width: 24px; 104 | } 105 | icon.fonticon-55 { 106 | background-position: -224px -340px; 107 | --width: 24px; 108 | } 109 | icon.fonticon-56 { 110 | background-position: -200px -380px; 111 | } 112 | icon.fonticon-57 { 113 | background-position: -240px -380px; 114 | } 115 | icon.fonticon-58 { 116 | background-position: -280px -380px; 117 | } 118 | icon.fonticon-59 { 119 | background-position: -200px -420px; 120 | } 121 | icon.fonticon-60 { 122 | background-position: -240px -420px; 123 | } 124 | icon.fonticon-61 { 125 | background-position: -280px -420px; 126 | } 127 | icon.fonticon-62 { 128 | background-position: -320px -380px; 129 | } 130 | icon.fonticon-63 { 131 | background-position: -320px -420px; 132 | } 133 | icon.fonticon-64 { 134 | background-position: -368px -340px; 135 | } 136 | icon.fonticon-65 { 137 | background-position: -408px -340px; 138 | } 139 | icon.fonticon-66 { 140 | background-position: -448px -340px; 141 | } 142 | icon.fonticon-67 { 143 | background-position: -360px -380px; 144 | } 145 | icon.fonticon-68 { 146 | background-position: -400px -380px; 147 | } 148 | icon.fonticon-69 { 149 | background-position: -360px -420px; 150 | --width: 20px; 151 | } 152 | icon.fonticon-70 { 153 | background-position: -380px -420px; 154 | --width: 20px; 155 | } 156 | icon.fonticon-71 { 157 | background-position: -400px -420px; 158 | } 159 | icon.fonticon-72 { 160 | background-position: -440px -420px; 161 | } 162 | icon.fonticon-73 { 163 | background-position: -440px -380px; 164 | } 165 | icon.fonticon-74 { 166 | background-position: -216px -460px; 167 | } 168 | icon.fonticon-75 { 169 | background-position: -256px -460px; 170 | } 171 | icon.fonticon-76 { 172 | background-position: -296px -460px; 173 | } 174 | icon.fonticon-77 { 175 | background-position: -336px -460px; 176 | } 177 | icon.fonticon-78 { 178 | background-position: -376px -460px; 179 | } 180 | icon.fonticon-79 { 181 | background-position: -416px -460px; 182 | } 183 | icon.fonticon-80 { 184 | background-position: -456px -460px; 185 | } 186 | icon.fonticon-81 { 187 | background-position: -200px -500px; 188 | } 189 | icon.fonticon-82 { 190 | background-position: -240px -500px; 191 | } 192 | icon.fonticon-83 { 193 | background-position: -280px -500px; 194 | } 195 | icon.fonticon-84 { 196 | background-position: -320px -500px; 197 | } 198 | icon.fonticon-85 { 199 | background-position: -360px -500px; 200 | } 201 | icon.fonticon-86 { 202 | background-position: -400px -500px; 203 | } 204 | icon.fonticon-87 { 205 | background-position: -440px -500px; 206 | } 207 | icon.fonticon-88 { 208 | background-position: -200px -540px; 209 | } 210 | icon.fonticon-89 { 211 | background-position: -240px -540px; 212 | } 213 | icon.fonticon-90 { 214 | background-position: -280px -540px; 215 | } 216 | icon.fonticon-91 { 217 | background-position: -320px -540px; 218 | } 219 | icon.fonticon-92 { 220 | background-position: -360px -540px; 221 | } 222 | icon.fonticon-93 { 223 | background-position: -400px -540px; 224 | } 225 | icon.fonticon-94 { 226 | background-position: -440px -540px; 227 | } 228 | icon.fonticon-95 { 229 | background-position: -0px -580px; 230 | } 231 | icon.fonticon-96 { 232 | background-position: -40px -580px; 233 | } 234 | icon.fonticon-97 { 235 | background-position: -80px -580px; 236 | } 237 | icon.fonticon-98 { 238 | background-position: -120px -580px; 239 | } 240 | icon.fonticon-99 { 241 | background-position: -160px -580px; 242 | } 243 | icon.fonticon-100 { 244 | background-position: -200px -580px; 245 | } 246 | icon.fonticon-101 { 247 | background-position: -240px -580px; 248 | } 249 | icon.fonticon-102 { 250 | background-position: -280px -580px; 251 | } 252 | icon.fonticon-103 { 253 | background-position: -320px -580px; 254 | } 255 | icon.fonticon-104 { 256 | background-position: -360px -580px; 257 | } 258 | icon.fonticon-105 { 259 | background-position: -400px -580px; 260 | } 261 | icon.fonticon-106 { 262 | background-position: -440px -580px; 263 | } 264 | icon.fonticon-107 { 265 | background-position: -0px -620px; 266 | } 267 | icon.fonticon-108 { 268 | background-position: -40px -620px; 269 | } 270 | icon.fonticon-109 { 271 | background-position: -80px -620px; 272 | } 273 | icon.fonticon-110 { 274 | background-position: -120px -620px; 275 | } 276 | icon.fonticon-111 { 277 | background-position: -160px -620px; 278 | } 279 | icon.fonticon-112 { 280 | background-position: -200px -620px; 281 | } 282 | icon.fonticon-113 { 283 | background-position: -240px -620px; 284 | } 285 | icon.fonticon-114 { 286 | background-position: -280px -620px; 287 | } 288 | icon.fonticon-115 { 289 | background-position: -320px -620px; 290 | } 291 | icon.fonticon-116 { 292 | background-position: -360px -620px; 293 | } 294 | icon.fonticon-117 { 295 | background-position: -400px -620px; 296 | } 297 | icon.fonticon-118 { 298 | background-position: -440px -620px; 299 | } 300 | 301 | -------------------------------------------------------------------------------- /src/assets/LogFilter.json: -------------------------------------------------------------------------------- 1 | [ 2 | [ 3 | { 4 | "ID": 10, 5 | "Name": "说话", 6 | "Category": 1, 7 | "DisplayOrder": 1 8 | }, 9 | { 10 | "ID": 30, 11 | "Name": "呼喊", 12 | "Category": 1, 13 | "DisplayOrder": 2 14 | }, 15 | { 16 | "ID": 11, 17 | "Name": "喊话", 18 | "Category": 1, 19 | "DisplayOrder": 3 20 | }, 21 | { 22 | "ID": 12, 23 | "Name": "悄悄话", 24 | "Category": 1, 25 | "DisplayOrder": 4 26 | }, 27 | { 28 | "ID": 14, 29 | "Name": "小队", 30 | "Category": 1, 31 | "DisplayOrder": 5 32 | }, 33 | { 34 | "ID": 15, 35 | "Name": "团队", 36 | "Category": 1, 37 | "DisplayOrder": 6 38 | }, 39 | { 40 | "ID": 24, 41 | "Name": "部队", 42 | "Category": 1, 43 | "DisplayOrder": 7 44 | }, 45 | { 46 | "ID": 36, 47 | "Name": "战队", 48 | "Category": 1, 49 | "DisplayOrder": 8 50 | }, 51 | { 52 | "ID": 37, 53 | "Name": "跨服通讯贝1", 54 | "Category": 1, 55 | "DisplayOrder": 10 56 | }, 57 | { 58 | "ID": 101, 59 | "Name": "跨服通讯贝2", 60 | "Category": 1, 61 | "DisplayOrder": 11 62 | }, 63 | { 64 | "ID": 102, 65 | "Name": "跨服通讯贝3", 66 | "Category": 1, 67 | "DisplayOrder": 12 68 | }, 69 | { 70 | "ID": 103, 71 | "Name": "跨服通讯贝4", 72 | "Category": 1, 73 | "DisplayOrder": 13 74 | }, 75 | { 76 | "ID": 104, 77 | "Name": "跨服通讯贝5", 78 | "Category": 1, 79 | "DisplayOrder": 14 80 | }, 81 | { 82 | "ID": 105, 83 | "Name": "跨服通讯贝6", 84 | "Category": 1, 85 | "DisplayOrder": 15 86 | }, 87 | { 88 | "ID": 106, 89 | "Name": "跨服通讯贝7", 90 | "Category": 1, 91 | "DisplayOrder": 16 92 | }, 93 | { 94 | "ID": 107, 95 | "Name": "跨服通讯贝8", 96 | "Category": 1, 97 | "DisplayOrder": 17 98 | }, 99 | { 100 | "ID": 16, 101 | "Name": "通讯贝1", 102 | "Category": 1, 103 | "DisplayOrder": 20 104 | }, 105 | { 106 | "ID": 17, 107 | "Name": "通讯贝2", 108 | "Category": 1, 109 | "DisplayOrder": 21 110 | }, 111 | { 112 | "ID": 18, 113 | "Name": "通讯贝3", 114 | "Category": 1, 115 | "DisplayOrder": 22 116 | }, 117 | { 118 | "ID": 19, 119 | "Name": "通讯贝4", 120 | "Category": 1, 121 | "DisplayOrder": 23 122 | }, 123 | { 124 | "ID": 20, 125 | "Name": "通讯贝5", 126 | "Category": 1, 127 | "DisplayOrder": 24 128 | }, 129 | { 130 | "ID": 21, 131 | "Name": "通讯贝6", 132 | "Category": 1, 133 | "DisplayOrder": 25 134 | }, 135 | { 136 | "ID": 22, 137 | "Name": "通讯贝7", 138 | "Category": 1, 139 | "DisplayOrder": 26 140 | }, 141 | { 142 | "ID": 23, 143 | "Name": "通讯贝8", 144 | "Category": 1, 145 | "DisplayOrder": 27 146 | }, 147 | { 148 | "ID": 27, 149 | "Name": "新人频道", 150 | "Category": 1, 151 | "DisplayOrder": 28 152 | }, 153 | { 154 | "ID": 29, 155 | "Name": "情感动作", 156 | "Category": 1, 157 | "DisplayOrder": 30 158 | }, 159 | { 160 | "ID": 28, 161 | "Name": "自定义情感动作", 162 | "Category": 1, 163 | "DisplayOrder": 31 164 | } 165 | ],[ 166 | { 167 | "ID": 57, 168 | "Name": "系统信息", 169 | "Category": 2, 170 | "DisplayOrder": 1 171 | }, 172 | { 173 | "ID": 58, 174 | "Name": "战斗系统信息", 175 | "Category": 2, 176 | "DisplayOrder": 2 177 | }, 178 | { 179 | "ID": 59, 180 | "Name": "采集系统信息", 181 | "Category": 2, 182 | "DisplayOrder": 4 183 | }, 184 | { 185 | "ID": 60, 186 | "Name": "错误信息", 187 | "Category": 2, 188 | "DisplayOrder": 5 189 | }, 190 | { 191 | "ID": 56, 192 | "Name": "默语", 193 | "Category": 2, 194 | "DisplayOrder": 6 195 | }, 196 | { 197 | "ID": 75, 198 | "Name": "新人频道通知", 199 | "Category": 2, 200 | "DisplayOrder": 10 201 | }, 202 | { 203 | "ID": 69, 204 | "Name": "部队通告", 205 | "Category": 2, 206 | "DisplayOrder": 11 207 | }, 208 | { 209 | "ID": 77, 210 | "Name": "战队通告", 211 | "Category": 2, 212 | "DisplayOrder": 12 213 | }, 214 | { 215 | "ID": 70, 216 | "Name": "部队成员上线通知", 217 | "Category": 2, 218 | "DisplayOrder": 13 219 | }, 220 | { 221 | "ID": 78, 222 | "Name": "战队成员上线通知", 223 | "Category": 2, 224 | "DisplayOrder": 14 225 | }, 226 | { 227 | "ID": 71, 228 | "Name": "市场出售信息", 229 | "Category": 2, 230 | "DisplayOrder": 15 231 | }, 232 | { 233 | "ID": 61, 234 | "Name": "非玩家角色对话", 235 | "Category": 2, 236 | "DisplayOrder": 16 237 | }, 238 | { 239 | "ID": 68, 240 | "Name": "非玩家角色通告", 241 | "Category": 2, 242 | "DisplayOrder": 17 243 | }, 244 | { 245 | "ID": 62, 246 | "Name": "掉落品信息", 247 | "Category": 2, 248 | "DisplayOrder": 20 249 | }, 250 | { 251 | "ID": 64, 252 | "Name": "成长信息", 253 | "Category": 2, 254 | "DisplayOrder": 25 255 | }, 256 | { 257 | "ID": 65, 258 | "Name": "战利品信息", 259 | "Category": 2, 260 | "DisplayOrder": 30 261 | }, 262 | { 263 | "ID": 66, 264 | "Name": "制作信息", 265 | "Category": 2, 266 | "DisplayOrder": 35 267 | }, 268 | { 269 | "ID": 67, 270 | "Name": "采集信息", 271 | "Category": 2, 272 | "DisplayOrder": 40 273 | }, 274 | { 275 | "ID": 72, 276 | "Name": "队员招募通知", 277 | "Category": 2, 278 | "DisplayOrder": 45 279 | }, 280 | { 281 | "ID": 73, 282 | "Name": "标记设置信息", 283 | "Category": 2, 284 | "DisplayOrder": 46 285 | }, 286 | { 287 | "ID": 74, 288 | "Name": "掷骰的信息", 289 | "Category": 2, 290 | "DisplayOrder": 47 291 | }, 292 | { 293 | "ID": 76, 294 | "Name": "管弦乐琴信息", 295 | "Category": 2, 296 | "DisplayOrder": 48 297 | }, 298 | { 299 | "ID": 79, 300 | "Name": "交流簿的新留言", 301 | "Category": 2, 302 | "DisplayOrder": 49 303 | }, 304 | { 305 | "ID": 55, 306 | "Name": "闹钟通知信息", 307 | "Category": 2, 308 | "DisplayOrder": 50 309 | } 310 | ], 311 | [ 312 | { 313 | "ID": 41, 314 | "Name": "伤害", 315 | "Category": 4, 316 | "DisplayOrder": 1 317 | }, 318 | { 319 | "ID": 42, 320 | "Name": "回避", 321 | "Category": 4, 322 | "DisplayOrder": 2 323 | }, 324 | { 325 | "ID": 43, 326 | "Name": "技能", 327 | "Category": 4, 328 | "DisplayOrder": 3 329 | }, 330 | { 331 | "ID": 44, 332 | "Name": "道具", 333 | "Category": 4, 334 | "DisplayOrder": 4 335 | }, 336 | { 337 | "ID": 45, 338 | "Name": "恢复", 339 | "Category": 4, 340 | "DisplayOrder": 5 341 | }, 342 | { 343 | "ID": 46, 344 | "Name": "强化状态", 345 | "Category": 4, 346 | "DisplayOrder": 6 347 | }, 348 | { 349 | "ID": 47, 350 | "Name": "弱化状态", 351 | "Category": 4, 352 | "DisplayOrder": 7 353 | }, 354 | { 355 | "ID": 48, 356 | "Name": "强化状态消失", 357 | "Category": 4, 358 | "DisplayOrder": 15 359 | }, 360 | { 361 | "ID": 49, 362 | "Name": "弱化状态消失", 363 | "Category": 4, 364 | "DisplayOrder": 16 365 | } 366 | ] 367 | ] -------------------------------------------------------------------------------- /src/assets/LogFilterColor.css: -------------------------------------------------------------------------------- 1 | .filter-10 { 2 | --default-color: #F7F7F7; 3 | } 4 | 5 | .filter-30 { 6 | --default-color: #ffff00; 7 | } 8 | 9 | .filter-11 { 10 | --default-color: #ffa666; 11 | } 12 | 13 | .filter-12 { 14 | --default-color: #ffb8de; 15 | } 16 | 17 | .filter-14 { 18 | --default-color: #66e5ff; 19 | } 20 | 21 | .filter-15 { 22 | --default-color: #ff7f00; 23 | } 24 | 25 | /* 情感动作 */ 26 | .filter-28, 27 | .filter-29 { 28 | --default-color: #bafff0; 29 | } 30 | 31 | .filter-24, 32 | .filter-36 { 33 | --default-color: #abdbe5; 34 | } 35 | 36 | /* 跨服贝 */ 37 | .filter-37, 38 | .filter-101, 39 | .filter-102, 40 | .filter-103, 41 | .filter-104, 42 | .filter-105, 43 | .filter-106, 44 | .filter-107 { 45 | --default-color: #d4ff7d; 46 | } 47 | 48 | /* 通讯贝 */ 49 | .filter-16, 50 | .filter-17, 51 | .filter-18, 52 | .filter-19, 53 | .filter-20, 54 | .filter-21, 55 | .filter-22, 56 | .filter-23 { 57 | --default-color: #d4ff7d; 58 | } 59 | 60 | /* 新人频道 */ 61 | .filter-27 { 62 | --default-color: #d4ff7d; 63 | } 64 | 65 | .filter-56, 66 | .filter-57, 67 | .filter-58, 68 | .filter-59, 69 | .filter-71 { 70 | --default-color: #CCCCCC; 71 | } 72 | 73 | .filter-60 { 74 | --default-color: #ff4a4a; 75 | } 76 | 77 | .filter-75 { 78 | --default-color: #d4ff7d; 79 | } 80 | 81 | .filter-69, 82 | .filter-70, 83 | .filter-77, 84 | .filter-78 { 85 | --default-color: #abdbe5; 86 | } 87 | 88 | .filter-61, 89 | .filter-68 { 90 | --default-color: #abd647; 91 | } 92 | 93 | .filter-62 { 94 | --default-color: #ffffb0; 95 | } 96 | 97 | .filter-64 { 98 | --default-color: #ffde73; 99 | } 100 | 101 | .filter-65 { 102 | --default-color: #c7bf9e; 103 | } 104 | 105 | .filter-66, 106 | .filter-67 { 107 | --default-color: #debff7; 108 | } 109 | 110 | /* 其他通知 */ 111 | .filter-72, 112 | .filter-73, 113 | .filter-74, 114 | .filter-76, 115 | .filter-79, 116 | .filter-55 { 117 | --default-color: #CCCCCC; 118 | } 119 | 120 | .filter-41 { 121 | --default-color: #ff7d7d; 122 | } 123 | 124 | .filter-42 { 125 | --default-color: #CCCCCC; 126 | } 127 | 128 | .filter-43 { 129 | --default-color: #ffffb0; 130 | } 131 | 132 | .filter-44 { 133 | --default-color: #ffffb0; 134 | } 135 | 136 | .filter-45 { 137 | --default-color: #d4ff7d; 138 | } 139 | 140 | .filter-46, 141 | .filter-48 { 142 | --default-color: #94bfff; 143 | } 144 | 145 | .filter-47, 146 | .filter-49 { 147 | --default-color: #ff8ac4; 148 | } -------------------------------------------------------------------------------- /src/assets/LogKind.css: -------------------------------------------------------------------------------- 1 | .filter-0 { 2 | --prefix: ""; 3 | --suffix: ""; 4 | --visible: none; 5 | } 6 | .filter-1 { 7 | --prefix: ""; 8 | --suffix: ""; 9 | --visible: none; 10 | } 11 | .filter-2 { 12 | --prefix: ""; 13 | --suffix: ""; 14 | --visible: none; 15 | } 16 | .filter-3 { 17 | --prefix: ""; 18 | --suffix: ""; 19 | --visible: none; 20 | } 21 | .filter-4 { 22 | --prefix: ""; 23 | --suffix: ""; 24 | } 25 | .filter-5 { 26 | --prefix: ""; 27 | --suffix: ""; 28 | } 29 | .filter-6 { 30 | --prefix: ""; 31 | --suffix: ""; 32 | } 33 | .filter-7 { 34 | --prefix: ""; 35 | --suffix: ""; 36 | } 37 | .filter-8 { 38 | --prefix: ""; 39 | --suffix: ""; 40 | } 41 | .filter-9 { 42 | --prefix: ""; 43 | --suffix: ""; 44 | } 45 | .filter-10 { 46 | --prefix: ""; 47 | --suffix: ":"; 48 | } 49 | .filter-11 { 50 | --prefix: ""; 51 | --suffix: ":"; 52 | } 53 | .filter-12 { 54 | --prefix: ">>"; 55 | --suffix: ":"; 56 | } 57 | .filter-13 { 58 | --prefix: ""; 59 | --suffix: " >> "; 60 | } 61 | .filter-14 { 62 | --prefix: "("; 63 | --suffix: ") "; 64 | } 65 | .filter-15 { 66 | --prefix: "("; 67 | --suffix: ") "; 68 | } 69 | .filter-16 { 70 | --prefix: "[1]<"; 71 | --suffix: "> "; 72 | } 73 | .filter-17 { 74 | --prefix: "[2]<"; 75 | --suffix: "> "; 76 | } 77 | .filter-18 { 78 | --prefix: "[3]<"; 79 | --suffix: "> "; 80 | } 81 | .filter-19 { 82 | --prefix: "[4]<"; 83 | --suffix: "> "; 84 | } 85 | .filter-20 { 86 | --prefix: "[5]<"; 87 | --suffix: "> "; 88 | } 89 | .filter-21 { 90 | --prefix: "[6]<"; 91 | --suffix: "> "; 92 | } 93 | .filter-22 { 94 | --prefix: "[7]<"; 95 | --suffix: "> "; 96 | } 97 | .filter-23 { 98 | --prefix: "[8]<"; 99 | --suffix: "> "; 100 | } 101 | .filter-24 { 102 | --prefix: "[部队]<"; 103 | --suffix: "> "; 104 | } 105 | .filter-25 { 106 | --prefix: ""; 107 | --suffix: ""; 108 | } 109 | .filter-26 { 110 | --prefix: ""; 111 | --suffix: ""; 112 | } 113 | .filter-27 { 114 | --prefix: "[新人]"; 115 | --suffix: " : "; 116 | } 117 | .filter-28 { 118 | --prefix: ""; 119 | --suffix: ""; 120 | } 121 | .filter-29 { 122 | --prefix: ""; 123 | --suffix: ""; 124 | --visible: none; 125 | } 126 | .filter-30 { 127 | --prefix: ""; 128 | --suffix: ":"; 129 | } 130 | .filter-31 { 131 | --prefix: "("; 132 | --suffix: ") "; 133 | } 134 | .filter-32 { 135 | --prefix: "("; 136 | --suffix: ") "; 137 | } 138 | .filter-33 { 139 | --prefix: ""; 140 | --suffix: ""; 141 | } 142 | .filter-34 { 143 | --prefix: ""; 144 | --suffix: ""; 145 | } 146 | .filter-35 { 147 | --prefix: ""; 148 | --suffix: ""; 149 | } 150 | .filter-36 { 151 | --prefix: "[对战]<"; 152 | --suffix: "> "; 153 | } 154 | .filter-37 { 155 | --prefix: "[跨服贝1]<"; 156 | --suffix: "> "; 157 | } 158 | .filter-38 { 159 | --prefix: ""; 160 | --suffix: ""; 161 | } 162 | .filter-39 { 163 | --prefix: ""; 164 | --suffix: ""; 165 | } 166 | .filter-40 { 167 | --prefix: ""; 168 | --suffix: ""; 169 | } 170 | .filter-41 { 171 | --prefix: ""; 172 | --suffix: ""; 173 | --visible: none; 174 | } 175 | .filter-42 { 176 | --prefix: ""; 177 | --suffix: ""; 178 | --visible: none; 179 | } 180 | .filter-43 { 181 | --prefix: ""; 182 | --suffix: ""; 183 | --visible: none; 184 | } 185 | .filter-44 { 186 | --prefix: ""; 187 | --suffix: ""; 188 | --visible: none; 189 | } 190 | .filter-45 { 191 | --prefix: ""; 192 | --suffix: ""; 193 | --visible: none; 194 | } 195 | .filter-46 { 196 | --prefix: ""; 197 | --suffix: ""; 198 | --visible: none; 199 | } 200 | .filter-47 { 201 | --prefix: ""; 202 | --suffix: ""; 203 | --visible: none; 204 | } 205 | .filter-48 { 206 | --prefix: ""; 207 | --suffix: ""; 208 | --visible: none; 209 | } 210 | .filter-49 { 211 | --prefix: ""; 212 | --suffix: ""; 213 | --visible: none; 214 | } 215 | .filter-50 { 216 | --prefix: ""; 217 | --suffix: ""; 218 | } 219 | .filter-51 { 220 | --prefix: ""; 221 | --suffix: ""; 222 | } 223 | .filter-52 { 224 | --prefix: ""; 225 | --suffix: ""; 226 | } 227 | .filter-53 { 228 | --prefix: ""; 229 | --suffix: ""; 230 | } 231 | .filter-54 { 232 | --prefix: ""; 233 | --suffix: ""; 234 | } 235 | .filter-55 { 236 | --prefix: ""; 237 | --suffix: ""; 238 | --visible: none; 239 | } 240 | .filter-56 { 241 | --prefix: ""; 242 | --suffix: ""; 243 | --visible: none; 244 | } 245 | .filter-57 { 246 | --prefix: ""; 247 | --suffix: ""; 248 | --visible: none; 249 | } 250 | .filter-58 { 251 | --prefix: ""; 252 | --suffix: ""; 253 | --visible: none; 254 | } 255 | .filter-59 { 256 | --prefix: ""; 257 | --suffix: ""; 258 | --visible: none; 259 | } 260 | .filter-60 { 261 | --prefix: ""; 262 | --suffix: ""; 263 | --visible: none; 264 | } 265 | .filter-61 { 266 | --prefix: ""; 267 | --suffix: " : "; 268 | } 269 | .filter-62 { 270 | --prefix: ""; 271 | --suffix: ""; 272 | --visible: none; 273 | } 274 | .filter-63 { 275 | --prefix: ""; 276 | --suffix: ""; 277 | } 278 | .filter-64 { 279 | --prefix: ""; 280 | --suffix: ""; 281 | --visible: none; 282 | } 283 | .filter-65 { 284 | --prefix: ""; 285 | --suffix: ""; 286 | --visible: none; 287 | } 288 | .filter-66 { 289 | --prefix: ""; 290 | --suffix: ""; 291 | --visible: none; 292 | } 293 | .filter-67 { 294 | --prefix: ""; 295 | --suffix: ""; 296 | --visible: none; 297 | } 298 | .filter-68 { 299 | --prefix: ""; 300 | --suffix: ":"; 301 | } 302 | .filter-69 { 303 | --prefix: ""; 304 | --suffix: ""; 305 | --visible: none; 306 | } 307 | .filter-70 { 308 | --prefix: ""; 309 | --suffix: ""; 310 | --visible: none; 311 | } 312 | .filter-71 { 313 | --prefix: ""; 314 | --suffix: ""; 315 | --visible: none; 316 | } 317 | .filter-72 { 318 | --prefix: ""; 319 | --suffix: ""; 320 | --visible: none; 321 | } 322 | .filter-73 { 323 | --prefix: ""; 324 | --suffix: ""; 325 | --visible: none; 326 | } 327 | .filter-74 { 328 | --prefix: ""; 329 | --suffix: ""; 330 | --visible: none; 331 | } 332 | .filter-75 { 333 | --prefix: ""; 334 | --suffix: ""; 335 | --visible: none; 336 | } 337 | .filter-76 { 338 | --prefix: ""; 339 | --suffix: ""; 340 | --visible: none; 341 | } 342 | .filter-77 { 343 | --prefix: ""; 344 | --suffix: ""; 345 | --visible: none; 346 | } 347 | .filter-78 { 348 | --prefix: ""; 349 | --suffix: ""; 350 | --visible: none; 351 | } 352 | .filter-79 { 353 | --prefix: ""; 354 | --suffix: ""; 355 | --visible: none; 356 | } 357 | .filter-80 { 358 | --prefix: "[游戏管理员]"; 359 | --suffix: " >> "; 360 | } 361 | .filter-81 { 362 | --prefix: "[游戏管理员]"; 363 | --suffix: ":"; 364 | } 365 | .filter-82 { 366 | --prefix: "[游戏管理员]"; 367 | --suffix: ":"; 368 | } 369 | .filter-83 { 370 | --prefix: "[游戏管理员]"; 371 | --suffix: ":"; 372 | } 373 | .filter-84 { 374 | --prefix: "([游戏管理员]"; 375 | --suffix: ") "; 376 | } 377 | .filter-85 { 378 | --prefix: "[部队]<[游戏管理员]"; 379 | --suffix: "> "; 380 | } 381 | .filter-86 { 382 | --prefix: "[1]<[游戏管理员]"; 383 | --suffix: "> "; 384 | } 385 | .filter-87 { 386 | --prefix: "[2]<[游戏管理员]"; 387 | --suffix: "> "; 388 | } 389 | .filter-88 { 390 | --prefix: "[3]<[游戏管理员]"; 391 | --suffix: "> "; 392 | } 393 | .filter-89 { 394 | --prefix: "[4]<[游戏管理员]"; 395 | --suffix: "> "; 396 | } 397 | .filter-90 { 398 | --prefix: "[5]<[游戏管理员]"; 399 | --suffix: "> "; 400 | } 401 | .filter-91 { 402 | --prefix: "[6]<[游戏管理员]"; 403 | --suffix: "> "; 404 | } 405 | .filter-92 { 406 | --prefix: "[7]<[游戏管理员]"; 407 | --suffix: "> "; 408 | } 409 | .filter-93 { 410 | --prefix: "[8]<[游戏管理员]"; 411 | --suffix: "> "; 412 | } 413 | .filter-94 { 414 | --prefix: "[新人][游戏管理员]<"; 415 | --suffix: "> : "; 416 | } 417 | .filter-95 { 418 | --prefix: ""; 419 | --suffix: ""; 420 | } 421 | .filter-96 { 422 | --prefix: ""; 423 | --suffix: ""; 424 | } 425 | .filter-97 { 426 | --prefix: ""; 427 | --suffix: ""; 428 | } 429 | .filter-98 { 430 | --prefix: ""; 431 | --suffix: ""; 432 | } 433 | .filter-99 { 434 | --prefix: ""; 435 | --suffix: ""; 436 | } 437 | .filter-100 { 438 | --prefix: ""; 439 | --suffix: ""; 440 | } 441 | .filter-101 { 442 | --prefix: "[跨服贝2]<"; 443 | --suffix: "> "; 444 | } 445 | .filter-102 { 446 | --prefix: "[跨服贝3]<"; 447 | --suffix: "> "; 448 | } 449 | .filter-103 { 450 | --prefix: "[跨服贝4]<"; 451 | --suffix: "> "; 452 | } 453 | .filter-104 { 454 | --prefix: "[跨服贝5]<"; 455 | --suffix: "> "; 456 | } 457 | .filter-105 { 458 | --prefix: "[跨服贝6]<"; 459 | --suffix: "> "; 460 | } 461 | .filter-106 { 462 | --prefix: "[跨服贝7]<"; 463 | --suffix: "> "; 464 | } 465 | .filter-107 { 466 | --prefix: "[跨服贝8]<"; 467 | --suffix: "> "; 468 | } 469 | .filter-108 { 470 | --prefix: ""; 471 | --suffix: ""; 472 | } 473 | .filter-109 { 474 | --prefix: ""; 475 | --suffix: ""; 476 | } 477 | .filter-110 { 478 | --prefix: ""; 479 | --suffix: ""; 480 | } 481 | -------------------------------------------------------------------------------- /src/assets/UIColor.css: -------------------------------------------------------------------------------- 1 | .palette-0 { 2 | --color: rgba(0, 0, 0, 0.000000); 3 | --glow-color: rgba(0, 0, 0, 0.000000); 4 | --unk3-color: rgba(0, 0, 0, 0.000000); 5 | } 6 | .palette-1 { 7 | --color: rgba(255, 255, 255, 1.000000); 8 | --glow-color: rgba(76, 52, 47, 1.000000); 9 | --unk3-color: rgba(255, 255, 255, 1.000000); 10 | } 11 | .palette-2 { 12 | --color: rgba(204, 204, 204, 1.000000); 13 | --glow-color: rgba(103, 79, 69, 1.000000); 14 | --unk3-color: rgba(204, 204, 204, 1.000000); 15 | } 16 | .palette-3 { 17 | --color: rgba(160, 160, 160, 1.000000); 18 | --glow-color: rgba(134, 111, 96, 1.000000); 19 | --unk3-color: rgba(160, 160, 160, 1.000000); 20 | } 21 | .palette-4 { 22 | --color: rgba(128, 128, 128, 1.000000); 23 | --glow-color: rgba(160, 138, 119, 1.000000); 24 | --unk3-color: rgba(128, 128, 128, 1.000000); 25 | } 26 | .palette-5 { 27 | --color: rgba(100, 100, 100, 1.000000); 28 | --glow-color: rgba(182, 161, 138, 1.000000); 29 | --unk3-color: rgba(110, 110, 110, 1.000000); 30 | } 31 | .palette-6 { 32 | --color: rgba(51, 51, 51, 1.000000); 33 | --glow-color: rgba(250, 217, 174, 1.000000); 34 | --unk3-color: rgba(87, 87, 87, 1.000000); 35 | } 36 | .palette-7 { 37 | --color: rgba(0, 0, 0, 1.000000); 38 | --glow-color: rgba(255, 243, 231, 1.000000); 39 | --unk3-color: rgba(12, 0, 56, 1.000000); 40 | } 41 | .palette-8 { 42 | --color: rgba(238, 225, 197, 1.000000); 43 | --glow-color: rgba(125, 82, 59, 1.000000); 44 | --unk3-color: rgba(255, 255, 255, 1.000000); 45 | } 46 | .palette-9 { 47 | --color: rgba(193, 123, 183, 1.000000); 48 | --glow-color: rgba(125, 69, 117, 1.000000); 49 | --unk3-color: rgba(193, 123, 183, 1.000000); 50 | } 51 | .palette-10 { 52 | --color: rgba(255, 212, 216, 1.000000); 53 | --glow-color: rgba(145, 25, 37, 1.000000); 54 | --unk3-color: rgba(255, 212, 216, 1.000000); 55 | } 56 | .palette-11 { 57 | --color: rgba(150, 116, 94, 1.000000); 58 | --glow-color: rgba(153, 119, 96, 1.000000); 59 | --unk3-color: rgba(202, 117, 87, 1.000000); 60 | } 61 | .palette-12 { 62 | --color: rgba(255, 153, 153, 1.000000); 63 | --glow-color: rgba(145, 58, 58, 1.000000); 64 | --unk3-color: rgba(255, 153, 153, 1.000000); 65 | } 66 | .palette-13 { 67 | --color: rgba(169, 96, 60, 1.000000); 68 | --glow-color: rgba(135, 78, 50, 1.000000); 69 | --unk3-color: rgba(169, 96, 60, 1.000000); 70 | } 71 | .palette-14 { 72 | --color: rgba(204, 55, 55, 1.000000); 73 | --glow-color: rgba(148, 0, 0, 1.000000); 74 | --unk3-color: rgba(204, 55, 55, 1.000000); 75 | } 76 | .palette-15 { 77 | --color: rgba(233, 98, 76, 1.000000); 78 | --glow-color: rgba(120, 20, 5, 1.000000); 79 | --unk3-color: rgba(233, 98, 76, 1.000000); 80 | } 81 | .palette-16 { 82 | --color: rgba(229, 0, 79, 1.000000); 83 | --glow-color: rgba(204, 0, 71, 1.000000); 84 | --unk3-color: rgba(229, 0, 79, 1.000000); 85 | } 86 | .palette-17 { 87 | --color: rgba(220, 0, 0, 1.000000); 88 | --glow-color: rgba(220, 0, 0, 1.000000); 89 | --unk3-color: rgba(220, 0, 0, 1.000000); 90 | } 91 | .palette-18 { 92 | --color: rgba(134, 48, 48, 1.000000); 93 | --glow-color: rgba(168, 61, 61, 1.000000); 94 | --unk3-color: rgba(178, 46, 46, 1.000000); 95 | } 96 | .palette-19 { 97 | --color: rgba(68, 11, 0, 1.000000); 98 | --glow-color: rgba(235, 180, 169, 1.000000); 99 | --unk3-color: rgba(143, 7, 7, 1.000000); 100 | } 101 | .palette-20 { 102 | --color: rgba(195, 188, 165, 1.000000); 103 | --glow-color: rgba(135, 101, 74, 1.000000); 104 | --unk3-color: rgba(195, 188, 165, 1.000000); 105 | } 106 | .palette-21 { 107 | --color: rgba(162, 154, 135, 1.000000); 108 | --glow-color: rgba(163, 135, 103, 1.000000); 109 | --unk3-color: rgba(162, 154, 135, 1.000000); 110 | } 111 | .palette-22 { 112 | --color: rgba(216, 187, 125, 1.000000); 113 | --glow-color: rgba(115, 46, 9, 1.000000); 114 | --unk3-color: rgba(177, 216, 224, 1.000000); 115 | } 116 | .palette-23 { 117 | --color: rgba(157, 131, 91, 1.000000); 118 | --glow-color: rgba(171, 120, 82, 1.000000); 119 | --unk3-color: rgba(165, 231, 224, 1.000000); 120 | } 121 | .palette-24 { 122 | --color: rgba(255, 248, 176, 1.000000); 123 | --glow-color: rgba(97, 92, 40, 1.000000); 124 | --unk3-color: rgba(255, 248, 176, 1.000000); 125 | } 126 | .palette-25 { 127 | --color: rgba(255, 255, 102, 1.000000); 128 | --glow-color: rgba(145, 145, 17, 1.000000); 129 | --unk3-color: rgba(255, 255, 102, 1.000000); 130 | } 131 | .palette-26 { 132 | --color: rgba(215, 203, 70, 1.000000); 133 | --glow-color: rgba(175, 165, 59, 1.000000); 134 | --unk3-color: rgba(215, 203, 70, 1.000000); 135 | } 136 | .palette-27 { 137 | --color: rgba(141, 136, 0, 1.000000); 138 | --glow-color: rgba(187, 183, 72, 1.000000); 139 | --unk3-color: rgba(141, 136, 0, 1.000000); 140 | } 141 | .palette-28 { 142 | --color: rgba(230, 167, 58, 1.000000); 143 | --glow-color: rgba(153, 97, 0, 1.000000); 144 | --unk3-color: rgba(230, 167, 58, 1.000000); 145 | } 146 | .palette-29 { 147 | --color: rgba(115, 85, 15, 1.000000); 148 | --glow-color: rgba(189, 165, 111, 1.000000); 149 | --unk3-color: rgba(152, 109, 10, 1.000000); 150 | } 151 | .palette-30 { 152 | --color: rgba(97, 65, 51, 1.000000); 153 | --glow-color: rgba(207, 170, 155, 1.000000); 154 | --unk3-color: rgba(153, 77, 44, 1.000000); 155 | } 156 | .palette-31 { 157 | --color: rgba(243, 204, 100, 1.000000); 158 | --glow-color: rgba(166, 127, 22, 1.000000); 159 | --unk3-color: rgba(243, 204, 100, 1.000000); 160 | } 161 | .palette-32 { 162 | --color: rgba(240, 142, 55, 1.000000); 163 | --glow-color: rgba(163, 76, 0, 1.000000); 164 | --unk3-color: rgba(240, 142, 55, 1.000000); 165 | } 166 | .palette-33 { 167 | --color: rgba(211, 238, 233, 1.000000); 168 | --glow-color: rgba(70, 115, 107, 1.000000); 169 | --unk3-color: rgba(211, 238, 233, 1.000000); 170 | } 171 | .palette-34 { 172 | --color: rgba(159, 238, 241, 1.000000); 173 | --glow-color: rgba(42, 107, 110, 1.000000); 174 | --unk3-color: rgba(159, 238, 241, 1.000000); 175 | } 176 | .palette-35 { 177 | --color: rgba(121, 199, 236, 1.000000); 178 | --glow-color: rgba(40, 102, 130, 1.000000); 179 | --unk3-color: rgba(121, 199, 236, 1.000000); 180 | } 181 | .palette-36 { 182 | --color: rgba(49, 97, 134, 1.000000); 183 | --glow-color: rgba(106, 141, 168, 1.000000); 184 | --unk3-color: rgba(55, 140, 205, 1.000000); 185 | } 186 | .palette-37 { 187 | --color: rgba(0, 153, 255, 1.000000); 188 | --glow-color: rgba(0, 87, 145, 1.000000); 189 | --unk3-color: rgba(0, 153, 255, 1.000000); 190 | } 191 | .palette-38 { 192 | --color: rgba(0, 80, 178, 1.000000); 193 | --glow-color: rgba(90, 106, 125, 1.000000); 194 | --unk3-color: rgba(19, 125, 255, 1.000000); 195 | } 196 | .palette-39 { 197 | --color: rgba(148, 206, 199, 1.000000); 198 | --glow-color: rgba(64, 145, 136, 1.000000); 199 | --unk3-color: rgba(148, 206, 199, 1.000000); 200 | } 201 | .palette-40 { 202 | --color: rgba(136, 220, 174, 1.000000); 203 | --glow-color: rgba(45, 133, 84, 1.000000); 204 | --unk3-color: rgba(136, 220, 174, 1.000000); 205 | } 206 | .palette-41 { 207 | --color: rgba(69, 178, 174, 1.000000); 208 | --glow-color: rgba(41, 125, 122, 1.000000); 209 | --unk3-color: rgba(69, 178, 174, 1.000000); 210 | } 211 | .palette-42 { 212 | --color: rgba(151, 220, 96, 1.000000); 213 | --glow-color: rgba(71, 133, 21, 1.000000); 214 | --unk3-color: rgba(151, 220, 96, 1.000000); 215 | } 216 | .palette-43 { 217 | --color: rgba(140, 255, 90, 1.000000); 218 | --glow-color: rgba(112, 161, 27, 1.000000); 219 | --unk3-color: rgba(140, 255, 90, 1.000000); 220 | } 221 | .palette-44 { 222 | --color: rgba(117, 187, 0, 1.000000); 223 | --glow-color: rgba(86, 117, 33, 1.000000); 224 | --unk3-color: rgba(117, 187, 0, 1.000000); 225 | } 226 | .palette-45 { 227 | --color: rgba(0, 204, 34, 1.000000); 228 | --glow-color: rgba(25, 148, 0, 1.000000); 229 | --unk3-color: rgba(0, 204, 34, 1.000000); 230 | } 231 | .palette-46 { 232 | --color: rgba(40, 130, 70, 1.000000); 233 | --glow-color: rgba(71, 173, 71, 1.000000); 234 | --unk3-color: rgba(40, 130, 70, 1.000000); 235 | } 236 | .palette-47 { 237 | --color: rgba(10, 57, 24, 1.000000); 238 | --glow-color: rgba(168, 247, 134, 1.000000); 239 | --unk3-color: rgba(1, 114, 35, 1.000000); 240 | } 241 | .palette-48 { 242 | --color: rgba(170, 129, 255, 1.000000); 243 | --glow-color: rgba(96, 71, 145, 1.000000); 244 | --unk3-color: rgba(200, 90, 255, 1.000000); 245 | } 246 | .palette-49 { 247 | --color: rgba(85, 52, 194, 1.000000); 248 | --glow-color: rgba(125, 115, 158, 1.000000); 249 | --unk3-color: rgba(133, 85, 255, 1.000000); 250 | } 251 | .palette-50 { 252 | --color: rgba(255, 255, 255, 1.000000); 253 | --glow-color: rgba(255, 255, 255, 1.000000); 254 | --unk3-color: rgba(255, 255, 255, 1.000000); 255 | } 256 | .palette-51 { 257 | --color: rgba(0, 0, 0, 1.000000); 258 | --glow-color: rgba(0, 0, 0, 1.000000); 259 | --unk3-color: rgba(0, 0, 0, 1.000000); 260 | } 261 | .palette-52 { 262 | --color: rgba(19, 204, 163, 1.000000); 263 | --glow-color: rgba(19, 204, 163, 1.000000); 264 | --unk3-color: rgba(19, 204, 163, 1.000000); 265 | } 266 | .palette-53 { 267 | --color: rgba(10, 105, 146, 1.000000); 268 | --glow-color: rgba(10, 105, 146, 1.000000); 269 | --unk3-color: rgba(10, 105, 146, 1.000000); 270 | } 271 | .palette-54 { 272 | --color: rgba(142, 106, 12, 1.000000); 273 | --glow-color: rgba(142, 106, 12, 1.000000); 274 | --unk3-color: rgba(142, 106, 12, 1.000000); 275 | } 276 | .palette-55 { 277 | --color: rgba(51, 51, 51, 1.000000); 278 | --glow-color: rgba(51, 51, 51, 1.000000); 279 | --unk3-color: rgba(51, 51, 51, 1.000000); 280 | } 281 | .palette-56 { 282 | --color: rgba(158, 168, 255, 1.000000); 283 | --glow-color: rgba(107, 117, 209, 1.000000); 284 | --unk3-color: rgba(158, 168, 255, 1.000000); 285 | } 286 | .palette-57 { 287 | --color: rgba(76, 190, 255, 1.000000); 288 | --glow-color: rgba(41, 138, 194, 1.000000); 289 | --unk3-color: rgba(76, 190, 255, 1.000000); 290 | } 291 | .palette-58 { 292 | --color: rgba(26, 214, 214, 1.000000); 293 | --glow-color: rgba(10, 173, 160, 1.000000); 294 | --unk3-color: rgba(26, 214, 214, 1.000000); 295 | } 296 | .palette-59 { 297 | --color: rgba(46, 209, 133, 1.000000); 298 | --glow-color: rgba(0, 167, 131, 1.000000); 299 | --unk3-color: rgba(46, 209, 133, 1.000000); 300 | } 301 | .palette-60 { 302 | --color: rgba(88, 214, 34, 1.000000); 303 | --glow-color: rgba(47, 156, 0, 1.000000); 304 | --unk3-color: rgba(88, 214, 34, 1.000000); 305 | } 306 | .palette-61 { 307 | --color: rgba(193, 229, 46, 1.000000); 308 | --glow-color: rgba(120, 150, 0, 1.000000); 309 | --unk3-color: rgba(193, 229, 46, 1.000000); 310 | } 311 | .palette-62 { 312 | --color: rgba(245, 235, 103, 1.000000); 313 | --glow-color: rgba(138, 129, 6, 1.000000); 314 | --unk3-color: rgba(245, 235, 103, 1.000000); 315 | } 316 | .palette-63 { 317 | --color: rgba(241, 183, 91, 1.000000); 318 | --glow-color: rgba(168, 104, 0, 1.000000); 319 | --unk3-color: rgba(241, 183, 91, 1.000000); 320 | } 321 | .palette-64 { 322 | --color: rgba(255, 255, 255, 1.000000); 323 | --glow-color: rgba(156, 97, 22, 1.000000); 324 | --unk3-color: rgba(255, 255, 255, 1.000000); 325 | } 326 | .palette-65 { 327 | --color: rgba(240, 142, 55, 1.000000); 328 | --glow-color: rgba(255, 177, 125, 1.000000); 329 | --unk3-color: rgba(240, 142, 55, 1.000000); 330 | } 331 | .palette-66 { 332 | --color: rgba(255, 192, 80, 1.000000); 333 | --glow-color: rgba(219, 71, 25, 1.000000); 334 | --unk3-color: rgba(255, 192, 80, 1.000000); 335 | } 336 | .palette-67 { 337 | --color: rgba(160, 248, 116, 1.000000); 338 | --glow-color: rgba(2, 117, 24, 1.000000); 339 | --unk3-color: rgba(160, 248, 116, 1.000000); 340 | } 341 | .palette-68 { 342 | --color: rgba(76, 52, 47, 1.000000); 343 | --glow-color: rgba(76, 52, 47, 1.000000); 344 | --unk3-color: rgba(76, 52, 47, 1.000000); 345 | } 346 | .palette-69 { 347 | --color: rgba(159, 238, 241, 1.000000); 348 | --glow-color: rgba(159, 238, 241, 1.000000); 349 | --unk3-color: rgba(159, 238, 241, 1.000000); 350 | } 351 | .palette-70 { 352 | --color: rgba(121, 199, 236, 1.000000); 353 | --glow-color: rgba(121, 199, 236, 1.000000); 354 | --unk3-color: rgba(121, 199, 236, 1.000000); 355 | } 356 | .palette-71 { 357 | --color: rgba(252, 201, 52, 1.000000); 358 | --glow-color: rgba(252, 201, 52, 1.000000); 359 | --unk3-color: rgba(252, 201, 52, 1.000000); 360 | } 361 | .palette-72 { 362 | --color: rgba(192, 255, 192, 1.000000); 363 | --glow-color: rgba(192, 255, 192, 1.000000); 364 | --unk3-color: rgba(192, 255, 192, 1.000000); 365 | } 366 | .palette-73 { 367 | --color: rgba(220, 103, 100, 1.000000); 368 | --glow-color: rgba(220, 103, 100, 1.000000); 369 | --unk3-color: rgba(220, 103, 100, 1.000000); 370 | } 371 | .palette-74 { 372 | --color: rgba(252, 220, 151, 1.000000); 373 | --glow-color: rgba(252, 220, 151, 1.000000); 374 | --unk3-color: rgba(252, 220, 151, 1.000000); 375 | } 376 | .palette-75 { 377 | --color: rgba(76, 52, 47, 1.000000); 378 | --glow-color: rgba(76, 52, 47, 1.000000); 379 | --unk3-color: rgba(76, 52, 47, 1.000000); 380 | } 381 | .palette-76 { 382 | --color: rgba(230, 167, 58, 1.000000); 383 | --glow-color: rgba(232, 104, 12, 1.000000); 384 | --unk3-color: rgba(230, 167, 58, 1.000000); 385 | } 386 | .palette-77 { 387 | --color: rgba(97, 65, 51, 1.000000); 388 | --glow-color: rgba(207, 170, 155, 1.000000); 389 | --unk3-color: rgba(153, 77, 44, 1.000000); 390 | } 391 | .palette-500 { 392 | --color: rgba(255, 123, 26, 1.000000); 393 | --glow-color: rgba(204, 86, 0, 1.000000); 394 | --unk3-color: rgba(255, 123, 26, 1.000000); 395 | } 396 | .palette-501 { 397 | --color: rgba(0, 0, 0, 1.000000); 398 | --glow-color: rgba(255, 195, 172, 0.000000); 399 | --unk3-color: rgba(0, 0, 0, 1.000000); 400 | } 401 | .palette-502 { 402 | --color: rgba(64, 191, 255, 1.000000); 403 | --glow-color: rgba(42, 148, 202, 1.000000); 404 | --unk3-color: rgba(64, 191, 255, 1.000000); 405 | } 406 | .palette-503 { 407 | --color: rgba(0, 0, 0, 1.000000); 408 | --glow-color: rgba(225, 237, 255, 1.000000); 409 | --unk3-color: rgba(0, 0, 0, 1.000000); 410 | } 411 | .palette-504 { 412 | --color: rgba(0, 204, 34, 1.000000); 413 | --glow-color: rgba(82, 160, 95, 1.000000); 414 | --unk3-color: rgba(0, 204, 34, 1.000000); 415 | } 416 | .palette-505 { 417 | --color: rgba(0, 0, 0, 1.000000); 418 | --glow-color: rgba(197, 220, 141, 0.000000); 419 | --unk3-color: rgba(0, 0, 0, 1.000000); 420 | } 421 | .palette-506 { 422 | --color: rgba(255, 255, 102, 1.000000); 423 | --glow-color: rgba(190, 103, 0, 1.000000); 424 | --unk3-color: rgba(255, 255, 102, 1.000000); 425 | } 426 | .palette-507 { 427 | --color: rgba(0, 0, 0, 1.000000); 428 | --glow-color: rgba(255, 213, 140, 1.000000); 429 | --unk3-color: rgba(0, 0, 0, 1.000000); 430 | } 431 | .palette-508 { 432 | --color: rgba(255, 128, 128, 1.000000); 433 | --glow-color: rgba(195, 70, 70, 1.000000); 434 | --unk3-color: rgba(255, 128, 128, 1.000000); 435 | } 436 | .palette-509 { 437 | --color: rgba(0, 0, 0, 1.000000); 438 | --glow-color: rgba(255, 208, 208, 1.000000); 439 | --unk3-color: rgba(0, 0, 0, 1.000000); 440 | } 441 | .palette-510 { 442 | --color: rgba(255, 232, 232, 1.000000); 443 | --glow-color: rgba(255, 232, 232, 1.000000); 444 | --unk3-color: rgba(255, 232, 232, 1.000000); 445 | } 446 | .palette-511 { 447 | --color: rgba(192, 48, 0, 1.000000); 448 | --glow-color: rgba(192, 48, 0, 1.000000); 449 | --unk3-color: rgba(192, 48, 0, 1.000000); 450 | } 451 | .palette-512 { 452 | --color: rgba(190, 205, 255, 1.000000); 453 | --glow-color: rgba(190, 205, 255, 1.000000); 454 | --unk3-color: rgba(190, 205, 255, 1.000000); 455 | } 456 | .palette-513 { 457 | --color: rgba(27, 43, 158, 1.000000); 458 | --glow-color: rgba(27, 43, 158, 1.000000); 459 | --unk3-color: rgba(27, 43, 158, 1.000000); 460 | } 461 | .palette-514 { 462 | --color: rgba(225, 197, 0, 0.933333); 463 | --glow-color: rgba(176, 116, 0, 1.000000); 464 | --unk3-color: rgba(225, 197, 0, 0.933333); 465 | } 466 | .palette-515 { 467 | --color: rgba(255, 232, 232, 1.000000); 468 | --glow-color: rgba(255, 232, 232, 1.000000); 469 | --unk3-color: rgba(255, 232, 232, 1.000000); 470 | } 471 | .palette-516 { 472 | --color: rgba(192, 48, 0, 1.000000); 473 | --glow-color: rgba(192, 48, 0, 1.000000); 474 | --unk3-color: rgba(192, 48, 0, 1.000000); 475 | } 476 | .palette-517 { 477 | --color: rgba(102, 210, 255, 1.000000); 478 | --glow-color: rgba(102, 210, 255, 1.000000); 479 | --unk3-color: rgba(102, 210, 255, 1.000000); 480 | } 481 | .palette-518 { 482 | --color: rgba(255, 40, 4, 1.000000); 483 | --glow-color: rgba(255, 40, 4, 1.000000); 484 | --unk3-color: rgba(255, 40, 4, 1.000000); 485 | } 486 | .palette-519 { 487 | --color: rgba(255, 255, 255, 1.000000); 488 | --glow-color: rgba(255, 255, 255, 1.000000); 489 | --unk3-color: rgba(255, 255, 255, 1.000000); 490 | } 491 | .palette-520 { 492 | --color: rgba(198, 154, 65, 1.000000); 493 | --glow-color: rgba(198, 154, 65, 1.000000); 494 | --unk3-color: rgba(198, 154, 65, 1.000000); 495 | } 496 | .palette-521 { 497 | --color: rgba(255, 255, 255, 1.000000); 498 | --glow-color: rgba(255, 255, 255, 1.000000); 499 | --unk3-color: rgba(255, 255, 255, 1.000000); 500 | } 501 | .palette-522 { 502 | --color: rgba(196, 119, 234, 1.000000); 503 | --glow-color: rgba(196, 119, 234, 1.000000); 504 | --unk3-color: rgba(196, 119, 234, 1.000000); 505 | } 506 | .palette-523 { 507 | --color: rgba(255, 235, 234, 1.000000); 508 | --glow-color: rgba(255, 235, 234, 1.000000); 509 | --unk3-color: rgba(255, 235, 234, 1.000000); 510 | } 511 | .palette-524 { 512 | --color: rgba(255, 112, 146, 1.000000); 513 | --glow-color: rgba(255, 112, 146, 1.000000); 514 | --unk3-color: rgba(255, 112, 146, 1.000000); 515 | } 516 | .palette-525 { 517 | --color: rgba(255, 255, 255, 1.000000); 518 | --glow-color: rgba(255, 255, 255, 1.000000); 519 | --unk3-color: rgba(255, 255, 255, 1.000000); 520 | } 521 | .palette-526 { 522 | --color: rgba(71, 186, 255, 1.000000); 523 | --glow-color: rgba(71, 186, 255, 1.000000); 524 | --unk3-color: rgba(71, 186, 255, 1.000000); 525 | } 526 | .palette-527 { 527 | --color: rgba(255, 174, 0, 1.000000); 528 | --glow-color: rgba(255, 174, 0, 1.000000); 529 | --unk3-color: rgba(255, 174, 0, 1.000000); 530 | } 531 | .palette-528 { 532 | --color: rgba(139, 95, 0, 1.000000); 533 | --glow-color: rgba(139, 95, 0, 1.000000); 534 | --unk3-color: rgba(139, 95, 0, 1.000000); 535 | } 536 | .palette-529 { 537 | --color: rgba(48, 214, 255, 1.000000); 538 | --glow-color: rgba(48, 214, 255, 1.000000); 539 | --unk3-color: rgba(48, 214, 255, 1.000000); 540 | } 541 | .palette-530 { 542 | --color: rgba(61, 101, 125, 1.000000); 543 | --glow-color: rgba(61, 101, 125, 1.000000); 544 | --unk3-color: rgba(61, 101, 125, 1.000000); 545 | } 546 | .palette-531 { 547 | --color: rgba(255, 130, 97, 1.000000); 548 | --glow-color: rgba(255, 130, 97, 1.000000); 549 | --unk3-color: rgba(255, 130, 97, 1.000000); 550 | } 551 | .palette-532 { 552 | --color: rgba(128, 74, 59, 1.000000); 553 | --glow-color: rgba(128, 74, 59, 1.000000); 554 | --unk3-color: rgba(128, 74, 59, 1.000000); 555 | } 556 | .palette-533 { 557 | --color: rgba(255, 200, 200, 1.000000); 558 | --glow-color: rgba(255, 200, 200, 1.000000); 559 | --unk3-color: rgba(255, 200, 200, 1.000000); 560 | } 561 | .palette-534 { 562 | --color: rgba(174, 0, 0, 1.000000); 563 | --glow-color: rgba(174, 0, 0, 1.000000); 564 | --unk3-color: rgba(174, 0, 0, 1.000000); 565 | } 566 | .palette-535 { 567 | --color: rgba(255, 255, 192, 1.000000); 568 | --glow-color: rgba(255, 255, 192, 1.000000); 569 | --unk3-color: rgba(255, 255, 192, 1.000000); 570 | } 571 | .palette-536 { 572 | --color: rgba(160, 88, 0, 1.000000); 573 | --glow-color: rgba(160, 88, 0, 1.000000); 574 | --unk3-color: rgba(160, 88, 0, 1.000000); 575 | } 576 | .palette-537 { 577 | --color: rgba(255, 192, 255, 1.000000); 578 | --glow-color: rgba(255, 192, 255, 1.000000); 579 | --unk3-color: rgba(255, 192, 255, 1.000000); 580 | } 581 | .palette-538 { 582 | --color: rgba(64, 0, 160, 1.000000); 583 | --glow-color: rgba(64, 0, 160, 1.000000); 584 | --unk3-color: rgba(64, 0, 160, 1.000000); 585 | } 586 | .palette-539 { 587 | --color: rgba(255, 81, 81, 1.000000); 588 | --glow-color: rgba(255, 81, 81, 1.000000); 589 | --unk3-color: rgba(255, 81, 81, 1.000000); 590 | } 591 | .palette-540 { 592 | --color: rgba(255, 182, 25, 1.000000); 593 | --glow-color: rgba(255, 182, 25, 1.000000); 594 | --unk3-color: rgba(255, 182, 25, 1.000000); 595 | } 596 | .palette-541 { 597 | --color: rgba(192, 91, 254, 1.000000); 598 | --glow-color: rgba(192, 91, 254, 1.000000); 599 | --unk3-color: rgba(192, 91, 254, 1.000000); 600 | } 601 | .palette-542 { 602 | --color: rgba(0, 150, 255, 1.000000); 603 | --glow-color: rgba(0, 150, 255, 1.000000); 604 | --unk3-color: rgba(0, 150, 255, 1.000000); 605 | } 606 | .palette-543 { 607 | --color: rgba(0, 24, 255, 1.000000); 608 | --glow-color: rgba(0, 24, 255, 1.000000); 609 | --unk3-color: rgba(0, 24, 255, 1.000000); 610 | } 611 | .palette-544 { 612 | --color: rgba(255, 86, 110, 1.000000); 613 | --glow-color: rgba(255, 86, 110, 1.000000); 614 | --unk3-color: rgba(255, 86, 110, 1.000000); 615 | } 616 | .palette-545 { 617 | --color: rgba(180, 0, 0, 1.000000); 618 | --glow-color: rgba(180, 0, 0, 1.000000); 619 | --unk3-color: rgba(180, 0, 0, 1.000000); 620 | } 621 | .palette-546 { 622 | --color: rgba(96, 184, 250, 1.000000); 623 | --glow-color: rgba(96, 184, 250, 1.000000); 624 | --unk3-color: rgba(96, 184, 250, 1.000000); 625 | } 626 | .palette-547 { 627 | --color: rgba(196, 57, 99, 1.000000); 628 | --glow-color: rgba(196, 57, 99, 1.000000); 629 | --unk3-color: rgba(196, 57, 99, 1.000000); 630 | } 631 | .palette-548 { 632 | --color: rgba(241, 198, 0, 1.000000); 633 | --glow-color: rgba(176, 116, 0, 1.000000); 634 | --unk3-color: rgba(241, 198, 0, 1.000000); 635 | } 636 | .palette-549 { 637 | --color: rgba(243, 243, 243, 1.000000); 638 | --glow-color: rgba(156, 107, 71, 1.000000); 639 | --unk3-color: rgba(243, 243, 243, 1.000000); 640 | } 641 | .palette-550 { 642 | --color: rgba(0, 0, 0, 1.000000); 643 | --glow-color: rgba(247, 223, 181, 0.000000); 644 | --unk3-color: rgba(0, 0, 0, 1.000000); 645 | } 646 | .palette-551 { 647 | --color: rgba(192, 255, 192, 1.000000); 648 | --glow-color: rgba(93, 158, 0, 1.000000); 649 | --unk3-color: rgba(0, 255, 0, 1.000000); 650 | } 651 | .palette-552 { 652 | --color: rgba(0, 0, 0, 1.000000); 653 | --glow-color: rgba(247, 223, 181, 0.000000); 654 | --unk3-color: rgba(0, 64, 0, 1.000000); 655 | } 656 | .palette-553 { 657 | --color: rgba(89, 144, 255, 1.000000); 658 | --glow-color: rgba(82, 132, 231, 1.000000); 659 | --unk3-color: rgba(0, 255, 255, 1.000000); 660 | } 661 | .palette-554 { 662 | --color: rgba(0, 0, 0, 1.000000); 663 | --glow-color: rgba(247, 223, 181, 0.000000); 664 | --unk3-color: rgba(0, 0, 255, 1.000000); 665 | } 666 | .palette-555 { 667 | --color: rgba(179, 140, 255, 1.000000); 668 | --glow-color: rgba(130, 95, 201, 1.000000); 669 | --unk3-color: rgba(179, 140, 255, 1.000000); 670 | } 671 | .palette-556 { 672 | --color: rgba(0, 0, 0, 1.000000); 673 | --glow-color: rgba(247, 223, 181, 0.000000); 674 | --unk3-color: rgba(128, 0, 0, 1.000000); 675 | } 676 | .palette-557 { 677 | --color: rgba(255, 166, 102, 1.000000); 678 | --glow-color: rgba(232, 104, 12, 1.000000); 679 | --unk3-color: rgba(255, 166, 102, 1.000000); 680 | } 681 | .palette-558 { 682 | --color: rgba(0, 0, 0, 1.000000); 683 | --glow-color: rgba(247, 223, 181, 0.000000); 684 | --unk3-color: rgba(0, 0, 0, 1.000000); 685 | } 686 | .palette-559 { 687 | --color: rgba(255, 225, 25, 1.000000); 688 | --glow-color: rgba(207, 151, 0, 1.000000); 689 | --unk3-color: rgba(255, 225, 25, 1.000000); 690 | } 691 | .palette-560 { 692 | --color: rgba(0, 0, 0, 1.000000); 693 | --glow-color: rgba(247, 223, 181, 0.000000); 694 | --unk3-color: rgba(0, 0, 0, 1.000000); 695 | } 696 | .palette-561 { 697 | --color: rgba(250, 137, 182, 1.000000); 698 | --glow-color: rgba(222, 95, 146, 1.000000); 699 | --unk3-color: rgba(250, 137, 182, 1.000000); 700 | } 701 | .palette-562 { 702 | --color: rgba(0, 0, 0, 1.000000); 703 | --glow-color: rgba(247, 223, 181, 0.000000); 704 | --unk3-color: rgba(0, 0, 0, 1.000000); 705 | } 706 | .palette-563 { 707 | --color: rgba(233, 194, 156, 1.000000); 708 | --glow-color: rgba(202, 122, 47, 1.000000); 709 | --unk3-color: rgba(233, 194, 156, 1.000000); 710 | } 711 | .palette-564 { 712 | --color: rgba(0, 0, 0, 1.000000); 713 | --glow-color: rgba(255, 183, 101, 0.000000); 714 | --unk3-color: rgba(0, 0, 0, 1.000000); 715 | } 716 | .palette-565 { 717 | --color: rgba(255, 255, 255, 1.000000); 718 | --glow-color: rgba(255, 255, 255, 1.000000); 719 | --unk3-color: rgba(255, 255, 255, 1.000000); 720 | } 721 | .palette-566 { 722 | --color: rgba(71, 186, 255, 1.000000); 723 | --glow-color: rgba(71, 186, 255, 1.000000); 724 | --unk3-color: rgba(71, 186, 255, 1.000000); 725 | } 726 | .palette-567 { 727 | --color: rgba(255, 255, 255, 1.000000); 728 | --glow-color: rgba(255, 255, 255, 1.000000); 729 | --unk3-color: rgba(255, 255, 255, 1.000000); 730 | } 731 | .palette-568 { 732 | --color: rgba(230, 167, 58, 1.000000); 733 | --glow-color: rgba(230, 167, 58, 1.000000); 734 | --unk3-color: rgba(230, 167, 58, 1.000000); 735 | } 736 | .palette-569 { 737 | --color: rgba(255, 255, 255, 1.000000); 738 | --glow-color: rgba(255, 255, 255, 1.000000); 739 | --unk3-color: rgba(255, 255, 255, 1.000000); 740 | } 741 | .palette-570 { 742 | --color: rgba(0, 204, 34, 1.000000); 743 | --glow-color: rgba(0, 204, 34, 1.000000); 744 | --unk3-color: rgba(0, 204, 34, 1.000000); 745 | } 746 | .palette-571 { 747 | --color: rgba(255, 255, 255, 1.000000); 748 | --glow-color: rgba(76, 52, 47, 1.000000); 749 | --unk3-color: rgba(255, 255, 255, 1.000000); 750 | } 751 | .palette-572 { 752 | --color: rgba(0, 0, 0, 1.000000); 753 | --glow-color: rgba(255, 243, 231, 1.000000); 754 | --unk3-color: rgba(0, 0, 0, 1.000000); 755 | } 756 | .palette-573 { 757 | --color: rgba(249, 232, 70, 1.000000); 758 | --glow-color: rgba(143, 117, 0, 1.000000); 759 | --unk3-color: rgba(249, 232, 70, 1.000000); 760 | } 761 | .palette-574 { 762 | --color: rgba(0, 0, 0, 1.000000); 763 | --glow-color: rgba(255, 239, 56, 1.000000); 764 | --unk3-color: rgba(0, 0, 0, 1.000000); 765 | } 766 | .palette-575 { 767 | --color: rgba(55, 222, 153, 1.000000); 768 | --glow-color: rgba(1, 154, 91, 1.000000); 769 | --unk3-color: rgba(55, 222, 153, 1.000000); 770 | } 771 | .palette-576 { 772 | --color: rgba(91, 226, 255, 1.000000); 773 | --glow-color: rgba(5, 164, 198, 1.000000); 774 | --unk3-color: rgba(91, 226, 255, 1.000000); 775 | } 776 | .palette-577 { 777 | --color: rgba(255, 194, 64, 1.000000); 778 | --glow-color: rgba(211, 114, 0, 1.000000); 779 | --unk3-color: rgba(255, 194, 64, 1.000000); 780 | } 781 | .palette-578 { 782 | --color: rgba(255, 90, 208, 1.000000); 783 | --glow-color: rgba(232, 67, 185, 1.000000); 784 | --unk3-color: rgba(255, 90, 208, 1.000000); 785 | } 786 | .palette-579 { 787 | --color: rgba(128, 240, 240, 1.000000); 788 | --glow-color: rgba(128, 240, 240, 1.000000); 789 | --unk3-color: rgba(128, 240, 240, 1.000000); 790 | } 791 | .palette-580 { 792 | --color: rgba(0, 32, 32, 1.000000); 793 | --glow-color: rgba(0, 32, 32, 1.000000); 794 | --unk3-color: rgba(0, 32, 32, 1.000000); 795 | } 796 | .palette-700 { 797 | --color: rgba(255, 255, 255, 1.000000); 798 | --glow-color: rgba(255, 255, 255, 1.000000); 799 | --unk3-color: rgba(255, 255, 255, 1.000000); 800 | } 801 | .palette-701 { 802 | --color: rgba(100, 100, 100, 1.000000); 803 | --glow-color: rgba(100, 100, 100, 1.000000); 804 | --unk3-color: rgba(100, 100, 100, 1.000000); 805 | } 806 | .palette-702 { 807 | --color: rgba(0, 0, 0, 1.000000); 808 | --glow-color: rgba(0, 0, 0, 1.000000); 809 | --unk3-color: rgba(0, 0, 0, 1.000000); 810 | } 811 | .palette-703 { 812 | --color: rgba(255, 212, 216, 1.000000); 813 | --glow-color: rgba(255, 212, 216, 1.000000); 814 | --unk3-color: rgba(255, 212, 216, 1.000000); 815 | } 816 | .palette-704 { 817 | --color: rgba(204, 55, 55, 1.000000); 818 | --glow-color: rgba(204, 55, 55, 1.000000); 819 | --unk3-color: rgba(204, 55, 55, 1.000000); 820 | } 821 | .palette-705 { 822 | --color: rgba(233, 98, 76, 1.000000); 823 | --glow-color: rgba(233, 98, 76, 1.000000); 824 | --unk3-color: rgba(233, 98, 76, 1.000000); 825 | } 826 | .palette-706 { 827 | --color: rgba(240, 142, 55, 1.000000); 828 | --glow-color: rgba(240, 142, 55, 1.000000); 829 | --unk3-color: rgba(240, 142, 55, 1.000000); 830 | } 831 | .palette-707 { 832 | --color: rgba(0, 153, 255, 1.000000); 833 | --glow-color: rgba(0, 153, 255, 1.000000); 834 | --unk3-color: rgba(0, 153, 255, 1.000000); 835 | } 836 | .palette-708 { 837 | --color: rgba(170, 129, 255, 1.000000); 838 | --glow-color: rgba(170, 129, 255, 1.000000); 839 | --unk3-color: rgba(170, 129, 255, 1.000000); 840 | } 841 | .palette-709 { 842 | --color: rgba(85, 52, 194, 1.000000); 843 | --glow-color: rgba(85, 52, 194, 1.000000); 844 | --unk3-color: rgba(85, 52, 194, 1.000000); 845 | } 846 | .palette-710 { 847 | --color: rgba(245, 235, 103, 1.000000); 848 | --glow-color: rgba(245, 235, 103, 1.000000); 849 | --unk3-color: rgba(245, 235, 103, 1.000000); 850 | } 851 | -------------------------------------------------------------------------------- /src/assets/fonticon_xinput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ffxiv-cyou/ffxiv-log-parser/39dcfa685b2ce9b00364ca152cd17eb4153397cc/src/assets/fonticon_xinput.png -------------------------------------------------------------------------------- /src/component/FilterSetting.vue: -------------------------------------------------------------------------------- 1 | 41 | 42 | 102 | 103 | 131 | -------------------------------------------------------------------------------- /src/component/Message.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 43 | 44 | 94 | -------------------------------------------------------------------------------- /src/component/TokenText.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 28 | 29 | 51 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from "vue"; 2 | import VueGtag from "vue-gtag"; 3 | import App from "./App.vue"; 4 | 5 | import "purecss/build/pure.css"; 6 | import "purecss/build/grids-responsive.css"; 7 | 8 | const app = createApp(App); 9 | app.use(VueGtag, { config: { id: "G-MEMN364SMZ" } }); 10 | app.mount("#app"); 11 | -------------------------------------------------------------------------------- /src/model/actlog_parser.ts: -------------------------------------------------------------------------------- 1 | import { Message } from "./message"; 2 | 3 | export class ActLogParser { 4 | public static validate(dat: ArrayBuffer): boolean { 5 | const dw = new DataView(dat, 0); 6 | const ch1 = dw.getUint8(0); 7 | const ch2 = dw.getUint8(1); 8 | return (ch1 == 0x0d && ch2 == 0x0a) || (ch1 >= 0x30 && ch1 <= 0x39 && ch2 >= 0x30 && ch2 <= 0x39); 9 | } 10 | 11 | public static parse(data: ArrayBuffer): Message[] { 12 | const dec = new TextDecoder("utf-8"); 13 | const text = dec.decode(data); 14 | const rows = text.split("\n"); 15 | 16 | const messages = []; 17 | for (let i = 0; i < rows.length; i++) { 18 | const row = rows[i]; 19 | const cols = row.split("|"); 20 | 21 | if (parseInt(cols[0]) !== 0) continue; 22 | 23 | const time = cols[1]; 24 | const chanFilter = parseInt(cols[2], 16); 25 | const channel = chanFilter >> 8; 26 | const filter = chanFilter & 0xff; 27 | const sender = cols[3]; 28 | const message = cols[4]; 29 | 30 | messages.push( 31 | Message.Text( 32 | new Date(time).getTime() / 1000, 33 | filter, 34 | channel, 35 | sender, 36 | message 37 | ) 38 | ); 39 | } 40 | return messages; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/model/auto_translate.ts: -------------------------------------------------------------------------------- 1 | export class AutoTranslateItem { 2 | ID!: number; 3 | Name!: string; 4 | } 5 | 6 | export class AutoTranslateGroup { 7 | GroupID!: number; 8 | Name!: string; 9 | Items!: AutoTranslateItem[]; 10 | } 11 | 12 | import translates from "@/assets/AutoComplete.json"; 13 | 14 | type groupType = keyof typeof translates; 15 | type itemType = keyof typeof translates[groupType]; 16 | 17 | class AutoTranslate extends HTMLElement { 18 | constructor() { 19 | super(); 20 | 21 | const group = this.getAttribute("group"); 22 | const id = this.getAttribute("cid"); 23 | if (group !== null && id !== null) { 24 | 25 | // I don't know why but offset is needed for some groups 26 | let groupID = parseInt(group); 27 | if (groupID > 48) groupID += 2; 28 | 29 | const g = translates[groupID.toString() as groupType]; 30 | if (g) { 31 | const item = g[id as itemType]; 32 | if (item) { 33 | this.innerText = item; 34 | return; 35 | } 36 | } 37 | 38 | const groups = Object.keys(translates); 39 | for (let i = 0; i < groups.length; i++) { 40 | const group = groups[i]; 41 | if (parseInt(group) > 48) 42 | continue; 43 | 44 | const items = translates[group as groupType]; 45 | const cids = Object.keys(items); 46 | for (let j = 0; j < cids.length; j++) { 47 | if (id === cids[j]) { 48 | this.innerText = items[cids[j] as itemType]; 49 | return; 50 | } 51 | } 52 | } 53 | 54 | this.innerText = "Unk (" + group + ", " + id + ")"; 55 | } 56 | } 57 | } 58 | 59 | customElements.define("auto-translate", AutoTranslate); 60 | -------------------------------------------------------------------------------- /src/model/binlog_parser.ts: -------------------------------------------------------------------------------- 1 | import { TokenText, Message, TokenItem } from "./message"; 2 | 3 | export class BinLogParser { 4 | public static validate(dat: ArrayBuffer): boolean { 5 | if (dat.byteLength < 8) { 6 | return false; 7 | } 8 | const dw = new DataView(dat, 0); 9 | const bodyLen = dw.getUint32(0, true); 10 | const fileLen = dw.getUint32(4, true); 11 | return fileLen > bodyLen && fileLen - bodyLen <= 1000; 12 | } 13 | 14 | public static parse(dat: ArrayBuffer): Message[] { 15 | const dw = new DataView(dat, 0); 16 | const bodyLen = dw.getUint32(0, true); 17 | const fileLen = dw.getUint32(4, true); 18 | let offset = 8; 19 | const trunkCount = fileLen - bodyLen; 20 | 21 | const posArray = []; 22 | for (let i = 0; i < trunkCount; i++) { 23 | const endPos = dw.getUint32(offset + i * 4, true); 24 | posArray.push(endPos); 25 | } 26 | 27 | const msgArray = []; 28 | offset += trunkCount * 4; 29 | let begin = 0; 30 | for (let i = 0; i < posArray.length; i++) { 31 | const end = posArray[i]; 32 | const msg = dat.slice(begin + offset, end + offset); 33 | msgArray.push(msg); 34 | begin = end; 35 | } 36 | 37 | const parsedMsg = []; 38 | for (let i = 0; i < msgArray.length; i++) { 39 | const msg = msgArray[i]; 40 | const parsed = this.parse_msg(msg); 41 | if (parsed !== undefined) { 42 | parsedMsg.push(parsed); 43 | } 44 | } 45 | return parsedMsg; 46 | } 47 | 48 | public static parse_msg(dat: ArrayBuffer): Message | undefined { 49 | const dw = new DataView(dat, 0); 50 | const timestamp = dw.getUint32(0, true); 51 | const filter = dw.getUint8(4); 52 | const channel = dw.getUint8(5); 53 | const col1 = dw.getUint8(8); 54 | if (col1 != 0x1f) return; 55 | let col2 = -1; 56 | for (let i = 9; i < dat.byteLength; i++) { 57 | const element = dw.getUint8(i); 58 | if (element == 0x02) { 59 | const payloadLen = dw.getInt8(i + 2); 60 | i += 2 + payloadLen; 61 | continue; 62 | } 63 | if (element == 0x1f) { 64 | col2 = i; 65 | break; 66 | } 67 | } 68 | if (col2 < 9) return; 69 | 70 | let sender = new TokenText([]); 71 | if (col2 > 9) { 72 | sender = this.parse_token_text(dat.slice(9, col2)); 73 | } 74 | 75 | const text = this.parse_token_text(dat.slice(col2 + 1)); 76 | return new Message(timestamp, filter, channel, sender, text); 77 | } 78 | 79 | static parse_token_text(dat: ArrayBuffer): TokenText { 80 | const dw = new DataView(dat, 0); 81 | const decoder = new TextDecoder("utf-8"); 82 | 83 | const items = []; 84 | let beg = 0; 85 | for (let i = beg; i < dat.byteLength; i++) { 86 | const byte = dw.getUint8(i); 87 | if (byte == 2) { 88 | // save last 89 | if (i > beg) { 90 | items.push(TokenItem.FromText(decoder.decode(dat.slice(beg, i)))); 91 | } 92 | 93 | const cmd = dw.getUint8(i + 1); 94 | const payloadLen = dw.getInt8(i + 2); 95 | const payload = dat.slice(i + 3, i + 3 + payloadLen - 1); // exclude terminate 3 96 | items.push(TokenItem.FromToken(cmd, payload)); 97 | 98 | i += 3 + payloadLen - 1; 99 | beg = i + 1; 100 | } 101 | } 102 | if (beg < dat.byteLength) { 103 | items.push(TokenItem.FromText(decoder.decode(dat.slice(beg)))); 104 | } 105 | return new TokenText(items); 106 | } 107 | } 108 | 109 | export function decodeNumber(buffer: ArrayBuffer): number { 110 | const dw = new DataView(buffer); 111 | let number = 0; 112 | const first = dw.getUint8(0); 113 | if (first <= 0xcf) return first - 1; 114 | if (first < 0xf0) return 0xf0 - first; 115 | 116 | let offset = 1; 117 | if (first & 0xf0) { 118 | const bit = (first & 0x0f) + 1; 119 | for (let i = 3; i >= 0; i--) { 120 | if (bit & (1 << i)) { 121 | number += dw.getUint8(offset++) << (i * 8); 122 | } 123 | } 124 | return number; 125 | } 126 | return -1; 127 | } 128 | 129 | export function decodeNumberGroup(buffer: ArrayBuffer, len: number): number[] { 130 | const dw = new DataView(buffer); 131 | let result = []; 132 | let offset = 0; 133 | for (let i = 0; i < len; i++) { 134 | const first = dw.getUint8(offset++); 135 | if (first <= 0xcf) { 136 | result.push(first - 1); 137 | continue; 138 | } 139 | 140 | if (first & 0xf0) { 141 | let number = 0; 142 | const bit = (first & 0x0f) + 1; 143 | for (let i = 3; i >= 0; i--) { 144 | if (bit & (1 << i)) { 145 | number += dw.getUint8(offset++) << (i * 8); 146 | } 147 | } 148 | result.push(number); 149 | } else { 150 | result.push(- 1); 151 | } 152 | } 153 | 154 | return result; 155 | } 156 | 157 | export function decodeNumberLen(buffer: ArrayBuffer): number { 158 | const dw = new DataView(buffer); 159 | const first = dw.getUint8(0); 160 | if (first <= 0xcf) return 1; 161 | if (first & 0xf0) { 162 | const bit = (first & 0x0f) + 1; 163 | let cnt = 0; 164 | for (let i = 0; i < 4; i++) { 165 | if (bit & (1 << i)) cnt++; 166 | } 167 | return cnt + 1; 168 | } 169 | return 1; 170 | } 171 | -------------------------------------------------------------------------------- /src/model/filter.ts: -------------------------------------------------------------------------------- 1 | export class LogFilter { 2 | ID!: number; 3 | Name!: string; 4 | Category!: number; 5 | DisplayOrder!: number; 6 | } 7 | -------------------------------------------------------------------------------- /src/model/message.ts: -------------------------------------------------------------------------------- 1 | import { decodeNumber, decodeNumberGroup, decodeNumberLen } from "./binlog_parser"; 2 | 3 | export class Message { 4 | time: Date; 5 | filter: number; 6 | channel: number; 7 | sender: TokenText; 8 | text: TokenText; 9 | 10 | constructor( 11 | timestamp: number, 12 | filter: number, 13 | channel: number, 14 | sender: TokenText, 15 | text: TokenText 16 | ) { 17 | this.time = new Date(timestamp * 1000); 18 | this.filter = filter & 0x7F; 19 | this.channel = channel; 20 | this.sender = sender; 21 | this.text = text; 22 | } 23 | 24 | static Text( 25 | time: number, 26 | filter: number, 27 | channel: number, 28 | sender: string, 29 | text: string 30 | ) { 31 | return new Message( 32 | time, 33 | filter, 34 | channel, 35 | new TokenText([TokenItem.FromText(sender)]), 36 | new TokenText([TokenItem.FromText(text)]) 37 | ); 38 | } 39 | 40 | static SimpleText(filter: number, sender: string, text: string) { 41 | return this.Text(new Date().getTime() / 1000, filter, 0, sender, text); 42 | } 43 | } 44 | 45 | export enum TokenType { 46 | Text, 47 | Icon, // 0x12 48 | Color, // 0x13, 49 | Link, // 0x27 50 | AutoTranslate, // 0x27 51 | StyleFront, // 0x48 52 | StyleBack, // 0x49 53 | UnknownToken, 54 | } 55 | 56 | export class TokenItem { 57 | type: TokenType; 58 | param: number[]; 59 | text: string; 60 | 61 | constructor(type: TokenType, param: number[], text: string) { 62 | this.type = type; 63 | this.param = param; 64 | this.text = text; 65 | } 66 | 67 | static FromText(text: string): TokenItem { 68 | return new TokenItem(TokenType.Text, [], text); 69 | } 70 | 71 | static FromToken(cmd: number, param: ArrayBuffer): TokenItem { 72 | switch (cmd) { 73 | case 0x12: // 图标 74 | const id = decodeNumber(param); 75 | return new TokenItem(TokenType.Icon, [id], ""); 76 | case 0x13: // 设置颜色 77 | const rgba = decodeNumber(param); 78 | return new TokenItem(TokenType.Color, [rgba], ""); 79 | case 0x27: // 链接到目标 80 | const targetType = decodeNumber(param); 81 | const subParam = param.slice(1); 82 | switch (targetType) { 83 | case 0x00: // 玩家 84 | return new TokenItem(TokenType.Link, [targetType], ""); 85 | case 0x02: // 物品 86 | return new TokenItem(TokenType.Link, [targetType, decodeNumber(subParam)], ""); 87 | case 0x03: // 地图 88 | return new TokenItem(TokenType.Link, [targetType, ...decodeNumberGroup(subParam, 3)], ""); 89 | case 0x05: // 成就 90 | return new TokenItem(TokenType.Link, [targetType, decodeNumber(subParam)], ""); 91 | case 0x07: // 招募板 92 | return new TokenItem(TokenType.Link, [targetType], ""); 93 | case 0x08: // Buff 94 | return new TokenItem(TokenType.Link, [targetType, decodeNumber(subParam)], ""); 95 | case 0x09: // 队员招募 96 | return new TokenItem(TokenType.Link, [targetType], ""); 97 | case 0xce: // 结束 98 | return new TokenItem(TokenType.Link, [targetType], ""); 99 | default: 100 | return new TokenItem(TokenType.Link, buf2num(param), ""); 101 | } 102 | case 0x2e: // 定型文 103 | return new TokenItem(TokenType.AutoTranslate, decodeNumberGroup(param, 2), ""); 104 | case 0x48: // 样式1 105 | return new TokenItem(TokenType.StyleFront, [decodeNumber(param)], ""); 106 | case 0x49: // 样式2 107 | return new TokenItem(TokenType.StyleBack, [decodeNumber(param)], ""); 108 | default: 109 | return new TokenItem(TokenType.UnknownToken, buf2num(param), ""); 110 | } 111 | } 112 | 113 | public ToString(): string { 114 | switch (this.type) { 115 | case TokenType.Text: 116 | return this.text; 117 | default: 118 | return "[" + this.type + "|" + this.param.join(" ") + "]"; 119 | } 120 | } 121 | 122 | public ToHtmlString(): string { 123 | switch (this.type) { 124 | case TokenType.Text: 125 | return this.text.replace("<", "<").replace(">", ">").replace(/\n/g, "
"); 126 | case TokenType.Icon: 127 | return ''; 128 | case TokenType.Color: 129 | return ""; // 忽略 130 | case TokenType.Link: 131 | switch (this.param[0]) { 132 | case 0x00: // 玩家 133 | return ''; 134 | case 0x02: // 物品 135 | let itemID = this.param[1]; 136 | if (itemID > 1000000) itemID -= 1000000; 137 | return ''; 138 | case 0x03: // 地图 139 | return ( 140 | '' 147 | ); 148 | case 0x05: // 成就 149 | return ( 150 | '' 153 | ); 154 | 155 | case 0x07: // 招募板 156 | return ''; 157 | case 0x08: // Buff 158 | return ''; 159 | case 0x09: // 队员招募 160 | return ''; 161 | case 0xce: // 结束 162 | return ""; 163 | default: 164 | return ( 165 | '' 166 | ); 167 | } 168 | case TokenType.AutoTranslate: 169 | return ( 170 | '' 175 | ); 176 | case TokenType.StyleFront: 177 | if (this.param[0] === 0) return ""; 178 | return ''; 179 | case TokenType.StyleBack: 180 | if (this.param[0] === 0) return ""; 181 | return ''; 182 | case TokenType.UnknownToken: 183 | default: 184 | return "[Unknown]"; 185 | } 186 | } 187 | } 188 | 189 | export class TokenText { 190 | items: TokenItem[]; 191 | 192 | constructor(items: TokenItem[]) { 193 | this.items = items; 194 | } 195 | 196 | public ToString(): string { 197 | let str = ""; 198 | for (let i = 0; i < this.items.length; i++) { 199 | str += this.items[i].ToString(); 200 | } 201 | return str; 202 | } 203 | } 204 | 205 | export function buf2hex(buffer: ArrayBuffer) { 206 | // buffer is an ArrayBuffer 207 | return [...new Uint8Array(buffer)] 208 | .map((x) => ("00" + x.toString(16)).slice(-2)) 209 | .join(" "); 210 | } 211 | 212 | function buf2num(buffer: ArrayBuffer) { 213 | return [...new Uint8Array(buffer)] 214 | } -------------------------------------------------------------------------------- /tsconfig.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig/tsconfig.node.json", 3 | "include": [ 4 | "vite.config.*", 5 | "vitest.config.*", 6 | "cypress.config.*" 7 | ], 8 | "compilerOptions": { 9 | "composite": true, 10 | "lib": [ 11 | "ES2017", 12 | "DOM" 13 | ], 14 | "types": [ 15 | "node" 16 | ] 17 | } 18 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig/tsconfig.web.json", 3 | "include": [ 4 | "env.d.ts", 5 | "src/**/*", 6 | "src/**/*.vue" 7 | ], 8 | "compilerOptions": { 9 | "baseUrl": ".", 10 | "paths": { 11 | "@/*": [ 12 | "./src/*" 13 | ] 14 | }, 15 | "experimentalDecorators": true, 16 | "lib": [ 17 | "ES2017", "DOM" 18 | ] 19 | }, 20 | "references": [ 21 | { 22 | "path": "./tsconfig.config.json" 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | import { fileURLToPath, URL } from "node:url"; 2 | 3 | import { defineConfig } from "vite"; 4 | import vue from "@vitejs/plugin-vue"; 5 | 6 | // https://vitejs.dev/config/ 7 | export default defineConfig({ 8 | plugins: [vue()], 9 | resolve: { 10 | alias: { 11 | "@": fileURLToPath(new URL("./src", import.meta.url)), 12 | }, 13 | }, 14 | }); 15 | --------------------------------------------------------------------------------