2020-10-03 06:50:15 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<project>
|
|
|
|
<!-- _________________________ Application Settings _________________________ -->
|
|
|
|
|
2022-03-08 08:13:53 +00:00
|
|
|
<app title="Friday Night Funkin'" file="Funkin" packageName="com.funkin.fnf" package="com.funkin.fnf" main="Main" version="0.3.0" company="ninjamuffin99" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
2020-11-08 00:56:29 +00:00
|
|
|
<!--Switch Export with Unique ApplicationID and Icon-->
|
2020-11-07 21:51:55 +00:00
|
|
|
<set name="APP_ID" value="0x0100f6c013bbc000" />
|
|
|
|
|
2020-10-03 06:50:15 +00:00
|
|
|
<!--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"-->
|
2020-12-02 17:28:28 +00:00
|
|
|
<!-- <app preloader="Preloader" resizable="true" /> -->
|
2021-08-23 22:52:38 +00:00
|
|
|
<app preloader="Preloader" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
|
|
|
|
<set name="SWF_VERSION" value="11.8" />
|
|
|
|
|
|
|
|
<!-- ____________________________ Window Settings ___________________________ -->
|
|
|
|
|
|
|
|
<!--These window settings apply to all targets-->
|
2021-02-24 23:32:51 +00:00
|
|
|
<window width="1280" height="720" fps="" background="#000000" hardware="true" vsync="false" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--HTML5-specific-->
|
|
|
|
<window if="html5" resizable="true" />
|
|
|
|
|
|
|
|
<!--Desktop-specific-->
|
2022-03-06 08:33:12 +00:00
|
|
|
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" vsync="false" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--Mobile-specific-->
|
2022-03-06 08:33:12 +00:00
|
|
|
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" resizable="false" />
|
2022-02-23 21:49:54 +00:00
|
|
|
|
2020-10-03 06:50:15 +00:00
|
|
|
<!-- _____________________________ Path Settings ____________________________ -->
|
|
|
|
|
2020-10-03 19:32:15 +00:00
|
|
|
<set name="BUILD_DIR" value="export/debug" if="debug" />
|
|
|
|
<set name="BUILD_DIR" value="export/release" unless="debug" />
|
2020-10-09 21:24:20 +00:00
|
|
|
<set name="BUILD_DIR" value="export/32bit" if="32bit" />
|
2020-10-03 19:32:15 +00:00
|
|
|
|
2020-10-03 06:50:15 +00:00
|
|
|
<classpath name="source" />
|
2020-10-07 03:59:48 +00:00
|
|
|
|
2022-03-06 08:33:12 +00:00
|
|
|
<assets path="assets/preload" rename="assets" exclude="*.ogg" if="web" />
|
|
|
|
<assets path="assets/preload" rename="assets" exclude="*.mp3" unless="web" />
|
|
|
|
|
2021-02-10 20:18:14 +00:00
|
|
|
<define name="PRELOAD_ALL" unless="web" />
|
2022-03-06 08:33:12 +00:00
|
|
|
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL" />
|
|
|
|
|
2021-02-11 19:14:02 +00:00
|
|
|
<section if="PRELOAD_ALL">
|
2022-03-06 08:33:12 +00:00
|
|
|
<library name="songs" preload="true" />
|
|
|
|
<library name="shared" preload="true" />
|
2021-02-10 20:28:05 +00:00
|
|
|
<library name="tutorial" preload="true" />
|
2022-03-06 08:33:12 +00:00
|
|
|
<library name="week1" preload="true" />
|
|
|
|
<library name="week2" preload="true" />
|
|
|
|
<library name="week3" preload="true" />
|
|
|
|
<library name="week4" preload="true" />
|
|
|
|
<library name="week5" preload="true" />
|
|
|
|
<library name="week6" preload="true" />
|
|
|
|
<library name="week7" preload="true" />
|
2022-07-07 01:49:42 +00:00
|
|
|
<library name="weekend1" preload="true" />
|
2021-02-10 20:28:05 +00:00
|
|
|
</section>
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-02-11 19:14:02 +00:00
|
|
|
<section if="NO_PRELOAD_ALL">
|
2022-03-06 08:33:12 +00:00
|
|
|
<library name="songs" preload="false" />
|
|
|
|
<library name="shared" preload="false" />
|
2021-02-10 20:28:05 +00:00
|
|
|
<library name="tutorial" preload="false" />
|
2022-03-06 08:33:12 +00:00
|
|
|
<library name="week1" preload="false" />
|
|
|
|
<library name="week2" preload="false" />
|
|
|
|
<library name="week3" preload="false" />
|
|
|
|
<library name="week4" preload="false" />
|
|
|
|
<library name="week5" preload="false" />
|
|
|
|
<library name="week6" preload="false" />
|
|
|
|
<library name="week7" preload="false" />
|
2022-07-07 01:49:42 +00:00
|
|
|
<library name="weekend1" preload="false" />
|
2021-02-10 20:28:05 +00:00
|
|
|
</section>
|
2022-03-06 08:33:12 +00:00
|
|
|
|
|
|
|
<assets path="assets/songs" library="songs" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/songs" library="songs" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/shared" library="shared" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/shared" library="shared" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/tutorial" library="tutorial" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/tutorial" library="tutorial" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week1" library="week1" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week1" library="week1" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week2" library="week2" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week2" library="week2" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week3" library="week3" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week3" library="week3" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week4" library="week4" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week4" library="week4" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week5" library="week5" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week5" library="week5" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week6" library="week6" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week6" library="week6" exclude="*.fla|*.mp3" unless="web" />
|
|
|
|
<assets path="assets/week7" library="week7" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/week7" library="week7" exclude="*.fla|*.mp3" unless="web" />
|
2022-07-07 01:49:42 +00:00
|
|
|
<assets path="assets/weekend1" library="weekend1" exclude="*.fla|*.ogg" if="web" />
|
|
|
|
<assets path="assets/weekend1" library="weekend1" exclude="*.fla|*.mp3" unless="web" />
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-03-10 05:27:57 +00:00
|
|
|
<!-- <assets path='example_mods' rename='mods' embed='false'/> -->
|
|
|
|
|
2022-04-18 23:36:09 +00:00
|
|
|
<!--
|
|
|
|
AUTOMATICALLY MOVING EXAMPLE MODS INTO THE BUILD CAUSES ISSUES
|
|
|
|
Currently, this line will add the mod files to the library manifest,
|
|
|
|
which causes issues if the mod is not enabled.
|
|
|
|
If we can exclude the `mods` folder from the manifest, we can re-enable this line.
|
|
|
|
<assets path='example_mods' rename='mods' embed='false' exclude="*.md" />
|
|
|
|
-->
|
2021-02-15 01:15:22 +00:00
|
|
|
<assets path='art/readme.txt' rename='do NOT readme.txt' />
|
2022-03-06 08:33:12 +00:00
|
|
|
|
|
|
|
<assets path="CHANGELOG.md" rename='changelog.txt' />
|
2020-10-30 23:47:19 +00:00
|
|
|
|
2021-02-01 06:50:30 +00:00
|
|
|
<!-- 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!!!
|
|
|
|
-->
|
2022-03-06 08:33:12 +00:00
|
|
|
<assets path="assets/fonts" embed='true' />
|
2020-10-03 06:50:15 +00:00
|
|
|
<!-- _______________________________ Libraries ______________________________ -->
|
|
|
|
|
2022-02-23 21:49:54 +00:00
|
|
|
<haxelib name="openfl" />
|
2020-10-03 06:50:15 +00:00
|
|
|
<haxelib name="flixel" />
|
2020-12-27 02:46:22 +00:00
|
|
|
<haxedev set='webgl' />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--In case you want to use the addons package-->
|
2020-10-03 19:32:15 +00:00
|
|
|
<haxelib name="flixel-addons" />
|
2020-10-12 03:52:21 +00:00
|
|
|
<haxelib name="hscript" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--In case you want to use the ui package-->
|
2020-10-12 03:52:21 +00:00
|
|
|
<haxelib name="flixel-ui" />
|
2021-04-04 17:17:46 +00:00
|
|
|
<!--haxelib name="newgrounds" unless="switch"/> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
<haxelib name="faxe" if='switch' />
|
2022-03-06 07:37:38 +00:00
|
|
|
<haxelib name="polymod" />
|
2022-07-07 01:49:42 +00:00
|
|
|
<haxelib name="flxanimate" />
|
2022-03-21 04:19:05 +00:00
|
|
|
|
|
|
|
<haxelib name="thx.semver" />
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-07-14 23:00:22 +00:00
|
|
|
<!-- <haxelib name="colyseus"/> -->
|
|
|
|
<!-- <haxelib name="colyseus-websocket" /> -->
|
2021-05-16 23:17:58 +00:00
|
|
|
<!-- <haxelib name="newgrounds"/> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
<haxelib name="hxcpp-debug-server" if="desktop debug" />
|
|
|
|
|
2021-04-22 15:19:55 +00:00
|
|
|
<!-- swf stufffff -->
|
2021-05-16 23:17:58 +00:00
|
|
|
<!-- <haxelib name="swf"/> -->
|
|
|
|
<!-- <library path="assets/tanky.swf" preload="true"/> -->
|
|
|
|
<!-- <library path="assets/tankBG.swf" preload="true"/> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-04-18 21:28:10 +00:00
|
|
|
<!-- <haxelib name="flixel-animate" /> -->
|
|
|
|
<!-- <haxelib name="spinehaxe" /> -->
|
2021-04-11 23:08:36 +00:00
|
|
|
<!-- https://github.com/ninjamuffin99/Flixel-Animate-Atlas-Player -->
|
|
|
|
|
|
|
|
|
2022-03-06 08:33:12 +00:00
|
|
|
<!--<haxelib name="discord_rpc" if="cpp"/> -->
|
|
|
|
<!-- foesn't work with neko -->
|
2021-02-11 19:14:02 +00:00
|
|
|
<!-- <haxelib name="hxcpp-debug-server" if="desktop"/> -->
|
2020-11-25 08:22:22 +00:00
|
|
|
|
2020-11-07 02:18:55 +00:00
|
|
|
<!-- <haxelib name="markdown" /> -->
|
|
|
|
<!-- <haxelib name="HtmlParser" /> -->
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--In case you want to use nape with flixel-->
|
|
|
|
<!--<haxelib name="nape-haxe4" />-->
|
|
|
|
|
|
|
|
<!-- ______________________________ Haxedefines _____________________________ -->
|
|
|
|
|
|
|
|
<!--Enable the Flixel core recording system-->
|
|
|
|
<!--<haxedef name="FLX_RECORD" />-->
|
|
|
|
|
|
|
|
<!--Disable the right and middle mouse buttons-->
|
2020-10-12 00:24:34 +00:00
|
|
|
<!-- <haxedef name="FLX_NO_MOUSE_ADVANCED" /> -->
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--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-->
|
2021-02-16 06:53:25 +00:00
|
|
|
<!-- <haxedef name="FLX_NO_MOUSE" if="mobile" /> -->
|
|
|
|
<!-- <haxedef name="FLX_NO_KEYBOARD" if="mobile" /> -->
|
|
|
|
<!-- <haxedef name="FLX_NO_TOUCH" if="desktop" /> -->
|
2020-10-03 06:50:15 +00:00
|
|
|
<!--<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-->
|
2021-01-25 10:04:31 +00:00
|
|
|
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--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" />
|
|
|
|
|
2022-03-08 08:13:53 +00:00
|
|
|
<!-- _________________________________ Custom _______________________________ -->
|
|
|
|
|
|
|
|
<!-- Disable trace() calls in release builds to bump up performance. -->
|
2022-03-07 21:58:37 +00:00
|
|
|
<haxeflag name="--no-traces" unless="debug" />
|
2022-03-08 08:13:53 +00:00
|
|
|
|
2022-03-06 07:37:38 +00:00
|
|
|
<!-- HScript relies heavily on Reflection, which means we can't use DCE. -->
|
2022-03-08 08:13:53 +00:00
|
|
|
<haxeflag name="-dce no" />
|
|
|
|
<haxeflag name="--macro" value="include('funkin')" />
|
|
|
|
|
|
|
|
<!-- Necessary to provide stack traces for HScript. -->
|
2022-04-18 23:36:09 +00:00
|
|
|
<haxedef name="hscriptPos" />
|
2022-01-18 23:28:41 +00:00
|
|
|
<haxedef name="HXCPP_CHECK_POINTER" />
|
|
|
|
<haxedef name="HXCPP_STACK_LINE" />
|
|
|
|
|
2022-03-08 08:13:53 +00:00
|
|
|
|
|
|
|
<!-- This macro allows addition of new functionality to existing Flixel. -->
|
|
|
|
<haxeflag name="--macro" value="addMetadata('@:build(funkin.util.macro.FlxMacro.buildFlxBasic())', 'flixel.FlxBasic')" />
|
2020-10-03 06:50:15 +00:00
|
|
|
|
|
|
|
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
|
|
|
<icon path="art/icon16.png" size='16' />
|
|
|
|
<icon path="art/icon32.png" size='32' />
|
|
|
|
<icon path="art/icon64.png" size='64' />
|
2021-02-16 06:53:25 +00:00
|
|
|
<icon path="art/iconOG.png" />
|
2020-11-08 00:56:29 +00:00
|
|
|
|
2020-11-01 19:16:22 +00:00
|
|
|
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
|
|
|
<haxedef name="CAN_OPEN_LINKS" unless="switch" />
|
|
|
|
<haxedef name="CAN_CHEAT" if="switch debug" />
|
|
|
|
|
2022-02-10 01:24:33 +00:00
|
|
|
<!-- Skip the Intro -->
|
2022-02-10 01:34:32 +00:00
|
|
|
<section if="debug">
|
2022-02-10 01:24:33 +00:00
|
|
|
<!-- Starts the game at the specified week, at the first song -->
|
|
|
|
<!-- <haxedef name="week" value="1" if="debug"/> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2022-02-10 01:24:33 +00:00
|
|
|
<!-- Starts the game at the specified song -->
|
|
|
|
<!-- <haxedef name="song" value="bopeebo" if="debug"/> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2022-02-10 01:24:33 +00:00
|
|
|
<!-- Difficulty, only used for week or song, defaults to 1 -->
|
|
|
|
<!-- <haxedef name="dif" value="2" if="debug"/> -->
|
|
|
|
</section>
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-03-23 02:39:35 +00:00
|
|
|
<!-- <haxedef name="CLEAR_INPUT_SAVE"/> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-02-20 02:11:33 +00:00
|
|
|
<section if="newgrounds">
|
|
|
|
<!-- Enables Ng.core.verbose -->
|
2021-02-21 18:08:30 +00:00
|
|
|
<!-- <haxedef name="NG_VERBOSE" /> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-02-20 02:11:33 +00:00
|
|
|
<!-- Enables a NG debug session, so medals don't permently unlock -->
|
|
|
|
<!-- <haxedef name="NG_DEBUG" /> -->
|
2022-03-06 08:33:12 +00:00
|
|
|
|
2021-02-20 02:11:33 +00:00
|
|
|
<!-- pretends that the saved session Id was expired, forcing the reconnect prompt -->
|
|
|
|
<!-- <haxedef name="NG_FORCE_EXPIRED_SESSION" if="debug" /> -->
|
|
|
|
</section>
|
2021-06-14 23:36:56 +00:00
|
|
|
|
|
|
|
<!-- <prebuild haxe="trace('prebuilding');"/> -->
|
|
|
|
<!-- <postbuild haxe="art/Postbuild.hx"/> -->
|
2021-08-24 03:43:59 +00:00
|
|
|
|
2022-03-06 08:33:12 +00:00
|
|
|
<config:ios allow-provisioning-updates="true" team-id="" />
|
|
|
|
|
2022-01-20 22:47:42 +00:00
|
|
|
<!-- Options for Polymod -->
|
|
|
|
<section if="polymod">
|
|
|
|
<!-- Turns on additional debug logging. -->
|
|
|
|
<haxedef name="POLYMOD_DEBUG" value="true" if="debug" />
|
|
|
|
<!-- The file extension to use for script files. -->
|
|
|
|
<haxedef name="POLYMOD_SCRIPT_EXT" value=".hscript" />
|
|
|
|
<!-- Which asset library to use for scripts. -->
|
|
|
|
<haxedef name="POLYMOD_SCRIPT_LIBRARY" value="scripts" />
|
|
|
|
<!-- The base path from which scripts should be accessed. -->
|
|
|
|
<haxedef name="POLYMOD_ROOT_PATH" value="scripts/" />
|
|
|
|
<!-- Determines the precision required for mods to be compatible. -->
|
|
|
|
<haxedef name="POLYMOD_API_VERSION_MATCH" value="MATCH_MINOR" />
|
|
|
|
<!-- Determines the subdirectory of the mod folder used for file appending. -->
|
|
|
|
<haxedef name="POLYMOD_APPEND_FOLDER" value="_append" />
|
|
|
|
<!-- Determines the subdirectory of the mod folder used for file merges. -->
|
|
|
|
<haxedef name="POLYMOD_MERGE_FOLDER" value="_merge" />
|
|
|
|
<!-- Determines the file in the mod folder used for metadata. -->
|
|
|
|
<haxedef name="POLYMOD_MOD_METADATA_FILE" value="_polymod_meta.json" />
|
|
|
|
<!-- Determines the file in the mod folder used for the icon. -->
|
|
|
|
<haxedef name="POLYMOD_MOD_ICON_FILE" value="_polymod_icon.png" />
|
|
|
|
</section>
|
|
|
|
|
2021-06-24 05:59:33 +00:00
|
|
|
<section if='TOOLS'>
|
|
|
|
<!-- Compiles tool for old song conversion shit -->
|
|
|
|
<!-- Assumes you use it on windows/desktop!!!! -->
|
2022-03-06 08:33:12 +00:00
|
|
|
<postbuild command='haxe -main art/SongConverter.hx --cs export/songShit' />
|
2021-06-24 05:59:33 +00:00
|
|
|
<assets path='export/songShit/bin/SongConverter.exe' rename='SongConverter.exe' />
|
|
|
|
|
|
|
|
<!-- <postbuild command='ren export/songShit/bin export/songShit/tools '/> -->
|
|
|
|
<!-- <postbuild command='move export/songShit/tools export/release/windows/bin'/> -->
|
|
|
|
</section>
|
2022-03-06 08:33:12 +00:00
|
|
|
</project>
|