Coder Social home page Coder Social logo

spencerlyeverly / lunalua Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wohlsoft/lunalua

1.0 0.0 0.0 92.86 MB

LunaLua - LunaDLL with Lua, is a free extension for SMBX 1.3 game engine, core of the X2 project.

Home Page: https://wohlsoft.ru/projects/LunaLua/

License: GNU General Public License v3.0

Shell 0.01% JavaScript 0.02% C++ 69.77% Perl 0.01% C 24.11% Lua 2.53% Assembly 0.02% CSS 0.02% Makefile 0.01% CMake 0.04% Roff 0.83% Python 2.64%

lunalua's Introduction

LunaLua

Build status

LunaLua - LunaDLL with Lua is a free extension for SMBX game engine This version is based on LunaDLL ver. 8 with Lua Support.

Quick Overview

Features:

  • Increasing of total performance
  • Fixes of some bugs
  • npc-*.txt with decimal numbers will no more crash SMBX with "runtime error 13"
  • fixes a random crash caused by contacting of the mushrooms with a lava blocks
  • OpenGL render support
  • SMBX's audio engine has been replaced with the better and more flexible SDL2_mixer library which also gives to SMBX the internal support of a lots of additional music formats
  • Added PGE's sounds.ini and music.ini support which gives ability to have custom musics (include world map musics!) and custom sound effects per episode.

Download links

Requirements to build LunaLua yourself

Visual Studio 2015 (msvc140 compiler) or Clang 14

Building LunaLua on Linux

The CrossCompilation folder is a modified version of https://github.com/Nemirtingas/clang-msvc-sdk.

Setting up headers and libs

  • Install Visual C++ build tools 2015 and Windows SDK v7.1A (either on Windows or on Wine)
  • Copy all files and folders from Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/ to CrossCompilation/msvc/include/
  • Copy all files and folders from Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt/ to CrossCompilation/winsdk/Include/v7.1A/ucrt/
  • Copy all files and folders from Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Include/ to CrossCompilation/winsdk/Include/v7.1A/um/
  • Copy all files from Program Files (x86)/Microsoft Visual Studio 14.0/VC/lib/ to CrossCompilation/msvc/lib/x86/
  • Copy all files from Program Files (x86)/Windows Kits/10/Lib/10.0.10240.0/ucrt/x86/ to CrossCompilation/winsdk/Lib/v7.1A/ucrt/x86/
  • Copy all files from Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Lib/ to CrossCompilation/winsdk/Lib/v7.1A/um/x86/

Compiling the project

Just run make in the CrossCompilation folder

NB: If you're using clangd and only want to generate compile commands, run make compile_commands.json in the CrossCompilation folder.

Note for Qt Creator IDE

If you wish you edit code via Qt Creator, you still must have Visual Studio because MSVC compiler is required. How to setup building from Qt creator

  • Open project and configure it
  • Go to the "Projects" tab
  • Disable shadow build for both Debug and Release
  • remove ALL items from "Building" and "Cenaring" sections
  • Add into "Building" a special item with: ** Command "build.bat" ** Argument "Debug" for debug build and "Release" argument for release build
  • Add into "Clearing" a special item with "clear.bat" command
  • Try to build project. If you have "MSBuild" in another path, please modify build.bat to take working build!

lunalua's People

Contributors

bluenaxela avatar kevinw1998 avatar wohlstand avatar saturnyoshi avatar supermario1313 avatar hoeloe avatar enjlectric avatar mrdoublea232 avatar lunadll avatar spencerlyeverly avatar krazybluemonkey avatar

Stargazers

 avatar

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.