Skip to content

Commit

Permalink
new code, new functions, new bugs ^_^
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrv committed Nov 13, 2015
1 parent 08e23e3 commit f62f750
Show file tree
Hide file tree
Showing 17 changed files with 902 additions and 1,169 deletions.
6 changes: 6 additions & 0 deletions ExtDriversFromLogs.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Debug|x64.ActiveCfg = Debug|x64
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Debug|x64.Build.0 = Debug|x64
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Release|Any CPU.Build.0 = Release|Any CPU
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Release|x64.ActiveCfg = Release|x64
{B17ACAAD-7B60-4C16-82F6-A78544DC8743}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
69 changes: 69 additions & 0 deletions ExtDriversFromLogs/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,75 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="ExtDriversFromLogs.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<ExtDriversFromLogs.Properties.Settings>
<setting name="Language" serializeAs="Xml">
<value>
<Language name="English">
<mainForm>
<colTruck>Truck</colTruck>
<colTag>Tag</colTag>
<colNickname>Game Nickname</colNickname>
<colGameID>Game ID</colGameID>
<groupOpen>Open log</groupOpen>
<btnOpen>Form today</btnOpen>
<btnOpenYesterday>From yesterday</btnOpenYesterday>
<btnOpenAnother>Open file</btnOpenAnother>
<groupSearch>Search</groupSearch>
<btnOptions>Options</btnOptions>
<btnExit>Exit</btnExit>
<menuOpenProfile>Open profile</menuOpenProfile>
<menuCopyName>Copy nickname</menuCopyName>
<menuCopyID>Copy ID</menuCopyID>
</mainForm>
<optionsForm>
<tabMain>Main</tabMain>
<tabAdv>Advanced</tabAdv>
<groupLanguage>Language</groupLanguage>
<groupOptionSearch>Search options</groupOptionSearch>
<chckById>Search by ID</chckById>
<chckByTag>Search by Tag</chckByTag>
<chckCCase>Case sensitive characters</chckCCase>
<btnSave>Save</btnSave>
<groupRegLine>Regular expression line</groupRegLine>
<lblRegAttention>Do not modify unless you know what it is!</lblRegAttention>
<btnRestore>Restore parameters</btnRestore>
</optionsForm>
<messages>
<msgNoFile>Log file {0} don't exist!</msgNoFile>
<msgEnterToRegLine>Attention, this string can break the program!</msgEnterToRegLine>
</messages>
</Language>
</value>
</setting>
<setting name="regPattern" serializeAs="String">
<value>\[(?&lt;tHours&gt;[\d{2}]+):(?&lt;tMinutes&gt;[\d{2}]+):(?&lt;tSeconds&gt;[\d{2}]+)\]\s+Spawning\s+GameTruck\s+\((?&lt;name&gt;.+)\((?&lt;gameID&gt;\d+)\)\s+-\s+ETS2MPId:(?&lt;ets2mpID&gt;\d+)(?&lt;adInfo&gt;.*)\)\s+Additional\s+data:\s+(?&lt;adData&gt;.+)[\s\S]\[00\]\s+.+\s+.\/def\/vehicle\/truck\/(?&lt;truck&gt;.+)\/data.sii.</value>
</setting>
<setting name="windowPositon" serializeAs="String">
<value>400, 200</value>
</setting>
<setting name="windowSize" serializeAs="String">
<value>700, 300</value>
</setting>
<setting name="chckCCase" serializeAs="String">
<value>False</value>
</setting>
<setting name="txtSearchLine" serializeAs="String">
<value />
</setting>
<setting name="chckSearchByID" serializeAs="String">
<value>True</value>
</setting>
<setting name="chckSearchByTag" serializeAs="String">
<value>True</value>
</setting>
</ExtDriversFromLogs.Properties.Settings>
</userSettings>
</configuration>
83 changes: 57 additions & 26 deletions ExtDriversFromLogs/ExtDriversFromLogs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Optimize>true</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -49,25 +49,52 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>e1212f3e9f58cce00cf42f13f209f70a3a566e40_full.ico</ApplicationIcon>
<ApplicationIcon>logo.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>951B640078667373A7877C8FC98F10C8977ED4E6</ManifestCertificateThumbprint>
<ManifestCertificateThumbprint>89CA76DF5AF0CD176191BC87ACC33883B54B178A</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>ExtDriversFromLogs_TemporaryKey.pfx</ManifestKeyFile>
<ManifestKeyFile>
</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<SignManifests>false</SignManifests>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup />
<PropertyGroup />
<PropertyGroup />
<PropertyGroup>
<SignManifests>true</SignManifests>
<NoWin32Manifest>true</NoWin32Manifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -82,27 +109,20 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<Compile Include="mainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="mainForm.Designer.cs">
<DependentUpon>mainForm.cs</DependentUpon>
</Compile>
<Compile Include="options.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
<Compile Include="options.Designer.cs">
<DependentUpon>options.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="ExtDriversFromLogs_TemporaryKey.pfx" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Expand All @@ -117,9 +137,6 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="e1212f3e9f58cce00cf42f13f209f70a3a566e40_full.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>
Expand All @@ -137,6 +154,20 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<Content Include="logo.ico" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="mainForm.resx">
<DependentUpon>mainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="options.resx">
<DependentUpon>options.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Binary file not shown.
Loading

0 comments on commit f62f750

Please sign in to comment.