4 Months Ago
Squash game-exporting branch Bring everything up to date Exit whole app in standalone mode Export option in Project menu CMaterialSystem2AppSystemDict uses struct for initialisation instead of parameters Custom steam app ID for standalone games Put steam appid field here for now - we might wanna rethink this later though would help if I labelled this correctly Init steamclient in standalone Explicit copy sounds Reject API access in Standalone (we should probably dependency inject this stuff, it'd be cleaner) Slightly better time estimate Generate .ico from thumbnail, try changing it on the exe Can't get this working no matter what, just corrupts the exe header, disable it Use correct exit function Get networking working, even if it's a bit hacky Move API into backends for standalone/platform, stub out standalone backend Standalone.Init() Get rid of LoadStandaloneGameAsync, roll diff into LoadGamePackageAsync Make a StandaloneGameInstance in standalone Remove all these file hacks so I'm forced to do something to fix them Fix file hacks Add missing sbox-standalone exe back to sln We only need to copy core/scripts/soundmixers.txt as far as I know Move gamecontrollerdb.txt into core/cfg/ Get rid of `IsCitizenEnabled` hack Don't override window title with gameinfo name, apply it nice and early when making app dict Can't think of any other way to filter out citizen assets, cuts down build by 1.8gb(!) so we'll have to live with this for now Copy all compiled assets from enabled addons again, because sometimes they'll be referenced at runtime even though they're not in a dependency tree Rebase fixes Standalone config / wizard changes: - Can either export standalone or publish to sbox.game, but not both - Add dialog warning about no whitelist, sbox.game access - Export step is similar to sbox.game upload rather than being its own thing - Tell people not to distribute their games or anything - Remove AppID, Icon entries for now Remove logs Respect desired executable name Delete IconChanger, it don't work