iOSéçºã«é¢ããå ¬åŒã®Unreal Engine 4ãã©ãŒã©ã ã§æãããå¯ãããã質åã®1ã€ã¯ãå ¬åŒããã¥ã¡ã³ãã§å¿ èŠãšãããMac OS Xãè³Œå ¥ããŠäœ¿çšããªããŠããWindowsã§ã³ãŒãããŒã¹ã®ãããžã§ã¯ããéçºã§ããããšã§ãã 解決çã¯ãããŸãããèšèšãäžååã§ãããè©Šè¡é¯èª€ã®ããã«å€ãã®æéããããå¯èœæ§ããããŸãã ãã·ã¢èªãžã®ç¿»èš³ã®é£ããã«ã€ããŠè©±ãå¿ èŠã¯ãããŸããã ããã§ããã®ãã¥ãŒããªã¢ã«ãçãŸããŸãããããªããšå ±æããããšæããŸãã
ãŸã第äžã«ãããã»ã©å€ãã®äºå®ã¯ãªãã UE4ã§ã¯ãiOSåãã®ã²ãŒã ã®éçºã¯ãããããMac OS XãšXcodeã§ã®ã¿å ¬åŒã«èš±å¯ãããŠããŸãã ç¹ã«ããåœã§ã¯ãæ¢åã®PCãšåçã®æ§èœã®åŒ·åãªMacãè³Œå ¥ããããšã«åæããŸãããããã¯ããªãã®ãªãŒããŒãããã§ãã ã¯ãããã¹ãŠã®äººãæ°ããOSããã³éçºç°å¢ã®åãã¬ãŒãã³ã°ãæãã§ããããã§ã¯ãããŸãããã決å®ããå Žåã以åã®å¹çã¬ãã«ã«éããåã«ããªãã®äœæ¥æéãè²»ãããŸãã
å°ãªããšãçŸåšã®ããŒãžã§ã³ã®ãšã³ãžã³ã§ã¯ãOS Xãå®è¡ããã³ã³ãã¥ãŒã¿ãŒïŒPCãŸãã¯MacïŒããªããšå®å šã«æ©èœããªãããšãããã«äºçŽããŸãã ãã ããåé¡ã«å¯Ÿãã解決çã¯ããªãæé©ã§åŠ¥åããããŸãã ãã§ã«ãGitHubã®ãœãŒã¹ã«ã¢ã¯ã»ã¹ã§ããïŒãŸãã¯ãæåãªãã¬ã³ããã©ãã«ãŒã䜿çšããŠããŠã³ããŒãããïŒãšã³ãžã³ã®ææ°ããŒãžã§ã³ïŒ4.2.x以éïŒã®ãã¹ãŠã®ãŠãŒã¶ãŒã¯ãMac OS Xãå®è¡ããã³ã³ãã¥ãŒã¿ãŒããµãŒããŒãšããŠæ§æããææžåãããŠããªãæ©èœãæã£ãŠããŸããããžã§ã¯ãã®ã¢ã»ã³ããªãšã³ã³ãã€ã«ãããã³ãããžã§ã¯ãã®éçºãšããã€ã¹ã§ã®ãã¹ãã¯ãWindowsããã®ã¿è¡ãããŸãã Macãå®æçã«èŠãŠãããããŸã æ©èœãããã©ããããŸãã¯ã³ãŒãã絶ããã³ã³ãã€ã«ããããšã§ãã¹ãŠã倱ããããã©ããã確èªããã ãã§ãã
ããã«ã¯äœãå¿ èŠã§ããïŒ
æ¢ã«è¿°ã¹ãããã«ãMac OS XïŒ10.8以éïŒãå®è¡ããŠããã³ã³ãã¥ãŒã¿ãŒãå¿ èŠã§ãã 䜿çšæžã¿ã®MacãŸãã¯Mac Bookãè³Œå ¥ããããä»®æ³ãã·ã³ã§OS Xãå®è¡ã§ããŸãã OS Xãã©ã®ããã«æ©èœãããã¯ããŠãŒã¶ãŒæ¬¡ç¬¬ã§ãã äŸãšããŠãçŸåšãå®äŸ¡ã«è³Œå ¥ããMac MiniïŒLate 2009ïŒã䜿çšããŠããŸãã 圌ã¯èªåã®ã¿ã¹ã¯ã«å¯ŸåŠããŸãããå°æ¥çã«ã¯ãã·ã³ã確å®ã«é«éåããŸãïŒæãéèŠãªã®ã¯ããã»ããµãšãã£ã¹ã¯ã·ã¹ãã ã§ãïŒã eBayã§ã³ã³ãã¥ãŒã¿ãŒãæ¢ãã®ã¯çã«ããªã£ãŠããŸãïŒãã¡ãããé ä¿¡ã§2ã3é±éåŸ ã€æéããªãéããç§ãã¡ã«ã¯ãããŸããã§ããïŒã
ãããã£ãŠãå¿ èŠãªãã®ãã¹ãŠãã€ãŸããWindowsãå®è¡ããŠãã皌åäžã®PCïŒ7 SP1以éïŒãããã³OS Xãå®è¡ããŠããã³ã³ãã¥ãŒã¿ãŒïŒ10.8以éïŒããããšããŸãã ã³ã³ãã¥ãŒã¿ãŒã¯éåžžã®ããŒã«ã«ãããã¯ãŒã¯ã«æ¥ç¶ããå¿ èŠããããŸãã çè«çã«ã¯ãææ¡ããæ¹æ³ã¯æ¬¡ã®ãšããã§ãã UE4ã®ãœãŒã¹ã«ã¯ãUnrealRemoteToolããã°ã©ã ããããŸãã OS Xã§èµ·åããããšã«ããããªã¢ãŒãã³ã³ãã¥ãŒã¿ãŒïŒã³ã³ãã€ã«ãããã¯ãªã©ïŒããå®è¡ããã³ãã³ããéä¿¡ã§ããããã«ãªããŸãã ãã®å Žåãã³ãã³ãã¯Windowsãå®è¡ããŠããPCããéä¿¡ãããUE4ã§éçºãé²è¡äžã§ããã³ã³ãã³ãã®ç·šéããããžã§ã¯ãã³ãŒãã®äœæãªã©ãè¡ãããŸãã ãããã§ã¯ãæ£ããæ§æã®åŸãéåžžã®PCãã«ãã®å Žåãšåæ§ã«ãUE4ãšãã£ã¿ãŒããiOSçšã®ãããžã§ã¯ããçŽæ¥ã³ã³ãã€ã«ããã³ããã±ãŒãžåã§ããŸãã ãããããPCã«æ¥ç¶ãããŠãããã¹ãŠã®iOSããã€ã¹ã«æ¢è£œã®ipaãã€ã³ã¹ããŒã«ã§ããŸãã 以äžã¯ãäž¡æ¹ã®ã·ã¹ãã ã§ãã¹ãŠã®ããã°ã©ã ãšæ©åšãæ§æããæ¹æ³ã®è©³çŽ°ãªæé ã§ãã è¡ãã
ã¹ããã1ïŒãŸããUE4ã®ãœãŒã¹ã«ã¢ã¯ã»ã¹ããå¿ èŠããããŸãã éå ¬åŒã®ãœãŒã¹ããæ¢ã«å ¥æããŠããå Žåã¯ããã®æé ãã¹ãããã§ããŸãã Unreal Engine 4ã®å ¬åŒã«ç»é²ãããéçºè ã§ãããã¢ã¯ãã£ããªãµãã¹ã¯ãªãã·ã§ã³ããæã¡ã®å Žåã¯ã以äžãè¡ãå¿ èŠããããŸãã ã¢ã«ãŠã³ãããŸã ãæã¡ã§ãªãå Žåã¯ã GitHub Webãµã€ãã«ã¢ã¯ã»ã¹ããŠç»é²ããŠãã ããã ãã®äžã«å ¥åããŸãã 次ã«ã Unreal Engine Webãµã€ãã«ã¢ã¯ã»ã¹ããŸã-ãã°ã€ã³ããŠãã¢ã«ãŠã³ãèšå®ïŒã¢ã«ãŠã³ãã»ã¯ã·ã§ã³ïŒã§ã察å¿ããè¡ã«GitHubã¢ã«ãŠã³ããæå®ããŸãã å€æŽãä¿åããŸãã 次ã«ãGitHubã®Epic Games GHããŒãžã«ãã¹ããããŸãïŒ github.com/EpicGames/-ãªããžããªã®ãªã¹ãã§UnrealEngineãéžæããŸãã å³äžã®[ãã©ãŒã¯]ãã¿ã³ãã¯ãªãã¯ããéžæããã¢ã«ãŠã³ãã§è¡šç€ºããããŠã£ã³ããŠã§GitHubã¢ã«ãŠã³ããéžæããŸãã ããŒãžã§ã³4.2以åãååŸãããŠããããšã確èªããŠãã ããã ãã®åŸãããŒãœãã«ãšã³ãžã³ãã©ã³ãã®ããŒãžã«ç§»åããŸãã å ã«é²ãåã«ããŒãžã®èª¬æå šäœãèªãããšããå§ãããŸãããããã§è¡ãå¿ èŠãããäž»ãªããšã¯ãã»ã¯ã·ã§ã³èµ·åãšå®è¡ã«ãã2ã€ã®ã¢ãŒã«ã€ãRequired_1of2.zipããã³Required_2of2.zipãããŠã³ããŒãããããšã§ãã ãœãŒã¹ãšã®ããŒã«ã«äœæ¥ã®ããã«GitHubã¯ã©ã€ã¢ã³ããããŠã³ããŒãããããšã¯æ®ã£ãŠããŸãã Windowsã®å Žåã¯ãã¡ããããOS Xã®å Žåã¯ãã¡ãããããŠã³ããŒãã§ããŸãã
次ã«ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããšã«ãç¬èªã®äžé£ã®æé ãåå¥ã«å®è¡ããå¿ èŠããããŸãã Mac OS Xããå§ããŠãPCäžã§æ¢ã«ã»ããã¢ãããå®äºããŸãããã®åŸãiOSãã©ãããã©ãŒã çšã«èªç±ã«éçºã§ããŸãã
Mac OS X
ã¹ããã2ïŒãŸãæåã«ãã·ã¹ãã ãå°ãªããšãããŒãžã§ã³10.8ãã§ããã°ææ°ããŒãžã§ã³ã®MavericsïŒ10.9.xïŒã«æŽæ°ããå¿ èŠããããŸãã å·Šäžé ã§ããªã³ãŽãã¯ãªãã¯ãã[ãã®Macã«ã€ããŠ]-> [ãœãããŠã§ã¢ã®æŽæ°]ãéžæããŸãã AppStoreã«ç§»åããæŽæ°ãå©çšå¯èœãªå Žåã¯ã€ã³ã¹ããŒã«ããŸãã
ã¹ããã3ïŒæ¬¡ã«Xcodeãã€ã³ã¹ããŒã«ããŸãã ç¡æã§ã ã ãã¡ãããããŠã³ããŒãã§ããŸãã
ã¹ããã4ïŒ iOSçšã®ãããžã§ã¯ããéçºããã«ã¯ãApple Developer Programã«ç»é²ããå¿ èŠããããŸãã ããã°ã©ã ã®è²»çšã¯99ãã«/幎ã§ãã éçºè ã®ã¹ããŒã¿ã¹ãååŸããã®ã¯éåžžã«ç°¡åã«ãªããŸããããã®ããã«FAXãéä¿¡ããå¿ èŠã¯ãããŸããã ãŸã ç»é²ããŠããªã人ã¯ãããããå§ããããšããå§ãããŸãã ãã§ã«ç»é²ãããŠããå Žåã¯ãã²ãŒã çšã®èšŒææžãšããã«åºã¥ããŠããããžã§ãã³ã°ãããã¡ã€ã«ãäœæããå¿ èŠããããŸãããŸããGameCenterãiCloudãIAPãããã³ããã·ã¥ã¡ãã»ãŒãžãå®å šã«ãã¹ãã§ããããã«ãAppIDã«ã€ããŠæ€èšããããšããå§ãããŸãã ãããã¯ãã¹ãŠã äŒå¡ã»ã³ã¿ãŒã§è¡ãããšãã§ããŸãã ãµã€ãäžã®èª¬æã§ãã¹ãŠãæ£ç¢ºã«å®è¡ãããšãããã»ã¹ã«æéãããããŸããã ããããžã§ã³ãããã¡ã€ã«ãOS Xã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ããã«ã¯ãããŠã³ããŒãããŠããã«ã¯ãªãã¯ã§éãã ãã§ãã Xcodeãéããããã§çµããã§ãã è¿œå ã®ã¡ãã»ãŒãžã¯è¡šç€ºãããŸãã-ããã¯æ£åžžã§ãã ã³ã³ãã¥ãŒã¿ãŒã«èšŒææžãã€ã³ã¹ããŒã«ãããšããã¹ãŠãå°ãè€éã«ãªããŸãããããã§ããªãéæ床ãé«ããªããŸãïŒã€ã³ããŒãåŸã«ããŒãã§ãŒã³ã¢ããªã±ãŒã·ã§ã³ã§ç¢ºèªã§ããŸãïŒã å¯äžã®ããšã¯ã蚌ææžïŒApple Webãµã€ãããããŠã³ããŒãå¯èœïŒã¯ãããã蚌ææžã®çæã«äœ¿çšãããç§å¯éµãšå ¬ééµãæããªãå ã®UDKéçºè ãåé¡ãæ±ããŠããå¯èœæ§ãããããšã§ãã ãã®å ŽåãAppleã®Webãµã€ãã«ã¢ã¯ã»ã¹ããå床æ瀺ã«åŸã£ãŠæ°ãã蚌ææžãäœæããŠãããããã«åºã¥ããŠæ°ããããããžã§ãã³ã°ãããã¡ã€ã«ãäœæããŸãã AppIDã¯ããããã®ã¢ã¯ã·ã§ã³ãããã³æ¢åã®ãã¹ãŠã®ã¢ããªã±ãŒã·ã§ã³ãšããããžã§ãã³ã°/é åžãããã¡ã€ã«ã®åœ±é¿ãåããŸããã
ã¹ããã5ïŒèšŒææžãšããããžã§ã³ãããã¡ã€ã«ãã·ã¹ãã ã«ã€ã³ããŒãããåŸã蚌ææžãšãã®ç§å¯ããŒããšã¯ã¹ããŒãããŠæ»ãå¿ èŠããããŸãã ãããè¡ãã«ã¯ã[ã¢ããªã±ãŒã·ã§ã³]-> [ãŠãŒãã£ãªãã£]-> [ããŒãã§ãŒã³Access.app]ã«ç§»åããŸãã å·Šäžã®ãŠã£ã³ããŠã§[ ãã°ã€ã³]ãéžæããäžã®[ ãã€èšŒææž]ãéžæããŠãå³åŽã®ãªã¹ãã§ã€ã³ããŒããã蚌ææžãèŠã€ããŸãã ãããå³ã¯ãªãã¯ããŠãã ãšã¯ã¹ããŒãããéžæããŸãã æåã«* .ceræ¡åŒµåã§ãšã¯ã¹ããŒãããŠããéãã衚瀺ãããããŒãéžæããŠã* .p12æ¡åŒµåãéžæããŠãšã¯ã¹ããŒãããŸãã ãããã®2ã€ã®ãã¡ã€ã«ãšãåŸã§PCã®ããããžã§ãã³ã°ãããã¡ã€ã«ãå¿ èŠã«ãªããããããšãã°USBãã©ãã·ã¥ãã©ã€ããŸãã¯Dropboxã«ä¿åããŸãã
ã¹ããã6ïŒæ¬¡ã«ãGitHubãããœãŒã¹ãååŸããå¿ èŠããããŸãã ãããè¡ãã«ã¯ãOS Xã¿ãŒããã«ãéããŸãïŒã¢ããªã±ãŒã·ã§ã³-> Unitilites-> Terminal.appã ãããªãã§ãå®è¡ã§ããŸãããæçµçã«ã¯ããé«éã§ã¯ããã«äŸ¿å©ã«ãªããŸãã ããã«çç±ãããããŸãã
ã¹ããã7ïŒæ¬¡ã®ã³ãã³ããå ¥åããŠãã«ãŒããã£ã¬ã¯ããªã«ç§»åããŸãã
cd /
泚ïŒãã¹ã¯ãŒãã®å ¥åãæ±ããããå Žåã¯ãééæ¥è ã®äžåæ§ã«æ³šæãæããã«ãã¹ã¯ãŒããå ¥åããŠãã ããã ããã§ããã¯ãã§ãã ç²ç®çã«ãã¹ã¯ãŒããå ¥åããEnterãæŒããŸãã
æé 8ïŒã«ãŒããã£ã¬ã¯ããªã«æ°ãããã©ã«ããŒãäœæããŸãã
sudo mkdir UE4
æé 9ïŒãã®ãã©ã«ããŒã«ãã¹ãŠã®ã¢ã¯ã»ã¹èš±å¯ãããããšã確èªããŸãã
sudo chmod 777 UE4
ã¹ããã10ïŒæ¬¡ã«ãããŠã³ããŒãããGitHubã¯ã©ã€ã¢ã³ããMacã«ã€ã³ã¹ããŒã«ããŸãã å®è¡ããŠãã¢ã«ãŠã³ãã§ãã°ã€ã³ããŸãã å·Šã®åã«ã¯ããªããžããªãããŠã³ããŒãã§ããã¢ã«ãŠã³ãã®ãªã¹ãã衚瀺ãããŸãïŒã¢ã«ãŠã³ããéžæããŸãã å³åŽã«è¡šç€ºããããªããžããªã®ãªã¹ãã§ã* Your_Account * / UnrealEngineãéžæãã[ã³ã³ãã¥ãŒã¿ãŒã«è€è£œ]ãã¯ãªãã¯ããŸãã ã¯ããŒãã³ã°ãã©ã«ããŒã«ã¯ãããŒããã©ã€ãã®ã«ãŒããã£ã¬ã¯ããªã«ããã以åã«äœæããUE4ãã©ã«ããŒãæå®ããŸãã
éèŠïŒãªããžããªã®ã¯ããŒã³äœæãUE4ãããžã§ã¯ãã®äœæãªã©ã®ããã«ããã¹ãŠã®ãã¹ãšãã£ã¬ã¯ããªãæ確ã«å®ã£ãŠãã ãããããããªããšããã¡ãã¡ã«ãã¡ã€ã«ãèŠã€ãããªãããããããžã§ã¯ããåã«çµã¿ç«ãŠãããŸããã çŸæç¹ã§ã¯ãã·ã¹ãã ã¯ãšã³ãžã³ã®ãœãŒã¹ã³ãŒããšãããžã§ã¯ãèªäœã®å Žæã®å€æŽã«éåžžã«ææã§ãã
ã¹ããã11ïŒä»¥åã«ããŠã³ããŒãããzipãã¡ã€ã«ã¯OS Xã§è§£åããå¿ èŠããªãããšã«æ³šæããŠãã ãããããã§ã¯ãœãŒã¹ã³ãŒãã®ã¿ãå¿ èŠã§ãã
ã¹ããã12ïŒãœãŒã¹ãã³ã³ãã¥ãŒã¿ãŒã«ã³ããŒãããããã³ãã³ãã©ã€ã³ã«æ»ãã次ã®ã³ãã³ããå®è¡ããŸãã
for (( ; ; )) ; do ./UnrealRemoteTool; done
UnrealRemoteToolãŠãŒãã£ãªãã£ãèµ·åãã ãããã Windows PCããã®ã³ãã³ãããªãã¹ã³ããŸãã ã«ãŒãã§å®è¡ããããšã«æ³šæããŠãã ããã ããšãã°ããšã©ãŒã®ããã«ãŠãŒãã£ãªãã£ãçªç¶çµäºããå ŽåããŠãŒãã£ãªãã£ã¯åã³éããåäœãç¶ç¶ããŸãã ãããã£ãŠãOS Xã³ã³ãã¥ãŒã¿ãŒããã€ã§ããªã³ã«ããŠããããšãã§ãããã€ã§ãããã䜿çšããŠiOSãããžã§ã¯ããããã¯ã§ããŸãã Macãå®å šã«ãªãã«ãªã£ãŠããå Žåã¯ãç·æ¥ã·ã£ããããŠã³åŸã«ãªã³ã«ãªãããã«æ§æã§ããŸãã ããã¯æ¬¡ã®ããã«è¡ãããŸãïŒã·ã¹ãã ç°å¢èšå®->çãšãã«ã®ãŒã¯ãé»æºé害ãã§ãã¯ããã¯ã¹ã®åŸã«èªåçã«èµ·åããªã³ã«ããŸãã ã¿ãŒããã«ãæ¯åæåã§èµ·åãããforã³ãã³ããå®è¡ããŠUnrealRemoteToolãèµ·åããªãããã«ããã«ã¯ãã¿ãŒããã«ãŠã£ã³ããŠã§æ¬¡ã®ã³ãã³ãã»ãããå®è¡ããŸãïŒçŸåšã®ãŠã£ã³ããŠã¯UnrealRemoteToolããã®ã³ãã³ããåŸ æ©ããŠãããããæ°ãããŠã£ã³ããŠãéãå¿ èŠããããŸãïŒïŒ
cd /UE4/UnrealEngine/Engine/Build/IOS sudo chmod 777 /UE4/UnrealEngine/Engine/Build/IOS touch StartUnrealRemoteTool.command sudo chmod 777 StartUnrealRemoteTool.command open /UE4/UnrealEngine/Engine/Build/IOS
IOSãã£ã¬ã¯ããªãå«ãFinderãŠã£ã³ããŠã衚瀺ãããŸãã ããã«StartUnrealRemoteTool.commandãã¡ã€ã«ãèŠã€ããŸãã ãããå³ã¯ãªãã¯ããŠãã¡ãã¥ãŒé ç®ã§éã-> TextEdit.appãéžæããŸã
éãããã¡ã€ã«ã«ã次ã®ã³ãã³ããèšè¿°ããŸã
cd /UE4/UnrealEngine/Engine/Build/IOS for (( ; ; )) ; do ./UnrealRemoteTool; done
äžçªäžã®[ãã¡ã€ã«]-> [ä¿å]ãã¯ãªãã¯ããŸãã 次ã«ã[ã·ã¹ãã ç°å¢èšå®]-> [ãŠãŒã¶ãŒãšã°ã«ãŒã]ã·ã¹ãã èšå®ãéããå·ŠåŽã®ãŠã£ã³ããŠã§ã¢ã«ãŠã³ããéžæããŠãå·Šäžã®[ ãã°ã€ã³ã¢ã€ãã ]ã¿ãã«ç§»åããŸãã éããã¿ãã®ãã©ã¹èšå·ãã¯ãªãã¯ããã«ãŒãã«ç§»åããŠãã¡ã€ã«StartUnrealRemoteTool.commandãéžæããŸãã ãããã£ãŠãã·ã¹ãã ãèµ·åãããã³ã«ãUnrealRemoteToolãèªåçã«èµ·åããMacã¯ãã€ã§ã䜿çšã§ããç¶æ ã«ãªããŸãã
ã¹ããã13ïŒ OS Xã§ã¯ãã³ã³ãã¥ãŒã¿ãŒã®ååã確èªãããã¡ã€ã«å ±æãæ§æããã ãã§ãã [ã·ã¹ãã ç°å¢èšå®]-> [å ±æ]ã«ç§»åãã [ãã¡ã€ã«å ±æ]ã®æšªã«ãããã§ãã¯ããã¯ã¹ããªã³ã«ããŸã ã [ ãã¹ãŠã®ãŠãŒã¶ãŒã«ã¢ã¯ã»ã¹ãèš±å¯]ãéžæããŸã ã ãŠã£ã³ããŠã®äžéšã«ãã³ã³ãã¥ãŒã¿ãŒã®ååã衚瀺ãããŸãã [ ç·šé]ãã¯ãªãã¯ãã衚瀺ããããŠã£ã³ããŠã§ååãå€æŽããŠãã¹ããŒã¹ãå«ãŸããªãããã«ããŸãã ããšãã°ãHGSMacMiniã ã³ã³ãã¥ãŒã¿ãŒåã®æ«å°Ÿã®.localåŸçœ®ã«æ³šæããŠãã ããã äžæã®çŽã«ã©ããã«ååãšåŸçœ®èšå·ãæžããšãããã«å¿ èŠã«ãªããŸãã
çª
ã¹ããã14ïŒ Windowsã§ã³ãŒãããŒã¹ã®ãããžã§ã¯ããæäœãããšã³ãžã³èªäœããœãŒã¹ããã³ã³ãã€ã«ã§ããããã«ããã«ã¯ãVisual Studio 2013ïŒãã以äžã§ã¯ãªãïŒãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã ç¡æã®ExpressããŒãžã§ã³ã§ååã§ãã ãã¡ãããããŠã³ããŒãã§ããŸãã
ã¹ããã15ïŒã€ã³ã¹ããŒã«ã®å®äºåŸãVS2013ã1åèµ·åããŸãã ããŒããéžæããŸãã 奜ã¿ã®ç°å¢èšå®ãéžæããŠãã ãã ãã°ã€ã³ã®ç³ãåº-ãã°ã€ã³ïŒå°æ¥TFS OnlineãããŒãžã§ã³ç®¡çã·ã¹ãã ãšããŠäœ¿çšããå Žåã«å¿ èŠïŒ
ã¹ããã16ïŒæ¬¡ã«ãWindowsã«GitHubã¯ã©ã€ã¢ã³ããã€ã³ã¹ããŒã«ããŸãã ã€ã³ã¹ããŒã«åŸãã¢ã«ãŠã³ãã§ãã°ã€ã³ãããšã2çªç®ãš3çªç®ã®æé ãã¹ãããã§ããŸãã 次ã«ãã¯ã©ã€ã¢ã³ãèšå®ïŒã®ã¢ãå³äžïŒãéãã[ ã¯ããŒã³ãã¹]ãã£ãŒã«ãã«CïŒ\ UE4ãšå ¥åãã[ æŽæ° ]ãã¿ã³ãã¯ãªãã¯ããŸãã ããã§ãã€ã³ã¿ãŒããããããœãŒã¹ãããŠã³ããŒãã§ããŸãã å·Šäžé ã®ãã©ã¹èšå·ãã¯ãªãã¯ããŠã[ ã¯ããŒã³ ]ã¿ãã«ç§»åããŸãã OS Xã§è¡ãããæ¹æ³ãšåæ§ã«ãå·ŠåŽã®åãšå³åŽã®UnrealEngineã§ã¢ã«ãŠã³ããéžæãããŠã£ã³ããŠã®äžéšã«ãã[ ã¯ããŒã³ ]ãã¯ãªãã¯ããŸãã
ã¹ããã17ïŒãªãã·ã§ã³ïŒããŒãžã§ã³ç®¡çã·ã¹ãã ãšããŠTFSã䜿çšããäºå®ãããå Žåããã®æ®µéã§GitHubã§éžæãããããžã§ã¯ããç¡å¹ã«ããå¿ èŠããããŸãã ã¯ã©ã€ã¢ã³ãã®ã¡ã€ã³ç»é¢ã§ãå·Šã®åã«UnrealEngineãããžã§ã¯ãã衚瀺ãããŸãã ãããå³ã¯ãªãã¯ããŠ[ åé€ ]ãéžæããŸãã 次ã«ãGitHubãéããCïŒ\ UE4 \ UnrealEngineãã©ã«ããŒã«ç§»åããŠãé衚瀺ã®.gitãã©ã«ããŒãåé€ããŸã-åé€ãããªãå Žåã¯ãã³ã³ãã¥ãŒã¿ãŒãåèµ·åããããããã¯è§£é€ããã°ã©ã ã䜿çšããŠåé€ããŸãã
ã¹ããã18ïŒãœãŒã¹ã®ã³ããŒåŸã以åã«ããŠã³ããŒãããzipãã¡ã€ã«ã亀äºã«éããŸãïŒæšæºã®WindowsãŠãŒãã£ãªãã£ã§ã¯ãªããWinRarãªã©ã䜿çšããããšããå§ãããŸãïŒïŒ Required_1of2.zipããã³Required_2of2.zip-ã³ã³ãã³ãããã©ã«ããŒCïŒ\ UE4 \ UnrealEngineã«è§£åããŸã亀æã
ã¹ããã19ïŒæ¬¡ã«ãCïŒ\ UE4 \ UnrealEngineãã©ã«ããŒã§ãããã¹ããã¡ã€ã«ãäœæãããã®æ¡åŒµåã次ã®ããã«å€æŽããŸãïŒUE4Games.uprojectdirs-Notepad ++ãŸãã¯éåžžã®ã¡ã¢åž³ã§éãã `ã/`ãè¿œå ããŸãïŒåŒçšç¬Šãªãã§ã®ã¿ãããªãªããšã¹ã©ãã·ã¥ïŒã ãã¡ã€ã«ãä¿åããŸãã
ã¹ããã20ïŒãã©ã«ããŒCïŒ\ UE4 \ UnrealEngine \ Engine \ Saved \ UnrealBuildToolã«ç§»åããBuildConfiguration.xmlãã¡ã€ã«ãéããŸãïŒãšã³ã³ãŒããæå·ããªãããã«ããã®ãã¡ã€ã«ãšãã以éã®ãã¹ãŠã®ãã¡ã€ã«ãNotepad ++ã§éãã®ãæåã§ããæ¿å ¥ãæ éã«äœ¿çšããŠãã ããïŒã
çµäºã¿ã°ã®æåŸïŒããŒãžã§ã³4.3ã§ã¯ããã®ã»ã¯ã·ã§ã³ã¯æ§æãã¡ã€ã«ã®å é ã«æ¢ã«ååšããŸã-ç·šéããå¿ èŠããããŸãïŒã次ã®xmlã³ãŒããæ¿å ¥ããŸãã
<RemoteToolChain> <PotentialServerNames> <Item>AlternativeServer</Item> </PotentialServerNames> <RemoteServerName>HGSMacMini.local</RemoteServerName> </RemoteToolChain>
HGSMacMini.localãã以åã«èšé²ããOS Xã³ã³ãã¥ãŒã¿ãŒã®ååã«çœ®ãæããŸãã ãã¡ã€ã«ãä¿åããŸãã
ã¹ããã21ïŒæ¬¡ã«ã次ã®2ã€ã®ãã¡ã€ã«ãé çªã«éããŸãã
CïŒ\ UE4 \ UnrealEngine \ Engine \ Binaries \ DotNET \ IOS \ IPhonePackager.exe.config
CïŒ\ UE4 \ UnrealEngine \ Engine \ Source \ Programs \ IOS \ iPhonePackager \ Properties \ iPhonePackager.exe.config
ã»ã¯ã·ã§ã³ã«æ¬¡ã®è¡ãååšããããšã確èªããŸãïŒååšããªãå Žåã¯æ¿å ¥ããããfalseããtrueã«ä¿®æ£ããå¿ èŠããããŸãïŒã
<loadFromRemoteSources enabled="true"/>
å€æŽãè¡ãããå Žåã«ãã¡ã€ã«ãä¿åãã
ã¹ããã22ïŒãã©ã«ããŒCïŒ\ UE4 \ UnrealEngine \ Engine \ Build \ IOSã«ç§»åãããã¡ã€ã«UE4Game-Info.plistïŒçŸåšã¯æ£ç¢ºã«Notepad ++ã«ãããŸãïŒãéããCFBundleURLNameããããã£ãèŠã€ããŸãã OS Xã«ã€ã³ã¹ããŒã«ãããããããžã§ã³ãããã¡ã€ã«ã®äœææã«æå®ããããã³ãã«å€ã§çœ®ãæããå¿ èŠããããŸããéåžžã¯ããcom.AwesomeDeveloper.CoolGameãã®ããã«ãªããŸã-åŒçšç¬Šãªãã CoolGameã®ä»£ããã«ããã®æ¹æ³ã§ãã³ãã«ãæ§æããå ŽåïŒè€æ°ã®ã²ãŒã ããªãªãŒã¹ããããã«ïŒãååšããå ŽåããããŸãã ããã¯æ£åžžã§ãã 次ã«ã次ã®è¡ãèŠã€ããŸãã
<string>com.epicgames.${BUNDLE_IDENTIFIER}</string>
com.epicgamesããã³ãã«ã®å€ã«çœ®ãæããŸãããä»åã¯æå³çã«ã²ãŒã ã®ååãçç¥ããŠããŸãã ãšã³ã³ãŒãã£ã³ã°ãBOMãªãã®UTF-8ã«äžèŽããããšã確èªããŠãããã¡ã€ã«ãä¿åããŸãã ããã¯ãã¡ã¢åž³++ã¡ãã¥ãŒã®[ãšã³ã³ãŒã]ãã¯ãªãã¯ããŠå®è¡ã§ããŸãã
ã¹ããã23ïŒèšŒææžãšããããžã§ãã³ã°ãããã¡ã€ã«ãèšæ¶ããŸãã ãã©ã«ããæ®ããã«ãOS Xã«ã€ã³ã¹ããŒã«ãããããããžã§ãã³ã°ãããã¡ã€ã«ãã³ããŒããUE4Game.mobileprovisionã«ååãå€æŽããŸãã
ã¹ããã24ïŒèšŒææžãã€ã³ããŒãããããã«æ®ããŸãã [ã¹ã¿ãŒã]ãã¿ã³ãã¯ãªãã¯ããæ€çŽ¢ã«MMC.exeãšããååãå ¥åããŠãEnterããŒãæŒããŸãã 衚瀺ããããŠã£ã³ããŠã§ã[ãã¡ã€ã«]-> [ã¹ãããã€ã³ã®è¿œå ãšåé€...]ãã¯ãªãã¯ããŸãã衚瀺ããããŠã£ã³ããŠã®å·ŠåŽã®åã§[ãªã¹ã]ãã[ 蚌ææž ] ãéžæããŸãã ãã€ã¢ãã°ãéããŠãã¡ã€ã³ãŠã£ã³ããŠã®å·ŠåŽã®åã«[蚌ææž-çŸåšã®ãŠãŒã¶ãŒ]é ç®ã衚瀺ãããŸãã ãããå±éããå人->蚌ææžãã©ã«ããŒãéžæããŸãã 蚌ææžã衚瀺ããããŠã£ã³ããŠã®äžå€®ãå³ã¯ãªãã¯ãã[ãã¹ãŠã®ã¿ã¹ã¯]-> [ã€ã³ããŒã]ãéžæããŸãã 衚瀺ããããŠã£ã¶ãŒããŠã£ã³ããŠã§ã[次ãž]ãã¯ãªãã¯ããŸãã ãã£ã¹ã¯äžã®OS Xã«ãšã¯ã¹ããŒãããã蚌ææžãèŠã€ããŠéžæããŸãã [次ãž]ã[å®äº]ã®é ã«ã¯ãªãã¯ããŸãã ãã®åŸããã¹ãŠã®ã¿ã¹ã¯->ã€ã³ããŒã->次ãžãå床ã¯ãªãã¯ããŸãã ãã ããä»åã¯ããã£ã«ã¿ãŒããæåã«éžæããŠãæ¡åŒµåã* .p12ã®ãšã¯ã¹ããŒããããç§å¯ããŒãèŠã€ããŸãã 次ã«[次ãž]ãã¯ãªãã¯ãããšããã¹ã¯ãŒããèšå®ããããã«æ±ããããŸãã ã¹ãããããŸãããã以å€ã®å ŽåãUE4ã§ãããžã§ã¯ããèªåçã«ããã¯ããå Žåãã¢ã¯ã»ã¹æåŠãå¯èœã§ãã ãŸãã[次ãž]ã[å®äº]ã®é ã«ã¯ãªãã¯ããŸãã ãã¹ãŠã®æºåäœæ¥ãå®äºããŸããã MMC.exeãéããŸãã ç¶è¡ã®ç³ãåºã§ãæåŠããŸãã ããã¯èšŒææžãšã¯é¢ä¿ãããŸããã
ã¹ããã25ïŒæåŸã«ãCïŒ\ UE4 \ UnrealEngine \ GenerateProjectFiles.batãã¡ã€ã«ãå®è¡ããŠããšã³ãžã³ãããžã§ã¯ããšè£å©ããã°ã©ã ãçæã§ããŸãã ã¹ã¯ãªãããå®è¡ããããçæãããUE4.slnãåããŠå®è¡ããŸãïŒããã¯ãšã³ãžã³èªäœã®è§£æ±ºçã§ãïŒã äžéšã®ãããžã§ã¯ãèšå®ã§ããã®ãããªãæåã«èŠèŽããåŸã éçºãšãã£ã¿ãŒãšWin64ãéžæããŸããããã«ãããWin64ãéžæããå ŽæãããããªããªããŸãã 次ã«ããœãªã¥ãŒã·ã§ã³ãšã¯ã¹ãããŒã©ãŒã§UE4ãããžã§ã¯ããéžæããå³ã¯ãªãã¯ããŠ[ ãã«ã ]ãéžæããŸãã ãšã³ãžã³ã¯15ã40åã³ã³ãã€ã«ããŸãã åè¿°ã®ããã«ããã¹ãŠã¯ããã»ããµãšãã£ã¹ã¯ã·ã¹ãã ã«äŸåããŸãã ãšã³ãžã³èªäœïŒUE4ãããžã§ã¯ãïŒã®ã¢ã»ã³ããªãå®äºããåŸããœãªã¥ãŒã·ã§ã³ãšã¯ã¹ãããŒã©ãŒã§ããã°ã©ã ãã£ã«ã¿ãŒãéããUnrealFrontendãããžã§ã¯ããã³ã³ãã€ã«ããŠãåºåã§åãååã®ããã°ã©ã ãååŸããŸãã ã³ãŒãã®ãããã¡ã€ãªã³ã°ã«åœ¹ç«ã¡ãŸãããŸãããšãã£ã¿ãŒã®èµ·åããŒã«ã䜿çšããŠããã€ã¹ã«ãããžã§ã¯ããããã¯ããã³ã€ã³ã¹ããŒã«ããéã®ãšã©ãŒã¡ãã»ãŒãžãåé¿ããã®ã«ã圹ç«ã¡ãŸãã
ã¹ããã26ïŒã¢ã»ã³ããªãå®äºãããšãå®æããUE4ãšãã£ã¿ãŒãéãããšãã§ããŸãããã®ãšãã£ã¿ãŒã¯ãCïŒ\ UE4 \ UnrealEngine \ Engine \ Binaries \ Win64 \ UE4Editor.exeã«ãããŸãã æåã«ããããžã§ã¯ããäœæããããã«æ±ããããŸãã [ Code Base Project]ãéžæãã[ ã¹ã¿ãŒã¿ãŒã³ã³ãã³ããå«ãã]ãã§ãã¯ããã¯ã¹ããªãã«ããŠããã£ã¬ã¯ããªãšããŠCïŒ\ UE4 \ UnrealEngine \ãéžæããŸãããã£ã¬ã¯ããªã¯éåžžã«éèŠã§ãã 次ã«[ ãããžã§ã¯ãã®äœæ ]ãã¯ãªãã¯ããŸã ã
ã¹ããã27ïŒãããžã§ã¯ãäœæãŠã£ã³ããŠãéããVisual Studio 2013ãéããæ°ããã³ãŒãããŒã¹ã®ãããžã§ã¯ãã®ãœãŒã¹ã³ãŒãã衚瀺ãããŸãã å¿ èŠãªã®ã¯ããœãªã¥ãŒã·ã§ã³ãšã¯ã¹ãããŒã©ãŒã§ãããžã§ã¯ããéžæããå³ã¯ãªãã¯ããŠ[ãã«ã]ãéžæããããšã ãã§ãã
ã¹ããã28ïŒãããžã§ã¯ããã³ã³ãã€ã«ããåŸãUE4Editor.exeãå床å®è¡ãããªã¹ããããããžã§ã¯ããéžæããŸãã éããšããããžã§ã¯ãã®åºæ¬æ©èœïŒããã€ã¹äžã§ãã«ãããã³ãããã€ããæ©èœïŒã®ãã¹ãã«é©ããããã©ã«ãã§äœæããããããã衚瀺ãããŸãã ãããã£ãŠããã®ãããããããžã§ã¯ãã®ãã£ã¬ã¯ããªã«ä¿åããŸãã ãŸãããããžã§ã¯ãã梱å ããããã®éå§ã«ãŒããšããŠæ©èœããŸãã 次ã«ã[ç·šé]-> [ãããžã§ã¯ãèšå®]-> [ããããšã¢ãŒã]ã«ç§»åãã[ ã²ãŒã ã®ããã©ã«ãããã]ãã£ãŒã«ãã«ä¿åããããããæå®ããŸãã 以äžã§ã¯ã Default GameModeãã£ãŒã«ãã«ãäœæããŠã³ã³ãã€ã«ãããããžã§ã¯ãã®GameModeãå«ãŸããŠããããšã確èªããŠãã ããã ããšãã°ãIdolGameModeã éžæãããŠããªãå Žåã¯ããªã¹ãããéžæããŸãã
ã¹ããã29ïŒèšå®ãçµäºããã«ã ããã±ãŒãžã³ã°ã»ã¯ã·ã§ã³ã«ç§»åãã ãããžã§ã¯ãã®äžéšã»ã¯ã·ã§ã³ãå±éããŸãã ãã以å€ã®å Žåã¯ããããžã§ã¯ãããã«ããããšãã«[ å®å šãªåæ§ç¯]ã®ãã§ãã¯ãå€ããšããšã³ãžã³å šäœãåã³ã³ãã€ã«ãããŸããããã¯éåžžã«é·ãæéã§ãã å®å šãªåæ§ç¯ã¯ãå®å šãªæ§ç¯ãæ¬åœã«å¿ èŠãªãªãªãŒã¹ãŸãã¯ãã®ä»ã®éèŠãªæ§ç¯ãæ§ç¯ããå Žåã«ã®ã¿äœ¿çšããŠãã ããã
ã¹ããã30ïŒæåŸã®ã¹ãããã¯æ®ããiOSçšã«ãããžã§ã¯ããæ§æããŸãã èšå®ã§ãiOSã»ã¯ã·ã§ã³ã«ç§»åããæ§æãã¿ã³ãã¯ãªãã¯ããŸãã ãã¹ãŠããããžã§ã¯ãã¯ããã€ã¹ã«ããã¯ããŠããŠã³ããŒãããæºåãã§ããŠããŸãã
ã¹ããã31ïŒãããžã§ã¯ãã* .ipaãã¡ã€ã«ã«ããã¯ããã«ã¯ãèšå®ãéããŠãã¡ã€ã³ãšãã£ã¿ãŒãŠã£ã³ããŠã®[ãã¡ã€ã«]-> [ãããžã§ã¯ãã®ããã±ãŒãžå]-> [iOS]ãã¯ãªãã¯ããŸãã å®æããipaãã¡ã€ã«ãé 眮ãããã£ã¬ã¯ããªãéžæãã[OK]ãã¯ãªãã¯ããŸãã ãããžã§ã¯ãã®ã³ã³ãã€ã«ãšããã±ãŒãžã³ã°ãéå§ãããŸãã ããã±ãŒãžã®æåŸã«ãã¢ã»ã³ããªãå®è¡ããããã©ãããã©ãŒã ã®ååãæã€ãã©ã«ããŒïŒãã®å Žåã¯iOSïŒãæå®ããããã£ã¬ã¯ããªã«è¡šç€ºããããã®äžã«ã²ãŒã ã§åæãããŠããipaãã¡ã€ã«ããããŸãã ããã±ãŒãžã³ã°ã¯ââéåžžã«é·ããªãå¯èœæ§ãããããã®é²è¡ç¶æ³ã¯ãŠã£ã³ããŠãŠã£ã³ããŠ->ãã°ã®åºåã§ç£èŠã§ããããšã«æ³šæããŠãã ããã OS Xã§åŒ±ããã·ã³ã䜿çšããŠããå Žåããã®ããã»ã¹ã«ã¯æ°åããæ°æéãããããšããããŸããããã¯ãã¹ãŠã財åèœåã«äŸåããŸãã ããããæåã®ã³ã³ãã€ã«ãšãšãã£ã¿ãŒèªäœã®ãããžã§ã¯ãã³ã³ãã³ãã®ã¿ã®å®æçãªå€æŽã®åŸã匱ãMac Miniã§ãããã±ãŒãžåã«1åãããããŸããã
ã¹ããã32ïŒãã¹ãŠãé 調ã«é²ã¿ãã¢ã»ã³ããªãæåãããšãããšãã°iTunesã䜿çšããŠãããã€ã¹ã«ããŠã³ããŒãã§ããipaãã¡ã€ã«ãååŸããŸãã iTunesã«ipaãè¿œå ããŸãïŒãŸãã¯ããã£ã¹ã¯äžã®ä»ã®ã¢ããªã±ãŒã·ã§ã³çšã®ãã©ã«ããŒã«é 眮ããŸããããããã°ã圌ã¯ãããèªåã§ç¢ºèªã§ããŸãïŒã ããã€ã¹ãã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ãã[ã¢ããª]ã¿ãã§ãªã¹ãããã¢ããªã±ãŒã·ã§ã³ãéžæãã[ã€ã³ã¹ããŒã«]ãã¯ãªãã¯ããŸãã ããã€ã¹ãåæããããã«æ®ããããã€ã¹ã«ã¢ããªã±ãŒã·ã§ã³ãã€ã³ã¹ããŒã«ãããŸãã
ã¹ããã33ïŒããã€ã¹ã§ã¢ããªã±ãŒã·ã§ã³ãèµ·åããå¥ã®æ¹æ³ãšããŠïŒè€æ°åæã«å®è¡ã§ããŸãïŒããšãã£ã¿ãŒã®ã¡ãã¥ãŒã®å³åŽã§ã èµ·åãã¿ã³ã®æšªã«ããç¢å°ãã¯ãªãã¯ãããªã¹ãããAll_iOS_On_YourPCãªã©ãéžæããŠã èµ·åãã¿ã³ãã¯ãªãã¯ããŸãã ãããžã§ã¯ãã¯ãæ¥ç¶ãããããã€ã¹ãžã®æ¢±å ãšã€ã³ã¹ããŒã«ãéå§ããŸãïŒMacãäœæ¥ã«å«ãŸããŸãïŒã
ãããã«
以äžã§ãã è·å Žã§ã¯ãWindows PCããçŽæ¥UE4ã§iOSãããžã§ã¯ããäœæã§ããŸãã çµè«ãšããŠããã®æ¹æ³ã¯ã³ãŒãããŒã¹ã®ãããžã§ã¯ãã§ã®ã¿æ©èœããããšã«æ³šæããŠãã ããã ãã ãã空ã®ã³ãŒããã¡ã€ã«ãè¿œå ããã ãã§ãBlueprintãããžã§ã¯ããã³ãŒãããŒã¹ã«ç°¡åã«å€æŽã§ããŸãããšãã£ã¿ãŒã§ã[ãã¡ã€ã«]-> [ã³ãŒãããããžã§ã¯ãã«è¿œå ]ãã¯ãªãã¯ããŸãã ãããã£ãŠããããžã§ã¯ãã¯ã³ãŒãããŒã¹ã«ãªããéåžžã¯äžèšã®æ¹æ³ã䜿çšããŠãã«ããããŸãã
çŸæç¹ã§ã¯ãã¡ãœããã¯æ¬¡ã®ããŒãžã§ã³ã®ãšã³ãžã³ã§ãã¹ããããŠããŸãïŒ4.2.xã4.3