Giter VIP home page Giter VIP logo

ltjs's Introduction

LTJS (LithTech Jupiter System)

A source port of LithTech Jupiter engine.

WARNING This is a work-in-progress project!

Currently supported games:

  • No One Lives Forever 2 (v1.3)

ltjs's People

Contributors

bibendovsky 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ltjs's Issues

Weird mouse movement

Did anyone realize that, in high polling rate, mouse movements seens weird ? Like making a wave ?

Must to use VS2017?

I'm using Visual Studio 2015, but there is too many ERRORs.
So, compling it must to use VS2017?

Cmake - cannot find OpenAL

With the following,

PS C:\Users\$User\Code> cmake --version
cmake version 3.12.3

PS C:\Users\$User\Code> cmake .\ltjs\

I get

-- Building for: Visual Studio 15 2017
-- The CXX compiler identification is MSVC 19.15.26730.0
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.12/Modules/FindOpenAL.cmake:96 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  engine/runtime/sound/src/sys/s_oal/CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/$User/Code/CMakeFiles/CMakeOutput.log".

Has this version been stable yet?

I can't find any upgrade, and suddenly I found yours, so I wanted to use it to make some things...... So is it stable? Thank you very much!
What is the difference between OpenGL, Develop, and Master?

FFmpeg not compiling due missing libraries and undefined references to ffmpeg.

Hello. When I'am building this project through MinGW it fails with:

Missing FFmpeg libraries:
    - ffmpeg-4.1-win32-dev/lib/libavformat.a
    - ffmpeg-4.1-win32-dev/lib/libavcodec.a
    - ffmpeg-4.1-win32-dev/lib/libavutil.a
    - ffmpeg-4.1-win32-dev/lib/libswresample.a
    - ffmpeg-4.1-win32-dev/lib/libswscale.a

*** FFmpeg not found ***

Building with CLion: CLion\ch-0\183.4886.39\bin\cmake\win\bin\cmake.exe -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles"
MinGW64 - w64 6.0
CMake: 3.13.2

I downloaded "ffmpeg-4.1-win32-dev" from ffmpeg page When you select version 4.1 and win32 arch with dev linking.

The files are present in the directory but have additional suffix. For example instead of libavformat.a there is libavformat.dll.a. There are also .lib files.

When I remove the ".dll" from these files or set CMAKE_STATIC_LIBRARY_SUFFIX to .dll.a it will start compiling but fails with
(lines within close function)

engine/runtime/sound/src/ltjs_audio_decoder.cpp:104: undefined reference to `swr_free'
engine/runtime/sound/src/ltjs_audio_decoder.cpp:105: undefined reference to `avcodec_free_context'
engine/runtime/sound/src/ltjs_audio_decoder.cpp:106: undefined reference to `avformat_close_input'

and soo many other errors related to undefined reference.

I also tried the default ".lib" with

set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib")
set(CMAKE_STATIC_LIBRARY_PREFIX "")

It ends with undefined reference too.

There are my CMake variables:

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake)
set(CMAKE_PREFIX_PATH ${CMAKE_SOURCE_DIR}/build)
set(CMAKE_INSTALL_PREFIX ${CMAKE_SOURCE_DIR}/install)
set(CMAKE_STATIC_LIBRARY_SUFFIX ".dll.a")

set(SDL2_DIR ${CMAKE_SOURCE_DIR}/ThirtyParty/SDL2-2.0.9)
set(LTJS_SDL2_INCLUDE_DIR ${SDL2_DIR}/include)
set(LTJS_SDL2_LIBRARY_DIR ${SDL2_DIR}/lib/x86)
set(LTJS_SDL2_LIB_NAME SDL2)
set(LTJS_SDL2_MAIN_LIB_NAME SDL2main)

set(OpenAL_DIR ${CMAKE_SOURCE_DIR}/ThirtyParty/OpenAL1.1SDK)
set(OPENAL_LIBRARY ${OpenAL_DIR}/libs/Win32/OpenAL32.lib)
set(OPENAL_INCLUDE_DIR ${OpenAL_DIR}/include)

set(FFmpeg_DIR ${CMAKE_SOURCE_DIR}/ThirtyParty/ffmpeg-4.1-win32-dev)
set(LTJS_FFMPEG_LIBRARY_DIR ${FFmpeg_DIR}/lib)
set(LTJS_FFMPEG_INCLUDE_DIR ${FFmpeg_DIR}/include)

set(LTJS_USE_D3DX9 ON)
set(LTJS_USE_FFMPEG_VIDEO_MGR ON)
set(LTJS_USE_SAFE_SEH ON)
set(CMAKE_VERBOSE_MAKEFILE ON)
set(BIBENDOVSKY_SPUL_CMAKE_ENABLE_INSTALL ON)

Seems like it cannot resolve .cpp files. But it should take them from the libs.

Encountered a problem, ask for answers.

I use the original source code to run a single player game, after the first level, I can't load the map of the next level. The game was crashed...
I really can not find the problem, your Commit is too much, I can not look up one by one.
Please help me, thank you very much.

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.