Skip to content

Commit

Permalink
Rebuild/steam idle executable (#435)
Browse files Browse the repository at this point in the history
# steam-idle rebuilt

## Rebuilt steam-idle.exe
- HTTPS
- Steamworks.NET 20.2.0
- Form renamed

## Idle Master Extended rebuilt with rebuilt steam-idle
+ x64 Steamworks
  • Loading branch information
JonasNilson authored Sep 18, 2023
1 parent 0d2800e commit 1113bd3
Show file tree
Hide file tree
Showing 23 changed files with 166 additions and 115 deletions.
Binary file added Dependencies/Steamworks.NET.dll
Binary file not shown.
Binary file added Dependencies/steam_api64.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/IdleMasterExtended.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29509.3
# Visual Studio Version 17
VisualStudioVersion = 17.7.34018.315
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IdleMasterExtended", "IdleMasterExtended\IdleMasterExtended.csproj", "{D26CAFBB-F684-4E53-BE38-60AAD2531893}"
EndProject
Expand Down
21 changes: 14 additions & 7 deletions Source/IdleMasterExtended/IdleMasterExtended.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<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>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<UseVSHostingProcess>false</UseVSHostingProcess>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>true</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
Expand Down Expand Up @@ -99,13 +101,16 @@
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<PropertyGroup>
<StartupObject>IdleMasterExtended.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Steamworks.NET, Version=7.0.0.0, Culture=neutral, processorArchitecture=x86">
<Reference Include="Steamworks.NET, Version=20.2.0.0, Culture=neutral, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Steamworks.NET.dll</HintPath>
<HintPath>..\..\Dependencies\Steamworks.NET.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -258,7 +263,6 @@
</ItemGroup>
<ItemGroup>
<None Include="Resources\ban-2x.png" />
<EmbeddedResource Include="Resources\steam-idle.exe" />
<None Include="Resources\x-2x.png" />
<None Include="Resources\cog-2x.png" />
<None Include="Resources\check-2x.png" />
Expand All @@ -270,7 +274,6 @@
<None Include="Resources\media-step-forward.png" />
<None Include="Resources\media-play.png" />
<None Include="Resources\media-pause.png" />
<EmbeddedResource Include="Resources\steam_api.dll" />
<None Include="Resources\select2-spinner.gif" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -329,6 +332,10 @@
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /y /d "$(SolutionDir)..\steam-idle Source\steam-idle\bin\Release\steam-idle.exe" "$(TargetDir)"
xcopy /y /d "$(SolutionDir)..\Dependencies\steam_api64.dll" "$(TargetDir)"</PostBuildEvent>
</PropertyGroup>
<!-- 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.
<Target Name="BeforeBuild">
Expand Down
4 changes: 2 additions & 2 deletions Source/IdleMasterExtended/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.10.0")]
[assembly: AssemblyFileVersion("1.10.0")]
[assembly: AssemblyVersion("1.11.0")]
[assembly: AssemblyFileVersion("1.11.0")]
[assembly: NeutralResourcesLanguage("en")]
Binary file removed Source/IdleMasterExtended/Resources/steam-idle.exe
Binary file not shown.
Binary file removed Source/IdleMasterExtended/Resources/steam_api.dll
Binary file not shown.
9 changes: 0 additions & 9 deletions Source/IdleMasterExtended/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -790,15 +790,6 @@ private void ResetFormDesign()

private void frmMain_Load(object sender, EventArgs e)
{
if (File.Exists(Environment.CurrentDirectory + "\\steam_api.dll") == false)
{
CopyResource("IdleMasterExtended.Resources.steam_api.dll", Environment.CurrentDirectory + @"\steam_api.dll");
}
if (File.Exists(Environment.CurrentDirectory + "\\steam-idle.exe") == false)
{
CopyResource("IdleMasterExtended.Resources.steam-idle.exe", Environment.CurrentDirectory + @"\steam-idle.exe");
}

// Update the settings, if needed. When the application updates, settings will persist.
if (Settings.Default.updateNeeded)
{
Expand Down
2 changes: 1 addition & 1 deletion Source/IdleMasterExtended/localization/strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed Steamworks.NET.dll
Binary file not shown.
10 changes: 8 additions & 2 deletions steam-idle Source/steam-idle.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
# Visual Studio Version 17
VisualStudioVersion = 17.7.34009.444
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "steam-idle", "steam-idle\steam-idle.csproj", "{E0E49AFD-1101-4815-A1F1-01F65D4D3306}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Debug|x86.ActiveCfg = Debug|x86
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Debug|x86.Build.0 = Debug|x86
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Release|Any CPU.Build.0 = Release|Any CPU
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Release|x86.ActiveCfg = Release|x86
{E0E49AFD-1101-4815-A1F1-01F65D4D3306}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions steam-idle Source/steam-idle/FormSteamIdle.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using System.Windows.Forms;

namespace steam_idle
{
public partial class FormSteamIdle : Form
{
public FormSteamIdle(long appid)
{
InitializeComponent();
picApp.Load($"https://cdn.akamai.steamstatic.com/steam/apps/{appid}/header_292x136.jpg");
}

private void FormSteamIdle_Load(object sender, EventArgs e)
{

}
}
}
File renamed without changes.
5 changes: 1 addition & 4 deletions steam-idle Source/steam-idle/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Steamworks;

Expand All @@ -22,7 +19,7 @@ static void Main(string[] args)

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmMain(appId));
Application.Run(new FormSteamIdle(appId));
}
}
}
7 changes: 3 additions & 4 deletions steam-idle Source/steam-idle/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand All @@ -10,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("steam-idle")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
46 changes: 19 additions & 27 deletions steam-idle Source/steam-idle/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions steam-idle Source/steam-idle/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
Expand All @@ -60,6 +60,7 @@
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
Expand All @@ -68,9 +69,10 @@
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
Expand All @@ -85,9 +87,10 @@
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
Expand All @@ -109,9 +112,9 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
Loading

0 comments on commit 1113bd3

Please sign in to comment.