triang3l / bs2pc Goto Github PK
View Code? Open in Web Editor NEWHalf-Life PlayStation 2 map converter
Half-Life PlayStation 2 map converter
Hello, Triang3l. Your map converter is awesome but I have some problems with BSP to BS2 conversion. I don't know if you are aware of those issues, so I would just leave this list here:
Crashes on real PS2 (or red messages in PCSX2 "Program log" console). I found out that most of them are related to NPC movement. On start of first Half-life: Uplink map there are no crashes until Barney starts running to scientist or houndeye behind a door on the left is provoked.
Sometimes NPC's are unable to walk through their scripted path (Barney on anomalous materials entrance is not coming to open tram door, scientist can't walk through retractable bridge in the Blue Shift intro).
I don't know if it is normal, but BS2PC gives this error during conversion of Blue Shift map "ba_power2.bsp".
Texture fethching from some WAD's is broken. BS2PC just crashes during conversion if it tries to get textures from WAD.
I performed a little investigation. Problem is in "bs2pc_wad.c" file. It starts when "mid" variable has zero value. It causes underflow of "high" variable and then "mid" and "low" are updated with enormous values that derived from "high".
It all ends with this exception.
Then I applied this quick hack, it allows to complete map conversion.
But there are still some checkerboarded textures in resulting map. Examples:
Face 1576
has -2
as its first surfedge which corresponds to a vertex that makes no sense for the face. I mucked around with the BSP and it seems like -4144
should correspond to the correct vertex but setting it causes the face to seemingly disappear and I don't know enough about the BSP format to know why. This issue occurs with the latest version of BS2PC and the version before the full rework.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.