Skip to content

Instantly share code, notes, and snippets.

View Gavin-Williams's full-sized avatar

Gavin Williams Gavin-Williams

  • Canberra, Australia
View GitHub Profile
@Gavin-Williams
Gavin-Williams / gist:5cf295c10270bc345784
Created November 7, 2014 08:32
Build output for Paradox solution
1>------ Build started: Project: SiliconStudio.AssemblyProcessor.Common, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Mono.Posix". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1> SiliconStudio.AssemblyProcessor.Common -> E:\PRODUCTION\ParadoxSource\paradox\Bin\Windows-Direct3D11\SiliconStudio.AssemblyProcessor.Common.dll
2>------ Build started: Project: SiliconStudio.AssemblyProcessor, Configuration: Debug Any CPU ------
2> SiliconStudio.AssemblyProcessor -> E:\PRODUCTION\ParadoxSource\paradox\Bin\Windows-Direct3D11\SiliconStudio.AssemblyProcessor.exe
3>------ Build started: Project: SiliconStudio.Core, Configuration: Debug Any CPU ------
3> SiliconStudio.Core -> E:\PRODUCTION\ParadoxSource\paradox\Bin\Windows-Direct3D11\SiliconStudio.Core.dll
3>C:\Program Files (x86)
@Gavin-Williams
Gavin-Williams / gist:4d0cbd95d8c24000fa77
Created November 8, 2014 04:29
Crash log for Parodox GameStudio
Paradox Version: 1.0.0-beta02
GameStudio Version: 4
User: Gavin
Current Directory: E:\PRODUCTION\Paradox\GamePackages\Paradox.1.0.0-beta02\Bin\Windows-Direct3D11
Command Line Args:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
Inner exception type: ArgumentException
Inner exception message: An item with the same key has already been added.
StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
@Gavin-Williams
Gavin-Williams / Build Errors
Created November 26, 2014 13:15
Build errors after moving a project (with imported assets)
Error 1 Error while pre-loading package [G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.pdxpkg] G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.Windows\EXEC MoveProjectTest.Windows
Error 2 Error while pre-loading package [G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.pdxpkg] G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.Windows\EXEC MoveProjectTest.Windows
Error 3 Error while pre-loading package [G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.pdxpkg] G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.Windows\EXEC MoveProjectTest.Windows
Error 4 Error while pre-loading package [G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.pdxpkg] G:\MoveProjectTest\MoveProjectTest\MoveProjectTest.Windows\EXEC MoveProjectTest.Windows
Error 5 The command ""E:\PRODUCTION\Paradox\GamePackages\Paradox.1.0.0-beta05\Bin\Windows-Direct3D11\SiliconStudio.Assets.CompilerApp.exe" --platform=Windows --graphics-platform=Direct3D11 --profile=Windows --project-configuration=Debug --output-path="G:\MoveProjectTest\
@Gavin-Williams
Gavin-Williams / MoveProjectTest.pdxpkg
Created November 26, 2014 13:19
the pdxpkg file for a project that is moved after importing assets.
!Package
Id: fc268931-8169-4c96-9600-37e882664ea7
Tags: []
Meta:
Name: MoveProjectTest
Version: 1.0.0.0
Authors: []
Owners: []
RootNamespace: MoveProjectTest
Dependencies:
@Gavin-Williams
Gavin-Williams / ComputeColorTextureIndexed
Created December 3, 2014 21:59
Shader with implicit truncation of vector type warnings.
class ComputeColorTextureIndexed : ComputeColor
{
stage Texture2DArray TextureArray; // This will be available as 'ComputeColorTextureIndexed.TextureArray'
stage Texture2D VisibilityMap;
stage uint Ticks;
// stream values - available through pipeline stages
stage stream float3 Position : POSITION0;
stage stream float3 Normal : NORMAL;
stage stream float2 TexCoord : TEXCOORD0;
@Gavin-Williams
Gavin-Williams / ShaderLog
Created December 3, 2014 22:02
The log file for the shader demonstrating implicit truncation of vector type.
/***** Used Parameters *****
* EffectName: EffectMain
* CompilerParameters.DebugKey: True
* MaterialParameters.UseTransparentMask: False
* MaterialParameters.NormalMap: NullValue
* MaterialParameters.AmbientMap: NullValue
* Lighting.CastShadows: True
* CompilerParameters.GraphicsPlatformKey: Direct3D11
* MaterialParameters.AlbedoSpecular: NullValue
* CompilerParameters.GraphicsProfileKey: Level_11_1
Paradox Version: 1.0.0-beta09
GameStudio Version: 4
User: Gavin
Current Directory: C:\Users\Gavin\AppData\Local\Programs\Paradox\GamePackages\Paradox.1.0.0-beta09\Bin\Windows-Direct3D11
OS Version: Microsoft Windows NT 6.2.9200.0
Command Line Args:
Exception type: ReflectionTypeLoadException
Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
StackTrace: at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
@Gavin-Williams
Gavin-Williams / BlendStateSetup
Created March 14, 2015 15:25
Setting up BlendStates
// blend supporting transparency using Premultiplied Alpha
BlendState blendStateTransparencyPMA = new BlendState(device3d,
new BlendStateDescription()
{
AlphaToCoverageEnable = false,
IndependentBlendEnable = false,
});
blendStateTransparencyPMA.Description.RenderTarget[0] = new RenderTargetBlendDescription()
{
AlphaBlendOperation = BlendOperation.Add,
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'D:\PRODUCTION\Projects\1_SurveyOfGraphicsApps\WinRT_Cpp_Core_DirectX\Debug\WinRT_Cpp_Core_DirectX\AppX\WinRT_Cpp_Core_DirectX.exe'. Symbols loaded.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'WinRT_Cpp_Core_DirectX.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cr
@Gavin-Williams
Gavin-Williams / StoreAppOutput.txt
Created October 31, 2015 13:46
StoreAppOutput
Exception thrown at 0x75CA3E28 (KernelBase.dll) in Treasure Hunt.exe: 0x04242420 (parameters: 0x31415927, 0x745C0000, 0x00E5EA70).
Exception thrown at 0x75CA3E28 (KernelBase.dll) in Treasure Hunt.exe: 0x40080201: WinRT originate error (parameters: 0x8000000B, 0x00000040, 0x00E5DA98).
Exception thrown at 0x75CA3E28 (KernelBase.dll) in Treasure Hunt.exe: 0x40080201: WinRT originate error (parameters: 0x8000000B, 0x00000040, 0x00E5DA98).
info:get_LicenseInformation() invoked. (Windows::ApplicationModel::Store::CurrentAppFactory::get_LicenseInformation)
info:get_LicenseInformation() invoked. (Windows::ApplicationModel::Store::CurrentAppFactory::get_LicenseInformation)
info:get_LicenseInformation() invoked. (Windows::ApplicationModel::Store::CurrentAppFactory::get_LicenseInformation)
Exception thrown at 0x75CA3E28 (KernelBase.dll) in Treasure Hunt.exe: 0xE0434352 (parameters: 0x80131902, 0x00000000, 0x00000000, 0x00000000, 0x745C0000).
Exception thrown at 0x75CA3E28 (KernelBase.dll) in Treasure Hunt.exe: 0xE043