Code Monkey home page Code Monkey logo

bs2pc's People

Contributors

triang3l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bs2pc's Issues

BSP to BS2 conversion problems

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:

  1. 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.

  2. 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).

  3. I don't know if it is normal, but BS2PC gives this error during conversion of Blue Shift map "ba_power2.bsp".
    image

  4. 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".
    image

It all ends with this exception.
image

Then I applied this quick hack, it allows to complete map conversion.
image

But there are still some checkerboarded textures in resulting map. Examples:
image
image
image

c2a3c PS2->PC incorrect surfedge used for face

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.