Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
oops we revert cuz hxCodec is broken on linux i guess :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Leather128 committed Jun 12, 2022
1 parent 8583e67 commit ab7fa16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
2 changes: 0 additions & 2 deletions Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ hscript
discord_rpc
polymod
linc_luajit
hxCodec
```
So for each of those type `haxelib install [library]` so shit like `haxelib install polymod 1.5.2`

Expand All @@ -32,7 +31,6 @@ You'll also need to install a couple things that involve Gits. To do this, you n
2. Follow instructions to install the application properly.
3. Run `haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc` to install Discord RPC.
4. Run `haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit` to install Linc_LuaJIT (lua stuff, only desktop tho).
5. Run `haxelib git hxCodec https://github.com/polybiusproxy/hxCodec.git` to install hxCodec (required for playing videos lol).

You should have everything ready for compiling the game! Follow the guide below to continue!

Expand Down
6 changes: 1 addition & 5 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<assets path="assets/preload" rename="assets" exclude="*.mp3" unless="web"/>

<!-- LEATHER ENGINE CUSTOMIZATION -->
<define name="VIDEOS_ALLOWED" if="web || windows || linux" unless="32bit"/>
<define name="VIDEOS_ALLOWED" if="web || windows" unless="32bit"/>

<assets path="mods" embed="false" exclude="*.ogg" if="web"/>
<assets path="mods" embed="false" exclude="*.mp3" unless="web"/>
Expand Down Expand Up @@ -115,7 +115,6 @@

<haxelib name="discord_rpc" if="desktop"/>
<haxelib name="linc_luajit" if="desktop"/>
<haxelib name="hxCodec" if="VIDEOS_ALLOWED"/>

<!-- ______________________________ Haxedefines _____________________________ -->

Expand Down Expand Up @@ -158,9 +157,6 @@
<icon path="art/icon64.png" size='64'/>
<icon path="art/iconOG.png" />

<!-- Show debug traces for hxCodec -->
<haxedef name="HXC_DEBUG_TRACE" if="debug" />

<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
<!-- <haxedef name="NG_LOGIN" if="newgrounds" /> -->
</project>
3 changes: 1 addition & 2 deletions building/install_libraries.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ haxelib install flixel-ui
haxelib install hscript
haxelib install polymod 1.5.2
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit
haxelib git hxCodec https://github.com/polybiusproxy/hxCodec.git
haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit
3 changes: 1 addition & 2 deletions building/install_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ haxelib install flixel-ui
haxelib install hscript
haxelib install polymod 1.5.2
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit
haxelib git hxCodec https://github.com/polybiusproxy/hxCodec.git
haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit
6 changes: 2 additions & 4 deletions building/linux_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
Packages needed:
- luajit (sudo apt install luajit) (For Lua Functions)
- libvlc-dev (sudo apt-get install libvlc-dev) (For Video Playback)
- libvlccore-dev (sudo apt-get install libvlccore-dev) (For Video Playback)
You need the 'luajit' package to run the game correctly (at least on Ubuntu).
Basically if you get an error about lua stuff, try installing it with your package manager (something like 'sudo apt install luajit')

0 comments on commit ab7fa16

Please sign in to comment.