diff --git a/BmLauncherAsylumNET6.csproj b/BmLauncherAsylumNET6.csproj index 570c991..2790b36 100644 --- a/BmLauncherAsylumNET6.csproj +++ b/BmLauncherAsylumNET6.csproj @@ -17,6 +17,8 @@ 1.0.0 1.0.0 CC BY-NC-SA 4.0 + true + neatodev diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cbe5ad1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,437 @@ +Attribution-NonCommercial-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International +Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-NonCommercial-ShareAlike 4.0 International Public License +("Public License"). To the extent this Public License may be +interpreted as a contract, You are granted the Licensed Rights in +consideration of Your acceptance of these terms and conditions, and the +Licensor grants You such rights in consideration of benefits the +Licensor receives from making the Licensed Material available under +these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-NC-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution, NonCommercial, and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. NonCommercial means not primarily intended for or directed towards + commercial advantage or monetary compensation. For purposes of + this Public License, the exchange of the Licensed Material for + other material subject to Copyright and Similar Rights by digital + file-sharing or similar means is NonCommercial provided there is + no payment of monetary compensation in connection with the + exchange. + + l. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + m. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + n. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part, for NonCommercial purposes only; and + + b. produce, reproduce, and Share Adapted Material for + NonCommercial purposes only. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties, including when + the Licensed Material is used other than for NonCommercial + purposes. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-NC-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database for NonCommercial purposes + only; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + including for purposes of Section 3(b); and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/README.md b/README.md new file mode 100644 index 0000000..3c2e4f7 --- /dev/null +++ b/README.md @@ -0,0 +1,86 @@ +# Batman: Arkham Asylum - Advanced Launcher + +This is a replacement application for the original BmLauncher of the game. Alongside vastly superior configuration options, this Launcher also offers: + +- Tooltips for every configuration option +- Option to disable Startup Movies +- Texmod Autoload Support +- Experimental Wine (Linux) Support (More Information at the bottom) +- Compatibility Fixes for [HD Texture Packs](https://steamcommunity.com/sharedfiles/filedetails/?id=1159691355) +- NVIDIA API Implementation (Enable HBAO+ using the Launcher!) (Powered by [NvAPIWrapper](https://github.com/falahati/NvAPIWrapper)) +- Extensive Logging Functionality (Powered by [NLog](https://github.com/NLog/NLog)) + +Works with both the Steam and EGS Version! + +**This Application is built with .NET 6**. If you are using Windows 10 and above you shouldn't have any issues simply running the program. Some users might need to install [.NET 6 Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) manually. + +A standalone, dependency free executable is also available. + + +**This application has only been tested on Windows 7 SP1, Windows 8, Windows 8.1, Windows 10 and Wine. It supports the Steam, GOG and Epic Games Store version and nothing else.** + +## Preview + +![BMLauncher Preview](https://user-images.githubusercontent.com/49599979/195911308-4c53fa9e-8f6e-49dc-a626-c5cda228498a.png) + +## Download + +**See: [Current Release](https://github.com/neatodev/BmLauncherAsylumNET6/releases/latest)** + +If you enjoy this application, please consider giving a small, one-time donation: + +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?hosted_button_id=LG7YTKP4JYN5S) + +## Installation + +Drag the contents of the .zip file into the 'Batman Arkham Asylum GOTY\Binaries' folder. + +To find this folder for the *Steam* version, just right-click the game in Steam, select Properties->Local Files->Browse Local Files and navigate from there. + +To find it for the *EGS* version, right-click the game and select "Manage". Then click the folder icon in the "Installation" tab and navigate from there. + +For the *GOG* version, click the icon next to the PLAY button and select "Manage installation->Show folder" and navigate from there. + + +## Usage + +You can just launch your game via Steam or EGS as you normally would, though in some cases you might need to unblock the BmLauncher application for it to work properly. + +To do that, just right-click the application, select Properties and enable the highlighted checkbox as seen in the image below: + +![Unblock Image](https://user-images.githubusercontent.com/49599979/75610370-e2268100-5b10-11ea-978d-c257a2466dc8.png) + +## Hint for Linux users + +To achieve the best results when using the Launcher, you should install the Calibri font for + +Protontricks: +`protontricks 35140 -q calibri` + +or + +Winetricks: +`WINEPREFIX=/steamapps/compatdata/35140/pfx winetricks -q calibri` + +Furthermore, to run Arkham Asylum properly on Linux, the following fix is needed: + +`protontricks 35140 -q d3dx9 d3dcompiler_43` + +If you wish to make full use of PhysX for Arkham Asylum on Linux you also need to copy Arkham City's [PhysXDevice.dll](https://drive.google.com/file/d/1hcM3y34HN2yLYmd1S_cV1q2MrOU6q_5w/view) into the same folder as the Launcher (Batman Arkham Asylum GOTY\Binaries). + +This help section and the working Proton/Wine support was only made possible through heavy cooperation with [ThisNekoGuy](https://github.com/ThisNekoGuy). + +## Bug Reports + +To file a bug report, or if you have suggestions for the Launcher in general, please file an [issue](https://github.com/neatodev/BmLauncherAsylumNET6/issues/new). I read these regularly and should normally be able to respond within a day. Please include log files (if possible) in your report. The logs are located here: 'Batman Arkham Asylum GOTY\Binaries\logs'. + +## Known Issues + +**NVAPI_ACCESS_DENIED**: See [my response](https://github.com/neatodev/BmLauncher/issues/3#issuecomment-681074403) to Issue [#3](https://github.com/neatodev/BmLauncher/issues/3) for a solution. + +#### License + +[![CC BY 4.0][cc-by-shield]][cc-by] + +[cc-by]: https://creativecommons.org/licenses/by-nc-sa/4.0/ +[cc-by-shield]: https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..f60e680 --- /dev/null +++ b/_config.yml @@ -0,0 +1,24 @@ +remote_theme: BDHU/minimalist +title: Developed by Neato +description: "(C) 2020-2022 | CC BY-NC-SA 4.0" +logo: Resources/favicon.ico +sidebar: + - name: GitHub Profile + icon: + link: https://github.com/neatodev + - name: Project Repository + icon: + link: https://github.com/neatodev/BmLauncherAsylumNET6 + - name: License + icon: + link: https://raw.githubusercontent.com/neatodev/BmLauncherAsylumNET6/master/LICENSE + - name: Nexusmods Page + icon: + link: https://www.nexusmods.com/batmanarkhamasylum/mods/117/ + - name: Donate + icon: + link: https://www.paypal.com/donate/?hosted_button_id=LG7YTKP4JYN5S + +github: [metadata] +color-scheme: auto +favicon: true diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..b65ab07 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,64 @@ +{% case site.color-scheme %} + {% when "", nil, false, 0, empty %} + {% assign ColorScheme = "auto" %} + {% else %} + {% assign ColorScheme = site.color-scheme %} +{% endcase %} + + + + + + + + +{% seo %} + + + + + + {% include head-custom.html %} + + +
+ +
+ + {{ content }} + +
+
+
+
+ + + diff --git a/_sass/jekyll-theme-minimalist.scss b/_sass/jekyll-theme-minimalist.scss new file mode 100644 index 0000000..f0016cf --- /dev/null +++ b/_sass/jekyll-theme-minimalist.scss @@ -0,0 +1,315 @@ +@import "fonts"; +@import "rouge-github"; +@import "colors"; + +body { + background-color: var(--clr-bg); + padding:50px; + font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: var(--clr-text); + font-weight:400; +} + +h1, h2, h3, h4, h5, h6 { + color: var(--clr-h1-and-bold); + margin:0 0 20px; +} + +p, ul, ol, table, pre, dl { + margin:0 0 20px; +} + +h1, h2, h3 { + line-height:1.1; +} + +h1 { + font-size:38px; +} + +h2 { + color: var(--clr-h2); +} + +h3, h4, h5, h6 { + color: var(--clr-h-3-6); +} + +a { + color:var(--clr-a-text); + text-decoration:none; +} + +a:hover, a:focus { + color: var(--clr-a-text-hvr); +} + +a small { + font-size:11px; + color:var(--clr-small-in-a); + margin-top:-0.3em; + display:block; +} + +a:hover small { + color:var(--clr-small-in-a); +} + +// added +p.link { + margin:0 0 4px; +} + +// added +ul.link { + list-style-type: none; /* Remove bullets */ + margin: 0; /* To remove default bottom margin */ + padding: 0.4px; /* To remove default left padding */ +} + +ul.link li + li { + margin-top: 6px; +} + +ul.link:last-child { + margin-bottom: 6px; +} + +.wrapper { + width:1160px; + margin: 0 auto; +} + +blockquote { + border-left:1px solid var(--clr-splitter-blockquote-and-section); + margin:0; + padding:0 0 0 20px; + font-style:italic; +} + +code, pre { + font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace; + color: var(--clr-code-text); +} + +pre { + padding:8px 15px; + background: var(--clr-code-bg); + border-radius:5px; + border:1px solid var(--clr-code-border); + overflow-x: auto; +} + +table { + width:100%; + border-collapse:collapse; +} + +th, td { + text-align:left; + padding:5px 10px; + border-bottom:1px solid var(--clr-splitter-blockquote-and-section); +} + +dt { + color:var(--clr-table-header-and-dt); + font-weight:700; +} + +th { + color:var(--clr-table-header-and-dt); +} + +img { + max-width:100%; +} + +kbd { + background-color: var(--clr-kbd-bg) ; + border: 1px solid var(--clr-kbd-border); + border-bottom-color: var(--clr-kbd-border-bottom-and-shadow); + border-radius: 3px; + box-shadow: inset 0 -1px 0 var(--clr-kbd-border-bottom-and-shadow); + color: var(--clr-kbd-text); + display: inline-block; + font-size: 11px; + line-height: 10px; + padding: 3px 5px; + vertical-align: middle; +} + +.sidebar { + width:228px; + float:left; + position:fixed; + -webkit-font-smoothing:subpixel-antialiased; + top: 0; + padding: 58px 0 50px 0; + display: flex; + flex-direction: column; + justify-content: space-between; + height: calc(100vh - 108px); + overflow-x: hidden; + overflow-y: scroll; + -ms-overflow-style: -ms-autohiding-scrollbar; // IE10+ +} + +// Disables the scrollbar in Firefox +// HTML-Proofer fails without "@-moz-document url-prefix()" +// because scrollbar-width is still experimental in Firefox. +@-moz-document url-prefix() { + .sidebar { + scrollbar-width: none; + } +} + +.sidebar::-webkit-scrollbar { + /* Chrome, Safari, Edge */ + display: none; +} + +strong { + color:var(--clr-h1-and-bold); + font-weight:700; +} + +section { + width: 900px; + float:right; + padding-bottom:30px; +} + +small { + font-size:11px; +} + +hr { + border:0; + background:var(--clr-splitter-blockquote-and-section); + height:1px; + width:30%; + margin:10px auto 30px; +} + +footer, .sidebar-footer { + width:185px; + float:left; + bottom:30px; + -webkit-font-smoothing:subpixel-antialiased; +} + +footer { + display: none; +} + +.sidebar-footer { + flex-basis: content; +} + +@media print, screen and (max-width: 960px) { + + .sidebar { + padding: initial; + display: initial; + height: initial; + overflow: initial; + } + + footer { + display: initial; + } + + .sidebar-footer { + display: none; + } + + div.wrapper { + width:auto; + margin:0; + } + + .sidebar, section, footer { + float:none; + position:static; + width:auto; + } + + header { + padding-right:320px; + } + + section { + border:1px solid var(--clr-splitter-blockquote-and-section); + border-width:1px 0; + padding:20px 0; + margin:0 0 20px; + } + + header a small { + display:inline; + } + + header ul { + position:absolute; + right:50px; + top:52px; + } + + .link-wrapper { + display: none !important; + } + + .img-circle { + display: none !important; + } +} + +@media print, screen and (max-width: 720px) { + body { + word-wrap:break-word; + } + + header { + padding:0; + } + + header ul, header p.view { + position:static; + } + + pre, code { + word-wrap:normal; + } +} + +.link-wrapper-mobile { + margin-bottom: 20px; +} + +@media print, screen and (min-width: 961px) { + .link-wrapper-mobile { + display: none !important; + } +} + +@media print, screen and (max-width: 480px) { + body { + padding:15px; + } + + // header ul { + // width:99%; + // } + + // header li, header ul li + li + li { + // width:33%; + // } +} + +@media print { + body { + padding:0.4in; + font-size:12pt; + color:#444; + } +} diff --git a/ui/CreditsWindow.Designer.cs b/ui/CreditsWindow.Designer.cs index 0357c34..799524b 100644 --- a/ui/CreditsWindow.Designer.cs +++ b/ui/CreditsWindow.Designer.cs @@ -56,7 +56,7 @@ private void InitializeComponent() this.rockCred.ForeColor = System.Drawing.SystemColors.InfoText; this.rockCred.Location = new System.Drawing.Point(9, 9); this.rockCred.Name = "rockCred"; - this.rockCred.Size = new System.Drawing.Size(186, 13); + this.rockCred.Size = new System.Drawing.Size(201, 15); this.rockCred.TabIndex = 0; this.rockCred.Text = "Game created by Rocksteady Studios"; this.rockCred.Click += new System.EventHandler(this.rockCred_Click); @@ -80,7 +80,7 @@ private void InitializeComponent() this.writtenLabel.ForeColor = System.Drawing.SystemColors.InfoText; this.writtenLabel.Location = new System.Drawing.Point(6, 12); this.writtenLabel.Name = "writtenLabel"; - this.writtenLabel.Size = new System.Drawing.Size(110, 13); + this.writtenLabel.Size = new System.Drawing.Size(127, 15); this.writtenLabel.TabIndex = 4; this.writtenLabel.Text = "Application written by:"; // @@ -90,7 +90,7 @@ private void InitializeComponent() this.everLabel.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.everLabel.Location = new System.Drawing.Point(6, 74); this.everLabel.Name = "everLabel"; - this.everLabel.Size = new System.Drawing.Size(74, 13); + this.everLabel.Size = new System.Drawing.Size(69, 15); this.everLabel.TabIndex = 3; this.everLabel.TabStop = true; this.everLabel.Text = "EVERGREEN"; @@ -102,7 +102,7 @@ private void InitializeComponent() this.gpLabel.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.gpLabel.Location = new System.Drawing.Point(6, 59); this.gpLabel.Name = "gpLabel"; - this.gpLabel.Size = new System.Drawing.Size(46, 13); + this.gpLabel.Size = new System.Drawing.Size(50, 15); this.gpLabel.TabIndex = 2; this.gpLabel.TabStop = true; this.gpLabel.Text = "GPUnity"; @@ -114,7 +114,7 @@ private void InitializeComponent() this.collabLabel.ForeColor = System.Drawing.SystemColors.InfoText; this.collabLabel.Location = new System.Drawing.Point(6, 45); this.collabLabel.Name = "collabLabel"; - this.collabLabel.Size = new System.Drawing.Size(105, 13); + this.collabLabel.Size = new System.Drawing.Size(121, 15); this.collabLabel.TabIndex = 1; this.collabLabel.Text = "In Collaboration with:"; // @@ -125,10 +125,10 @@ private void InitializeComponent() this.frofooLabel.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.frofooLabel.Location = new System.Drawing.Point(7, 27); this.frofooLabel.Name = "frofooLabel"; - this.frofooLabel.Size = new System.Drawing.Size(34, 13); + this.frofooLabel.Size = new System.Drawing.Size(39, 15); this.frofooLabel.TabIndex = 0; this.frofooLabel.TabStop = true; - this.frofooLabel.Text = "frofoo"; + this.frofooLabel.Text = "Neato"; this.frofooLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.frofooLabel_LinkClicked); // // groupBox1 @@ -147,7 +147,7 @@ private void InitializeComponent() this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.linkLabel1.Location = new System.Drawing.Point(45, 11); this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(91, 13); + this.linkLabel1.Size = new System.Drawing.Size(102, 15); this.linkLabel1.TabIndex = 5; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Github Repository"; @@ -169,7 +169,7 @@ private void InitializeComponent() this.linkLabel2.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.linkLabel2.Location = new System.Drawing.Point(45, 11); this.linkLabel2.Name = "linkLabel2"; - this.linkLabel2.Size = new System.Drawing.Size(90, 13); + this.linkLabel2.Size = new System.Drawing.Size(93, 15); this.linkLabel2.TabIndex = 5; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "HD Texture Pack"; @@ -188,7 +188,7 @@ private void InitializeComponent() // this.linkLabel3.Anchor = System.Windows.Forms.AnchorStyles.Top; this.linkLabel3.AutoSize = true; - this.linkLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.linkLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); this.linkLabel3.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.linkLabel3.LinkColor = System.Drawing.Color.DarkGoldenrod; this.linkLabel3.Location = new System.Drawing.Point(33, 11); diff --git a/ui/CreditsWindow.cs b/ui/CreditsWindow.cs index 81201af..44036e5 100644 --- a/ui/CreditsWindow.cs +++ b/ui/CreditsWindow.cs @@ -15,12 +15,12 @@ private void rockCred_Click(object sender, EventArgs e) private void frofooLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - Process.Start("https://steamcommunity.com/id/frofoo/"); + Process.Start(new ProcessStartInfo { FileName = @"https://steamcommunity.com/id/frofoo/", UseShellExecute = true }); } private void gpLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - Process.Start("https://www.youtube.com/c/GPUnity"); + Process.Start(new ProcessStartInfo { FileName = @"https://www.youtube.com/c/GPUnity", UseShellExecute = true }); } private void everLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) @@ -29,27 +29,29 @@ private void everLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs if ((number.NextDouble() * (100.0 - 1.0)) + 1.0 <= 7.0) { - Process.Start("https://en.wikipedia.org/wiki/Baguette"); + Process.Start(new ProcessStartInfo { FileName = @"https://en.wikipedia.org/wiki/Baguette", UseShellExecute = true }); } else { - Process.Start("https://www.nexusmods.com/users/6875632?tab=user+files"); + Process.Start(new ProcessStartInfo { FileName = @"https://www.nexusmods.com/users/6875632?tab=user+files", UseShellExecute = true }); } } private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - Process.Start("https://steamcommunity.com/sharedfiles/filedetails/?id=1159691355"); + Process.Start(new ProcessStartInfo { FileName = @"https://steamcommunity.com/sharedfiles/filedetails/?id=1159691355", UseShellExecute = true }); + } private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - Process.Start("https://github.com/neatodev/BmLauncher#batman-arkham-asylum---advanced-launcher"); + Process.Start(new ProcessStartInfo { FileName = @"https://github.com/neatodev/BmLauncherAsylumNET6", UseShellExecute = true }); + } private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - Process.Start("https://www.paypal.com/donate/?hosted_button_id=LG7YTKP4JYN5S"); + Process.Start(new ProcessStartInfo { FileName = @"https://www.paypal.com/donate/?hosted_button_id=LG7YTKP4JYN5S", UseShellExecute = true }); } } } \ No newline at end of file diff --git a/ui/CreditsWindow.resx b/ui/CreditsWindow.resx index 1af7de1..f298a7b 100644 --- a/ui/CreditsWindow.resx +++ b/ui/CreditsWindow.resx @@ -1,64 +1,4 @@ - - - + diff --git a/ui/KeybindForm.cs b/ui/KeybindForm.cs index 41c5d98..c260452 100644 --- a/ui/KeybindForm.cs +++ b/ui/KeybindForm.cs @@ -175,7 +175,10 @@ private void resetButton_Click(object sender, EventArgs e) { bt.ForeColor = Color.Black; } - + this.SensitivityBar.Value = 30; + this.SensitivityValueLabel.Text = "30"; + this.MouseSmoothBox.SelectedIndex = 0; + Program.MyFactory.writeBmInputFile(); applyKeyButton.Enabled = false; }