From e649ec13bfaf27c511846ad731640dee6ccb1b72 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Mon, 19 Aug 2019 20:04:17 -0400 Subject: [PATCH] Fix emitter samplers for switch ptcl --- .vs/Toolbox/v15/.suo | Bin 773120 -> 773120 bytes .../FileFormats/Effects/PCTL.cs | 2 ++ 2 files changed, 2 insertions(+) diff --git a/.vs/Toolbox/v15/.suo b/.vs/Toolbox/v15/.suo index b1bd8735547dce83c36f131e3412b957579dacf8..d0a56ad2001ed490f905a42fba3e3933a3143aff 100644 GIT binary patch delta 1496 zcmbW0e@vBC7{@u!`SHH@+vnYLzVCD1 z_j%4a-@3hNb$ipA)8~Z!GhAU|Njf$)L!nS;SY{fj*`{gI?9fzcYBZBIQ#4aG)7xM9 zg-O@Cu8V!AtKc^-J=e3&>rfdkR&=`79eSS?y;*yPYR|C76IM|N3md6dZ4blx0Gz}X zt6?hsS`Hm}E681RtsL$Ex_ZDtt*arq{!tR09)PV*_c5Ut|2?{NJYL7M`|*B}=)#s` z5RL;(q|l7tVFi~?-NJNi{YF;UnGCSt6wE?TELXG`xZi!FO+M5%p@CS|f7 z2leb@8Sy?dT7lig1in?l)A3*u&!Y`)^$x?}SW%9PqoJIF=UBS*nXxLuzRXO_@bLod zeOe`<|4E&FAz96Lbb7h|BUpOAFkPMF_Enu&dYmu8n@9L)dM#5m^P>*{eC9M|**BQm z?$*szt%Gss*#&X5V3s;>*!P%)iHpR13=TmQE(pO)Iy7IEF?*23`pkv8&_OORcaccL zwjq52^YT?d+R-4;AL6>#LUo1Pv7oSh2d~8ZZ4mA~04a2QsVZXFdza0{O=npw701J2 zj_f3F!MDEyCw}%GWYfSh6~{W`gc207Tn$S5DPj4{7nHEm_4n)NFgL}oQhg3P6LjIT zLV72Y@P>oR5usu693C(jgX}y@M0h6i)0!-3?om$X7nU-CpB$^>NE_biUMq1E-m!^ z2y^L}WvpPhb3e?%HwuM|o^ONW90Luo3!R_p`da#73VrJ|CNW}u2uZx&3P`OH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Nk z7l^pc{hybm>Q}CGQ3@$C-b%ZPU>e}G0eXDm{{67A6q5IjX__3n){9vZIOw|>Q-Z0m_@5y(fi~c`lrnt zd#Ne|BXMVk5r>yf8DSxA*GExvvx;(D5l*Mmu_32);uoUDdAg0clic>SqOI%KXQsQe z9ZSFJ?J>xUkt`iX)C7%pWaUXCmY{95;g6S38Pgh$><^iU5|$Zdf8D+;ZFOc^u4~Kx R%tRKiGjHT_<4=ZX{4WgoG5P=i diff --git a/File_Format_Library/FileFormats/Effects/PCTL.cs b/File_Format_Library/FileFormats/Effects/PCTL.cs index 1cbd55c4..080f280d 100644 --- a/File_Format_Library/FileFormats/Effects/PCTL.cs +++ b/File_Format_Library/FileFormats/Effects/PCTL.cs @@ -1206,6 +1206,8 @@ namespace FirstPlugin SetType(Color1KeyCount != 0, Color1Array, 1, false); SetType(Alpha1KeyCount != 0, Color1AlphaArray, 1, true); + reader.Seek(Position + 2464, SeekOrigin.Begin); + for (int i = 0; i < 3; i++) { SamplerInfo samplerInfo = new SamplerInfo();