forked from EdwhakKB/SC-SP-ENGINE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.xml
321 lines (231 loc) · 12.4 KB
/
Project.xml
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<?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 _________________________ -->
<app title="Friday Night Funkin': Sick Coders Engine" file="SCE" packageName="com.SCTeam.SCEE" package="com.SCTeam.SCE" main="Main" version="1.5.2" company="SCTeam" />
<!--Switch Export with Unique ApplicationID and Icon-->
<set name="APP_ID" value="0x0100f6c013bbc000" />
<!-- NOTE TO SELF: DISABLE THIS IF ISSUES ARE FOUND -->
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB"/> <!-- stable luas PUT AFTER FIRST LINE WITH APP NAME AND ETC -->
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
<!-- <app preloader="Preloader" resizable="true" /> -->
<app preloader="flixel.system.FlxPreloader" />
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
<set name="SWF_VERSION" value="11.8" />
<!-- DO NOT REMOVE!! ALLOWS ME TO DO REGIONS LIKE IN C# AND KEEP CODE ORGANIZED. REMOVING IT WOULD BREAK THE ENGINE -->
<haxedef name="REGION" />
<!-- ____________________________ Window Settings ___________________________ -->
<!--These window settings apply to all targets-->
<window width="1280" height="720" fps="60" background="#000000" hardware="true" vsync="false" />
<!--HTML5-specific-->
<window if="html5" resizable="true" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" vsync="false"/>
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" resizable="false"/>
<!--Switch-specific-->
<window if="switch" orientation="landscape" fullscreen="true" width="0" height="0" resizable="true" />
<!-- _____________________________ Path 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/release-32bits" if="32bits" unless="32bits debug"/>
<set name="BUILD_DIR" value="export/32bit" if="32bits" />
<set name="BUILD_DIR" value="export/release-telemetry" if="telemetry" />
<set name="BUILD_DIR" value="export/debug-telemetry" if="debug telemetry" />
<set name="NO_PRECOMPILED_HEADERS" value="1"/>
<source path="funkinscsource" />
<!-- PSYCH && SCE CUSTOMIZATION -->
<!-- Defines whether the Discord client should be enabled. Only works on desktop. -->
<define name="FEATURE_DISCORD" if="desktop" />
<!-- Defines whether the file system can be read/written directly. Does not work in browser. -->
<define name="FEATURE_FILESYSTEM" if="desktop"/>
<!-- Defines whether the Thread class can be used. -->
<define name="FEATURE_MULTITHREADING" if="cpp" />
<!-- Defines whether the mp4 videos should be enabled. -->
<define name="FEATURE_MP4VIDEOS" unless="32bits"/>
<!-- Defines whether if the mods are allowed. -->
<define name="MODS_ALLOWED" if="desktop" />
<!-- Defines whether if lua is allowed. -->
<define name="LUA_ALLOWED" if="desktop" />
<!-- Defines whether if hscript is allowed. -->
<define name="HSCRIPT_ALLOWED" if="desktop"/>
<!-- Defines whether the if the achievements are allowed. -->
<define name="ACHIEVEMENTS_ALLOWED" />
<!-- Defines whether the if discord is allowed. -->
<define name="DISCORD_ALLOWED" />
<!-- Define whether translations are allowed or not.-->
<define name="TRANSLATIONS_ALLOWED" />
<!-- Defines whether if videos are allowed. -->
<define name="VIDEOS_ALLOWED" if="windows || linux || android" unless="32bits"/>
<!-- Defines whether if the crashhandler can be used. -->
<define name="CRASH_HANDLER" if="desktop release" />
<!-- Defines whether the engine should check for updates or not. -->
<define name="CHECK_FOR_UPDATES" if="desktop"/>
<!-- Defines the engine you're using! -->
<define name="PSYCH"/>
<!-- Defines what version of the engine. -->
<define name="PSYCHVERSION" value="0.7.3" />
<!-- Defines whether the engine should have extra features -->
<define name="SCEFEATURES_ALLOWED"/> <!-- set this to 0.1 for extra sides Version of the engine. -->
<!-- Defines whether there is a loadingscreen or not-->
<define name="SHOW_LOADING_SCREEN" />
<!--Defines whether base game files are included-->
<define name="BASE_GAME_FILES"/> <!-- DELETE THIS TO REMOVE MOST BASE GAME FILES AND REDUCE FILE SIZE -->
<!--Defines whether to use debug with IRIS-->
<define name="IRIS_DEBUG"/>
<!-- Assets -->
<assets path="assets/art" />
<assets path="assets/images" />
<assets path="assets/shared" exclude="*.ogg" if="web"/>
<assets path="assets/shared" exclude="*.mp3" unless="web"/>
<assets path="assets/embed" exclude="*.ogg" if="web" embed="true"/>
<assets path="assets/embed" exclude="*.mp3" unless="web" embed="true"/>
<assets path="assets/videos" if="VIDEOS_ALLOWED"/>
<assets path="assets/songs" exclude="*.ogg" if="web"/>
<assets path="assets/songs" exclude="*.mp3" unless="web"/>
<assets path="assets/week_assets" rename="assets" exclude="*.ogg" if="web"/>
<assets path="assets/week_assets" rename="assets" exclude="*.mp3" unless="web"/>
<section if="TRANSLATIONS_ALLOWED">
<assets path="assets/translations" rename="assets" exclude="*.ogg" if="web"/>
<assets path="assets/translations" rename="assets" exclude="*.mp3" unless="web"/>
</section>
<section if="BASE_GAME_FILES">
<assets path="assets/base_game" rename="assets" exclude="*.ogg" if="web"/>
<assets path="assets/base_game" rename="assets" exclude="*.mp3" unless="web"/>
<haxelib name="grig.audio"/>
<haxelib name="funkin.vis"/>
</section>
<section if="MODS_ALLOWED">
<assets path='example_mods' rename='mods' embed='false' type='template'/>
</section>
<assets path='art/readme.txt' rename='do NOT readme.txt' />
<!-- assets path="CHANGELOG.md" rename='changelog.txt' -->
<!-- NOTE FOR FUTURE SELF SINCE FONTS ARE ALWAYS FUCKY
TO FIX ONE OF THEM, I CONVERTED IT TO OTF. DUNNO IF YOU NEED TO
THEN UHHH I USED THE NAME OF THE FONT WITH SETFORMAT() ON THE TEXT!!!
NOT USING A DIRECT THING TO THE ASSET!!!
-->
<!-- _______________________________ Defines (Most) And Custom_________________________ -->
<!-- Comment this out to prevent unused classes from being compiled.
Reduces compilation time at the cost of limited HScript flexibility. !-->
<define name="COMPILE_ALL_CLASSES" />
<!-- Comment this out to prevent extending classes in hscript.
Reduces compilation time at the cost of limited HScript flexibility. !-->
<define name="CUSTOM_CLASSES" />
<icon path="assets/art/icon16.png" size='16'/>
<icon path="assets/art/icon32.png" size='32'/>
<icon path="assets/art/icon64.png" size='64'/>
<icon path="assets/art/iconOG.png" />
<!-- ______________________________ Haxedefines _____________________________ -->
<!--Enable the Flixel core recording system-->
<!--<haxedef name="FLX_RECORD" />-->
<!--Disable the right and middle mouse buttons-->
<!-- <haxedef name="FLX_NO_MOUSE_ADVANCED" /> -->
<!--Disable the native cursor API on Flash-->
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
<haxedef name="FLX_NO_MOUSE" if="mobile" />
<haxedef name="FLX_NO_KEYBOARD" if="mobile" />
<haxedef name="FLX_NO_TOUCH" if="desktop" />
<!--<haxedef name="FLX_NO_GAMEPAD" />-->
<!--Disable the Flixel core sound tray-->
<!--<haxedef name="FLX_NO_SOUND_TRAY" />-->
<!--Disable the Flixel sound management code-->
<!--<haxedef name="FLX_NO_SOUND_SYSTEM" />-->
<!--Disable the Flixel core focus lost screen-->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<!--Allow working memory greater than 1 Gig-->
<!--<haxedef name="HXCPP_GC_BIG_BLOCKS" />-->
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<!--<haxedef name="HXCPP_GC_GENERATIONAL"/>-->
<haxedef name="queue_experimental_optimization"/>
<!-- _______________________________ Libraries ______________________________ -->
<define name="disable-version-check" />
<haxedef name="disable-version-check" />
<!-- No deprecation warnings. -->
<haxedef name="no-deprecation-warnings" />
<!-- Disable Discord IO Thread -->
<haxedef name="DISCORD_DISABLE_IO_THREAD" if="DISCORD_DISABLE_IO_THREAD" />
<haxedef name="NO_PRECOMPILED_HEADERS" if="linux" />
<haxelib name="flixel" />
<haxelib name="flixel-addons" />
<haxelib name='tjson'/>
<!--In case you want to use the addons package-->
<haxelib name="linc_luajit" if="LUA_ALLOWED"/>
<haxelib name="hscript-iris" if="HSCRIPT_ALLOWED"/>
<haxelib name="hxvlc" if="VIDEOS_ALLOWED"/>
<haxelib name="format"/>
<!--if you don't need FlxAnimate for exporting or for a mod just null it-->
<haxelib name="flxanimate"/>
<haxelib name="hxdiscord_rpc" if="DISCORD_ALLOWED"/>
<haxelib name="hxgamejolt-api"/>
<!--In case you want to use the ui package-->
<haxelib name="faxe" if='switch'/>
<!-- Enables a terminal log prompt on debug builds -->
<haxelib name="hxcpp-debug-server" if="debug"/>
<haxedef name="HXC_LIBVLC_LOGGING" if="VIDEOS_ALLOWED debug" />
<haxelib name="hxtelemetry" if="telemetry"/>
<haxedef name="HXCPP_TELEMETRY" if="telemetry"/>
<haxelib name="fnf-modcharting-tools"/>
<haxelib name="hscript-improved" />
<haxelib name="markdown"/>
<!-- Defines the SCE's version of modcharting Tools. -->
<define name="SCEModchartingTools" if="fnf-modcharting-tools"/>
<define name="HScriptImproved" if="hscript-improved"/>
<!-- Enables a terminal log prompt on debug builds -->
<haxelib name="hxcpp-debug-server" if="debug"/>
<haxedef name="HXC_LIBVLC_LOGGING" if="VIDEOS_ALLOWED debug" />
<haxedef name="HXVLC_NO_SHARE_DIRECTORY" if="VIDEOS_ALLOWED" />
<define name="x86_BUILD" if="32bits" />
<haxelib name="thx.core"/>
<haxelib name="thx.semver"/>
<haxelib name="json2object"/>
<haxelib name="FlxPartialSound"/>
<haxelib name="flxsoundfilters" />
<!--Disable source traces for release builds-->
<haxeflag name="-D no-traces"/>
<!-- <error value="Targets besides desktop are not supported" unless="desktop" />-->
<!-- _________________________________ Custom _______________________________ -->
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
<!--
Ensure additional class packages are available at runtime (some only really used by scripts).
Ignore packages we can't include.
-->
<haxeflag name="--macro" value="include('flixel', true, [ 'flixel.addons.editors.spine.*', 'flixel.addons.nape.*', 'flixel.system.macros.*' ])" />
<section if="COMPILE_ALL_CLASSES">
<haxeflag name="-dce" value="no" />
<haxeflag name="--macro" value="codenameengine.macros.Macros.addAdditionalClasses()" />
</section>
<!--Macro fixes-->
<haxeflag name="--macro" value="allowPackage('flash')" />
<haxeflag name="--macro" value="include('my.pack')" />
<!-- Haxe 4.3.0+: Enable pretty syntax errors and stuff. -->
<!-- pretty (haxeflixel default), indent, classic (haxe compiler default) -->
<haxedef name="message.reporting" value="pretty" />
<!--Used for Izzy Engine's crash handler-->
<haxedef name="HXCPP_STACK_TRACE" if="CRASH_HANDLER"/> <!--if you want stack traces-->
<haxedef name="HXCPP_CHECK_POINTER" if="CRASH_HANDLER" />
<haxedef name="HXCPP_STACK_LINE" if="CRASH_HANDLER" />
<haxedef name="hscriptPos" if="HSCRIPT_ALLOWED"/> <!-- for logging -->
<!-- Enable this on platforms which do not support dropping files onto the window. -->
<haxedef name="FILE_DROP_UNSUPPORTED" if="mac" />
<section unless="FILE_DROP_UNSUPPORTED">
<haxedef name="FILE_DROP_SUPPORTED" />
</section>
<section>
<!--
This flag enables the popup/crashlog error handler.
However, it also messes with breakpoints on some platforms.
-->
<haxedef name="openfl-enable-handle-error" />
</section>
<!-- Fix compiling issues -->
<setenv name="HAXEPATH" value="./"/>
<haxedef name="CAN_OPEN_LINKS" unless="switch" />
<haxedef name="CAN_CHEAT" if="switch debug" />
<assets path="SCE-CrashDialog.exe" type="template" if="windows release" />
</project>