This repository was archived by the owner on Apr 23, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathProject.xml
More file actions
196 lines (147 loc) · 6.38 KB
/
Copy pathProject.xml
File metadata and controls
196 lines (147 loc) · 6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://lime.openfl.org/project/1.0.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/xsd/project-1.0.4.xsd">
<!-- Application Settings -->
<!-- Change things about the exported file, such as executable name or version number. -->
<!-- You likely will want to change these if you're making a source mod. -->
<app
title="Leather Engine"
file="LeatherEngine"
packageName="com.leather128.funkin"
package="com.leather128.funkin"
version="1.1.9"
company="leather128"
/>
<!-- LEATHER ENGINE CUSTOMIZATION -->
<!-- Comment out or delete a line to disable a feature. -->
<define name="VIDEOS_ALLOWED" /> <!-- Allows support for video files -->
<define name="DISCORD_ALLOWED" /> <!-- Allows support for Discord Rich Presence -->
<define name="MODDING_ALLOWED" /> <!-- Allows mod loading -->
<define name="MODCHARTING_TOOLS" /> <!-- Allows for Modcharting Tools to be used. -->
<define name="LUA_ALLOWED" /> <!-- Allows support for Lua scripting -->
<define name="HSCRIPT_ALLOWED" /> <!-- Allows support for Haxe scripting (HScript) -->
<define name="CHECK_FOR_UPDATES" /> <!-- Allows the game to connect to GitHub to check for an
update -->
<!--
Allows for all flixel classes to be used in scripts.
If you remove this it will HEAVILY speed up compile times, at the cost of limited class
availability in HScript.
-->
<define name="COMPILE_ALL_CLASSES" if="HSCRIPT_ALLOWED" />
<define name="CUSTOM_CLASSES" if="HSCRIPT_ALLOWED" /> <!-- Allows for custom classe to be used in
HScript -->
<!-- REMOVE this line to enable a 32 bit export. -->
<define name="BIT_64" unless="32bit" />
<!-- You can ignore the stuff below this line unless you know what you're doing -->
<app preloader="flixel.system.FlxPreloader" />
<!-- Window Settings -->
<!-- Change things about the game window like width and height. -->
<!-- These window settings apply to all targets .-->
<window
width="1280"
height="720"
background="#000000"
hardware="true"
vsync="false"
allow-high-dpi="true"
/>
<!-- Desktop-specific. -->
<window
if="desktop"
orientation="landscape"
fullscreen="false"
resizable="true"
vsync="false"
/>
<!-- Path Settings. -->
<assets path="assets/preload" rename="assets" />
<section if="MODDING_ALLOWED">
<assets path="mods" embed="false" />
</section>
<!-- Library settings -->
<define name="PRELOAD_ALL" />
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL" />
<section if="PRELOAD_ALL">
<library name="stages" preload="true" />
<library name="songs" preload="true" />
<library name="shared" preload="true" />
</section>
<section if="NO_PRELOAD_ALL">
<library name="stages" preload="false" />
<library name="songs" preload="false" />
<library name="shared" preload="false" />
</section>
<assets path="assets/songs" library="songs" />
<assets path="assets/stages" library="stages" />
<assets path="assets/shared" library="shared" />
<assets path="assets/preload/fonts" rename="assets/fonts" library="fonts" />
<assets path="CHANGELOG.md" rename='changelog.txt' />
<!-- https://github.com/FunkinCrew/Funkin/pull/3318 -->
<assets path="alsoft.ini" if="windows" />
<assets path="alsoft.ini" rename="alsoft.conf" unless="windows" />
<assets path="gamemode.ini" if="linux" />
<assets path="crash/bin/Crash-windows.exe" if="windows" rename="Crash.exe" />
<assets path="crash/bin/Crash-linux.x86_64" if="linux" rename="Crash.x86_64" />
<assets path="build/linux_dependencies.txt" rename='linux_dependencies.txt' if="linux" />
<!-- Export Settings. -->
<set name="BUILD_DIR" value="export/debug" if="debug" />
<set name="BUILD_DIR" value="export/release" unless="debug" />
<set name="BUILD_DIR" value="export/32bit" if="32bit" />
<!-- Code Settings -->
<!-- Change the Main file name -->
<app main="Main" />
<!-- Change the source folder path -->
<source path="source" />
<!-- Libraries -->
<haxelib name="flixel" />
<haxelib name="flixel-addons" />
<haxelib name="flixel-ui" />
<haxelib name="hscript-improved" rename="hscript" if="HSCRIPT_ALLOWED" />
<haxelib name="scriptless-polymod" if="MODDING_ALLOWED" />
<haxelib name="flxanimate" />
<haxelib name="hxdiscord_rpc" if="DISCORD_ALLOWED" />
<haxelib name="linc_luajit" if="LUA_ALLOWED" version="git" />
<haxelib name="hxvlc" if="VIDEOS_ALLOWED" />
<haxelib name="hxNoise" />
<haxelib name="fnf-modcharting-tools" if="MODCHARTING_TOOLS" unless="hl" />
<haxelib name="funkin.vis" />
<haxelib name="grig.audio" />
<haxelib name="hxgamemode" if="linux" />
<!-- Compiler Arguments -->
<define name="no-deprecation-warnings" />
<define name="message.reporting" value="pretty" />
<!-- Engine Defines -->
<section if="COMPILE_ALL_CLASSES">
<!-- Macros -->
<haxeflag name="--macro"
value="include('flixel', true, [ 'flixel.addons.editors.spine.*', 'flixel.addons.nape.*', 'flixel.addons.tile.FlxRayCastTilemap', 'flixel.system.macros.*' ])" />
<haxeflag name="-dce" value="no" />
<haxeflag name="--macro" value="include('hxvlc')" if="VIDEOS_ALLOWED" />
<haxeflag name="--macro" value="include('game')" />
</section>
<define name="hscriptPos" if="HSCRIPT_ALLOWED" />
<!-- Flixel Defines -->
<define name="FLX_NO_FOCUS_LOST_SCREEN" />
<define name="FLX_NO_DEBUG" unless="debug" />
<define name="FLX_NO_HEALTH" />
<!-- OpenFL Defines -->
<define name="openfl_enable_experimental_update_queue" />
<!-- Discord Defines-->
<define name="DISCORD_DISABLE_IO_THREAD" if="DISCORD_ALLOWED" />
<!-- HXVLC Defines. -->
<!-- Show debug traces for hxvlc -->
<define name="HXVLC_VERBOSE" value="2" if="VIDEOS_ALLOWED debug" />
<define name="HXVLC_LOGGING" if="VIDEOS_ALLOWED debug" />
<!-- HXCPP Defines -->
<!-- Aways enable Null Object Reference check for crash dialog -->
<define name="HXCPP_CHECK_POINTER" if="release" />
<define name="HXCPP_STACK_LINE" if="release" />
<define name="HXCPP_STACK_TRACE" if="release" />
<!-- <define name="HXCPP_GC_GENERATIONAL" /> -->
<!-- Target-Specific Defines. -->
<define name="NO_PRECOMPILED_HEADERS" if="linux" />
<!-- Window Icon Path -->
<icon path="art/icon.png" />
<setenv name="HAXEPATH" value="./" />
</project>