Error exporting assets for (new?) maps
DevRuto opened this issue · 4 comments
DevRuto commented
Error exporting (new?) maps, particularly kz_11735,kz_atectasis,kz_cdr_myst,kz_cdr_mysterious,kz_cdr_slash,kz_comboya,kz_morestairs,kz_oloramasa,kz_quadrant_fix,kz_smallmap,kz_yoink
`
<title>500: InternalServerError</title>500: InternalServerError
Request:http://localhost:39281/maps/kz_yoink/index.json
Message:
Static prop version 11 is not supported.
Ziks.WebServer.ControllerActionException: Static prop version 11 is not supported. ---> System.NotSupportedException: Static prop version 11 is not supported.
at SourceUtils.ValveBsp.StaticProps.EnsureLoaded() in C:\Users\James\Documents\GitHub\SourceUtils\SourceUtils\ValveBsp\StaticProps.cs:line 283
at SourceUtils.ValveBsp.StaticProps.get_PropCount() in C:\Users\James\Documents\GitHub\SourceUtils\SourceUtils\ValveBsp\StaticProps.cs:line 178
at SourceUtils.WebExport.Bsp.IndexController.GetIndexJson(String map)
at lambda_method(Closure , Controller )
at Ziks.WebServer.ControllerActionMap.TryInvokeAction(Controller controller, HttpListenerRequest request)
at Ziks.WebServer.Controller.Service(HttpListenerContext context, Session session)
--- End of inner exception stack trace ---
`Metapyziks commented
Thank you for reporting, I should be able to look into this today or tomorrow.
Metapyziks commented
Can reproduce on recently recompiled Valve maps too.
Metapyziks commented
Fixed in 60a4536
DevRuto commented
All the maps above mentioned now exports correctly except for kz_11735, giving this error
<title>500: InternalServerError</title>500: InternalServerError
Request:http://localhost:39281/maps/kz_11735/materials/matpage0.json
Message:
VTF format: I8
Ziks.WebServer.ControllerActionException: VTF format: I8 ---> System.NotImplementedException: VTF format: I8
at SourceUtils.ValveTextureFile..ctor(Stream stream, Boolean onlyHeader)
at SourceUtils.WebExport.Texture.Get(ValveBspFile bsp, String path)
at SourceUtils.WebExport.Bsp.MaterialController.GetPage(String map, Int32 index)
at lambda_method(Closure , Controller )
at Ziks.WebServer.ControllerActionMap.TryInvokeAction(Controller controller, HttpListenerRequest request)
at Ziks.WebServer.Controller.Service(HttpListenerContext context, Session session)
--- End of inner exception stack trace ---