master e902881236a4 cached
14 files
114.7 KB
38.5k tokens
1 requests
Download .txt
Repository: Purple-CSGO/CS2-Config-Presets
Branch: master
Commit: e902881236a4
Files: 14
Total size: 114.7 KB

Directory structure:
gitextract_izwi4y8y/

├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── auto.cfg
├── crosshair.cfg
├── crosshair_throw.cfg
├── demo.cfg
├── ffmpeg.cfg
├── hlae.cfg
├── practice.cfg
├── solo.cfg
├── 使用说明.html
└── 启动项.txt

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto


================================================
FILE: .gitignore
================================================

.DS_Store


================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: README.md
================================================
<h1 align="center">CFG预设 For CS2</h1>
<h4 align="center">适用于CS2各场景的CFG预设文件</h3>

<div align="center">

[![stars](https://img.shields.io/github/stars/Purple-CSGO/CS2-Config-Presets.svg?style=flat&color=green)](https://github.com/Purple-CSGO/CS2-Config-Presets)
[![fork](https://img.shields.io/github/forks/Purple-CSGO/CS2-Config-Presets.svg?style=flat&color=critical)](https://github.com/Purple-CSGO/CS2-Config-Presets)
![license](https://img.shields.io/badge/license-GPL%203-orange.svg?style=flat)
[![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?style=flat)](https://github.com/Purple-CSGO/CS2-Config-Presets#捐赠)
[![translation](https://img.shields.io/badge/$-translation-ff69b4.svg?style=flat&color=blueviolet)](https://github.com/Purple-CSGO/CS2-Config-Presets#翻译)
[![release](https://img.shields.io/github/release/Purple-CSGO/CS2-Config-Presets.svg?style=flat&color=blue)](https://github.com/Purple-CSGO/CS2-Config-Presets/releases)

</div>

## 简介

项目始于 2018 年 8 月,这套 CFG 预设涵盖了几乎所有应用的场景,注释详细:

|       使用场景       |       文件名称        |
| :------------------: | :-------------------: |
|       游戏设置       |      `auto.cfg`       |
| 准星参数(使用跳投) |    `crosshair.cfg`    |
|     投掷准星参数     | `crosshair_throw.cfg` |
|       跑图指令       |    `practice.cfg`     |
|      本地 solo       |      `solo.cfg`       |
|      观看 demo       |      `demo.cfg`       |
|      HLAE 设置       |      `hlae.cfg`       |
|   FFmpeg 录制预设    |     `ffmpeg.cfg`      |
|   帧数基准测试设置   |     [fps-benchmark](https://github.com/Purple-CSGO/cs2-fps-benchmark)      |

所有的参数都经过详细的测试,按键位置仔细斟酌,确保每个功能的按键都在它用起来最舒服的位置。适用于对 CS2 指令不太熟悉,想要到手即用,节省时间的玩家,亦或是想要参考他人的代码来丰富自己 CFG 的玩家。

下载这套预设之后,根据使用说明,备份设置、简单修改参数、放在正确的位置、设置启动项后即可享受预设带来的便利,一般整个过程不超过 30 分钟。

## 下载

### Github Release

[Releases](https://github.com/Purple-CSGO/CS2-Config-Presets/releases)


### HLAE中文站

https://hlae.site

下载地址: https://api.upup.cool/get/cs2-cfg

### 网盘

- 帧数基准测试:https://purp1e.lanzouu.com/b01lzyyef 密码:1fn4
- CFG预设 For CS2:
- 链接:
  - 夸克网盘:https://pan.quark.cn/s/c15bc8be6b76?pwd=GndW 提取码:GndW
  - 蓝奏云:https://purp1e.lanzouu.com/b01lzyyfg 密码:41wc
- CS2 Reshade整合包:https://purp1e.lanzouu.com/b0ny8cdij 密码:9as4


## 用法

见 [使用文档](https://cfg.upup.cool/v2/)

CS2 CFG 放在游戏目录 `game\csgo\cfg`,如:

```
...steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
```

## 翻译

如果你想参与翻译工作,将预设翻译为其他语言,请提交 PR,或在[issues](https://github.com/Purple-CSGO/CS2-Config-Presets/issues)中提出。

## 捐赠

捐赠请备注昵称和`CFG捐赠`以便区分:

- 支付宝:

<img src="./img/支付宝.png" alt="Alipay" style="zoom: 80%;" />

- 微信:

<img src="./img/微信.png" alt="Wechat" style="zoom:80%;" />


================================================
FILE: auto.cfg
================================================
// ═══════════════════════════════════════════
//        Config Preset v2.6e by Purp1e
//            CFG预设(Purp1e制作)
//                #2026/02/02#
//     https://space.bilibili.com/73115492
// ═══════════════════════════════════════════
// 第一次使用请阅读使用说明 https://config.upup.cool/v2
// ! 未开启功能删除前面的//即可开启
// ──────────────────  目录  ────────────────────
// 0. 网络/帧数据
// 1. 鼠标设置
// 2. 准星&持枪设置
// 3. 视频设置
// 4. 键位绑定
// 5. 快速买枪
// 6. 基础设置
// 7. 声音设置
// 8. HUD设置

//══════════════════════    0. 网络/帧数据   ════════════════════════════════════
cl_hud_telemetry_serverrecvmargin_graph_show 0   // 显示网络/帧时间数据图表 <0. 不显示 1. 如果条件恶劣 2. 总是>
cl_hud_telemetry_frametime_show       1          // 显示帧生成时间及FPS <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_frametime_poor       6.94       // 帧生成时间警告阈值=100ms 注意用1000/fps 比如检测低于144fps的异常 1000/144=6.94
cl_hud_telemetry_net_misdelivery_show 1          // 显示丢包/发送错误率LOSS <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_net_misdelivery_poor 5          // 数据包发送故障警告阈值=5个
cl_hud_telemetry_ping_show            1          // 显示延迟 <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_ping_poor            100        // 延迟警告阈值=100ms
cl_net_buffer_ticks                   0          // 数据包丢失缓冲 <0.关闭 1.1个数据包 2.2个数据包>
rate                                  524288     // 网络带宽4Mbps <不受限=786432 不超过2.5Mbps=327680>
// 注:网络问题如丢包、跳红色ms请检查网络设备和设置,如路由器、网卡
//    出现滑步、回溯等现象可以适当增加缓冲→1→2,缓解问题
//═════════════════════════════════════════════════════════════════════════════


//══════════════════════    1. 鼠标设置    ════════════════════════════════════
sensitivity                  1     // 鼠标灵敏度  P.S. DPI x 灵敏度 = eDPI
zoom_sensitivity_ratio       1     // 开镜时灵敏度
m_yaw                        0.022 // 默认x轴速度 <可用于拉伸补偿 16:10->0.020 4:3->0.0165 5:4->0.016>
//═════════════════════════════════════════════════════════════════════════════


//═════════════════════    2. 准星&持枪设置    ════════════════════════════════
// 准星参数放在crosshair.cfg中 | 注意同样替换后面的投掷物准星中的`exec crosshair.cfg`
exec crosshair.cfg
crosshair                  1    // 开启准星
cl_crosshair_recoil        0    // 准星跟随后坐力 <1.开启 0.关闭>
cl_show_observer_crosshair 2    // [观察时]显示玩家所用准星<0.否 1.好友及队友 2.所有人>
r_drawtracers_firstperson  1    // 第一人称视角显示子弹轨迹 <1.开启 0.关闭>

//持枪参数
viewmodel_presetpos        1    // 持枪视角预设 <1.默认 2.写实 3.经典>
cl_prefer_lefthanded       0    // 偏好左手持枪 复活后刷新 <1.是 0.否>

//───────     自定义持枪视角参数放在此处↓ 这是一组比较好看的持枪参数(未开启)  ─────────
// viewmodel_fov                "62"
// viewmodel_offset_x           "2.5"
// viewmodel_offset_y           "2"
// viewmodel_offset_z           "-2"
// viewmodel_presetpos          "0"
//═════════════════════════════════════════════════════════════════════════════


//══════════════════════    3. 视频设置    ════════════════════════════════════
r_fullscreen_gamma          2.4    // 亮度 越小越亮(全屏生效) 默认2.2
//═════════════════════════════════════════════════════════════════════════════


//══════════════════════    4. 键位绑定    ════════════════════════════════════
binddefaults;                     // 重置所有按键,以防键位冲突,bind指令必须放在之后↓
bind  `      "toggleconsole";     // ` 显示控制台
bind  mouse3 "player_ping";       // 鼠标中键标记位置
bind  mouse5 "+voicerecord";      // 前侧键使用麦克风
bind  alt    "noclip";            // alt飞行
bind  ins    "exec auto.cfg";     // Insert 加载auto.cfg
bind  del    "exec practice.cfg"; // Delete 加载practice.cfg<跑图cfg>
bind  h      "switchhands";       // H 切换左右手持枪
bind  j      "toggleradarscale";  // J 切换雷达缩放 2个比例请在 <8.HUD> 中修改
bind  y      "clutch_mode_toggle";// Y 切换残局模式 禁止聊天
bind  p      "say_team .drop"     // P 一键发刀
// bind  r      "+reload;say_team Cover!Reloading!;" // 换子弹提醒队友(删//开启 如果不怕被T)

bind  backspace "sellbackall";                       // 后退键 退回所有已购买物品

alias mute   "toggle volume 0 1";                    // 定义mute切换静音(未绑定按键)
alias auto   "exec auto"                             // 指令 auto 载入游戏cfg
alias pt     "exec practice"                         // 指令 pt 载入跑图cfg
alias solo   "exec solo"                             // 指令 solo 载入单挑cfg
alias demo   "exec demo"                             // 指令 demo 载入录像cfg

//─────────────────────────    固定滚轮跳    ──────────────────────────────────
bind  mwheelup +jump;  bind mwheeldown +jump;

//────────────────────     快速切换道具(未开启)    ─────────────────────────────
// bind z "slot8"        // 烟
// bind x "slot3; slot7" // 闪(快速双闪)
// bind c "slot6"        // 雷
// bind v "slot10"       // 火
bind x "slot12"       // 医疗针(默认开启)

//─────────────────────────    游戏内置投掷物准星    ────────────────────────────
cl_grenadecrosshair_decoy          0     // 是否显示诱饵弹准星,默认关闭
cl_grenadecrosshair_explosive      1     // 是否显示雷准星,默认开启
cl_grenadecrosshair_fire           1     // 是否显示燃烧弹准星,默认开启
cl_grenadecrosshair_flash          1     // 是否显示闪光弹准星,默认开启
cl_grenadecrosshair_smoke          1     // 是否显示烟雾弹准星,默认开启
cl_grenadecrosshairdelay_decoy     2.0   // 诱饵弹准星显示时间,默认值2.0
cl_grenadecrosshairdelay_explosive 0.5   // 雷准星显示时间,默认值2.0
cl_grenadecrosshairdelay_fire      0.5   // 燃烧弹准星显示时间,默认值2.0
cl_grenadecrosshairdelay_flash     0.5   // 闪光弹准星显示时间,默认值2.0
cl_grenadecrosshairdelay_smoke     0.2   // 烟雾弹准星显示时间,默认值2.0

//────────────────────    基本投掷物准星(未开启)    ─────────────────────────────
// bind  "mouse4"           "+crosshair_throw";         // "mouse4" 后侧键 可修改
// alias "-crosshair_throw" "exec crosshair.cfg";       // 个人准星参数存放在 "crosshair.cfg" 中
// alias "+crosshair_throw" "exec crosshair_throw.cfg"; // 投掷物准星 crosshair_throw.cfg

//─────────────────────    快速扔包(未开启)    ────────────────────────────────
// H 键丢包 可修改(没有包会丢出手上的东西)
// bind h +dropbomb
// alias +dropbomb "slot5"
// alias -dropbomb "drop"

//─────────────────────    双键大跳(未开启)    ────────────────────────────────
// C+空格 一起按 → 大跳
// bind c +duck;

//──────────────────────────    跳投(未开启)    ───────────────────────────────
// Q 键跳投 [修改3处 改动按键] 按住鼠标左键后使用 使用一次后需要鼠标水平移动才能再次使用
// bind  q +jumpthrow;
// alias +muteh "unbind q"
// alias -muteh "bind q +jumpthrow"
// alias +jumpthrow "+jump"
// alias -jumpthrow "-attack;+muteh;bind mouse_x combo"
// alias revert "bind mouse_x yaw"
// alias combo  "-jump;revert;-muteh"

// H 右键跳投 [修改3处 改动按键] 使用一次后需要鼠标水平移动才能再次使用
// bind  h +jumpthrow2;
// alias +muteh2 "unbind h"
// alias -muteh2 "bind h +jumpthrow2"
// alias +jumpthrow2 "+jump"
// alias -jumpthrow2 "-attack2;+muteh2;bind mouse_x combo2"
// alias revert "bind mouse_x yaw"
// alias combo2  "-jump;revert;-muteh2"
//═════════════════════════════════════════════════════════════════════════════


//══════════════════════    5. 快速买枪    ════════════════════════════════════
// 小键盘快速买枪 以下是Niko的设置 购买代码见 https://config.upup.cool/v2/
bind kp_1          "buy vest;                  "    // 1
bind kp_2          "buy vesthelm;              "    // 2
bind kp_3          "buy flashbang;             "    // 3
bind kp_4          "buy hegrenade;             "    // 4
bind kp_5          "buy smokegrenade;          "    // 5
bind kp_6          "buy defuser;               "    // 6
bind kp_7          "buy molotov;buy Incgrenade;"    // 7
bind kp_8          "buy decoy;                 "    // 8
bind kp_9          "                           "    // 9
bind kp_0          "buy ak47;buy m4a1;         "    // 0
bind kp_del        "                           "    // .
bind kp_divide     "                           "    // /
bind kp_multiply   "                           "    // *
bind kp_minus      "                           "    // -
bind kp_plus       "                           "    // +
bind kp_enter      "buy p250;                  "    // Enter
//──────────────────────────  预设   ──────────────────────────────────────────
// "buy ak47;buy p250;buy vesthelm;buy smokegrenade;buy flashbang;buy hegrenade;buy molotov;buy defuser;"
// "buy smokegrenade;buy flashbang;buy hegrenade;buy molotov;"
//═════════════════════════════════════════════════════════════════════════════


//══════════════════════    6. 基础设置    ════════════════════════════════════
con_enable                    1     // 开启控制台[不用改]
fps_max                       400   // 最大帧数
fps_max_ui                    120   // UI最大帧数(主界面)
fps_max_tools                 120   // 工具最大帧数
engine_no_focus_sleep         50    // 窗口失焦/在后台时掉帧省电 <50默认 0关闭>
mm_dedicated_search_maxping   120   // 最大匹配延迟ms
cl_cq_min_queue               0     // 缓冲以消除数据包抖动 <0.无 1=1tick 2=2ticks>
//─────────────────────────────────────────────────────────────────────────────
sv_specnoclip                  0    // 关闭运镜平滑 <0.关闭 1.开启>
cl_showpos                     0    // 不显示位置速度信息
cl_showloadout                 1    // 总是显示物品栏            <1.是 0.否>
cl_dm_buyrandomweapons         0    // 关闭死斗随机买枪
cl_use_opens_buy_menu          0    // 关闭E键打开购买菜单
cl_debounce_zoom               0    // Zoom Button Hold 按住开镜键持续切换
cl_silencer_mode               0    // 禁用卸下消音器
cl_crosshair_friendly_warning  1    // 瞄准队友时叠加特殊准星     <0.不显示 1.仅使用默认准星时显示 3.一直显示>
cl_sniper_show_inaccuracy      0    // 显示狙击枪瞄准时的扩散范围 <0.不显示 1.显示>
cl_teamid_overhead_mode        2    // 隔墙显示队友位置          <0.不显示 1.显示△ 2.显示△+名称+血量 3.显示△+名称+血量+装备>
cl_teamid_overhead_colors_show 1    // 玩家ID上使用玩家颜色
cl_teammate_colors_show        1    // 竞技模式队友颜色          <0.不显示 1.显示颜色 2.显示颜色+英文首字母>
cl_teamcounter_playercount_instead_of_avatars 0  // <1.显示存活玩家数 0.显示队友头像>
//─────────────────────────────────────────────────────────────────────────────
cl_mute_all_but_friends_and_party 0 // 除好友外一律静音
cl_mute_enemy_team                0 // 将敌方静音
cl_allow_animated_avatars         1 // 允许使用动态头像
cl_sanitize_player_names          0 // 清理玩家名称,替换为中性名称
cl_buywheel_donate_key            0 // 购买菜单捐赠快捷键 <0.左Ctrl 1.左Alt 2.左Shift>
//─────────────────────────────────────────────────────────────────────────────
cl_predict_body_shot_fx  0 // 关闭 预测击中身体的效果
cl_predict_head_shot_fx  0 // 关闭 预测爆头的效果
cl_predict_kill_ragdolls 0 // 关闭 预测击杀布娃娃效果
//─────────────────────────────────────────────────────────────────────────────
r_show_build_info        0 // 关闭版本信息
gameinstructor_enable    0 // 关闭游戏教学
spec_replay_autostart    0 // 关闭被击杀回放
//─────────────────────────────────────────────────────────────────────────────
ui_steam_overlay_notification_position "topright" // steam 提示出现位置 如"bottomleft"
//═════════════════════════════════════════════════════════════════════════════


//══════════════════════    7. 声音设置    ════════════════════════════════════
volume                          0.8    // 主音量(Sound volume)
voice_modenable                 1      // 启用语音[不用改]
voice_always_sample_mic         1      // 简化按键通话 游戏中一直打开录音设备
snd_voipvolume                  0.8    // 其他玩家的语音音量
snd_menumap_volume              0.01   // 主菜单环境音量
snd_menumusic_volume            0.01   // 主菜单音乐音量
snd_roundstart_volume           0.01   // 回合开始音量
snd_roundend_volume             0.01   // 回合结束音量
snd_roundaction_volume          0.01   // 回合Action音量
snd_mapobjective_volume         0.06   // 炸弹/人质音量
snd_tensecondwarning_volume     0.06   // 十秒警告音量
snd_deathcamera_volume          0.02   // 死亡视角音量
snd_mute_mvp_music_live_players 1      // 当双方团队成员都存活时关闭 MVP 音乐
snd_mute_losefocus              0      // 后台播放声音=0,后台静音=1
snd_headphone_eq                0      // 均衡器 <0.自然 1.清脆 2.平滑>
snd_steamaudio_enable_perspective_correction 1 // 透视校正
//═════════════════════════════════════════════════════════════════════════════

//══════════════════════    8. HUD设置    ═════════════════════════════════════
cl_color                        1    // 队伍中颜色        <0.蓝色 1.绿色 2.黄色 3.橙色 4.紫色>
cl_hud_color                    0    // 设置HUD颜色       <0.队伍颜色 1.白色 2.亮白色 3.淡蓝色 4.蓝色 5.紫色 6.红色 7.橙色 8.黄色 9.绿色 10.浅绿色 11.粉红色 12.玩家颜色>
cl_hud_radar_scale              1.2  // 雷达大小          <0.8-1.3>
cl_hud_radar_map_additive       1    // 雷达地图鱼背景融合
cl_hud_radar_blur_background    0    // 模糊背景
cl_hud_radar_background_alpha   0.95 // 雷达背景透明度
cl_radar_scale_alternate        1    // 雷达地图切换缩放 使用专用快捷键一键切换
cl_radar_square_with_scoreboard 1    // 切换计分板方形外观
cl_radar_square_always          0    // 强制方形外观
cl_radar_scale_dynamic          0    // 雷达动态缩放
cl_radar_scale                  0.55 // 雷达缩放          <默认0.7>
cl_radar_icon_scale_min         0.6  // 雷达人物标点大小
cl_radar_rotate                 1    // 雷达旋转[不用改]
cl_radar_always_centered        1    // 雷达以玩家为中心
hud_showtargetid                1    // 显示队友/敌人id
hud_scaling                     0.85 // HUD缩放          <0.5~0.95 默认0.85>
safezonex                       1    // HUD水平占比
safezoney                       1    // HUD竖直占比

cl_weapon_selection_rarity_color 0  // 按稀有度颜色显示武器发光效果
cl_force_spec_hud_color_to_team  0  // 观察时使用对应玩家的HUD颜色
//────────────────     HUD: 显示雷达血条弹药等信息的UI     ────────────────────
//═════════════════════════════════════════════════════════════════════════════


// 写入config 实现自动加载
host_writeconfig;

// 输出控制台提示
echo;
echo █▀▀█  █     █   █▀▀█  █▀▀█ ▄█   █▀▀▀    	█▀▀  █▀▀  █▀▀▀
echo █▄▄█  █     █   █▄▄▀  █▄▄█   █   █▀▀▀    	█       █▀▀  █  ▀█
echo █         ▀▄▄▀    █    █   █        ▄█▄ █▄▄▄   	▀▀▀  ▀       ▀▀▀▀	 v2.6e For CS2
echo ═════════════════════════════════════════════════════════════
echo ──── 加载设置[auto.cfg]		:  exec auto 或 auto
echo ──── 跑图,练习道具  			:  exec practice 或 pt
echo ──── 对枪,SOLO   			:  exec solo 或 solo
echo ──── 观战,观看DEMO,GOTV    		:  exec demo 或 demo
echo ──── 地图中加载设置[auto.cfg]  	:  Insert键
echo ──── 地图中一键跑图[practice.cfg]	:  Delete键
echo ═════════════════════════════════════════════════════════════



================================================
FILE: crosshair.cfg
================================================
// 准星参数放在↓	以下是推荐的默认静态准星设置
cl_crosshair_t                           0
cl_crosshairsize                         3
cl_crosshairgap                         -1
cl_crosshairthickness                    1
cl_crosshaircolor                        5    // 1~4预设覆盖_r _g _b设置,5自定义颜色
cl_crosshaircolor_b                      0
cl_crosshaircolor_g                      255
cl_crosshaircolor_r                      0
cl_crosshairdot                          0
cl_crosshairstyle                        4
cl_crosshairalpha                        250
cl_crosshairgap_useweaponvalue           0
cl_crosshairusealpha                     1
cl_crosshair_drawoutline                 0
cl_crosshair_dynamic_maxdist_splitratio  0.35
cl_crosshair_dynamic_splitalpha_innermod 1
cl_crosshair_dynamic_splitalpha_outermod 0.5
cl_crosshair_dynamic_splitdist           7
cl_crosshair_sniper_width                1
cl_fixedcrosshairgap                     3

================================================
FILE: crosshair_throw.cfg
================================================
// 投掷物准星(根据需要改动)
cl_crosshair_t                 0
cl_crosshairalpha              130
cl_crosshaircolor              5
cl_crosshaircolor_b            100
cl_crosshaircolor_r            255
cl_crosshaircolor_g            100
cl_crosshairdot                0
cl_crosshairgap                0
cl_crosshairsize               5000
cl_crosshairstyle              4
cl_crosshairthickness          1
cl_crosshairusealpha           1
cl_fixedcrosshairgap          -4
cl_crosshair_drawoutline       0
cl_crosshair_outlinethickness  0.5


================================================
FILE: demo.cfg
================================================
// ═══════════════════════════════════════════
//        Config Preset v2.6e by Purp1e
//            CFG预设(Purp1e制作)
//                #2026/02/02#
//     https://space.bilibili.com/73115492
// ═══════════════════════════════════════════


// ─────────────────────────  绑定键位  ──────────────────────────────────
binddefaults;                                                // 重置所有按键,以防键位冲突,bind指令必须放在之后↓
bind q      "demoui"                                         // q 打开/关闭 demoui
bind p      "demo_togglepause";                              // p 切换demo暂停/继续
bind h      "toggle cl_draw_only_deathnotices";              // h 只保留准星击杀
bind k      "toggle tv_listen_voice_indices -1 0";           // k 开关语音 解说语言要手动从Tab里开启
bind v      "toggle crosshair 0 1";                          // v 隐藏准心
bind b      "toggle cl_drawhud";                             // b 隐藏所有hud包括击杀
bind n      "toggle cl_drawhud_force_radar 1 -1";            // n 开关雷达
bind m      "toggle host_timescale";                         // m 加速时间

bind mouse3 "demo_togglepause";                              // 鼠标中键 切换demo暂停/继续
bind mouse5 "gear_up";                                       // 前侧键 +播放速度
bind mouse4 "gear_down";                                     // 后侧键 -播放速度
bind pgup   "ScreenRecord;demo_resume; echo >>> 录屏开始"     // PageUp   (OBS..)录屏开始 需要录屏软件设置同样快捷键
bind pgdn   "fps_max 200;demo_timescale 1;demo_pause;echo >>> 录屏结束" // PageDown (OBS..)录屏结束

// ──────────────────────────  一次性命令  ──────────────────────────────
sv_cheats                  1      // 开启作弊
sv_specnoclip              0      // 关闭运镜平滑 <0.关闭 1.开启>
r_show_build_info          0      // 关闭版本信息
mp_display_kill_assists    1      // 显示助攻(0关闭)
engine_no_focus_sleep      0      // 窗口失焦/在后台时不掉帧
cl_show_observer_crosshair 0      // [观察时]显示玩家所用准星<0.否 1.好友及队友 2.所有人>
cl_showpos                 0      // 关闭位置信息
cl_trueview_show_status    0      // 隐藏 TrueView 提示文本
cl_demo_predict            0      // 关闭Demo预测以修复人物视角朝向BUG
mat_tonemap_uncap_exposure 0      // 修改曝光设置 旧版 demo inferno 应设置为 1
tv_listen_voice_indices   -1      // 开启玩家语音
demo_pause                        // 暂停demo

cl_hud_telemetry_frametime_show       0  // 显示帧生成时间及FPS <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_net_misdelivery_show 0  // 显示丢包/发送错误率LOSS <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_ping_show            0  // 显示延迟 <0.从不 1. 如果条件恶劣 2.总是>

cl_grenadecrosshair_decoy          0     // 是否显示诱饵弹准星,默认关闭
cl_grenadecrosshair_explosive      0     // 是否显示雷准星,默认关闭
cl_grenadecrosshair_fire           0     // 是否显示燃烧弹准星,默认关闭
cl_grenadecrosshair_flash          0     // 是否显示闪光弹准星,默认关闭
cl_grenadecrosshair_smoke          0     // 是否显示烟雾弹准星,默认关闭

// ─────────────────────────  HUD 准星 持枪  ─────────────────────────────
// 界面(HUD)设置 <0.默认 1.白色 2.淡蓝色 3.蓝色 4.紫色 5.红色 6.橙色 7.黄色 8.绿色 9.淡绿色 10.粉红色>
cl_hud_color              0       // 颜色
cl_radar_always_centered  1       // 雷达以玩家为中心
cl_radar_scale            0.45    // 雷达缩放
cl_hud_radar_scale        1       // 雷达大小(0.8-1.3)
cl_radar_icon_scale_min   0.6     // 雷达人物标点大小
cl_radar_rotate           1       // 雷达旋转
hud_showtargetid          0       // 隐藏目标id

// demo专用准星 [修改]
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.300000"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "0.5"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "1"
cl_crosshaircolor_b "50"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "50"
cl_crosshairdot "0"
cl_crosshairgap "-0.500000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "3.500000"
cl_crosshairstyle "4"
cl_crosshairthickness "1.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"

// demo专用持枪视角参数
viewmodel_fov            "62"
viewmodel_offset_x       "2.5"
viewmodel_offset_y       "2"
viewmodel_offset_z       "-2"
viewmodel_presetpos      "0"

// ─────────────────────────  功能实现 ──────────────────────────────────
// 实现 修改 MVP、BGM等声音 静音的指令
alias mute "snd_menumusic_volume 0; snd_roundstart_volume 0;snd_roundend_volume 0;snd_roundaction_volume 0;snd_mapobjective_volume 0;snd_tensecondwarning_volume 0;snd_deathcamera_volume 0;snd_mvp_volume 0;snd_mute_mvp_music_live_players 1;snd_mute_losefocus 0";

// 实现 切换助攻显示
alias ass   "toggle mp_display_kill_assists; echo [切换助攻显示]"

// 实现 限制FPS
alias 60  "fps_max 60";
alias 90  "fps_max 90";
alias 120 "fps_max 120";
alias 200 "fps_max 200";

// 实现 前后侧键 +-播放速度 10% 20% 25% 100% 400% 800% 1600%
alias gear_up 	"gear4"
alias gear_down "gear14"
alias gear110   "demo_timescale 0.1; alias gear_up gear15;alias gear_down gear110;echo [Demo播放速度];echo X0.1"
alias gear15 	  "demo_timescale 0.2; alias gear_up gear14;alias gear_down gear110;echo [Demo播放速度];echo X0.2"
alias gear14	  "demo_timescale 0.25;alias gear_up gear1; alias gear_down gear15 ;echo [Demo播放速度];echo X0.25"
alias gear1     "demo_timescale 1;   alias gear_up gear4; alias gear_down gear14 ;echo [Demo播放速度];echo X1"
alias gear4     "demo_timescale 4;   alias gear_up gear8; alias gear_down gear1  ;echo [Demo播放速度];echo X4"
alias gear8     "demo_timescale 8;   alias gear_up gear8; alias gear_down gear4  ;echo [Demo播放速度];echo X8"
alias gear16    "demo_timescale 16;  alias gear_up gear16; alias gear_down gear8 ;echo [Demo播放速度];echo X16"

// 实现 录屏设置切换的快捷指令
alias 60to240     "alias ScreenRecord fps_max 60 ;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=60 ;echo 播放速度=25%  ;echo 等效帧率=240"
alias 60to300     "alias ScreenRecord fps_max 60 ;demo_timescale 0.2  ;echo [当前录屏设置];echo 录制帧率=60 ;echo 播放速度=20%  ;echo 等效帧率=300"
alias 60to600     "alias ScreenRecord fps_max 60 ;demo_timescale 0.1  ;echo [当前录屏设置];echo 录制帧率=60 ;echo 播放速度=10%  ;echo 等效帧率=600"
alias 90to180     "alias ScreenRecord fps_max 90 ;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=90 ;echo 播放速度=50%  ;echo 等效帧率=180"
alias 90to360     "alias ScreenRecord fps_max 90 ;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=90 ;echo 播放速度=25%  ;echo 等效帧率=360"
alias 90to720     "alias ScreenRecord fps_max 90 ;demo_timescale 0.125;echo [当前录屏设置];echo 录制帧率=90 ;echo 播放速度=12.5%;echo 等效帧率=720"
alias 100to200    "alias ScreenRecord fps_max 100;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=50%  ;echo 等效帧率=200"
alias 100to400    "alias ScreenRecord fps_max 100;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=25%  ;echo 等效帧率=400"
alias 100to500    "alias ScreenRecord fps_max 100;demo_timescale 0.2  ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=20%  ;echo 等效帧率=500"
alias 100to1000   "alias ScreenRecord fps_max 100;demo_timescale 0.1  ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=10%  ;echo 等效帧率=1000"
alias 120to240    "alias ScreenRecord fps_max 120;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=120;echo 播放速度=50%  ;echo 等效帧率=240"
alias 120to480    "alias ScreenRecord fps_max 120;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=120;echo 播放速度=25%  ;echo 等效帧率=480"
alias 120to600    "alias ScreenRecord fps_max 120;demo_timescale 0.2  ;echo [当前录屏设置];echo 录制帧率=120;echo 播放速度=20%  ;echo 等效帧率=600"
alias 150to300    "alias ScreenRecord fps_max 150;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=150;echo 播放速度=50%  ;echo 等效帧率=300"
alias 150to600    "alias ScreenRecord fps_max 600;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=150;echo 播放速度=25%  ;echo 等效帧率=600"
alias 150         "alias ScreenRecord fps_max 150;demo_timescale 1    ;echo [当前录屏设置];echo 录制帧率=150;echo 播放速度=100% ;echo 等效帧率=150"
alias 300         "alias ScreenRecord fps_max 300;demo_timescale 1    ;echo [当前录屏设置];echo 录制帧率=300;echo 播放速度=100% ;echo 等效帧率=300"


//输出控制台提示
echo;
echo █▀▀█  █     █   █▀▀█  █▀▀█ ▄█   █▀▀▀    	█▀▀  █▀▀  █▀▀▀
echo █▄▄█  █     █   █▄▄▀  █▄▄█   █   █▀▀▀    	█       █▀▀  █  ▀█
echo █         ▀▄▄▀    █    █   █        ▄█▄ █▄▄▄   	▀▀▀  ▀       ▀▀▀▀	 v2.6e For CS2
echo ═════════════════════════════════════════════════════════════
echo ──── 加载设置[auto.cfg]	:  exec auto 或 auto
echo ──── 跑图,练习道具  		:  exec practice 或 pt
echo ──── 对枪,SOLO   		:  exec solo 或 solo
echo ──── 观战,观看DEMO,GOTV    	:  exec demo 或 demo
echo ──── 显示玩家所用准星   	:  cl_show_observer_crosshair 0  <0.否 1.好友及队友 2.所有人>
echo ──────────────────────  快捷键<开关式>  ────────────────────────
echo ──── 打开/关闭demoui        	:  q
echo ──── 侧边状态栏(血条、KDA)   	:  g
echo ──── HUD只保留准星和击杀    	:  h
echo ──── 开关语音      		:  k
echo ──── x光       	   	:  x
echo ──── 准心透明度      		:  v
echo ──── 开关HUD      		:  b
echo ──── 开关雷达      		:  n
echo ──── 加速时间         	 	:  m
echo ──── 快退5s      		:  ,
echo ──── 快进5s       		:  .
echo ──── demo暂停/继续           	:  p/鼠标中键(mouse3)
echo ─────────────────────  快捷键和指令  ───────────────────────────
echo ──── +播放速度      		:  前侧键(mouse5)
echo ──── - 播放速度      		:  后侧键(mouse4)
echo ──── 打开demoui      		:  shift+F2
echo ────────────────────────  指令  ──────────────────────────────
echo ──── 关闭BGM/MVP/无线电声音 	:  mute
echo ──── 切换助攻显示		:  ass
echo ──── 切换曝光设置		:  exp
echo ──── 录屏慢放快捷指令		:  60to240 90to360 120to240等
echo ──── 限制FPS	           	:  60 → 限制 60FPS | 90 | 120 | 200
echo ═════════════════════════════════════════════════════════════



================================================
FILE: ffmpeg.cfg
================================================
// ═══════════════════════════════════════════
//        Config Preset v2.6e by Purp1e
//            CFG预设(Purp1e制作)
//                #2026/02/02#
//     https://space.bilibili.com/73115492
// ═══════════════════════════════════════════
// FFmpeg录制预设CFG by Purp1e紫
// 1.安装FFMPEG到 "hlae安装目录\ffmpeg\bin\ffmpeg.exe"
// 2.控制台输入预设指令改变录制参数(p0 p1 p2等)
// 3.推荐使用1号预设 如 c1 n1
// 4.硬件加速可以极大减少CPU占用,在CPU偏弱时很有帮助,注意显卡驱动过旧会导致录制出错
// 5.显卡加速往往需要较新的显卡驱动

// 窗口失焦/在后台时不掉帧
engine_no_focus_sleep 0

// Command: Clear all presets
alias allclear "tga;mirv_streams settings remove p0;mirv_streams settings remove p0a;mirv_streams settings remove phq;mirv_streams settings remove p1;mirv_streams settings remove c0;mirv_streams settings remove c0p;mirv_streams settings remove c1;mirv_streams settings remove c1p;clear2;clear3;clear4";
alias clear2 "mirv_streams settings remove c2;mirv_streams settings remove c2p;mirv_streams settings remove he0;mirv_streams settings remove he0p;mirv_streams settings remove he1;mirv_streams settings remove he1p;mirv_streams settings remove he2;mirv_streams settings remove he2p;mirv_streams settings remove n0;mirv_streams settings remove n0p";
alias clear3 "mirv_streams settings remove n1;mirv_streams settings remove n1p;mirv_streams settings remove n2;mirv_streams settings remove n2p;mirv_streams settings remove a0;mirv_streams settings remove a1;mirv_streams settings remove a2;mirv_streams settings remove i0;mirv_streams settings remove i1;mirv_streams settings remove i2";
alias clear4 "mirv_streams settings remove p1s;mirv_streams settings remove c1s;mirv_streams settings remove he1s;mirv_streams settings remove n1s;mirv_streams settings remove nav1;mirv_streams settings remove navs;mirv_streams settings remove a1s;mirv_streams settings remove i1s";

// ProRes
mirv_streams settings add ffmpeg p0  "-c:v prores -profile:v 4 {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p0a "-c:v prores -profile:v 4 -alpha_bits 8 {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg phq "-c:v prores -profile:v 3 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p1  "-c:v prores -profile:v 2 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p1s "-vf scale=ih*16/9:ih -c:v prores  -profile:v 2 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p2  "-c:v prores -profile:v 1 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p2s "-vf scale=ih*16/9:ih -c:v prores -profile:v 1 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p3  "-c:v prores -profile:v 0 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"
mirv_streams settings add ffmpeg p3s "-vf scale=ih*16/9:ih -c:v prores -profile:v 0 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mov{QUOTE}"

// CPU
mirv_streams settings add ffmpeg c0  "-c:v libx264 -preset 0 -qp  0  -g 120 -keyint_min 1 -pix_fmt yuv422p10le {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg c0p "-c:v libx264 -preset 0 -qp  0  -g 120 -keyint_min 1 -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg c1  "-c:v libx264 -preset 1 -crf 4  -qmax 20 -g 120 -keyint_min 1 -pix_fmt yuv420p -x264-params ref=3:me=hex:subme=3:merange=12:b-adapt=1:aq-mode=2:aq-strength=0.9:no-fast-pskip=1 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg c1s "-vf scale=ih*16/9:ih -c:v libx264 -preset 1 -crf 4  -qmax 20 -g 120 -keyint_min 1 -pix_fmt yuv420p -x264-params ref=3:me=hex:subme=3:merange=12:b-adapt=1:aq-mode=2:aq-strength=0.9:no-fast-pskip=1 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg c1p "-c:v libx264 -preset 1 -crf 4  -qmax 20 -g 120 -keyint_min 1 -pix_fmt yuv444p -x264-params ref=3:me=hex:subme=3:merange=12:b-adapt=1:aq-mode=2:aq-strength=0.9:no-fast-pskip=1 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg c2  "-c:v libx264 -preset 1 -crf 12 -qmax 26 -g 120 -keyint_min 1 -pix_fmt yuv420p -x264-params ref=3:me=hex:subme=3:merange=12:b-adapt=1:aq-mode=2:aq-strength=0.9:no-fast-pskip=1 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg c2p "-c:v libx264 -preset 1 -crf 12 -qmax 26 -g 120 -keyint_min 1 -pix_fmt yuv444p -x264-params ref=3:me=hex:subme=3:merange=12:b-adapt=1:aq-mode=2:aq-strength=0.9:no-fast-pskip=1 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"

mirv_streams settings add ffmpeg he0  "-c:v libx265 -x265-params no-sao=1 -preset 0 -lossless -g 120 -keyint_min 1 -pix_fmt yuv422p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg he0p "-c:v libx265 -x265-params no-sao=1 -preset 0 -lossless -g 120 -keyint_min 1 -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg he1  "-c:v libx265 -x265-params no-sao=1 -preset 1 -crf 8  -qmax 20 -g 120 -keyint_min 1 -pix_fmt yuv422p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg he1s "-vf scale=ih*16/9:ih -c:v libx265 -x265-params no-sao=1 -preset 1 -crf 8  -qmax 20 -g 120 -keyint_min 1 -pix_fmt yuv422p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg he1p "-c:v libx265 -x265-params no-sao=1 -preset 1 -crf 8  -qmax 20 -g 120 -keyint_min 1 -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg he2  "-c:v libx265 -x265-params no-sao=1 -preset 1 -crf 16 -qmax 28 -g 120 -keyint_min 1 -pix_fmt yuv422p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg he2p "-c:v libx265 -x265-params no-sao=1 -preset 1 -crf 16 -qmax 28 -g 120 -keyint_min 1 -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"

// Nvidia
mirv_streams settings add ffmpeg n0  "-c:v hevc_nvenc -g 120 -tune lossless -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg n0p "-c:v hevc_nvenc -g 120 -tune lossless -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg n1  "-c:v hevc_nvenc -g 120 -preset medium -tune hq -rc constqp -qp 14 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg n1p "-c:v hevc_nvenc -g 120 -preset medium -tune hq -rc constqp -qp 14 -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg n1s "-vf scale=ih*16/9:ih -c:v hevc_nvenc -g 120 -preset medium -tune hq -rc constqp -qp 14 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg n2  "-c:v hevc_nvenc -g 120 -preset medium -tune hq -rc constqp -qp 20 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg n2p "-c:v hevc_nvenc -g 120 -preset medium -tune hq -rc constqp -qp 20 -pix_fmt yuv444p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"

// Nvidia AV1 for RTX40-Series
mirv_streams settings add ffmpeg nav1  "-c:v av1_nvenc -g 120 -rc constqp -qp 16 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg navs  "-vf scale=ih*16/9:ih -c:v av1_nvenc -g 120 -rc constqp -qp 16 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"

// AMD
mirv_streams settings add ffmpeg a0  "-c:v hevc_amf -usage 0 -quality 0 -rc cqp -qp 0  -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg a1  "-c:v hevc_amf -usage 0 -quality 0 -rc cqp -qp 12 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg a1s "-vf scale=ih*16/9:ih -c:v hevc_amf -usage 0 -quality 0 -rc cqp -qp 12 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg a2  "-c:v hevc_amf -usage 0 -quality 0 -rc cqp -qp 20 -pix_fmt yuv420p {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"

// Intel
mirv_streams settings add ffmpeg i0  "-c:v hevc_qsv -q:v 0  -preset veryfast -g 120 -pix_fmt nv12 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg i1  "-c:v hevc_qsv -q:v 12 -preset veryfast -g 120 -pix_fmt nv12 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg i1s "-vf scale=ih*16/9:ih -c:v hevc_qsv -q:v 12 -preset veryfast -g 120 -pix_fmt nv12 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"
mirv_streams settings add ffmpeg i2  "-c:v hevc_qsv -q:v 20 -preset veryfast -g 120 -pix_fmt nv12 {QUOTE}{AFX_STREAM_PATH}.mp4{QUOTE}"

// Command Aliases
alias tga  "mirv_streams settings edit afxDefault settings afxClassic;echo [当前录制设置];echo afxClassic - 无损 .tga 图片序列"
alias p0   "mirv_streams settings edit afxDefault settings p0  ;echo [当前录制设置];echo p0 - ProRes 4444"
alias p0a  "mirv_streams settings edit afxDefault settings p0a ;echo [当前录制设置];echo p0a - ProRes 4444 8bits Alpha通道"
alias phq  "mirv_streams settings edit afxDefault settings phq ;echo [当前录制设置];echo phq - ProRes 422 HQ"
alias p1   "mirv_streams settings edit afxDefault settings p1  ;echo [当前录制设置];echo p1 - ProRes 422"
alias p1s  "mirv_streams settings edit afxDefault settings p1s ;echo [当前录制设置];echo p1s - ProRes 422 - 拉伸 16:9"
alias p2   "mirv_streams settings edit afxDefault settings p2  ;echo [当前录制设置];echo p2 - ProRes LT"
alias p2s  "mirv_streams settings edit afxDefault settings p2s ;echo [当前录制设置];echo p2s - ProRes LT - 拉伸 16:9"
alias p3   "mirv_streams settings edit afxDefault settings p3  ;echo [当前录制设置];echo p3 - ProRes Proxy"
alias p3s  "mirv_streams settings edit afxDefault settings p3s ;echo [当前录制设置];echo p3s - ProRes Proxy - 拉伸 16:9"
alias c0   "mirv_streams settings edit afxDefault settings c0  ;echo [当前录制设置];echo c0 - x264 无损"
alias c0p  "mirv_streams settings edit afxDefault settings c0p ;echo [当前录制设置];echo c0p - x264 无损 YUV44"
alias c1   "mirv_streams settings edit afxDefault settings c1  ;echo [当前录制设置];echo c1 - x264 高画质"
alias c1s  "mirv_streams settings edit afxDefault settings c1s ;echo [当前录制设置];echo c1s - x264 高画质 - 拉伸 16:9"
alias c1p  "mirv_streams settings edit afxDefault settings c1p ;echo [当前录制设置];echo c1p - x264 高画质 YUV444"
alias c2   "mirv_streams settings edit afxDefault settings c2  ;echo [当前录制设置];echo c2 - x264 中画质"
alias c2p  "mirv_streams settings edit afxDefault settings c2p ;echo [当前录制设置];echo c2p - x264 中画质 YUV444"
alias he0  "mirv_streams settings edit afxDefault settings he0 ;echo [当前录制设置];echo he0 - x265 无损"
alias he0p "mirv_streams settings edit afxDefault settings he0p;echo [当前录制设置];echo he0p - x265 无损 YUV444"
alias he1  "mirv_streams settings edit afxDefault settings he1 ;echo [当前录制设置];echo he1 - x265 高画质"
alias he1s "mirv_streams settings edit afxDefault settings he1 ;echo [当前录制设置];echo he1s - x265 高画质 - 拉伸 16:9"
alias he1p "mirv_streams settings edit afxDefault settings he1p;echo [当前录制设置];echo he1p - x265 高画质 YUV444"
alias he2  "mirv_streams settings edit afxDefault settings he2 ;echo [当前录制设置];echo he2 - x265 中画质"
alias he2p "mirv_streams settings edit afxDefault settings he2p;echo [当前录制设置];echo he2p - x265 中画质 YUV444"
alias n0   "mirv_streams settings edit afxDefault settings n0  ;echo [当前录制设置];echo n0 - hevc Nvidia 加速 无损"
alias n0p  "mirv_streams settings edit afxDefault settings n0p ;echo [当前录制设置];echo n0p - hevc Nvidia 加速 无损 YUV444"
alias n1   "mirv_streams settings edit afxDefault settings n1  ;echo [当前录制设置];echo n1 - hevc Nvidia 加速 高画质"
alias n1s  "mirv_streams settings edit afxDefault settings n1s ;echo [当前录制设置];echo n1s - hevc Nvidia 加速 高画质 - 拉伸 16:9"
alias n1p  "mirv_streams settings edit afxDefault settings n1p ;echo [当前录制设置];echo n1p - hevc Nvidia 加速 高画质 YUV444"
alias n2   "mirv_streams settings edit afxDefault settings n2  ;echo [当前录制设置];echo n2 - hevc Nvidia 加速 中画质"
alias n2p  "mirv_streams settings edit afxDefault settings n2p ;echo [当前录制设置];echo n2p - hevc Nvidia 加速 中画质 YUV444"
alias nav1 "mirv_streams settings edit afxDefault settings nav1 ;echo [当前录制设置];echo nav1 - AV1 Nvidia 加速 高画质 YUV420"
alias nav1s "mirv_streams settings edit afxDefault settings nav1s ;echo [当前录制设置];echo nav1s - AV1 Nvidia 加速 高画质 YUV420 - 拉伸 16:9"
alias a0   "mirv_streams settings edit afxDefault settings a0  ;echo [当前录制设置];echo a0 - hevc AMD 加速 无损"
alias a1   "mirv_streams settings edit afxDefault settings a1  ;echo [当前录制设置];echo a1 - hevc AMD 加速 高画质"
alias a1s  "mirv_streams settings edit afxDefault settings a1s ;echo [当前录制设置];echo a1s - hevc AMD 加速 高画质 - 拉伸 16:9"
alias a2   "mirv_streams settings edit afxDefault settings a2  ;echo [当前录制设置];echo a2 - hevc AMD 加速 中画质"
alias i0   "mirv_streams settings edit afxDefault settings i0  ;echo [当前录制设置];echo i0 - hevc Intel 加速 无损"
alias i1   "mirv_streams settings edit afxDefault settings i1  ;echo [当前录制设置];echo i1 - hevc Intel 加速 高画质"
alias i1s  "mirv_streams settings edit afxDefault settings i1s ;echo [当前录制设置];echo i1s - hevc Intel 加速 高画质 - 拉伸 16:9"
alias i2   "mirv_streams settings edit afxDefault settings i2  ;echo [当前录制设置];echo i2 - hevc Intel 加速 中画质"


echo ═════════════════════════════════════════════════════════════
echo 指令     |  8bit 444  | 拉伸 16:9 | 含义
echo ─────────────────────────────────────────────────────────────
echo tga     |            |           | .tga 图片序列
echo p0      |            |           | ProRes 4444
echo p0a     |            |           | ProRes 4444 8bits Alpha通道
echo phq     |            |           | ProRes 422 HQ
echo p1      |            |    p1s    | ProRes 422
echo p2      |            |    p2s    | ProRes LT
echo p3      |            |    p3s    | ProRes Proxy
echo c0      |    c0p     |           | x264 无损
echo c1      |    c1p     |    c1s    | x264 高画质
echo c2      |    c2p     |           | x264 中画质
echo he0     |    he0p    |           | x265 无损
echo he1     |    he1p    |    he1s   | x265 高画质
echo he2     |    he2p    |           | x265 中画质
echo n0      |    n0p     |           | hevc Nvidia 加速 无损
echo n1      |    n1p     |    n1s    | hevc Nvidia 加速 高画质
echo nav1    |            |    nav1s  | AV1  Nvidia 加速 高画质 RTX40系
echo n2      |    n2p     |           | hevc Nvidia 加速 中画质
echo a0      |            |           | hevc AMD    加速 无损
echo a1      |            |    a1s    | hevc AMD    加速 高画质
echo a2      |            |           | hevc AMD    加速 中画质
echo i0      |            |           | hevc Intel  加速 无损
echo i1      |            |    i1s    | hevc Intel  加速 高画质
echo i2      |            |           | hevc Intel  加速 中画质
echo ═════════════════════════════════════════════════════════════
echo ████ 注意: 显卡编码 驱动版本和ffmpeg版本匹配 出错请更新驱动或回退ffmpeg

// 设定默认使用的预设(此处根据需要修改)
c1;


================================================
FILE: hlae.cfg
================================================
// ═══════════════════════════════════════════
//        Config Preset v2.6e by Purp1e
//            CFG预设(Purp1e制作)
//                #2026/02/02#
//     https://space.bilibili.com/73115492
// ═══════════════════════════════════════════
// HLAE设置 -> 按键绑定 -> 基础设置 -> 功能实现 -> HUD·准星·持枪
// P.S. [功能实现]部分无须修改 修改前面的参数和键位即可

// 「HLAE CS2的使用」 官方Wiki https://github.com/advancedfx/advancedfx/wiki/AfxHookSource2
// 主界面 → 工具 → 开发者选项 → 自定义载入
// 程序路径:游戏目录\game\bin\win64\cs2.exe
// DLL:x64/AfxHookSource2.dll
// USRLOCALCSGO=文件夹路径 → 以免影响游戏设置

// ─────────────────────────  HLAE设置 ─────────────────────────────────
sv_cheats                   1          // 开启作弊
sv_specnoclip               0          // 关闭运镜平滑 <0.关闭 1.开启>
cl_show_observer_crosshair  0          // 显示玩家所用准星 <0.否 1.好友及队友 2.所有人>
cl_clock_correction         0          // 修复demo卡顿
tv_listen_voice_indices    -1          // 开启玩家语音
tv_listen_voice_indices_h  -1          // 玩家语音32bit
mirv_campath enabled        1          // 开启镜头运动
mirv_campath hold           0          // 镜头首尾是否保持
mirv_input fov              90         // 默认运镜FOV
mirv_streams record name   "D:\record" // 更改录制文件位置 [修改]
mirv_reshade enabled 1                 // 开启ReShade
mirv_streams record campath enabled 1  // 录制时记录镜头机位
// mirv_streams record cam enabled 1   // 录制时记录镜头路径 [如果需要请打开]

// 隐藏 TrueView 提示文本 [为旧版游戏客户端保留]
// mirv_panorama panelstyle panelId=trueview_row opacity=0

// ─────────────────────────  按键绑定  ──────────────────────────────────
binddefaults;                                            // 重置所有按键,以防键位冲突,bind指令必须放在之后↓

bind q "demoui"                                          // Q 打开/关闭 demoui

bind t "mirv_input camera;echo 已进入运镜模式,按Esc退出使路径生效";// T 镜头摆放模式 [ESC退出]
bind y "demo_marktick";                                  // Y 标记当前tick
bind u "demo_gotomark";                                  // U 跳转标记
bind i "campath"                                         // I 镜头激活开关
bind o "campath_draw"                                    // O 镜头轨迹显示开关
bind p "demo_togglepause";                               // P 切换demo暂停/继续

bind h "toggle cl_draw_only_deathnotices";               // H 只保留准星击杀
bind j "dmsg"                                            // J 独显击杀信息(当前观察玩家) | 关闭时清空所有信息
bind k "skybox";                                         // K 切换天空贴图 skybox
bind l "mirv_deathmsg help players; mt"                  // L 查看玩家信息和语音屏蔽提示 name=名称 | userid=用户id | xuid=用户64位id | speckey=观察切换按键
bind ' "toggle tv_listen_voice_indices -1 0";            // ' 开关玩家语音

bind v "toggle crosshair";                               // V 隐藏准心
bind b "toggle cl_drawhud";                              // B 隐藏所有hud包括击杀
bind n "incrementvar cl_drawhud_force_radar -1 1 1";     // N 开关雷达 1=强制开 0=自动 -1=强制关
bind m "toggle host_timescale";                          // M 加速时间
bind , "demo_goto -5s relative";                         // [ 快退5s
bind . "demo_goto 5s relative";                          // ] 快进5s
bind [ "mirv_campath edit start delta+0.25";             // [ 运镜时间回退0.25s
bind ] "mirv_campath edit start delta-0.25";             // ] 运镜时间快进0.25s
bind \ "block"                                           // \ 切换击杀信息显示
bind = "widefov"                                         // = 切换广角FOV

bind mouse3   "demo_togglepause";                        // 鼠标滚轮 切换demo暂停/继续
bind mouse5   "gear_up"                                  // 前侧键 +播放速度
bind mouse4   "gear_down"                                // 后侧键 -播放速度

bind F5       "mirv_cmd addTick rec";                    // F5  设置当前Tick开始录制
bind F6       "mirv_cmd addTick rec_end";                // F6  设置当前Tick结束录制
bind F7       "mirv_cmd print";                          // F7  打印mirv_cmd信息
bind F8       "mirv_cmd clear;echo >>> Cleared!";        // F8  清除所有mirv_cmd指令
bind F9       "vgui";                                    // F9  开关VGUI 用于Reshade
bind F10      "exec ffmpeg.cfg";                         // F10 加载FFmpeg录制预设的CFG

bind capslock "mirv_campath add; echo 已添加机位"          // Capslock 添加镜头/机位
bind ins      "mirv_campath print"                        // Insert   打印运镜信息
bind del      "mirv_campath clear; echo 已清除所有机位";    // Delete   删除所有镜头
bind pgup     "ScreenRecord;demo_resume; echo >>> 录屏开始"// PageUp   (OBS..)录屏开始 需要录屏软件设置同样快捷键
bind pgdn     "fps_max 200;demo_timescale 1;demo_pause;echo >>> 录屏结束" // PageDown (OBS..)录屏结束

bind uparrow   "rec;demo_resume;checkSetting";           // ↑ hlae录制开始并显示通道、帧率设置
bind downarrow "rec_end;demo_pause";                     // ↓ hlae录制结束

bind kp_1      "mirv_campath remove 1"                   // 小键盘1 移除1号机位
bind kp_2      "mirv_campath remove 2"                   // 小键盘2 移除2号机位
bind kp_3      "mirv_campath remove 3"                   // 小键盘3 移除3号机位
bind kp_4      "mirv_campath remove 4"                   // 小键盘4 移除4号机位
bind kp_5      "mirv_campath remove 5"                   // 小键盘5 移除5号机位
bind kp_6      "mirv_campath remove 6"                   // 小键盘6 移除6号机位
bind kp_7      "mirv_campath remove 7"                   // 小键盘7 移除7号机位
bind kp_8      "mirv_campath remove 8"                   // 小键盘8 移除8号机位
bind kp_9      "mirv_campath remove 9"                   // 小键盘9 移除9号机位
bind kp_0      "mirv_campath remove 0"                   // 小键盘0 移除0号机位

// ─────────────────────────  HLAE录制  ─────────────────────────────────
// 默认为 .tga 图片序列 | `exec ffmpeg` 以开启ffmpeg录制功能
// mirv_streams record screen enabled 1; // 开启基础屏幕获取功能 (已被分层录制替代)
mirv_streams add normal raw           // 原始层
mirv_streams add depth depth          // 深度层
mirv_streams edit depth depthVal 1024 // 深度最小值 建议 1024 / 2048

alias ps "echo [录制通道信息]; mirv_streams print"

// 录制开关切换
alias raw     "raw_off"
alias raw_on  "mirv_streams edit raw record 1; alias raw raw_off; echo [原始层 录制已开启]"
alias raw_off "mirv_streams edit raw record 0; alias raw raw_on ; echo [原始层 录制已关闭]"

alias depth  "depth_on"
alias depth_on  "mirv_streams edit depth record 1; alias depth depth_off; echo [深度层 录制已开启]"
alias depth_off "mirv_streams edit depth record 0; alias depth depth_on ; echo [深度层 录制已关闭]"
depth_off // 默认关闭景深层

// ─────────────────────────  基础设置  ──────────────────────────────────
r_show_build_info          0   // 关闭版本信息
r_fullscreen_gamma         2.4 // 固定亮度不一致 伽马=2.4
fog_override               1   // 视野更清晰
mp_display_kill_assists    0   // 不显示助攻
cl_showpos                 0   // 不显示位置
cl_trueview_show_status    0   // 隐藏 TrueView 提示文本
cl_demo_predict            0   // 关闭Demo预测以修复人物视角朝向BUG
hud_showtargetid           0   // 隐藏目标id
engine_no_focus_sleep      0   // 窗口失焦/在后台时不掉帧
mirv_cvar_unhide_all           // 解除隐藏控制台变量CVar
mat_tonemap_uncap_exposure 0   // 修改曝光设置 旧版 demo inferno 应设置为 1
demo_pause                     // 暂停demo
fps_max                    200 // 限制帧数,节省资源

cl_hud_telemetry_frametime_show       0  // 显示帧生成时间及FPS <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_net_misdelivery_show 0  // 显示丢包/发送错误率LOSS <0.从不 1. 如果条件恶劣 2.总是>
cl_hud_telemetry_ping_show            0  // 显示延迟 <0.从不 1. 如果条件恶劣 2.总是>

cl_grenadecrosshair_decoy          0     // 是否显示诱饵弹准星,默认关闭
cl_grenadecrosshair_explosive      0     // 是否显示雷准星,默认关闭
cl_grenadecrosshair_fire           0     // 是否显示燃烧弹准星,默认关闭
cl_grenadecrosshair_flash          0     // 是否显示闪光弹准星,默认关闭
cl_grenadecrosshair_smoke          0     // 是否显示烟雾弹准星,默认关闭

// ─────────────────────────  HUD·准星·持枪  ─────────────────────────────
// 界面(HUD)设置<0.默认 1.白色 2.淡蓝色 3.蓝色 4.紫色 5.红色 6.橙色 7.黄色 8.绿色 9.淡绿色 10.粉红色>
cl_hud_color             0        // 颜色
cl_radar_always_centered 1        // 雷达以玩家为中心
cl_radar_scale           0.45     // 雷达缩放
cl_hud_radar_scale       1        // 雷达大小(0.8-1.3)
cl_radar_icon_scale_min  0.6      // 雷达人物标点大小
cl_radar_rotate          1        // 雷达旋转
hud_showtargetid         0        // 隐藏目标id

// demo专用准星 [修改]
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.300000"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "0.5"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "1"
cl_crosshaircolor_b "50"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "50"
cl_crosshairdot "0"
cl_crosshairgap "-0.500000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "3.500000"
cl_crosshairstyle "4"
cl_crosshairthickness "1.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
// 关闭准星跟随后坐力
cl_crosshair_recoil 0

// demo专用持枪视角参数 [修改]
viewmodel_fov                "62";
viewmodel_offset_x           "2.5";
viewmodel_offset_y           "2";
viewmodel_offset_z           "-2";
viewmodel_presetpos          "0";

// 自定义viewmodel持枪参数 不受限制
// 格式: mirv_viewmodel set <X> <Y> <Z> <FOV> <0|1|*>
//      其中 0=右手持枪 1=左手持枪 *=保持默认
// mirv_viewmodel enabled 1         // 开启自定义持枪
// mirv_viewmodel set 2 2.5 -2 68 0 // 设置持枪参数 [示例 可修改]

// ───────────────────  游戏本身功能实现 不依赖HLAE ────────────────────────────
// 实现 前后侧键 +-播放速度 10% 20% 25% 100% 400% 800% 1600%
alias gear_up 	"gear4"
alias gear_down "gear14"
alias gear110   "demo_timescale 0.1; alias gear_up gear15;alias gear_down gear110;echo [Demo播放速度];echo X0.1"
alias gear15 	  "demo_timescale 0.2; alias gear_up gear14;alias gear_down gear110;echo [Demo播放速度];echo X0.2"
alias gear14	  "demo_timescale 0.25;alias gear_up gear1; alias gear_down gear15 ;echo [Demo播放速度];echo X0.25"
alias gear1     "demo_timescale 1;   alias gear_up gear4; alias gear_down gear14 ;echo [Demo播放速度];echo X1"
alias gear4     "demo_timescale 4;   alias gear_up gear8; alias gear_down gear1  ;echo [Demo播放速度];echo X4"
alias gear8     "demo_timescale 8;   alias gear_up gear8; alias gear_down gear4  ;echo [Demo播放速度];echo X8"
alias gear16    "demo_timescale 16;  alias gear_up gear16; alias gear_down gear8 ;echo [Demo播放速度];echo X16"

// 实现 开关VGUI 用于Reshade
alias vgui    "vguiOff";
alias vguiOff "alias vgui vguiOn ;r_drawvgui 0;playvol ui/armsrace_kill_01 1";
alias vguiOn  "alias vgui vguiOff;r_drawvgui 1;playvol ui/weapon_cant_buy 1";

// 实现 切换屏蔽文字聊天
alias chat "toggle tv_nochat; echo [切换屏蔽文字聊天]"
// 实现 切换助攻显示
alias ass   "toggle mp_display_kill_assists; echo [切换助攻显示]"

// 实现 关闭游戏设置中的MVP、回合开始结束、无线电等声音(包括小鸡声音)
alias mute "snd_menumusic_volume 0; snd_roundstart_volume 0;snd_roundend_volume 0;snd_roundaction_volume 0;snd_mapobjective_volume 0;snd_tensecondwarning_volume 0;snd_deathcamera_volume 0;snd_mvp_volume 0;snd_mute_mvp_music_live_players 1;snd_mute_losefocus 0;; echo [关闭各项声音]";
// mute; // 默认关闭各种声音,录制比较纯净的声音(未开启)

// 实现 解决运镜模式键位冲突
alias t "unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow; unbind pgup; unbind pgdn; unbind -; unbind =; echo >>> 已解绑运镜冲突按键;";

// 实现 限制FPS
alias 60  "fps_max 60";
alias 90  "fps_max 90";
alias 120 "fps_max 120";
alias 200 "fps_max 200";

// 帮助
alias mt "echo [玩家id=userid那一列数字]; echo 查看玩家id → voice_show_mute; echo 禁用玩家语音 → voice_mute 玩家id;echo 取消所有禁用 → voice_unmute all; echo 如: voice_mute 9;echo;echo 便捷指令: m1 m2 ... m14 | 取消屏蔽: um; echo 玩家id:; voice_show_mute"
alias um  "voice_unmute all"
alias m1  "voice_mute 1 ; echo × 玩家#1"
alias m2  "voice_mute 2 ; echo × 玩家#2"
alias m3  "voice_mute 3 ; echo × 玩家#3"
alias m4  "voice_mute 4 ; echo × 玩家#4"
alias m5  "voice_mute 5 ; echo × 玩家#5"
alias m6  "voice_mute 6 ; echo × 玩家#6"
alias m7  "voice_mute 7 ; echo × 玩家#7"
alias m8  "voice_mute 8 ; echo × 玩家#8"
alias m9  "voice_mute 9 ; echo × 玩家#9"
alias m10 "voice_mute 10; echo × 玩家#10"
alias m11 "voice_mute 11; echo × 玩家#11"
alias m12 "voice_mute 12; echo × 玩家#12"
alias m13 "voice_mute 13; echo × 玩家#13"
alias m14 "voice_mute 14; echo × 玩家#14"

alias wh "toggle r_drawworld; echo [切换透视效果]"
alias exp "toggle mat_tonemap_uncap_exposure; echo [切换高光设置] 旧版本 Inferno 请设置为1"

// ───────────────────────  HLAE相关功能 ────────────────────────────────
alias dmsg dmsg_on
alias dmsg_on  "alias dmsg dmsg_off; mirv_deathmsg filter add attackerMatch=!Trace block=1; mirv_deathmsg lifetime 90; echo >>> 独显击杀信息(当前观察玩家)已开启√"
alias dmsg_off "alias dmsg dmsg_on;  mirv_deathmsg filter clear; mirv_deathmsg lifetime default; mirv_deathmsg clear ; echo >>> 独显击杀信息已关闭×"
// 修改边框颜色
// mirv_deathmsg colors border blue

// 实现 镜头激活开关
alias campath	"campath_on"
alias campath_on	"mirv_campath enabled 1;alias campath campath_off;echo >>> 摄像机功能已开启√"
alias campath_off	"mirv_campath enabled 0;alias campath campath_on;echo >>> 摄像机功能已关闭×"

// 实现 镜头轨迹显示开关
alias campath_draw	"campath_draw_on"
alias campath_draw_on "mirv_campath draw enabled 1;alias campath_draw campath_draw_off;echo >>> 摄像机路径显示已开启√"
alias campath_draw_off "mirv_campath draw enabled 0;alias campath_draw campath_draw_on;echo >>> 摄像机路径显示已关闭×"

// 实现 打印机位信息
alias pp "mirv_campath print"

// 实现 运镜模式FOV切换指令
alias f100 "mirv_input fov 100";alias f95 "mirv_input fov 95";alias f90 "mirv_input fov 90";alias f85 "mirv_input fov 85";
alias f80 "mirv_input fov 80";alias f75 "mirv_input fov 75";alias f70 "mirv_input fov 70";alias f65 "mirv_input fov 65";
alias f60  "mirv_input fov 60";alias f55 "mirv_input fov 55";alias f50 "mirv_input fov 50";alias f45 "mirv_input fov 45";
alias f40 "mirv_input fov 40";alias f35 "mirv_input fov 35";alias f30 "mirv_input fov 30";alias f25 "mirv_input fov 25";
alias f20 "mirv_input fov 20";alias f15 "mirv_input fov 15";alias f10 "mirv_input fov 10";

// 实现 运镜时间/位置修改为当前点
alias pos  "mirv_campath edit position current" // 修改运镜起始位置为当前点
alias time "mirv_campath edit start"            // 修改运镜起始时间为当前Tick

// 实现 切换屏蔽击杀信息(展示时间修改为0)
alias block    "blockOn";
alias blockOn  "alias block blockOff; mirv_deathmsg lifetime 0; echo [屏蔽击杀信息]";
alias blockOff "alias block blockOn;  mirv_deathmsg lifetime default; echo [击杀信息已恢复默认时间]";

// 实现 切换广角
alias widefov    "widefovOn";
alias widefovOn  "alias widefov widefovOff; mirv_fov 105; echo [已开启广角fov]"
alias widefovOff "alias widefov widefovOn;  mirv_fov default; echo [已还原默认fov]"

// 实现 切换后处理滤镜
alias post "toggle r_csgo_postprocess_enable; echo [切换后处理滤镜]"

// 实现 切换屏蔽闪光
alias noflash "toggle mirv_noflash; echo [切换屏蔽闪光]"

// 实现 切换回合结束计分板
alias end "toggle mirv_endofmatch; echo [切换回合结束计分板]"

// 实现 替换玩家名称提示
alias rp "echo [用法];mirv_replace_name; mirv_replace_name byUserId; echo [玩家信息];mirv_replace_name help players; echo [替换方法]; echo mirv_replace_name byUserId add 玩家id 名字; echo 示例: mirv_replace_name byUserId add 6 hello_world"

// 实现 HLAE录制
alias rec          "demo_timescale 1; fps_max 0; echo >>> HLAE录制开始; mirv_streams record start";
alias rec_end      "fps_max 200; mirv_streams record end; echo >>> HLAE录制结束";
alias checkSetting "echo;echo [当前录制FPS]; mirv_streams record fps; echo";

// 实现 HLAE录制帧率切换的快捷指令
alias 60fps   "mirv_streams record fps 60  ; echo [当前录制FPS]; echo 60  ";
alias 120fps  "mirv_streams record fps 120 ; echo [当前录制FPS]; echo 120 ";
alias 180fps  "mirv_streams record fps 180 ; echo [当前录制FPS]; echo 180 ";
alias 240fps  "mirv_streams record fps 240 ; echo [当前录制FPS]; echo 240 ";
alias 300fps  "mirv_streams record fps 300 ; echo [当前录制FPS]; echo 300 ";
alias 360fps  "mirv_streams record fps 360 ; echo [当前录制FPS]; echo 360 ";
alias 400fps  "mirv_streams record fps 400 ; echo [当前录制FPS]; echo 400 ";
alias 420fps  "mirv_streams record fps 420 ; echo [当前录制FPS]; echo 420 ";
alias 480fps  "mirv_streams record fps 480 ; echo [当前录制FPS]; echo 480 ";
alias 500fps  "mirv_streams record fps 500 ; echo [当前录制FPS]; echo 500 ";
alias 600fps  "mirv_streams record fps 600 ; echo [当前录制FPS]; echo 600 ";
alias 800fps  "mirv_streams record fps 800 ; echo [当前录制FPS]; echo 800 ";
alias 960fps  "mirv_streams record fps 960 ; echo [当前录制FPS]; echo 960 ";
alias 1000fps "mirv_streams record fps 1000; echo [当前录制FPS]; echo 1000";
alias 1200fps "mirv_streams record fps 1200; echo [当前录制FPS]; echo 1200";
alias 2000fps "mirv_streams record fps 2000; echo [当前录制FPS]; echo 2000";
alias 2400fps "mirv_streams record fps 2400; echo [当前录制FPS]; echo 2400";

// 实现 录屏设置切换的快捷指令
alias 60to240     "alias ScreenRecord fps_max 60 ;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=60 ;echo 播放速度=25%  ;echo 等效帧率=240"
alias 60to300     "alias ScreenRecord fps_max 60 ;demo_timescale 0.2  ;echo [当前录屏设置];echo 录制帧率=60 ;echo 播放速度=20%  ;echo 等效帧率=300"
alias 60to600     "alias ScreenRecord fps_max 60 ;demo_timescale 0.1  ;echo [当前录屏设置];echo 录制帧率=60 ;echo 播放速度=10%  ;echo 等效帧率=600"
alias 90to180     "alias ScreenRecord fps_max 90 ;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=90 ;echo 播放速度=50%  ;echo 等效帧率=180"
alias 90to360     "alias ScreenRecord fps_max 90 ;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=90 ;echo 播放速度=25%  ;echo 等效帧率=360"
alias 90to720     "alias ScreenRecord fps_max 90 ;demo_timescale 0.125;echo [当前录屏设置];echo 录制帧率=90 ;echo 播放速度=12.5%;echo 等效帧率=720"
alias 100to200    "alias ScreenRecord fps_max 100;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=50%  ;echo 等效帧率=200"
alias 100to400    "alias ScreenRecord fps_max 100;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=25%  ;echo 等效帧率=400"
alias 100to500    "alias ScreenRecord fps_max 100;demo_timescale 0.2  ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=20%  ;echo 等效帧率=500"
alias 100to1000   "alias ScreenRecord fps_max 100;demo_timescale 0.1  ;echo [当前录屏设置];echo 录制帧率=100;echo 播放速度=10%  ;echo 等效帧率=1000"
alias 120to240    "alias ScreenRecord fps_max 120;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=120;echo 播放速度=50%  ;echo 等效帧率=240"
alias 120to480    "alias ScreenRecord fps_max 120;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=120;echo 播放速度=25%  ;echo 等效帧率=480"
alias 120to600    "alias ScreenRecord fps_max 120;demo_timescale 0.2  ;echo [当前录屏设置];echo 录制帧率=120;echo 播放速度=20%  ;echo 等效帧率=600"
alias 150to300    "alias ScreenRecord fps_max 150;demo_timescale 0.5  ;echo [当前录屏设置];echo 录制帧率=150;echo 播放速度=50%  ;echo 等效帧率=300"
alias 150to600    "alias ScreenRecord fps_max 600;demo_timescale 0.25 ;echo [当前录屏设置];echo 录制帧率=150;echo 播放速度=25%  ;echo 等效帧率=600"
alias 150         "alias ScreenRecord fps_max 150;demo_timescale 1    ;echo [当前录屏设置];echo 录制帧率=150;echo 播放速度=100% ;echo 等效帧率=150"
alias 300         "alias ScreenRecord fps_max 300;demo_timescale 1    ;echo [当前录屏设置];echo 录制帧率=300;echo 播放速度=100% ;echo 等效帧率=300"

// 实现天空贴图切换 TODO 增加更多天空贴图
alias skybox "sky_1"
alias sky_1 "alias skybox sky_2; echo [切换天空贴图] cs_italy_s2_skybox_2; mirv_sky material "materials/skybox/cs_italy_s2_skybox_2.vmat_c""
alias sky_2 "alias skybox sky_3; echo [切换天空贴图] cs_italy_s2_skybox_2_fog; mirv_sky material "materials/skybox/cs_italy_s2_skybox_2_fog.vmat_c""
alias sky_3 "alias skybox sky_4; echo [切换天空贴图] cs_italy_s2_skybox_2_lighting; mirv_sky material "materials/skybox/cs_italy_s2_skybox_2_lighting.vmat_c""
alias sky_4 "alias skybox sky_5; echo [切换天空贴图] cs_office_45_0; mirv_sky material "materials/skybox/cs_office_45_0.vmat_c""
alias sky_5 "alias skybox sky_6; echo [切换天空贴图] hr_dust_ground_sand_skybox; mirv_sky material "materials/skybox/hr_dust_ground_sand_skybox.vmat_c""
alias sky_6 "alias skybox sky_7; echo [切换天空贴图] light_test_sky_default; mirv_sky material "materials/skybox/light_test_sky_default.vmat_c""
alias sky_7 "alias skybox sky_8; echo [切换天空贴图] light_test_sky_sunset_light; mirv_sky material "materials/skybox/light_test_sky_sunset_light.vmat_c""
alias sky_8 "alias skybox sky_9; echo [切换天空贴图] overpass_airplane_001; mirv_sky material "materials/skybox/overpass_airplane_001.vmat_c""
alias sky_9 "alias skybox sky_10; echo [切换天空贴图] sky_ar_baggage_01; mirv_sky material "materials/skybox/sky_ar_baggage_01.vmat_c""
alias sky_10 "alias skybox sky_11; echo [切换天空贴图] sky_black; mirv_sky material "materials/skybox/sky_black.vmat_c""
alias sky_11 "alias skybox sky_12; echo [切换天空贴图] sky_csgo_cloudy01; mirv_sky material "materials/skybox/sky_csgo_cloudy01.vmat_c""
alias sky_12 "alias skybox sky_13; echo [切换天空贴图] sky_de_annubis; mirv_sky material "materials/skybox/sky_de_annubis.vmat_c""
alias sky_13 "alias skybox sky_14; echo [切换天空贴图] sky_de_dust2; mirv_sky material "materials/skybox/sky_de_dust2.vmat_c""
alias sky_14 "alias skybox sky_15; echo [切换天空贴图] sky_de_dust2vmat; mirv_sky material "materials/skybox/sky_de_dust2vmat.vmat_c""
alias sky_15 "alias skybox sky_16; echo [切换天空贴图] sky_de_mirage; mirv_sky material "materials/skybox/sky_de_mirage.vmat_c""
alias sky_16 "alias skybox sky_17; echo [切换天空贴图] sky_de_nuke; mirv_sky material "materials/skybox/sky_de_nuke.vmat_c""
alias sky_17 "alias skybox sky_18; echo [切换天空贴图] sky_de_overpass_01; mirv_sky material "materials/skybox/sky_de_overpass_01.vmat_c""
alias sky_18 "alias skybox sky_19; echo [切换天空贴图] sky_de_train03; mirv_sky material "materials/skybox/sky_de_train03.vmat_c""
alias sky_19 "alias skybox sky_20; echo [切换天空贴图] sky_de_vertigo; mirv_sky material "materials/skybox/sky_de_vertigo.vmat_c""
alias sky_20 "alias skybox sky_21; echo [切换天空贴图] sky_hr_aztec_02; mirv_sky material "materials/skybox/sky_hr_aztec_02.vmat_c""
alias sky_21 "alias skybox sky_22; echo [切换天空贴图] sky_hr_aztec_02_lighting; mirv_sky material "materials/skybox/sky_hr_aztec_02_lighting.vmat_c""
alias sky_22 "alias skybox sky_23; echo [切换天空贴图] sky_hr_aztec_02_v1; mirv_sky material "materials/skybox/sky_hr_aztec_02_v1.vmat_c""
alias sky_23 "alias skybox sky_24; echo [切换天空贴图] sky_overcast_01; mirv_sky material "materials/skybox/sky_overcast_01.vmat_c""
alias sky_24 "alias skybox sky_25; echo [切换天空贴图] sky_rain_night_01; mirv_sky material "materials/skybox/sky_rain_night_01.vmat_c""
alias sky_25 "alias skybox sky_1; echo [切换天空贴图] 默认; mirv_sky material default"


// ─────────────────────────  输出控制台提示  ──────────────────────────────────
echo;
echo █▀▀█  █     █   █▀▀█  █▀▀█ ▄█   █▀▀▀    	█▀▀  █▀▀  █▀▀▀
echo █▄▄█  █     █   █▄▄▀  █▄▄█   █   █▀▀▀    	█       █▀▀  █  ▀█
echo █         ▀▄▄▀    █    █   █        ▄█▄ █▄▄▄   	▀▀▀  ▀       ▀▀▀▀	 v2.6e For CS2
echo ═════════════════════════════════════════════════════════════
echo ────────────────────────  控制台指令  ────────────────────────────
echo ──── 关闭BGM/MVP/无线电声音	:  mute
echo ──── 解绑运镜模式键位冲突	:  t
echo ──── 切换助攻显示		:  ass
echo ──── 切换后处理滤镜 [开局灰色]	:  post
echo ──── 切换屏蔽闪光		:  noflash
echo ──── 切换文字聊天		:  chat
echo ──── 切换透视效果		:  wh
echo ──── 切换曝光设置		:  exp
echo ──── 切换结尾亮相		:  end
echo ──── 打印机位信息		:  pp
echo ──── 打印分层录制信息		:  ps
echo ──── 切换是否录制原始层 	:  raw
echo ──── 切换是否录制深度层 	:  depth
echo ──── 提示替换玩家名称		:  rp
echo ──── 提示屏蔽玩家语言		:  mt
echo ──── 修改运镜起始位置为当前点	:  pos
echo ──── 修改运镜起始时间为当前Tick	:  time
echo ──── 录屏慢放快捷指令		:  60to240 90to360 120to240等
echo ──── HLAE录制帧率		:  60fps | 240fps | 300fps | ... | 2400fps
echo ──── 限制FPS	           	:  60 → 限制 60FPS | 90 | 120 | 200
echo ──── 运镜模式下修改FOV		:  f10 | f15 | ... | f100
echo ────────────────────────  快捷键  ───────────────────────────────
echo ──── 打开/关闭demoui        	:  Q
echo ──── 镜头摆放模式 [ESC]退出   	:  T
echo ──── 标记当前Tick           	:  Y
echo ──── 跳转标记             	:  U
echo ──── 镜头激活开关        	:  I
echo ──── 镜头轨迹显示    		:  O
echo ──── demo暂停/继续          	:  P 或 鼠标中键(mouse3)
echo ─────────────────────────────────────────────────────────────
echo ──── HUD只保留准星和击杀    	:  H
echo ──── 独显击杀信息 @当前观察玩家	:  J  关闭时清空所有信息
echo ──── 切换天空贴图skybox      	:  K
echo ──── 查看玩家信息和语音屏蔽提示	:  L  用户id/xuid/观察按键
echo ──── 开关玩家语音 		:  '
echo ─────────────────────────────────────────────────────────────
echo ──── x光       	   	:  X
echo ──── 准心开关      		:  V
echo ──── 开关HUD      		:  B
echo ──── 开关雷达      		:  N
echo ──── 加速时间       	 	:  M
echo ──── 快退5s      		:  ,
echo ──── 快进5s       		:  .
echo ──── 运镜时间回退0.25s    	:  [
echo ──── 运镜时间快进0.25s    	:  ]
echo ──── 切换击杀信息显示   	:  \
echo ──── 切换广角FOV       	:  =
echo ─────────────────────────────────────────────────────────────
echo ──── 打开/关闭demoui		:  Shift+F2
echo ──── 添加镜头      		:  Capslock
echo ──── 清空镜头      		:  Delete
echo ──── +播放速度      		:  前侧键(mouse5)
echo ──── -播放速度      		:  后侧键(mouse4)
echo ─────────────────────────────────────────────────────────────
echo ──── 开始HLAE录制  		:  ↑
echo ──── 结束HLAE录制  		:  ↓
echo ──── 录屏设置开启  		:  PgUp
echo ──── 录屏设置关闭  		:  PgDn
echo ──── 设置当前Tick开始录制    	:  F5
echo ──── 设置当前Tick结束录制    	:  F6
echo ──── 打印mirv_cmd信息        	:  F7
echo ──── 清除所有mirv_cmd指令    	:  F8
echo ──── 开关VGUI 用于Reshade    	:  F9
echo ──── 加载分层录制CFG        	:  F10
echo ═════════════════════════════════════════════════════════════

// 默认设置
campath_on;       // 默认开启镜头激活
campath_draw_on;  // 默认开启镜头轨迹显示
60fps;            // 默认 60fps 录制
exec ffmpeg.cfg   // 默认加载ffmpeg录制预设


================================================
FILE: practice.cfg
================================================
// ═══════════════════════════════════════════
//        Config Preset v2.6e by Purp1e
//            CFG预设(Purp1e制作)
//                #2026/02/02#
//     https://space.bilibili.com/73115492
// ═══════════════════════════════════════════

//绑定按键
bind alt        "noclip"                                                     // alt飞行
bind h          "toggle sv_showimpacts 1 0;toggle sv_grenade_trajectory 1 0" // 切换轨迹着弹点显示
bind j          "toggle bot_crouch"                                          // bot蹲下(注意键位冲突)
bind k          "bot_kill"                                                   // 杀死bot
bind l          "toggle r_aoproxy_show"                                      // 当高级视频设置中“环境光遮蔽”选项为[中/高]时,切换透视效果
bind uparrow    "bot_add"                                                    // 添加bot
bind downarrow  "bot_kick"                                                   // 删除bot
bind leftarrow  "bot_stop 1;bot_place"                                       // 放置bot(先添加bot)
bind rightarrow "mp_restartgame 1"                                           // 重新开始游戏
bind t          "sv_rethrow_last_grenade"                                    // 重现最近一次的投掷物
bind ,          "toggle sv_grenade_trajectory_prac_pipreview"                // 切换投掷物轨迹预测
bind .          "+Pucci"
bind \          "give item_assaultsuit;give weapon_flashbang;give weapon_hegrenade;give weapon_smokegrenade;give weapon_molotov;script sethp()";    //补齐血条头甲和满道具

// bhop开关
bind p "toggle sv_enablebunnyhopping;toggle sv_autobunnyhopping;toggle cl_showpos;toggle sv_airaccelerate 1000 12";
sv_enablebunnyhopping 0;sv_autobunnyhopping 0;cl_showpos 0;sv_airaccelerate 12; // 设置默认关闭bhop

// 控制台使用 gkd 开始实战演练 | 使用 gg 还原
alias gkd  "mp_respawn_on_death_ct 0;mp_respawn_on_death_t 0;sv_showimpacts 0;sv_infinite_ammo 0;sv_alltalk 0;mp_buy_anywhere 0;mp_freezetime 4;mp_restartgame 1;sv_cheats 0;"
alias gg   "sv_cheats 1;mp_respawn_on_death_ct 1;mp_respawn_on_death_t 1;sv_showimpacts 1;sv_infinite_ammo 1;sv_alltalk 1;mp_buy_anywhere 1;mp_freezetime 1"

// 实现一键加速时间 替身使者"天堂制造" (让烟雾弹和燃烧弹快速消失)
alias +Pucci   "host_timescale 25"
alias -Pucci   "host_timescale 1"

// 一次性指令
sv_cheats                        1     //开启作弊
ammo_grenade_limit_total         6     //至多携带道具数
bot_kick                               //踢掉电脑

sv_alltalk                       1     //全局语音(360度无死角)
sv_talk_enemy_dead               1
sv_talk_enemy_living             1
sv_talk_after_dying_time         99999
sv_infinite_ammo                 1     //无限子弹 <1.无限子弹 2.无限弹夹数 0.关闭>
sv_showimpacts                   1     //显示弹着点
sv_showimpacts_time              15    //弹着点时间

mp_maxmoney                      16000 //金钱上限
mp_startmoney                    16000 //开始满金钱
mp_afterroundmoney               16000 //回合结束满金钱
mp_buytime                       9999  //购买时间
mp_warmuptime                    9999  //热身时间
mp_roundtime                     60    //每回合时间
mp_roundtime_defuse              60    //每回合时间
mp_freezetime                    1     //开局等待时间1s
mp_round_restart_delay           2     //回合结束后等待时间2s

mp_buy_anywhere                  1     //全地图购买
mp_free_armor                    2     //出生全甲<1.半甲 2.全甲 0.关闭>
mp_drop_knife_enable             1     //允许扔刀
mp_drop_grenade_enable           1     //允许扔道具
mp_items_prohibited              0     //去除物品购买限制
sv_grenade_trajectory_prac_pipreview 1 //启用投掷物视角与轨迹预览
ammo_grenade_limit_total         6     //最大投掷物携带数量包括诱饵弹

mp_humanteam                     any   //可加入任意阵营
mp_limitteams                    0     //去除队伍人数限制
mp_autoteambalance               0     //关闭自动平衡队伍人数
mp_autokick                      0     //关闭自动踢人
mp_spectators_max                9     //最多观察者人数
mp_forcecamera                   0     //不限制观察者观看的队伍
mp_respawn_immunitytime          0     //复活免疫时间
mp_respawn_on_death_ct           1     //CT死后即刻复活
mp_respawn_on_death_t            1     //T死后即刻复活
cl_versus_intro                  0     //关闭开场阵营展示过场动画
mp_warmup_end                          //热身结束

// CT和T出生携带的武器
mp_t_default_grenades  "weapon_flashbang weapon_hegrenade weapon_smokegrenade weapon_molotov weapon_decoy"     //双方出生自带投掷物,修复死后复活无法购买道具的问题
mp_ct_default_grenades "weapon_flashbang weapon_hegrenade weapon_smokegrenade weapon_incgrenade weapon_decoy"  //双方出生自带投掷物,修复死后复活无法购买道具的问题
// mp_ct_default_secondary	weapon_p250
mp_ct_default_primary	weapon_m4a1    //←M4A4 | A1:weapon_m4a1_silencer
// mp_t_default_secondary	weapon_p250
mp_t_default_primary	weapon_ak47

//全枪全弹
give weapon_awp
give weapon_deagle
give weapon_hegrenade
give weapon_flashbang
give weapon_smokegrenade
give weapon_molotov
give weapon_vesthelm
give weapon_ak47

//输出控制台提示
echo;
echo █▀▀█  █     █   █▀▀█  █▀▀█ ▄█   █▀▀▀    	█▀▀  █▀▀  █▀▀▀
echo █▄▄█  █     █   █▄▄▀  █▄▄█   █   █▀▀▀    	█       █▀▀  █  ▀█
echo █         ▀▄▄▀    █    █   █        ▄█▄ █▄▄▄   	▀▀▀  ▀       ▀▀▀▀	 v2.6e For CS2
echo ═════════════════════════════════════════════════════════════
echo ──── 加载设置[auto.cfg]		:  exec auto 或 auto
echo ──── 跑图,练习道具  			:  exec practice 或 pt
echo ──── 对枪,SOLO   			:  exec solo 或 solo
echo ──── 地图中加载设置[auto.cfg]  	:  Insert键
echo ──── 地图中一键跑图[practice.cfg]	:  Delete键
echo ──────────────────────  BOT相关  ─────────────────────────────
echo ──── BOT难度(3>2>1>0)  	:  bot_difficulty 3;
echo ──── BOT静止	 		:  bot_stop 1;
echo ──── BOT拿刀			:  bot_knives_only;
echo ──── BOT拿手枪		:  bot_pistols_only;
echo ──── BOT全武器		:  bot_all_weapons;
echo ──── BOT加入队伍(any=任意)	:  bot_join_team ct;
echo ──── BOT模仿玩家动作 		:  bot_mimic 1;
echo ──── BOT模仿角度偏移 		:  bot_mimic_yaw_offset 180;
echo ──── BOT蹲下  		:  bot_crouch 1;
echo ──── 添加BOT  		:  bot_add;
echo ──── 删除BOT  		:  bot_kick;
echo ──── 杀死BOT			:  bot_kill;
echo ──── 放置BOT   		:  bot_place;
echo ──────────────────────  常用指令  ─────────────────────────────
echo ──── 热身开始		:  mp_warmup_start;
echo ──── 热身结束		:  mp_warmup_end;
echo ──── 重新开始游戏		:  mp_restartgame 1;
echo ──── 回合开始静止1s      	:  mp_freezetime 1;
echo ──── 回合结束等待2s      	:  mp_round_restart_delay 2;
echo ──── 1无限子弹 2无限弹夹 0关	:  sv_infinite_ammo 0;
echo ──── 弹着点时间30s		:  sv_showimpacts_time 30;
echo ──── C4爆炸时间999s     	:  mp_c4timer 999;
echo ──── C4任意处放置		:  mp_plant_c4_anywhere 1;
echo ──── 队友伤害		:  mp_teammates_are_enemies 1;
echo ──── 忽视胜利条件	    	:  mp_ignore_round_win_conditions 1;
echo ──── 雷达显示所有人		:  mp_radar_showall 1;"
echo ──── 调整护甲(2=全甲)		:  mp_free_armor 1;
echo ──── 无敌(个人)		:  god;
echo ───────────────────────  快捷键  ─────────────────────────────
echo ──── 弹着点/投掷物轨迹显示 	:  H
echo ──── BOT蹲下   		:  J
echo ──── 杀死BOT   		:  K
echo ──── 切换透视效果  		:  L
echo ──── 切换Bhop开和关		:  P
echo ──── 重现最近一次投掷物  	:  T
echo ──── 切换实时预测轨迹		:  ,
echo ──── 加速时间,松开恢复  	:  . (帧数暴跌,队友会卡住)
echo ──── 添加BOT  		:  ↑
echo ──── 删除BOT  		:  ↓
echo ──── 放置BOT  		:  ←
echo ──── 重新开始 		:  →
echo ──── 飞行      		:  Alt
echo ──── 补齐血条头甲和满道具	:  \
echo ═════════════════════════════════════════════════════════════
echo ·输入 gkd → 实战演练 | 输入 gg -> 恢复跑图模式


================================================
FILE: solo.cfg
================================================
// ═══════════════════════════════════════════
//        Config Preset v2.6e by Purp1e
//            CFG预设(Purp1e制作)
//                #2026/02/02#
//     https://space.bilibili.com/73115492
// ═══════════════════════════════════════════

// 绑定按键
bind uparrow    "bot_add";                    //↑ 添加bot
bind downarrow  "bot_kick";                   //↓ 删除bot
bind leftarrow  "toggle sv_talk_enemy_living" //← 开关全局语音
bind rightarrow "mp_restartgame 1"            //→ 重新开始游戏

// 切换solo模式绑定按键 [可修改]
bind 7 "ak47"
bind 8 "awp"
bind 9 "usp"
bind 0 "deagle"
bind - "m4a4"
bind = "m4a1"

// 一次性指令
sv_cheats                1     // 开启作弊
sv_alltalk               1     // 全局语音(360度无死角)
sv_talk_enemy_dead       1
sv_talk_enemy_living     1
bot_kick                       // 踢掉电脑

mp_humanteam            any    // 可加入任意阵营
mp_maxrounds            100    // 最大回合数100
mp_freezetime           1      // 开局等待时间1s
mp_round_restart_delay  2      // 回合结束后等待时间2s
mp_autoteambalance      0      // 关闭自动平衡
mp_buytime              10     // 购买时间
mp_buy_anywhere         1      // 全地图买枪
mp_startmoney           16000  // 起始金钱
mp_free_armor           2      // 出生全甲<1.半甲 2.全甲 0.关闭>
mp_drop_knife_enable    1      // 允许扔刀
mp_limitteams           0      // 去除队伍人数限制
mp_autoteambalance      0      // 关闭自动平衡队伍人数
mp_autokick             0      // 关闭自动踢人
mp_spectators_max       9      // 最多观察者人数
mp_forcecamera          0      // 不限制观察者观看的队伍
mp_respawn_immunitytime 0      // 复活免疫时间
mp_respawn_on_death_ct  0      // CT死后即刻复活关闭
mp_respawn_on_death_t   0      // T死后即刻复活关闭
mp_warmup_end                  // 热身结束

// solo模式设定
alias ak47     "mp_free_armor 2;mp_t_default_primary weapon_ak47;mp_ct_default_primary weapon_ak47;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias m4a4     "mp_free_armor 2;mp_t_default_primary weapon_m4a1;mp_ct_default_primary weapon_m4a1;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias m4a1     "mp_free_armor 2;mp_t_default_primary weapon_m4a1_silencer;mp_ct_default_primary weapon_m4a1_silencer;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias galil    "mp_free_armor 2;mp_t_default_primary weapon_galilar;mp_ct_default_primary weapon_galilar;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias famas    "mp_free_armor 2;mp_t_default_primary weapon_famas;mp_ct_default_primary weapon_famas;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias ak       "ak47"
alias m4       "m4a4"
alias a4       "m4a4"
alias a1       "m4a1"
alias gali     "galil"

alias sg553    "mp_free_armor 2;mp_t_default_primary weapon_sg556;mp_ct_default_primary weapon_sg556;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias aug      "mp_free_armor 2;mp_t_default_primary weapon_aug;mp_ct_default_primary weapon_aug;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias ssg      "mp_free_armor 2;mp_t_default_primary weapon_ssg08;mp_ct_default_primary weapon_ssg08;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias scar     "mp_free_armor 2;mp_t_default_primary weapon_scar20;mp_ct_default_primary weapon_scar20;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias g3sg1    "mp_free_armor 2;mp_t_default_primary weapon_g3sg1;mp_ct_default_primary weapon_g3sg1;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias awp      "mp_free_armor 2;mp_t_default_primary weapon_awp;mp_ct_default_primary weapon_awp;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias gaygun   "mp_free_armor 2;mp_t_default_primary weapon_g3sg1;mp_ct_default_primary weapon_scar20;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias 553      "sg553"

alias mp5      "mp_free_armor 2;mp_t_default_primary weapon_mp5;mp_ct_default_primary weapon_mp5;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias mp7      "mp_free_armor 2;mp_t_default_primary weapon_mp7;mp_ct_default_primary weapon_mp7;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias mp9      "mp_free_armor 2;mp_t_default_primary weapon_mp9;mp_ct_default_primary weapon_mp9;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias mac10    "mp_free_armor 2;mp_t_default_primary weapon_mac10;mp_ct_default_primary weapon_mac10;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias bizon    "mp_free_armor 2;mp_t_default_primary weapon_bizon;mp_ct_default_primary weapon_bizon;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias p90      "mp_free_armor 2;mp_t_default_primary weapon_p90;mp_ct_default_primary weapon_p90;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias pp       "bizon"

alias negev    "mp_free_armor 2;mp_t_default_primary weapon_negev ;mp_ct_default_primary weapon_negev ;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias nova     "mp_free_armor 2;mp_t_default_primary weapon_nova  ;mp_ct_default_primary weapon_nova  ;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias mag7     "mp_free_armor 2;mp_t_default_primary weapon_mag7  ;mp_ct_default_primary weapon_mag7  ;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias sawedoff "mp_free_armor 2;mp_t_default_primary weapon_sawedoff;mp_ct_default_primary weapon_sawedoff;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias xm1014   "mp_free_armor 2;mp_t_default_primary weapon_xm1014;mp_ct_default_primary weapon_xm1014;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias tshot    "sawedoff"
alias ctshot   "mag7"
alias xm       "xm1014"

alias usp      "mp_free_armor 1;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_usp_silencer;mp_ct_default_secondary weapon_usp_silencer;mp_restartgame 1"
alias glock    "mp_free_armor 1;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_glock;mp_ct_default_secondary weapon_glock;mp_restartgame 1"
alias p250     "mp_free_armor 2;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_p250;mp_ct_default_secondary weapon_p250;mp_restartgame 1"
alias tec9     "mp_free_armor 2;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_tec9;mp_ct_default_secondary weapon_tec9;mp_restartgame 1"
alias cz75     "mp_free_armor 2;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_cz75a;mp_ct_default_secondary weapon_cz75a;mp_restartgame 1"
alias elite    "mp_free_armor 2;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_elite;mp_ct_default_secondary weapon_elite;mp_restartgame 1"
alias deagle   "mp_free_armor 2;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_deagle;mp_ct_default_secondary weapon_deagle;mp_restartgame 1"
alias revolver "mp_free_armor 2;mp_t_default_primary 0;mp_ct_default_primary 0;mp_t_default_secondary weapon_revolver;mp_ct_default_secondary weapon_revolver;mp_restartgame 1"
alias cz       "cz75"
alias dual     "elite"
alias deag     "deagle"
alias r8       "revolver"


// 输出控制台提示
echo;
echo █▀▀█  █     █   █▀▀█  █▀▀█ ▄█   █▀▀▀    	█▀▀  █▀▀  █▀▀▀
echo █▄▄█  █     █   █▄▄▀  █▄▄█   █   █▀▀▀    	█       █▀▀  █  ▀█
echo █         ▀▄▄▀    █    █   █        ▄█▄ █▄▄▄   	▀▀▀  ▀       ▀▀▀▀	 v2.6e For CS2
echo ═════════════════════════════════════════════════════════════
echo ──── 加载设置[auto.cfg]		:  exec auto
echo ──── 跑图,练习道具  			:  exec practice
echo ──── 对枪,SOLO   			:  exec solo
echo ──── 观战,观看DEMO,GOTV    	    	:  exec demo
echo ──── HLAE相关设置       	 	:  exec hlae
echo ──── 地图中加载设置[auto.cfg]  	:  Insert键
echo ──── 地图中一键跑图[practice.cfg]	:  Delete键
echo ──────────────────────  快捷键<开关式>  ────────────────────────
echo ──── 添加BOT  		:  ↑
echo ──── 删除BOT  		:  ↓
echo ──── 开关全局语音		:  ←
echo ──── 重新开始 		:  →
echo ──────────────────────  常用指令  ─────────────────────────────
echo ──── 热身开始			:  mp_warmup_start;
echo ──── 热身结束			:  mp_warmup_end;
echo ──── 重新开始游戏		:  mp_restartgame 1;
echo ──── 回合开始静止1s      	:  mp_freezetime 1;
echo ──── 回合结束等待2s      	:  mp_round_restart_delay 2;
echo ──── 最大回合数   		:  mp_maxrounds 500;
echo ──── 队友伤害			:  mp_teammates_are_enemies 1;
echo ──── 雷达显示所有人		:  mp_radar_showall 1;
echo ──── 关闭全地图买枪		:  mp_buy_anywhere 1;
echo ──── 无敌(个人)		:  god;
echo ──── 无敌(所有人)		:  gods;
echo ─────────  solo模式  ───────  指令  ─────  快捷键  ─────────────
echo ──── AK47      	        :    ak           : 7
echo ──── AWP      	        :    awp          : 8
echo ──── USP       	        :    usp          : 9
echo ──── Deagle   	        :    deag         : 0
echo ──── M4A4     	        :    m4           : -
echo ──── M4A1     	        :    m4a1         : =
echo ──────────────────────  其他模式  ─────────────────────────────
echo ──── ak47  m4a4  m4a1 galil famas ak m4  a4  a1
echo ──── gali  sg553 aug  ssg   scar  g3sg1  awp gaygun 553
echo ──── mp5   mp7   mp9  mac10 bizon p90    pp
echo ──── negev nova  mag7 sawedoff    xm1014 tshot  ctshot  xm
echo ──── usp   glock p250 tec9  cz75  elite  deagle cz dual deag
echo ═════════════════════════════════════════════════════════════



================================================
FILE: 使用说明.html
================================================
<script>window.location = "https://cfg.upup.cool/v2/";</script>

================================================
FILE: 启动项.txt
================================================
CS2启动项

1. 启动项间务必用空格分开
2. 可以把自用启动项放在这里,方便复制

推荐启动项

-high -novid -nojoy -refresh 240 -threads 8 +exec auto.cfg


常用启动项说明:
-novid           关闭过场动画
-nojoy           优化帧数
+exec auto.cfg   自动加载auto.cfg
-perfectworld    国服
-worldwide       国际服
-high            提高优先级
-fullscreen      全屏
-sw              窗口化
-noborder        窗口无边框
-coop_fullscreen 全屏窗口化
-refresh 240     设置刷新率为240 根据显示器调整
-w 1920 -h 1080  设置分辨率为1920x1080
-threads 8       设置线程数 建议设为大核核心数 or AMD 一个CCD的核心数 最好用 Process Lasso 手动调度

-allow_third_party_software  运行第三方软件:录屏、滤镜、性能监测软件
-insecure                    非安全启动 无法进入受VAC保护的服务器
Download .txt
gitextract_izwi4y8y/

├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── auto.cfg
├── crosshair.cfg
├── crosshair_throw.cfg
├── demo.cfg
├── ffmpeg.cfg
├── hlae.cfg
├── practice.cfg
├── solo.cfg
├── 使用说明.html
└── 启动项.txt
Condensed preview — 14 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (149K chars).
[
  {
    "path": ".gitattributes",
    "chars": 66,
    "preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
  },
  {
    "path": ".gitignore",
    "chars": 11,
    "preview": "\n.DS_Store\n"
  },
  {
    "path": "LICENSE",
    "chars": 35129,
    "preview": "GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation,"
  },
  {
    "path": "README.md",
    "chars": 2593,
    "preview": "<h1 align=\"center\">CFG预设 For CS2</h1>\n<h4 align=\"center\">适用于CS2各场景的CFG预设文件</h3>\n\n<div align=\"center\">\n\n[![stars](https:/"
  },
  {
    "path": "auto.cfg",
    "chars": 13217,
    "preview": "// ═══════════════════════════════════════════\n//        Config Preset v2.6e by Purp1e\n//            CFG预设(Purp1e制作)\n// "
  },
  {
    "path": "crosshair.cfg",
    "chars": 925,
    "preview": "// 准星参数放在↓\t以下是推荐的默认静态准星设置\ncl_crosshair_t                           0\ncl_crosshairsize                         3\ncl_cross"
  },
  {
    "path": "crosshair_throw.cfg",
    "chars": 525,
    "preview": "// 投掷物准星(根据需要改动)\ncl_crosshair_t                 0\ncl_crosshairalpha              130\ncl_crosshaircolor              5\ncl"
  },
  {
    "path": "demo.cfg",
    "chars": 9076,
    "preview": "// ═══════════════════════════════════════════\n//        Config Preset v2.6e by Purp1e\n//            CFG预设(Purp1e制作)\n// "
  },
  {
    "path": "ffmpeg.cfg",
    "chars": 14322,
    "preview": "// ═══════════════════════════════════════════\n//        Config Preset v2.6e by Purp1e\n//            CFG预设(Purp1e制作)\n// "
  },
  {
    "path": "hlae.cfg",
    "chars": 24132,
    "preview": "// ═══════════════════════════════════════════\n//        Config Preset v2.6e by Purp1e\n//            CFG预设(Purp1e制作)\n// "
  },
  {
    "path": "practice.cfg",
    "chars": 6885,
    "preview": "// ═══════════════════════════════════════════\n//        Config Preset v2.6e by Purp1e\n//            CFG预设(Purp1e制作)\n// "
  },
  {
    "path": "solo.cfg",
    "chars": 9940,
    "preview": "// ═══════════════════════════════════════════\n//        Config Preset v2.6e by Purp1e\n//            CFG预设(Purp1e制作)\n// "
  },
  {
    "path": "使用说明.html",
    "chars": 63,
    "preview": "<script>window.location = \"https://cfg.upup.cool/v2/\";</script>"
  },
  {
    "path": "启动项.txt",
    "chars": 590,
    "preview": "CS2启动项\n\n1. 启动项间务必用空格分开\n2. 可以把自用启动项放在这里,方便复制\n\n推荐启动项\n\n-high -novid -nojoy -refresh 240 -threads 8 +exec auto.cfg\n\n\n常用启动项说明"
  }
]

About this extraction

This page contains the full source code of the Purple-CSGO/CS2-Config-Presets GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 14 files (114.7 KB), approximately 38.5k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!