Giter Club home page Giter Club logo

x4_ors's Introduction

X4: Foundations - Own Radio Stations

This mod makes it possible for players to listen to their favorite music during gameplay in X4: Foundations. Before this mod, the only way (the old-school) to do this was to mute the game, and start Winamp (or similar program) in the background. The fully playable mod can be dwonloaded from https://www.nexusmods.com/x4foundations/mods/544

Pros of using this mod vs the old-school solution

  • In-game happenings affect the music (eg. speech and player state changes)
  • The game doesn't need to be muted
  • Easy music change during gameplay (the mod uses hotkeys, instead of requiring the user to Alt-Tab out of the game)

Source code

This repository contains the full source code of the mod.

  • __lua__ directory: contains the the in-game LUA script (same as in the actually playable mod), which manages the Playback Controller Application, keeps the game background music muted, and hooks the X4 Sound Options menu. Windows-only!
  • __md__ directory: contains the the in-game X4: Foundations Mission Director script (same as in the actually playable mod), which triggers the LUA script, to keep the mod operational; and also allows the user to change the key bindings from the Extension Options (SN Mod Support APIs) menu.
  • __player__ directory: contains the Free Pascal source code of the Playback Controller Application, which does the actual music playback. Compile with Lazarus for 64-bit target. Windows-only!

x4_ors's People

Contributors

jupiterkasparov avatar

Watchers

 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.