Skip to content

Commit c74c76f

Browse files
Project.xml Improvements, No Preload & OpenAL Fixes
1 parent 40cbf8c commit c74c76f

28 files changed

+76
-817
lines changed

Project.xml

Lines changed: 41 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,76 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<project>
3+
<!-- _________________________ Application Settings _________________________ -->
4+
35
<app title="Friday Night Funkin': ALE Psych" file="ALEPsych" packageName="com.alejogdofficial.alepsych" package="com.alejogdofficial.alepsych" main="Main" version="0.1.0" company="AlejoGDOfficial" />
46

57
<set name="APP_ID" value="0x0100f6c013bbc000" />
68

79
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB"/>
810

9-
<app preloader="flixel.system.FlxPreloader" />
10-
1111
<set name="SWF_VERSION" value="11.8" />
1212

13+
<!-- _____________________________ ALE Defines _______________________________ -->
14+
1315
<define name="MODS_ALLOWED" if="desktop" />
16+
1417
<define name="HSCRIPT_ALLOWED" if="desktop" />
18+
1519
<define name="LUA_ALLOWED" if="desktop" />
20+
1621
<define name="DISCORD_ALLOWED" />
17-
<define name="PSYCH_WATERMARKS"/>
22+
1823
<define name="VIDEOS_ALLOWED" if="windows || linux || android" unless="32bits"/>
1924

20-
<section if="officialBuild">
21-
<define name="TITLE_SCREEN_EASTER_EGG"/>
22-
</section>
25+
<define name="CRASH_HANDLER" if="desktop"/>
26+
27+
<define name="CHECK_FOR_UPDATES" if="desktop"/>
28+
29+
<!-- ____________________________ Window Settings ___________________________ -->
2330

2431
<window width="1280" height="720" fps="120" background="#000000" hardware="true" vsync="false" />
2532

2633
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" vsync="false"/>
2734

2835
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" resizable="false"/>
2936

30-
<set name="BUILD_DIR" value="export/debug" if="debug" />
31-
<set name="BUILD_DIR" value="export/release" unless="debug" />
32-
<set name="BUILD_DIR" value="export/32bit" if="32bits" />
33-
34-
<classpath name="source" />
35-
36-
<define name="CRASH_HANDLER" if="desktop release" />
37+
<!-- _____________________________ Path Settings ____________________________ -->
3738

38-
<assets path="assets/fonts" />
39-
<assets path="assets/shared" exclude="*.ogg" if="web"/>
40-
<assets path="assets/shared" exclude="*.mp3" unless="web"/>
41-
<assets path="assets/videos" library="videos" if="VIDEOS_ALLOWED"/>
42-
<assets path="assets/songs" library="songs" exclude="*.ogg" if="web"/>
43-
<assets path="assets/songs" library="songs" exclude="*.mp3" unless="web"/>
44-
<assets path="assets/week_assets" library="week_assets" rename="assets" exclude="*.ogg" if="web"/>
45-
<assets path="assets/week_assets" library="week_assets" rename="assets" exclude="*.mp3" unless="web"/>
39+
<set name="BUILD_DIR" value="export/debug" if="debug"/>
40+
<set name="BUILD_DIR" value="export/release" unless="debug"/>
41+
<set name="BUILD_DIR" value="export/32bit" if="32bits"/>
4642

47-
<library name="videos" preload="true" if="VIDEOS_ALLOWED"/>
48-
<library name="songs" preload="true" />
49-
<library name="week_assets" preload="true" />
43+
<source path="source"/>
5044

51-
<define name="CHECK_FOR_UPDATES" if="desktop officialBuild"/>
45+
<assets path="assets"/>
46+
47+
<assets path="mods" embed="false"/>
5248

53-
<section if="MODS_ALLOWED">
54-
<assets path='mods' rename='mods' embed='false'/>
55-
</section>
49+
<!-- _______________________________ Libraries ______________________________ -->
5650

5751
<haxelib name="flixel" />
5852
<haxelib name="flixel-ui" />
5953
<haxelib name="flixel-addons" />
60-
<haxelib name="tjson" />
6154

6255
<haxelib name="linc_luajit" if="LUA_ALLOWED"/>
56+
6357
<haxelib name="SScript" if="HSCRIPT_ALLOWED"/>
58+
6459
<haxelib name="hxvlc" if="VIDEOS_ALLOWED"/>
60+
6561
<haxelib name="hxdiscord_rpc" if="DISCORD_ALLOWED"/>
62+
6663
<haxelib name="flxanimate"/>
64+
65+
<haxelib name="tjson" />
66+
67+
<haxelib name="hxcpp-debug-server" if="debug"/>
68+
69+
<!-- ______________________________ Haxe Defines _____________________________ -->
6770

6871
<haxedef name="DISCORD_DISABLE_IO_THREAD" if="hxdiscord_rpc" />
6972
<haxedef name="NO_PRECOMPILED_HEADERS" if="linux" />
7073

71-
<haxelib name="hxcpp-debug-server" if="debug"/>
7274
<haxedef name="HXC_LIBVLC_LOGGING" if="VIDEOS_ALLOWED debug" />
7375

7476
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
@@ -92,10 +94,19 @@
9294

9395
<haxedef name='no-deprecation-warnings' />
9496

97+
<!-- ______________________________ Application Icon ______________________________ -->
98+
9599
<assets path='art/iconOG.png' rename='icon.png' if="linux" />
96100

97101
<icon path="art/icon16.png" size='16'/>
98102
<icon path="art/icon32.png" size='32'/>
99103
<icon path="art/icon64.png" size='64'/>
100104
<icon path="art/iconOG.png" />
105+
106+
<!-- ______________________________ ALSoft Config ______________________________ -->
107+
108+
<section if="desktop">
109+
<assets path="alsoft.txt" rename="plugins/alsoft.ini" type="text" if="windows"/>
110+
<assets path="alsoft.txt" rename="plugins/alsoft.conf" type="text" unless="windows"/>
111+
</section>
101112
</project>

alsoft.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[general]
2+
sample-type=float32
3+
stereo-mode=speakers
4+
stereo-encoding=panpot
5+
hrtf=false
6+
cf_level=0
7+
resampler=fast_bsinc24
8+
front-stablizer=false
9+
output-limiter=false
10+
volume-adjust=0
11+
[decoder]
12+
hq-mode=false
13+
distance-comp=false
14+
nfc=false
-88 KB
Binary file not shown.

0 commit comments

Comments
 (0)