AtomicBool / cs2-map-parser

Parse vphys file (extract from vphys_c in VPK file) to triangles for visibility check via moller-trumbore algo
23 stars 10 forks source link

parsing new maps doesn't work properly #9

Open xiv1337 opened 1 day ago

xiv1337 commented 1 day ago

no i'm not talking about how you need to use vmdl_c, e.g train thinks its visible half way across the map (maybe some meshes are left out idk?)

AtomicBool commented 17 hours ago

no i'm not talking about how you need to use vmdl_c, e.g train thinks its visible half way across the map (maybe some meshes are left out idk?)

Does it happens often? I remember some meshes are missing mesh data like boxes in mirage A

xiv1337 commented 17 hours ago

yes, also the vphys parser doesnt like the other maps (crashes and doesnt generate data)

AtomicBool commented 16 hours ago

yes, also the vphys parser doesnt like the other maps (crashes and doesnt generate data)

So it crashes for train? I haven't play it for months but maybe it's happening to new maps? Or it crashes for most maps for your laptop?

xiv1337 commented 16 hours ago

it doesn't crash on vphys_c but when parsing vmdl it does and no im not on a laptop and my pc is good

AtomicBool commented 12 hours ago

it doesn't crash on vphys_c but when parsing vmdl it does and no im not on a laptop and my pc is good

This repo doesn't support VMDL format. There was a post about how to change source2viewer's code to export vphys from vmdl, simple copy-paste also works. However, I'll take a look at the issue with Train, updating the game rn