├── .editorconfig ├── .gitignore ├── CityLauncher.csproj ├── CityLauncher.sln ├── Data ├── Controls │ ├── InputHandler.cs │ ├── InputReader.cs │ └── InputWriter.cs ├── Display │ ├── ImageTooltip.cs │ ├── IniHandler.cs │ ├── IniReader.cs │ ├── IniWriter.cs │ ├── PresetHandler.cs │ ├── Readme.md │ └── Resolution.cs ├── FileHandler.cs └── SystemHandler.cs ├── LICENSE ├── Program.cs ├── Properties ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings ├── README.md ├── Resources ├── About_Image_4_border.jpg ├── BmCamera.ini ├── BmCompat.ini ├── BmEngine.ini ├── BmGame.ini ├── BmInput.ini ├── BmLightmass.ini ├── BmUI.ini ├── Default_2.jpg ├── GlobalShaderCache-PC-D3D-SM3.bin ├── GlobalShaderCache-PC-D3D-SM5.bin ├── High Contrast_2.jpg ├── Log 1_2.jpg ├── Log 2_2.jpg ├── Monochrome_2.jpg ├── Muted_2.jpg ├── Phase1.jpg ├── Phase2.jpg ├── Phase3.jpg ├── UserEngine.ini ├── UserGame.ini ├── UserInput.ini ├── centre_camera.txt ├── custom_commands.txt ├── icon2.ico ├── nexus_icon.ico └── startup.wav ├── UI ├── CityLauncher.Designer.cs ├── CityLauncher.cs ├── CityLauncher.resx ├── InputForm.Designer.cs ├── InputForm.cs └── InputForm.resx ├── _config.yml ├── _layouts └── default.html ├── _sass └── jekyll-theme-minimalist.scss └── favicon.ico /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.cs] 2 | 3 | # IDE0027: Use expression body for accessors 4 | csharp_style_expression_bodied_accessors = true:silent 5 | csharp_indent_labels = one_less_than_current 6 | csharp_using_directive_placement = outside_namespace:silent 7 | csharp_prefer_simple_using_statement = true:suggestion 8 | csharp_prefer_braces = true:silent 9 | csharp_style_namespace_declarations = block_scoped:silent 10 | csharp_style_prefer_method_group_conversion = true:silent 11 | csharp_style_expression_bodied_methods = false:silent 12 | csharp_style_expression_bodied_constructors = false:silent 13 | csharp_style_expression_bodied_operators = false:silent 14 | csharp_style_expression_bodied_properties = true:silent 15 | csharp_style_expression_bodied_indexers = true:silent 16 | csharp_style_expression_bodied_lambdas = true:silent 17 | csharp_style_expression_bodied_local_functions = false:silent 18 | csharp_style_throw_expression = true:suggestion 19 | csharp_style_prefer_null_check_over_type_check = true:suggestion 20 | csharp_prefer_simple_default_expression = true:suggestion 21 | csharp_style_prefer_local_over_anonymous_function = true:suggestion 22 | csharp_style_prefer_index_operator = true:suggestion 23 | csharp_style_prefer_range_operator = true:suggestion 24 | csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion 25 | csharp_style_prefer_tuple_swap = true:suggestion 26 | 27 | # CS8618: Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. 28 | dotnet_diagnostic.CS8618.severity = none 29 | 30 | # CS8602: Dereference of a possibly null reference. 31 | dotnet_diagnostic.CS8602.severity = none 32 | 33 | # CS8625: Cannot convert null literal to non-nullable reference type. 34 | dotnet_diagnostic.CS8625.severity = none 35 | 36 | # CS8622: Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes). 37 | dotnet_diagnostic.CS8622.severity = none 38 | 39 | # S2223: Non-constant static fields should not be visible 40 | dotnet_diagnostic.S2223.severity = none 41 | 42 | # S3010: Static fields should not be updated in constructors 43 | dotnet_diagnostic.S3010.severity = none 44 | 45 | # S2696: Instance members should not write to "static" fields 46 | dotnet_diagnostic.S2696.severity = none 47 | 48 | # S3249: Classes directly extending "object" should not call "base" in "GetHashCode" or "Equals" 49 | dotnet_diagnostic.S3249.severity = none 50 | 51 | # S1185: Overriding members should do more than simply call the same member in the base class 52 | dotnet_diagnostic.S1185.severity = none 53 | 54 | # S101: Types should be named in PascalCase 55 | dotnet_diagnostic.S101.severity = none 56 | 57 | # IDE0004: Remove Unnecessary Cast 58 | dotnet_diagnostic.IDE0004.severity = none 59 | 60 | [*.{cs,vb}] 61 | #### Naming styles #### 62 | 63 | # Naming rules 64 | 65 | dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion 66 | dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface 67 | dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i 68 | 69 | dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion 70 | dotnet_naming_rule.types_should_be_pascal_case.symbols = types 71 | dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case 72 | 73 | dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion 74 | dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members 75 | dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case 76 | 77 | # Symbol specifications 78 | 79 | dotnet_naming_symbols.interface.applicable_kinds = interface 80 | dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected 81 | dotnet_naming_symbols.interface.required_modifiers = 82 | 83 | dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum 84 | dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected 85 | dotnet_naming_symbols.types.required_modifiers = 86 | 87 | dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method 88 | dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected 89 | dotnet_naming_symbols.non_field_members.required_modifiers = 90 | 91 | # Naming styles 92 | 93 | dotnet_naming_style.begins_with_i.required_prefix = I 94 | dotnet_naming_style.begins_with_i.required_suffix = 95 | dotnet_naming_style.begins_with_i.word_separator = 96 | dotnet_naming_style.begins_with_i.capitalization = pascal_case 97 | 98 | dotnet_naming_style.pascal_case.required_prefix = 99 | dotnet_naming_style.pascal_case.required_suffix = 100 | dotnet_naming_style.pascal_case.word_separator = 101 | dotnet_naming_style.pascal_case.capitalization = pascal_case 102 | 103 | dotnet_naming_style.pascal_case.required_prefix = 104 | dotnet_naming_style.pascal_case.required_suffix = 105 | dotnet_naming_style.pascal_case.word_separator = 106 | dotnet_naming_style.pascal_case.capitalization = pascal_case 107 | dotnet_style_operator_placement_when_wrapping = beginning_of_line 108 | tab_width = 4 109 | indent_size = 4 110 | end_of_line = crlf 111 | dotnet_style_coalesce_expression = true:suggestion 112 | dotnet_style_null_propagation = true:suggestion 113 | dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion 114 | dotnet_style_prefer_auto_properties = true:silent 115 | dotnet_style_object_initializer = true:suggestion 116 | dotnet_style_collection_initializer = true:suggestion 117 | dotnet_style_prefer_simplified_boolean_expressions = true:suggestion 118 | dotnet_style_prefer_conditional_expression_over_assignment = true:silent 119 | dotnet_style_prefer_conditional_expression_over_return = true:silent 120 | dotnet_style_explicit_tuple_names = true:suggestion 121 | dotnet_style_prefer_inferred_tuple_names = true:suggestion 122 | dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion 123 | dotnet_style_prefer_compound_assignment = true:suggestion 124 | dotnet_style_prefer_simplified_interpolation = true:suggestion 125 | dotnet_style_namespace_match_folder = true:suggestion 126 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | Temp/ 13 | 14 | # User-specific files (MonoDevelop/Xamarin Studio) 15 | *.userprefs 16 | 17 | # Mono auto generated files 18 | mono_crash.* 19 | 20 | # Build results 21 | [Dd]ebug/ 22 | [Dd]ebugPublic/ 23 | [Rr]elease/ 24 | [Rr]eleases/ 25 | x64/ 26 | x86/ 27 | [Aa][Rr][Mm]/ 28 | [Aa][Rr][Mm]64/ 29 | bld/ 30 | [Bb]in/ 31 | [Oo]bj/ 32 | [Ll]og/ 33 | [Ll]ogs/ 34 | 35 | # Visual Studio 2015/2017 cache/options directory 36 | .vs/ 37 | # Uncomment if you have tasks that create the project's static files in wwwroot 38 | #wwwroot/ 39 | 40 | # Visual Studio 2017 auto generated files 41 | Generated\ Files/ 42 | 43 | # MSTest test Results 44 | [Tt]est[Rr]esult*/ 45 | [Bb]uild[Ll]og.* 46 | 47 | # NUnit 48 | *.VisualState.xml 49 | TestResult.xml 50 | nunit-*.xml 51 | 52 | # Build Results of an ATL Project 53 | [Dd]ebugPS/ 54 | [Rr]eleasePS/ 55 | dlldata.c 56 | 57 | # Benchmark Results 58 | BenchmarkDotNet.Artifacts/ 59 | 60 | # .NET Core 61 | project.lock.json 62 | project.fragment.lock.json 63 | artifacts/ 64 | 65 | # StyleCop 66 | StyleCopReport.xml 67 | 68 | # Files built by Visual Studio 69 | *_i.c 70 | *_p.c 71 | *_h.h 72 | *.ilk 73 | *.meta 74 | *.obj 75 | *.iobj 76 | *.pch 77 | *.pdb 78 | *.ipdb 79 | *.pgc 80 | *.pgd 81 | *.rsp 82 | *.sbr 83 | *.tlb 84 | *.tli 85 | *.tlh 86 | *.tmp 87 | *.tmp_proj 88 | *_wpftmp.csproj 89 | *.log 90 | *.vspscc 91 | *.vssscc 92 | .builds 93 | *.pidb 94 | *.svclog 95 | *.scc 96 | 97 | # Chutzpah Test files 98 | _Chutzpah* 99 | 100 | # Visual C++ cache files 101 | ipch/ 102 | *.aps 103 | *.ncb 104 | *.opendb 105 | *.opensdf 106 | *.sdf 107 | *.cachefile 108 | *.VC.db 109 | *.VC.VC.opendb 110 | 111 | # Visual Studio profiler 112 | *.psess 113 | *.vsp 114 | *.vspx 115 | *.sap 116 | 117 | # Visual Studio Trace Files 118 | *.e2e 119 | 120 | # TFS 2012 Local Workspace 121 | $tf/ 122 | 123 | # Guidance Automation Toolkit 124 | *.gpState 125 | 126 | # ReSharper is a .NET coding add-in 127 | _ReSharper*/ 128 | *.[Rr]e[Ss]harper 129 | *.DotSettings.user 130 | 131 | # TeamCity is a build add-in 132 | _TeamCity* 133 | 134 | # DotCover is a Code Coverage Tool 135 | *.dotCover 136 | 137 | # AxoCover is a Code Coverage Tool 138 | .axoCover/* 139 | !.axoCover/settings.json 140 | 141 | # Visual Studio code coverage results 142 | *.coverage 143 | *.coveragexml 144 | 145 | # NCrunch 146 | _NCrunch_* 147 | .*crunch*.local.xml 148 | nCrunchTemp_* 149 | 150 | # MightyMoose 151 | *.mm.* 152 | AutoTest.Net/ 153 | 154 | # Web workbench (sass) 155 | .sass-cache/ 156 | 157 | # Installshield output folder 158 | [Ee]xpress/ 159 | 160 | # DocProject is a documentation generator add-in 161 | DocProject/buildhelp/ 162 | DocProject/Help/*.HxT 163 | DocProject/Help/*.HxC 164 | DocProject/Help/*.hhc 165 | DocProject/Help/*.hhk 166 | DocProject/Help/*.hhp 167 | DocProject/Help/Html2 168 | DocProject/Help/html 169 | 170 | # Click-Once directory 171 | publish/ 172 | 173 | # Publish Web Output 174 | *.[Pp]ublish.xml 175 | *.azurePubxml 176 | # Note: Comment the next line if you want to checkin your web deploy settings, 177 | # but database connection strings (with potential passwords) will be unencrypted 178 | *.pubxml 179 | *.publishproj 180 | 181 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 182 | # checkin your Azure Web App publish settings, but sensitive information contained 183 | # in these scripts will be unencrypted 184 | PublishScripts/ 185 | 186 | # NuGet Packages 187 | *.nupkg 188 | # NuGet Symbol Packages 189 | *.snupkg 190 | # The packages folder can be ignored because of Package Restore 191 | **/[Pp]ackages/* 192 | # except build/, which is used as an MSBuild target. 193 | !**/[Pp]ackages/build/ 194 | # Uncomment if necessary however generally it will be regenerated when needed 195 | #!**/[Pp]ackages/repositories.config 196 | # NuGet v3's project.json files produces more ignorable files 197 | *.nuget.props 198 | *.nuget.targets 199 | 200 | # Microsoft Azure Build Output 201 | csx/ 202 | *.build.csdef 203 | 204 | # Microsoft Azure Emulator 205 | ecf/ 206 | rcf/ 207 | 208 | # Windows Store app package directories and files 209 | AppPackages/ 210 | BundleArtifacts/ 211 | Package.StoreAssociation.xml 212 | _pkginfo.txt 213 | *.appx 214 | *.appxbundle 215 | *.appxupload 216 | 217 | # Visual Studio cache files 218 | # files ending in .cache can be ignored 219 | *.[Cc]ache 220 | # but keep track of directories ending in .cache 221 | !?*.[Cc]ache/ 222 | 223 | # Others 224 | ClientBin/ 225 | ~$* 226 | *~ 227 | *.dbmdl 228 | *.dbproj.schemaview 229 | *.jfm 230 | *.pfx 231 | *.publishsettings 232 | orleans.codegen.cs 233 | 234 | # Including strong name files can present a security risk 235 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 236 | #*.snk 237 | 238 | # Since there are multiple workflows, uncomment next line to ignore bower_components 239 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 240 | #bower_components/ 241 | 242 | # RIA/Silverlight projects 243 | Generated_Code/ 244 | 245 | # Backup & report files from converting an old project file 246 | # to a newer Visual Studio version. Backup files are not needed, 247 | # because we have git ;-) 248 | _UpgradeReport_Files/ 249 | Backup*/ 250 | UpgradeLog*.XML 251 | UpgradeLog*.htm 252 | ServiceFabricBackup/ 253 | *.rptproj.bak 254 | 255 | # SQL Server files 256 | *.mdf 257 | *.ldf 258 | *.ndf 259 | 260 | # Business Intelligence projects 261 | *.rdl.data 262 | *.bim.layout 263 | *.bim_*.settings 264 | *.rptproj.rsuser 265 | *- [Bb]ackup.rdl 266 | *- [Bb]ackup ([0-9]).rdl 267 | *- [Bb]ackup ([0-9][0-9]).rdl 268 | 269 | # Microsoft Fakes 270 | FakesAssemblies/ 271 | 272 | # GhostDoc plugin setting file 273 | *.GhostDoc.xml 274 | 275 | # Node.js Tools for Visual Studio 276 | .ntvs_analysis.dat 277 | node_modules/ 278 | 279 | # Visual Studio 6 build log 280 | *.plg 281 | 282 | # Visual Studio 6 workspace options file 283 | *.opt 284 | 285 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 286 | *.vbw 287 | 288 | # Visual Studio LightSwitch build output 289 | **/*.HTMLClient/GeneratedArtifacts 290 | **/*.DesktopClient/GeneratedArtifacts 291 | **/*.DesktopClient/ModelManifest.xml 292 | **/*.Server/GeneratedArtifacts 293 | **/*.Server/ModelManifest.xml 294 | _Pvt_Extensions 295 | 296 | # Paket dependency manager 297 | .paket/paket.exe 298 | paket-files/ 299 | 300 | # FAKE - F# Make 301 | .fake/ 302 | 303 | # CodeRush personal settings 304 | .cr/personal 305 | 306 | # Python Tools for Visual Studio (PTVS) 307 | __pycache__/ 308 | *.pyc 309 | 310 | # Cake - Uncomment if you are using it 311 | # tools/** 312 | # !tools/packages.config 313 | 314 | # Tabs Studio 315 | *.tss 316 | 317 | # Telerik's JustMock configuration file 318 | *.jmconfig 319 | 320 | # BizTalk build output 321 | *.btp.cs 322 | *.btm.cs 323 | *.odx.cs 324 | *.xsd.cs 325 | 326 | # OpenCover UI analysis results 327 | OpenCover/ 328 | 329 | # Azure Stream Analytics local run output 330 | ASALocalRun/ 331 | 332 | # MSBuild Binary and Structured Log 333 | *.binlog 334 | 335 | # NVidia Nsight GPU debugger configuration file 336 | *.nvuser 337 | 338 | # MFractors (Xamarin productivity tool) working folder 339 | .mfractor/ 340 | 341 | # Local History for Visual Studio 342 | .localhistory/ 343 | 344 | # BeatPulse healthcheck temp database 345 | healthchecksdb 346 | 347 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 348 | MigrationBackup/ 349 | 350 | # Ionide (cross platform F# VS Code tools) working folder 351 | .ionide/ 352 | -------------------------------------------------------------------------------- /CityLauncher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net8.0-windows10.0.19041.0 6 | enable 7 | true 8 | true 9 | enable 10 | x64 11 | true 12 | True 13 | true 14 | CityLauncher.Program 15 | true 16 | 17 | 18 | 19 | True 20 | none 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | True 36 | True 37 | Resources.resx 38 | 39 | 40 | True 41 | True 42 | Settings.settings 43 | 44 | 45 | 46 | 47 | 48 | ResXFileCodeGenerator 49 | Resources.Designer.cs 50 | 51 | 52 | 53 | 54 | 55 | SettingsSingleFileGenerator 56 | Settings.Designer.cs 57 | 58 | 59 | 60 | 61 | Neato 62 | false 63 | 1.1.0.2 64 | 1.1.0.2 65 | https://github.com/neatodev 66 | https://github.com/neatodev/CityLauncher 67 | Batman: Arkham City - Advanced Launcher 68 | Resources\icon2.ico 69 | neatodev 70 | Batman: Arkham City Advanced Launcher 71 | https://github.com/neatodev/CityLauncher 72 | en 73 | 74 | (C) 2022-2025 | CC BY-NC-SA 4.0 75 | git 76 | CC BY-NC-SA 4.0 77 | False 78 | Batman: Arkham City Advanced Launcher 79 | 1.1.0.2 80 | BmLauncher 81 | 6.0-all 82 | 83 | 84 | 85 | none 86 | 87 | 88 | -------------------------------------------------------------------------------- /CityLauncher.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.2.32602.215 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CityLauncher", "CityLauncher.csproj", "{E97366E6-7066-4ECF-A16B-5342F5F33B31}" 7 | EndProject 8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{09E407A1-6864-45A2-891A-714095229E9D}" 9 | ProjectSection(SolutionItems) = preProject 10 | .editorconfig = .editorconfig 11 | EndProjectSection 12 | EndProject 13 | Global 14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 15 | Debug|Any CPU = Debug|Any CPU 16 | Release|Any CPU = Release|Any CPU 17 | EndGlobalSection 18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 19 | {E97366E6-7066-4ECF-A16B-5342F5F33B31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 20 | {E97366E6-7066-4ECF-A16B-5342F5F33B31}.Debug|Any CPU.Build.0 = Debug|Any CPU 21 | {E97366E6-7066-4ECF-A16B-5342F5F33B31}.Release|Any CPU.ActiveCfg = Release|Any CPU 22 | {E97366E6-7066-4ECF-A16B-5342F5F33B31}.Release|Any CPU.Build.0 = Release|Any CPU 23 | EndGlobalSection 24 | GlobalSection(SolutionProperties) = preSolution 25 | HideSolutionNode = FALSE 26 | EndGlobalSection 27 | GlobalSection(ExtensibilityGlobals) = postSolution 28 | SolutionGuid = {CF7F5CB4-F2FD-4623-897D-2AF12189A783} 29 | EndGlobalSection 30 | EndGlobal 31 | -------------------------------------------------------------------------------- /Data/Controls/InputHandler.cs: -------------------------------------------------------------------------------- 1 | using CityLauncher.Properties; 2 | using NLog; 3 | 4 | namespace CityLauncher 5 | { 6 | internal class InputHandler 7 | { 8 | public string UserInputFile; 9 | 10 | public string BmInputFile; 11 | 12 | public string[] LinesConfigStyle; 13 | 14 | public string[] LinesHumanReadable; 15 | 16 | private readonly string[] BannedKeys = { "OEM8", "OEM6", "OEM5", "LWIN", "RWIN", "OEM7", "SCROLL", "OEM1", "OEMTILDE", "OEM7", "NUMLOCK", "MULTIPLY", 17 | "DIVIDE", "SUBTRACT", "ADD", "DECIMAL", "PAUSE", "CLEAR", "F1", "OEM2", "OEM3", "OEMSEMICOLON", "OEM4", "OEMPIPE" }; 18 | 19 | 20 | public List