offyerrocker / PD2-AdvancedCrosshairs

Advanced Crosshairs and Hitmarkers mod for PAYDAY 2
GNU General Public License v3.0
6 stars 1 forks source link

Game crashes when I use my custom crosshair #9

Open neo42O69 opened 3 days ago

neo42O69 commented 3 days ago

ACH Addons.zip Here's my ACH Addons folder (from PAYDAY 2/mods/saves) I compressed the pictures to .dds with the program you provided in the guide and then renamed the file type to .texture crash.txt below: Application has crashed: C++ exception (@IDbf7585933639b68d@, @IDbf7585933639b68d@)Has an unrecognized DDS file type.


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_error_init                                      
     payday2_win32_release  (???)     zip_error_init                                      
                  KERNEL32  (???)     BaseThreadInitThunk                                 
                     ntdll  (???)     RtlInitializeExceptionChain                         
                     ntdll  (???)     RtlClearBits                                        

Current thread: Renderer


System information: Application version : 1.143.246 CPU : 13th Gen Intel(R) Core(TM) i9-13900H (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2 DirectX : 12.0 GPU : NVIDIA GeForce RTX 4060 Laptop GPU / nvldumd.dll[32.0.15.6603] Language : english Memory : 16008MB 260KB OS : 6.2.9200 () 0x100-0x1 (64 bits) Physics : threaded Renderer : DX9 threaded Sound : Realtek Semiconductor Corp. (Наушники (Realtek(R) Audio))

offyerrocker commented 2 days ago

It looks like your crosshair image is compressed with incorrect settings, and is missing an alpha channel. It's in .dds format, but there are a variety of different compression settings when saving as a .dds file. Try saving as DXT3 (explicit alpha) or DXT5 (interpolated alpha).