Helkar Posted April 6, 2015 Share Posted April 6, 2015 как оказалось, нужно батник запустить в коммандной строке windows, а не cygwin @ Quote Link to comment Short link Share on other sites More sharing options...
TheHermit Posted June 3, 2015 Share Posted June 3, 2015 Hello I hope the internet can translate my english to russian succesfully! I am attempting to build XVM and have run into a number of issues. It looks like the build process is now different to what it once was. Can you please advise how to resolve these issues? Build AS2 step: Using the standard as2proj files, I receive message that "igen" fails. I have added the path "C:\Program Files (x86)\FlashDevelop\Tools\IGen" to my environment variables on windows and now it appears that this step succeeds. Build AS2 step: When xvm.as2proj is open, I press F8 and the file xvm.swf is placed into the "<base>/~output/~ver/gui/scaleform" directory. Do I need to open every other as2proj file and build individually? (I have noiw resolved this by right clicking the top level of the project treeview (xvm(AS2)) and selecting 'build all projects') Build AS3 step: There is no xvm.as3proj to open. I have attempted instead to open _xvm_main.as3 and 'build all projects', but receive many errors:'Errors inside' Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\_xvm_main.as3proj" -ipc c4e193d0-b518-4e27-b9bc-041f855cef73 -version "4.6.0; 3.1" -compiler "C:\Users\TheHermit\AppData\Local\FlashDevelop\Apps\flexsdk\4.6.0" -library "C:\Program Files (x86)\FlashDevelop\Library" Building _xvm_main mxmlc -load-config+=obj\_xvm_mainConfig.xml -debug=true -incremental=true -swf-version=13 -o obj\_xvm_main635689636709981812 Starting java as: java.exe -Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.region=US -Djava.util.Arrays.useLegacyMergeSort=true -Dapplication.home="C:\Users\TheHermit\AppData\Local\FlashDevelop\Apps\flexsdk\4.6.0" -jar "C:\Users\TheHermit\AppData\Local\FlashDevelop\Apps\flexsdk\4.6.0\lib\fcsh.jar" INITIALIZING: Adobe Flex Compiler SHell (fcsh) Starting new compile. Loading configuration file C:\Users\TheHermit\AppData\Local\FlashDevelop\Apps\flexsdk\4.6.0\frameworks\flex-config.xml Loading configuration file C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\obj\_xvm_mainConfig.xml C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\types\NetworkServicesSettings.as(11): col: 58 Error: The definition of base class DAAPIDataClass was not found. public dynamic class NetworkServicesSettings extends DAAPIDataClass ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Defines.as(27): col: 61 Error: Access of undefined property XfwConst. public static const XVM_RESOURCES_DIR_NAME:String = XfwConst.XFW_RESOURCES_DIR_NAME + "xvm/"; ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Defines.as(27): col: 61 Error: Access of undefined property XfwConst. public static const XVM_RESOURCES_DIR_NAME:String = XfwConst.XFW_RESOURCES_DIR_NAME + "xvm/"; ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Defines.as(7): col: 19 Error: Definition com.xfw:XfwConst could not be found. import com.xfw.XfwConst; ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Locale.as(18): col: 22 Error: Access of undefined property JSONx. s_lang = JSONx.parse(lang_str).locale; ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Locale.as(20): col: 17 Error: Access of undefined property Logger. Logger.add("Locale: \"locale\" section is not found in the file"); ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Locale.as(29): col: 17 Error: Access of undefined property Logger. Logger.err(new Error("locale data is not loaded")); ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Locale.as(64): col: 29 Error: Access of undefined property XfwUtils. macro = XfwUtils.substitute(macro, stringParts); ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\Locale.as(9): col: 19 Error: Definition com.xfw could not be found. import com.xfw.*; ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\types\veh\VehicleData.as(11): col: 38 Error: The definition of base class DAAPIDataClass was not found. public class VehicleData extends DAAPIDataClass ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\controls\PrefMultiSelectionDropDown.as(7): col: 53 Error: The definition of base class MultiSelectionDropDown was not found. public class PrefMultiSelectionDropDown extends MultiSelectionDropDown ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\infrastructure\XvmModBase.as(13): col: 37 Error: The definition of base class XfwModBase was not found. public class XvmModBase extends XfwModBase ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\infrastructure\XvmModBase.as(15): col: 37 Error: Method marked override must override another method. override protected function processView(view:IView, populated:Boolean):IXfwView ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\controls\NationMultiSelectionDropDown.as(8): col: 55 Error: The definition of base class MultiSelectionDropDown was not found. public class NationMultiSelectionDropDown extends MultiSelectionDropDown ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\controls\ClassMultiSelectionDropDown.as(7): col: 54 Error: The definition of base class MultiSelectionDropDown was not found. public class ClassMultiSelectionDropDown extends MultiSelectionDropDown ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\controls\LevelMultiSelectionDropDown.as(7): col: 54 Error: The definition of base class MultiSelectionDropDown was not found. public class LevelMultiSelectionDropDown extends MultiSelectionDropDown ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\infrastructure\IXvmView.as(10): col: 39 Error: Interface IXfwView was not found. public interface IXvmView extends IXfwView ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\types\dossier\VehicleDossierCut.as(9): col: 44 Error: The definition of base class DAAPIDataClass was not found. public class VehicleDossierCut extends DAAPIDataClass ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\types\dossier\DossierBase.as(10): col: 38 Error: The definition of base class DAAPIDataClass was not found. public class DossierBase extends DAAPIDataClass ^ C:\Users\TheHermit\Documents\programming\xvm\xvm\src\xvm\xvm_main\com\xvm\types\cfg\CConfig.as(7): col: 34 Error: Definition net.wg.data.daapi.base:DAAPIDataClass could not be found. import net.wg.data.daapi.base.DAAPIDataClass; ^ (fcsh)Running Post-Build Command Line... cmd: bash .build-swc-xvm_main.sh Loading configuration file C:\Users\TheHermit\AppData\Local\FlashDevelop\Apps\flexsdk\4.6.0\frameworks\flex-config.xml Adobe Compc (Flex Component Compiler) Version 4.6.0 build 23201 Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved. command line: Error: unable to open '../xfw/~output/swc/wg.swc' Use 'compc -help' for information about using the command line. Build halted with errors. Done(1) Kotyarko_O, on Jan 18 2015 - 08:12, said:With the framework of these scripts are no more. The theme will be updated? MR A said:All in good time :) I will continue trying to get my build working, and may consider creating an english language update if I can make it work! I hope you can help me. Thank you @ Quote Link to comment Short link Share on other sites More sharing options...
Wilem82 Posted June 3, 2015 Share Posted June 3, 2015 Как собрать src/xvm/ ? Там нету wg.as3proj. _xvm_main не собирается, много чего ему не хватает: http://snag.gy/1SSUN.jpg @ Quote Link to comment Short link Share on other sites More sharing options...
ForWinder Posted June 4, 2015 Share Posted June 4, 2015 Build AS3 step: There is no xvm.as3proj to open. I have attempted instead to open _xvm_main.as3 and 'build all projects', but receive many errors: Как собрать src/xvm/ ? Там нету wg.as3proj. _xvm_main не собирается, много чего ему не хватает: http://snag.gy/1SSUN.jpg Как я понял, этот файл в другом месте: \src\xfw\src\actionscript После его сборки ошибки пропали @ Quote Link to comment Short link Share on other sites More sharing options...
Yukikaze Posted June 4, 2015 Share Posted June 4, 2015 Пробуйте http://www.koreanrandom.com/forum/topic/25014-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-%D1%81%D1%80%D0%B5%D0%B4%D1%8B-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%BA%D0%B8/ @ Quote Link to comment Short link Share on other sites More sharing options...
ForWinder Posted June 4, 2015 Share Posted June 4, 2015 (edited) Пробуйте http://www.koreanran...еды-разработки/ Всё собралось. При сборке были следующие проблемы: 1 В архиве с FlexSDK по ссылке не было папки с нужной версией 11.1, из-за чего при компиляции as3 терминал. выдавал соответствующую ошибку. 2 После добавления этой папки появилась другая ошибка: Cannot read file... negative seek index, или что-то вроде этого. > Оказалось, в распакованную директорию FlexSDK /frameworks/libs/player нужно скопировать все недостающие папки. Взять их можно из другого FlexSDK, встроенного в FlashDevelop. Если встроенного нет - ставим через меню Tools -> Install software (откроется менеджер пакетов, где нужно выбрать необходимое): Flex SDK (OLD) AIR + ASC 2.0 и нажать Install 2 items. > Чтобы не страдать фигнёй с копированием, можно сразу указать путь до встроенного FlexSDK в переменной FLEX_HOME. Я так не делал, как будет работать - не знаю :) Почему нужных папок не было в архиве - хз, может это я что-то сделал не так, но мало ли... При этом папки 11.0 и 11.4 - были. В качестве терминала ConEmu норм, а вот шелл лучше выбрать от CygWin - с остальными у меня были какие-то глюки (вылеты терминала или утилит, самопроизвольное неявное переключение директории на системную или отказ запуска скрипта хоть из директории, хоть по указанному пути) Да и на линуксовый шелл этот больше похож своим поведением. Вот так всё и собралось. Edited June 4, 2015 by ForWinder @ Quote Link to comment Short link Share on other sites More sharing options...
Yukikaze Posted June 5, 2015 Share Posted June 5, 2015 В архиве с FlexSDK по ссылке не было папки с нужной версией 11.1, из-за чего при компиляции as3 терминал. выдавал соответствующую ошибку. Да, есть такое, по этому я написал что нужно выкачать playerglobal отдельно Дальше качаем https://github.com/n...hive/master.zip и распаковываем содержимое папки playerglobal-master в %FLEX_HOME%/frameworks/libs/player/ Если других проблем не возникло это хорошо. ЗЫ Кстати скрипты последних версий сами выкачивают playerglobal.swc нужной версии при наличии wget @ Quote Link to comment Short link Share on other sites More sharing options...
sech_92 Posted July 13, 2015 Share Posted July 13, 2015 Ребята, как открыть файл результата боя с другого клиента?В теме ночных сборок мелькал метод xvm_test.runTest, но у меня не хватает ума где и как его звать.Файл .dat в \utils\test поместил... @ Quote Link to comment Short link Share on other sites More sharing options...
SkepticalFox Posted July 13, 2015 Share Posted July 13, 2015 (edited) Ребята, как открыть файл результата боя с другого клиента? В теме ночных сборок мелькал метод xvm_test.runTest, но у меня не хватает ума где и как его звать. Файл .dat в \utils\test поместил... xvm/src/xpm/xvm_main/test.pyв этом файле сотрите # перед runTest(...) в onHangarInit() и поменяйте цифры в названии .dat-файла на свои Edited July 13, 2015 by ShadowHunterRUS 1 @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted July 13, 2015 Share Posted July 13, 2015 и .dat надо в корень игры кинуть @ Quote Link to comment Short link Share on other sites More sharing options...
sech_92 Posted July 13, 2015 Share Posted July 13, 2015 xvm/src/xpm/xvm_main/test.py Спасибо, получилось. и .dat надо в корень игры кинуть Может я через Ж сделал, но положил в штатную папку и включил флаг "Только чтение" - открылось. @ Quote Link to comment Short link Share on other sites More sharing options...
DJ_DJoni Posted February 19, 2016 Share Posted February 19, 2016 Еще что то не так делаю?Вот копия "Кингвина" Adminis@Admin ~ $ cd "YOUR_PATH" -bash: cd: YOUR_PATH: No such file or directory Adminis@Admin ~ $ @ Quote Link to comment Short link Share on other sites More sharing options...
SkepticalFox Posted February 20, 2016 Share Posted February 20, 2016 (edited) @DJ_DJoni, ну как можно допускать такие ошибки? YOUR_PATH - в данном контексте означает, что в этом месте нужно прописать путь до каталога с кодом. P.S. этот гайд давно неактуален. Edited February 20, 2016 by ShadowHunterRUS @ Quote Link to comment Short link Share on other sites More sharing options...
13 Posted February 20, 2016 Share Posted February 20, 2016 этот гайд давно неактуален Может быть есть желающие актуализировать информацию? Это было бы очень полезно. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.