Code Monkey home page Code Monkey logo

opensmce_converter's People

Contributors

jakubg1 avatar lottieratworld avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lottieratworld

opensmce_converter's Issues

Fix case sensitivity on Linux

Currently, in both the shell and the Python script, we transform certain map names so that their case matches. This is required as file/directory names on Linux are case-sensitive, unlike on Windows. However, the solution is hacky and works only for the set of maps that both Luxor and Luxor: Amun Rising provides. The problem is there is a virtually infinite number of mods for these games that we want to support, and each provides their own map names with potentially their own case mismatches. This makes the current solution not feasible in the long run.

The solution would be to scan the maps folder (or the level files) for all of the map names, and whenever that map name appears in any path - regardless of case - it should be replaced with the exact name from that list.

The reason why we are not going to just bring all file names and paths in files to lowercase is because it looks ugly and hard to read, especially when considering that the map names almost always consist of several words.

Do something with installing Pillow package

In order for the converter to work, Python needs Pillow, which is an image toolset library, and that does not come preinstalled with Python. This means that the user has to download Pillow using a package manager. So, for convenience, it is installed automatically, without even prompring the user.

The Python Package Index is not fully safe though; it contained quite a lot of malicious packages. If the Pillow library were to be compromised, its automatic installation could pose serious threats to the end user.

That's why automated installation is going to be removed.
Possible solutions are:

  • Let the user manually install the package
  • Prompt before installing the package in the actual script (I think this would be more user-friendly)

Remove sound event name mappings

The sound event mappings should be converted 1:1 instead of pointless name changes. All sound event references should be configurable in the engine itself, and in the appendix, provide names to the hardcoded sound event names used by Luxor.

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.