-
-
Notifications
You must be signed in to change notification settings - Fork 435
Any CPU Ready Source Inspired by @Chicken-Bones #738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Akarinnnnn
wants to merge
128
commits into
rlabrecque:master
Choose a base branch
from
Akarinnnnn:anycpu-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
c0c4e35
Import steamworksparser.py
rlabrecque 1282ca5
Added support for unnamed enums (enum constants)
rlabrecque 6a1ee87
Added .gitignore for *.pyc files
rlabrecque ac61d19
The GameServer APIContext now has a UGC accessor
rlabrecque 375419a
Fixed typedef.filename always being blank
rlabrecque d70b656
Enable recursive parsing for multiple /**/ comment blocks on one line
rlabrecque 4b47e62
Skip _STEAM_CALLBACK_ Macros
rlabrecque 7058416
Added README
rlabrecque a1aa3fc
Added MIT license
rlabrecque 04e1053
ArgAttribute improvements
rlabrecque 64a8694
Added parsing FunctionAttributes
rlabrecque 607f2d2
Parse STEAM_PRIVATE_API()
rlabrecque ed2714c
Skip parsing #pragma and #undef
rlabrecque d440901
Allow setting ArgAttribute upon creation
rlabrecque bad3b10
Fixed loading CP-1252 files on linux...
rlabrecque 10ad883
Added typedefs to comments and made typedefs exist per file.
rlabrecque 4750a2d
Updated GameServerInterfaces
rlabrecque 1371f0b
Updated for Steamworks 1.42
rlabrecque 0103d47
Updated for Steamworks 1.43
rlabrecque c3dbdb8
Update for 1.44, skipping SteamNetworkingSockets for now
rlabrecque 006f8e5
Fix attribute value parsing
rlabrecque c53c863
Ignore steamnetworkingsockets.h
rlabrecque 86d4a41
Update for Steamworks SDK 1.48
rlabrecque e728bbd
Add some support for steamnetworkingtypes.h
rlabrecque 4c196e1
Add support for isteamnetworkingutils.h
rlabrecque a70afd9
Add support for steamnetworkingsockets.h and steamdatagram_tickets.h
rlabrecque 9c9c6d3
Add game server versions of isteamnetworkingutils and isteamnetworkin…
rlabrecque 9db207d
Stop parsing isteamcontroller.h
rlabrecque 596ce6d
Update README and LICENSE
rlabrecque 948f95f
Correctly parse inline function definitions inside interfaces
rlabrecque 59e460e
Update for Steamworks SDK 1.52
rlabrecque 2701052
Update for Steamworks SDK 1.52 - sort-of handle non-callback enum con…
rlabrecque 3f97c62
Update for Steamworks SDK 1.55 - skip isteamdualsense.h
rlabrecque d1556c6
Add support for the new STEAM_CALLBACK_MEMBER_ARRAY macro
TwoPoint-AndyChappell a7d2cc8
Handle the static const int value within GetTicketForWebApiResponse_t
TwoPoint-AndyChappell 6f70e9c
Add SteamNetworkingMessages as a GameServer Interface
rlabrecque 9b6bb11
Add Any CPU support, inspired by @Chicken-Bones
Akarinnnnn 2f1c2e2
Merge remote-tracking branch 'origin/master' into anycpu-2
Akarinnnnn 4f9526c
Imporve Any CPU compatibility
Akarinnnnn a1a7e88
Pack steam natives we building against into AnyCPU package
Akarinnnnn 4795f76
Fix anycpu hook coverage and a typo.
Akarinnnnn e14303f
Changed when to check steam native requester. Fix indentation.
Akarinnnnn 68e72a4
Explain why not check platform at initialization stage.
Akarinnnnn b3fbffb
Fix most callback system related marshal issues.
Akarinnnnn f774554
Handle UTF-8 encoded headers better
Akarinnnnn 6094d28
Try add struct layout analysis, add type annotations
Akarinnnnn ae64db4
Attempt to make parser smarter
Akarinnnnn 838227c
Attempt to calculate total size of structs, part 3
Akarinnnnn ecedecc
Attempt to calculate total size of structs, part 4
Akarinnnnn b886410
Attempt to calculate total size of structs, attempt 5
Akarinnnnn 665fb11
[Feature] Implement struct field offset analysis.
Akarinnnnn cffcf04
Preparing use subtree instead of submodule
Akarinnnnn d1c5334
Add 'CodeGen/SteamworksParser/' from commit '665fb115a9182883457a6bb5…
Akarinnnnn 9409625
Make struct layout analysis work
Akarinnnnn 463c103
Add support to hack marshalling on demand
Akarinnnnn 58d170e
Hide const packsize, expose it by static readonly field instead
Akarinnnnn 118c264
Allow generator to ignore structs, clearify ambiguous type of `Field.…
Akarinnnnn 21ab2c9
Source geneator now generate both native function variant for packsiz…
Akarinnnnn 7656460
Source generator now generate both variant of packsize aware struct.
Akarinnnnn 720e3e9
Generated code not work, need fix.
Akarinnnnn b05bb82
Fixed constant value confliction by ignore a problemtic file.
Akarinnnnn 245f934
Fix steam headers parser for ignoring `SteamParamStringArray_t::m_ppS…
Akarinnnnn 43f1cee
Fix `Callback<T>` doesn't marshal Any CPU correctly.
Akarinnnnn a9a9c94
Make SrcGen can generate Any CPU interface wrapper.
Akarinnnnn 7e3f73b
Fixed pack-size aware typed parameter array generation.
Akarinnnnn 45735fa
Regenerate native imports with array fix.
Akarinnnnn db34fd9
Merge remote-tracking branch 'origin/master' into anycpu-packable-fix…
Akarinnnnn 144b998
Fix gameserver interfaces generation
Akarinnnnn a2b4d15
All Steam interface wrappers seems work.
Akarinnnnn c3e001b
Regenerate steam interface wrappers.
Akarinnnnn 205f2ce
Fix array parameter usage of packsize aware structs.
Akarinnnnn 34f1c9b
add a github workflow to pack and push nuget package
ryan-linehan 58372e6
update workflow to take inputs for version and publishing
ryan-linehan 70d6595
update action name
ryan-linehan b4f588c
add tag versioning for publishing nuget package + add approver step f…
ryan-linehan 9accc2c
default version to 0.0.0 so build can still run on push
ryan-linehan 9dce2a3
remove branch trigger on push to + utilize proper variable syntax for…
ryan-linehan c0a00b5
Add workflow for packing and publishing steamworks Steamworks.NET.Any…
Akarinnnnn 7837299
Merge remote-tracking branch 'upstream/master' into anycpu-packable-f…
Akarinnnnn f74fd46
Merge upstream changes.
Akarinnnnn a69c39c
include STEAMWORKS_WIN constant
ryan-linehan 3f496ea
add a fix to dynamically load assembly on windows
ryan-linehan 83b6901
Revert adding of macro `STEAMWORKS_WIN`
Akarinnnnn 9537d42
Changed the time to hook dll loading.
Akarinnnnn 041d48d
Move loader hook fix to source generator's template.
Akarinnnnn e32c435
Change the place of DLL resolve hook (#6)
Akarinnnnn 584dfee
Fix anycpu large pack native function was leak.
Akarinnnnn f87d28f
Fix non-anycpu variant uses anycpu wrapper
Akarinnnnn 4eef453
Regenreate to fix AnyCPU wrappers leak.
Akarinnnnn 8b21508
update sendsignal to be pack aware with manual edits
ryan-linehan 01d6df4
Move loader hook fix to source generator's template.
Akarinnnnn a1520ae
update structs.py to include SteamNetConnectionInfo_t as a sequential…
ryan-linehan 0484eda
update send signal template to be pack size aware
ryan-linehan 5db56bb
update nativemethods.txt to have pack aware dll import
ryan-linehan b93ba43
Fix packsize aware struct nested in pack aware struct.
Akarinnnnn 6e89074
Create bug report template
Akarinnnnn 924a234
Create bug report template (#11)
Akarinnnnn d1aea9d
SendSignal fixes without changing generated files (#9)
Akarinnnnn ce4f0d1
Show pack and size of structs by C++
Akarinnnnn b2f6812
Pull from latest contributions
Akarinnnnn 02a0b05
Merge branch 'sendsignal_gen_fixes' into anycpu-packable-fix-align-by…
Akarinnnnn 0cef5c3
Merge branch 'anycpu-packable-fix-align-by-conditionalmarshal' of htt…
Akarinnnnn e00131c
Merge branch 'anycpu-2' into anycpu-packable-fix-align-by-conditional…
Akarinnnnn b3c8e99
Commit parser to be merged to packable branch
Akarinnnnn eecc2f5
Merge branch 'sendsignal_gen_fixes' into anycpu-packable-fix-align-by…
Akarinnnnn c801a1f
Try to analyze structs like CGameID
Akarinnnnn 6467bd2
Add an comparer to official generated data.
Akarinnnnn e3fdc5e
Revert class parsing and fixed array related field handling
Akarinnnnn a307b6f
Fix invalid escape sequence warnings by converting regex patterns to …
ropemonkey 9c01d44
Simplify marshal fix review (#12)
Akarinnnnn 10346f4
Merge branch 'anycpu-2' into anycpu-packable-fix-align-by-conditional…
Akarinnnnn e0a11ea
Add a advanced script to test parser's pack-awareness
Akarinnnnn bddb1b1
Regenerate after struct field scan algorithm update
Akarinnnnn c49991e
Merge branch 'anycpu-packable-fix-align-by-conditionalmarshal' of htt…
Akarinnnnn ea71f9e
Changed DllImportResolver hack to allow searching .so etc. in assembl…
Akarinnnnn dd32b50
Fixed old win64 steam native resolve logic
Akarinnnnn 30b0ac9
Fix large pack structs weren't being used
Akarinnnnn 288f658
Merge upstream SteamworksParser changes
Akarinnnnn 9523093
Minor misc changes
Akarinnnnn 671a180
Add missing "lib" prefix to native resolve logic
Akarinnnnn c2439a3
Fix Godot loading compatibility
Akarinnnnn 6165318
Fix pack size related marshal issues.
Akarinnnnn 89a6fc8
Bind to Steamworks SDK v1.63
Akarinnnnn 24f96fe
Sync upstream with new target: Steamworks SDK v1.63 (#14)
Akarinnnnn b67c13c
ver 2025.163.1-a
Akarinnnnn bc04e33
NuGet package and metadata changes (#15)
Akarinnnnn 06ac09e
Bump Steamworks SDK to v1.64
Akarinnnnn c857136
Upgrade Steamworks SDK to v1.64 (#17)
Akarinnnnn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFramework>net8.0</TargetFramework> | ||
| <RootNamespace>Steamworks</RootNamespace> | ||
| <RepositoryType>git</RepositoryType> | ||
| <DefineConstants>STEAMWORKS_LIN_OSX;STEAMWORKS_X64;STEAMWORKS_ANYCPU</DefineConstants> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Label="Nuget PM"> | ||
| <GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
| <!-- Once Any CPU get merged, remove next line to restore package ID to Steamworks.NET. --> | ||
| <PackageId>Steamworks.NET.AnyCPU</PackageId> | ||
| <Authors>rlabrecque</Authors> | ||
| <!-- | ||
| Version is specified by build commandline, -p:Version=2025.8.18 | ||
| <PackageVersion>15.0.1</PackageVersion> | ||
| --> | ||
| <PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
| <PackageProjectUrl>https://github.com/rlabrecque/Steamworks.NET</PackageProjectUrl> | ||
| <RepositoryUrl>https://github.com/rlabrecque/Steamworks.NET.git</RepositoryUrl> | ||
| <PackageReadmeFile>README.md</PackageReadmeFile> | ||
| <IncludeSymbols>true</IncludeSymbols> | ||
| <SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <Compile Include="../com.rlabrecque.steamworks.net/Runtime/**/*.cs" LinkBase="src" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <None Include="..\Standalone\README.md" Link="README-standalone.md" Pack="true" PackagePath="docs/README-standalone.md" /> | ||
| <None Include="..\README.md" Link="README.md" Pack="true" PackagePath="README.md" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| | ||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| # Visual Studio Version 16 | ||
| VisualStudioVersion = 16.0.29009.5 | ||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steamworks.NET", "Steamworks.NET.csproj", "{F34F403D-1D4D-4DC6-BBAE-DA31190EC88C}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {F34F403D-1D4D-4DC6-BBAE-DA31190EC88C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {F34F403D-1D4D-4DC6-BBAE-DA31190EC88C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {F34F403D-1D4D-4DC6-BBAE-DA31190EC88C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {F34F403D-1D4D-4DC6-BBAE-DA31190EC88C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(ExtensibilityGlobals) = postSolution | ||
| SolutionGuid = {EDFD04E1-5140-4A08-9F0B-3BE1A9B58AE6} | ||
| EndGlobalSection | ||
| EndGlobal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.