MSRevive / MSRevive/map-sources

Linux builds CRASH due to specific maps.

Open
#71 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Some maps contain filepath references that are at odds with the standard that Linux expects, while Windows is more flexible. These map's sources must be changed to fix all problematic filepath references. This can include wrong-way slashes ( / vs \ ) and incorrect capital letters. Affected entities are ANY entity that can reference a filepath, which can be through various key/value pairs as well.

E.G. 2 types of crashing errors in an ambient_generic entity filepath from the Kroush source:
Image

I do not run a Linux build myself so I am not aware of all the crashing maps. Due to the tedious nature of combing through map's many many entities, I think that a scripted solution could be a good avenue to fix this. .map and .rmf files are saved directly as plaintext, and could be trivial to parse through for these errors. Any .jmf source that we do have should be re-saved as .map or .rmf .

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the repository's .map and .rmf sources, along with any available .jmf files, for filepath references in entity key/value pairs. Compare slash direction and capitalization against Linux expectations, then verify that affected maps no longer trigger filepath-related crashes in a Linux build.

Written by the indexing model from the issue text.

Assessment

Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.