mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
change font cache path, and also include that in the repo. attempt to make it work on mac without proper certs
This commit is contained in:
parent
0523bb946b
commit
131e14644a
16 changed files with 6 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
by16:font%2Farial.fntaoy3:veri1y4:timei1659272757y4:hashy40:dc7f069d72e0d1b6b7edfd5b9e6af9c22f9c641cy3:outy23:tmp%2Ffont%2Farial.bfntghy21:font%2FMarkerFelt.fntaoR1i1R2i1668693206R3y40:e4058d0003f9c91e9322426f3923c2f5dd95ed17R5y28:tmp%2Ffont%2FMarkerFelt.bfntghy17:font%2FExpo50.fntaoR1i1R2i1626163037R3y40:f2bb3df897a1cbe1bc70650168d9ecf7de1195f1R5y24:tmp%2Ffont%2FExpo50.bfntghy17:font%2FExpo32.fntaoR1i1R2i1626163037R3y40:d3397b6efedac7bfa90be848901a0167dfd32e7eR5y24:tmp%2Ffont%2FExpo32.bfntghy16:font%2FEXPON.fntaoR1i1R2i1659272757R3y40:ba8ecd55d9475ee0f9d20c9a5189fe6a9c9ff727R5y23:tmp%2Ffont%2FEXPON.bfntghy21:font%2FDomCasualD.fntaoR1i1R2i1659272757R3y40:ea40ffbf969a51d3e653a3d09b450143a814c7eeR5y28:tmp%2Ffont%2FDomCasualD.bfntghy24:font%2FDomCasual32px.fntaoR1i1R2i1626163037R3y40:f9ae7ff4e7b94f78bd6a050e51a9f92fbfdbb40cR5y31:tmp%2Ffont%2FDomCasual32px.bfntghy24:font%2FDomCasual24px.fntaoR1i1R2i1626163037R3y40:f5f86d351ba84a7e1a5f1a459463a4eaf66ca893R5y31:tmp%2Ffont%2FDomCasual24px.bfntghy24:font%2FArialBold14px.fntaoR1i1R2i1626163037R3y40:4f58a547a119d447806129c12b660d267212a382R5y31:tmp%2Ffont%2FArialBold14px.bfntghy18:font%2FArial14.fntaoR1i1R2i1626163037R3y40:5433840b11f487315b7372dd95a79eda5986d558R5y25:tmp%2Ffont%2FArial14.bfntghy23:font%2FArial%20Bold.fntaoR1i1R2i1659272757R3y40:dce4a5edf92262f9ea5540d55271f8423683d064R5y30:tmp%2Ffont%2FArial%20Bold.bfntghh
|
||||
by16:font%2Farial.fntaoy3:veri1y4:timei1659272757y4:hashy40:dc7f069d72e0d1b6b7edfd5b9e6af9c22f9c641cy3:outy23:tmp%2Ffont%2Farial.bfntghy21:font%2FMarkerFelt.fntaoR1i1R2i1672239219R3y40:eb239790210478413cc111da54400b3d38aba041R5y28:tmp%2Ffont%2FMarkerFelt.bfntghy27:font%2FLucida%20Console.fntaoR1i1R2i1672239804R3y40:b56483df1b8f3d8472856b51459d5ce8f3cdfa09R5y34:tmp%2Ffont%2FLucida%20Console.bfntghy16:font%2FEXPON.fntaoR1i1R2i1659272757R3y40:ba8ecd55d9475ee0f9d20c9a5189fe6a9c9ff727R5y23:tmp%2Ffont%2FEXPON.bfntghy21:font%2FDomCasualD.fntaoR1i1R2i1659272757R3y40:ea40ffbf969a51d3e653a3d09b450143a814c7eeR5y28:tmp%2Ffont%2FDomCasualD.bfntghy23:font%2FArial%20Bold.fntaoR1i1R2i1659272757R3y40:dce4a5edf92262f9ea5540d55271f8423683d064R5y30:tmp%2Ffont%2FArial%20Bold.bfntghy23:data%2Ffont%2Farial.fntaoR1i1R2i1659272757R3R4R5y37:data%2Ftmp%2Fdata%2Ffont%2Farial.bfntghy28:data%2Ffont%2FMarkerFelt.fntaoR1i1R2i1672239219R3R8R5y42:data%2Ftmp%2Fdata%2Ffont%2FMarkerFelt.bfntghy34:data%2Ffont%2FLucida%20Console.fntaoR1i1R2i1672239804R3R11R5y48:data%2Ftmp%2Fdata%2Ffont%2FLucida%20Console.bfntghy23:data%2Ffont%2FEXPON.fntaoR1i1R2i1659272757R3R14R5y37:data%2Ftmp%2Fdata%2Ffont%2FEXPON.bfntghy28:data%2Ffont%2FDomCasualD.fntaoR1i1R2i1659272757R3R17R5y42:data%2Ftmp%2Fdata%2Ffont%2FDomCasualD.bfntghy30:data%2Ffont%2FArial%20Bold.fntaoR1i1R2i1659272757R3R20R5y44:data%2Ftmp%2Fdata%2Ffont%2FArial%20Bold.bfntghh
|
||||
BIN
data/tmp/data/font/Arial Bold.bfnt
Normal file
BIN
data/tmp/data/font/Arial Bold.bfnt
Normal file
Binary file not shown.
BIN
data/tmp/data/font/DomCasualD.bfnt
Normal file
BIN
data/tmp/data/font/DomCasualD.bfnt
Normal file
Binary file not shown.
BIN
data/tmp/data/font/EXPON.bfnt
Normal file
BIN
data/tmp/data/font/EXPON.bfnt
Normal file
Binary file not shown.
BIN
data/tmp/data/font/Lucida Console.bfnt
Normal file
BIN
data/tmp/data/font/Lucida Console.bfnt
Normal file
Binary file not shown.
BIN
data/tmp/data/font/MarkerFelt.bfnt
Normal file
BIN
data/tmp/data/font/MarkerFelt.bfnt
Normal file
Binary file not shown.
BIN
data/tmp/data/font/arial.bfnt
Normal file
BIN
data/tmp/data/font/arial.bfnt
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
data/tmp/font/Lucida Console.bfnt
Normal file
BIN
data/tmp/font/Lucida Console.bfnt
Normal file
Binary file not shown.
|
|
@ -17,7 +17,7 @@ sed -i "" -e "s/@VERSION@/$1/" "macos-dist/MarbleBlast Gold.app/Contents/Info.pl
|
|||
# Copy binary
|
||||
cp native/marblegame "macos-dist/MarbleBlast Gold.app/Contents/MacOS/marblegame" || exit $?
|
||||
# Copy data
|
||||
cp -r data "macos-dist/" || exit $?
|
||||
cp -r data "macos-dist/MarbleBlast Platinum.app/Contents/Resources/" || exit $?
|
||||
|
||||
cd "macos-dist/MarbleBlast Gold.app/Contents/MacOS/"
|
||||
install_name_tool -change ui.hdll @rpath/ui.hdll \
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import src.ResourceLoaderWorker;
|
|||
class ResourceLoader {
|
||||
#if (hl && !android)
|
||||
#if MACOS_BUNDLE
|
||||
public static var fileSystem:FileSystem = new LocalFileSystem(Path.normalize(Path.join([Path.directory(Sys.programPath()), "..", "..", ".."])), null);
|
||||
public static var fileSystem:FileSystem = new LocalFileSystem(Path.normalize(Path.join([Path.directory(Sys.programPath()), "..", "Resources"])), null);
|
||||
#else
|
||||
public static var fileSystem:FileSystem = new LocalFileSystem(".", null);
|
||||
#end
|
||||
|
|
@ -44,6 +44,9 @@ class ResourceLoader {
|
|||
// static var threadPool:FixedThreadPool = new FixedThreadPool(4);
|
||||
|
||||
public static function init(scene2d:h2d.Scene, onLoadedFunc:Void->Void) {
|
||||
#if hl
|
||||
@:privateAccess @:privateAccess cast(fileSystem, LocalFileSystem).convert.tmpDir = "data/tmp/";
|
||||
#end
|
||||
hxd.res.Resource.LIVE_UPDATE = false; // Disable live update to save frames
|
||||
@:privateAccess hxd.res.Image.ENABLE_AUTO_WATCH = false;
|
||||
@:privateAccess hxd.res.Sound.ENABLE_AUTO_WATCH = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue