Jump to content

K-Town

Member
  • Content Count

    87
  • Joined

  • Last visited

  • Medals

Everything posted by K-Town

  1. There aren't any "guides" that I'm aware of, but you might be able to find some with a google search. The official documentation for the tool can be found at: https://github.com/kayler-renslow/arma-dialog-creator/wiki You can also refer to the official Bohemia Interactive documentation as well: https://community.bistudio.com/wiki/Arma:_GUI_Configuration
  2. Version 1.0.7 (Released October 25, 2018) Index 1. About 2. Feature Spotlight 3. Media 4. Download 5. Control Support 6. Wiki 7. Source Code and Bug Reporting 8. Donate 9. Discord 10. Celebrate 1. About Arma Dialog Creator is a fresh take on making dialogs for Arma 3. Instead of editing header files, you are directly manipulating the dialog. Instead of reloading Arma 3 over and over again for hours trying to get that perfect alignment, load up the Preview mode and edit at the same time. This project is open-source and licensed with MIT license. 2. Feature Spotlight Below are some features that make ADC great. More detail is available in the wiki. Macros In ADC, you can assign properties to Macros, which are passed by reference. This means that when you assign a property's value to a Macro, any changes to a Macro's value will also then be forwarded to the property's value. Mini SQF Evaluator Built into ADC is a standalone small SQF evaluator. You don't need Arma 3 running to use it, there's no shady "hacking" involved, and it's integrated with ADC's header PreProcessor, meaning you can import header files that have SQF inside of them. Also, because the developer got carried away, there is also a Mini SQF Evaluator Popup so you can evaluate multiple expressions. Not sure if the popup is actually useful though. :) "How does it work?" It uses ANTLR and lots of Java code to evaluate the SQF. All of the evaluating is done with ASTs (Abstract Syntax Trees) built by ANTLR and evaluated in Java. "How much SQF is supported?" Very, very, very, very little. Probably less than 0.1% of all SQF commands are supported. If you wish to see a full list, you may visit this link. String Table Support A String Table editor is built in with ADC. Besides just being able to edit keys and values, you can pass them around as Macros throughout the program so that when the String Table changes, so does your dialog. You can also change the language in ADC to check if different localizations will go out of bounds of a control (this is shown in the trailer above). Learn more about the String Table editor here. 3. Media Here is a trailer for Arma Dialog Creator. It's a really short, but dense, video showing many of the implemented features. You can watch the video here (same video as above). Here is a longer, slower paced video that shows ADC's features pretty well. The video was made in November 2016, so a lot has changed. Here is the doobly doo. 4. Control Support Not every control is supported, unfortunately. You may view the how much is supported here. In the future, I hope to support more controls and preferably have less bugs. :) 5. Download You may download Arma Dialog Creator here. 6. Wiki Want to read lots of text? The wiki may be for you. You can find it here. 7. Source Code and Bug Reporting You may find the source code at the GitHub page. You can also report bugs at the repo's issues page (please report them there). Source Code Issues Page 8. Donate If you wish to donate to me personally, you may do so here. Please only donate if you have the money because I won't give refunds. 9. Discord I have created a Discord server for Arma Dialog Creator and Arma IntelliJ Plugin. Here is the invite (remove the spaces in the link - they are to prevent bots): https://discord.gg/K d u 8 c q e 10. Celebrate Arma Dialog Creator has been out for more than a year now (time has flown by holy cow). And I'm still screaming.
  3. Arma IntelliJ Plugin Current version: 2.0.2 (Released June 21, 2018) Index 1. Introduction 2. Features 3. Feature Spotlight 4. Planned Features 5. Download and Installation 6. Source Code 7. Donate 8. Wiki, Bug Reporting, Discord 1. Introduction Arma Intellij Plugin is a plugin developed by K-Town (me) for Intellij IDEA. Intellij IDEA is a Java IDE developed by Jetbrains and offers many amazing API's for creating support for custom languages to be used inside the Intellij editor. Intellij is free, but I recommend reading the license agreement regardless. 2. Features Arma Intellij Plugin has many features with more on the way. The plugin currently has: Syntax checking for Header files (*.h, *.hh, *.sqm, *.ext, *.hpp) and SQF files Description.ext Function lookup (See feature Spotlight a.) Documentation 'tags' which can link to command wiki documentation without opening the browser. Finding usages of variables and commands Syntax highlighting Rename refactoring for functions and variables Auto-completion (ctrl + space) Wiki documentation on commands and BIS functions via ctrl+Q Complete type checking (including arrays) Full preprocessor support for Header/Config files Partial preprocessor support for SQF Files 3. Feature Spotlight a. Auto-completion (more detail here) b. Syntax Checking c. Documentation Tags - detail here 4. Planned Features Automatic code formatting for SQF and Header Creating new mission files from scratch More code inspecting functionalities Other secret features ;) 5. Download and Installation Download: IntelliJ IDEA: Jetbrains Website Plugin (Optional download. See Install from JetBrains Plugin Repository below): GitHub: https://github.com/kayler-renslow/arma-intellij-plugin/releases JetBrains Plugin Repo: https://plugins.jetbrains.com/idea/plugin/9254-arma-intellij-plugin NOTE: both GitHub and JetBrains Repo include the same .jar files. You only need one plugin jar from one of the repositories to install. Install: To install the plugin, you do one of the following: Install it from disk with the .jar plugin download (see Plugin download above). Step 1: In Settings Dialog, click on "Plugins", click Install plugin from Disk. Step 2: Locate the "Arma Intellij Plugin.jar" (file name may have version info like v1.0.7) Step 3: Click OK button when you located the plugin jar and then Restart IntelliJ IDEA Step 4: You're good to go! Install it from JetBrains Plugin Repository. Step 1: In Settings Dialog, click on "Plugins", click Browse Repositories. Step 2: Search for "Arma Intellij Plugin" Step 3: Click Install and then Restart IntelliJ IDEA Step 4: You're good to go! 6. Source Code This project is open source. The plugin and it's creator (K-Town) aren't affiliated with Jetbrains or Bohemia Interactive. This project (the plugin code) is licensed under the MIT License. You don't need to contact me if you want to create derivatives or publish the project elsewhere. You can download and view the source here: https://github.com/kayler-renslow/arma-intellij-plugin 7. Donate I am accepting donations, but please only donate if you can afford it because I will not give refunds. Donate here. 8. Wiki, Bug Reporting, Discord The Wiki for the plugin is available. If you have been using the plugin already, you may still find something you don't yet know. Also, please report bugs at the Github repo. It's easier to manage than the forums and is specialized towards reporting bugs. You can report bugs here: https://github.com/kayler-renslow/arma-intellij-plugin/issues I have created a Discord server for Arma Dialog Creator and Arma IntelliJ Plugin. Here is the invite (remove the spaces in the link - they are to prevent bots): https://discord.gg/K d u 8 c q e
  4. I am still working on a major version. I wasn't expecting it to take a year, but I went overboard with the code rewriting and I've probably been rewriting 30,000 lines of code. I work 2 jobs spread across 60 hours a week so it's hard to find time and energy for this project as well as my many other projects. I don't think much has changed in the Arma world in terms of dialog, so version 1.0.7 should get the job done in the meantime. Thanks.
  5. This is a bug with the SQF nearestLocation syntax definition. There isn't anything you can do until I update the plug-in.
  6. ADC is still being supported with a new major version in development currently. There isn't any ADC related documentation on filling a ListBox or ComboBox because it's done after initialization of the dialog. I would take a look at Bohemia dialog related documentation for this sort of thing. https://community.bistudio.com/wiki/Dialog_Control https://community.bistudio.com/wiki/Category:Command_Group:_GUI_Control This also seems to be a good 3rd party tutorial tutorial: http://codingsoldier.blogspot.com/2015/11/creating-listbox-arma-3.html?m=1
  7. ADC has been updated! Wow. It's been almost a year since the last update. This version doesn't change much; you can finally delete Macros now and ADC should work with Mac's as well. There is still some broken functionality with Arma Tools in relation to Mac's, but I don't think there is Arma Tools for Mac's anyways. Maybe I'm wrong though. Who knows. I recently discovered that adc_updater.jar didn't build correctly with 1.0.6, so if you are using that version, you'll have to manually go to Github and download the newest release.
  8. Yea. There appears to be a false positive detection when downloading the .zip (specifically the Arma IntelliJ Plugin.jar in the .zip) from GitHub. What's weird is the false positive is gone when you download from JetBrains repo. So there must be a correlation between GitHub and the false positive.
  9. AIP 2.0.2 is available on Jetbrains Repo. I was able to download it successfully from there. GitHub still is a false positive on the virus detection for me and I really have no f'ing clue why it's doing it. If you can't download it from either location, you still will be able to install/update it from within IntelliJ itself. Instructions on how to do this are on the GitHub page: https://github.com/kayler-renslow/arma-intellij-plugin If you, for some reason, can't get it from either. I recommend disabling Windows Defender Real-Time Protection temporarily, downloading it, and then installing it. You should be able to scan the .zip file after it's downloaded with Windows Defender; from my test cases, it doesn't detect anything in the .zip. Any insight into why this is all happening will be very much appreciated.
  10. Yea I'm taking a look into it. I didn't even change that much this update.
  11. Version 2.0.2 is now available on GitHub. It will be circling around on JetBrains plugin repo in the next couple of days or so. https://github.com/kayler-renslow/arma-intellij-plugin/releases/tag/untagged-bb8c7d2fce0ebde987e9
  12. Version 2.0.1 is out. It updated command documentation and syntaxes to Arma 3 version 1.82 The update will be circling around on the Jetbrains plugin repo within the next day or 2.
  13. You can find information here: https://github.com/kayler-renslow/arma-commands-syntax
  14. I have a feeling this is related to a class name starting with a number. Look through your description.ext and included files to find a class where a number starts the name (e.g. 3dClassName, 1Button)
  15. Version 2.0.0 is here! It's taken way to long, but it has many new splendid features that I think were worth the wait. I was originally intending to have 2.0.0 include full addon support with a lot of really cool features, but I have some unfortunate news relating to the plugin. From now on, the plugin and Arma Dialog Creator will be at the lowest priority of my personal projects. This doesn't mean that I'm abandoning them, it means that I'm still interested in working on them, but I may never actually update them anymore. I'll keep updating the command syntaxes and command documentation, but that's the only promise I want to make anymore. I have accomplished every goal I set out to accomplish way back in October 2015 when I started this project. I feel like I have learned everything I can from this project and most importantly, I want to move on. I have many new projects that I want to work on that aren't related to Arma and I just can't have the lingering responsibility of the plugin and dialog creator on my conscious when I'm working on the new projects. If anyone wants to take on development of this project, that's fine with me. I'll answer your questions and such, but in terms of writing code, I may never actually update this again. I might write code, but I don't expect to. Thank you for any support you've given me throughout this endeavor. :) Change Notes Added Breadcrumbs to SQF full type checking for SQF (including arrays and return values in some instances) full syntax checking for SQF case insensitivity for all commands and variables in SQF (_var and _VAR are equivalent) a better preprocessor for SQF fully implemented preprocessor for Header/Config files better addon support (config.h files are now parsed) configurable syntax highlighting for SQF control structure commands (if, then, etc) implemented tests for plugin builds to ensure code consistency and reliability Changed Rewrote the plugin for optimization and code clarity purposes removed Arma Color Picker since there is Arma Dialog Creator all SQF command documentation now has the Notes section from the wiki updated all command definitions and documentation to 1.78 heavily optimized code inspections The Variable and Magic variable icons have changed to match default syntax highlighting colors Known Issues #include paths don't quite work when using \ as the path starter. EDIT: I forgot to mention that the plugin may take a day or 2 or be available through Jetbrains' plugin repository.
  16. Yes there are plans to add pixelGrid and such.
  17. Version 1.0.6 is now available! You can view the changes on Github: https://github.com/kayler-renslow/arma-dialog-creator/releases/tag/1.0.6
  18. Sorry for responding so late. The Controls Group is planned to be supported and ADC internally supports most of it. All that is left to do is the renderer, figure out optional and required types, and test it. I'm currently focused on finishing version 2.0 of Arma IntelliJ Plugin so it may be a while before ADC gets updated.
  19. Feature Request What I would like to see is additional functionality in BankRev to extract a list of file types rather than extracting everything. Example: bankrev.exe -f myPbo.pbo --types="cpp,sqf". The result would the entire folder structure would be extracted as well as only cpp and SQF files out of myPbo.pbo. All other files, like .ogg and .p3d files, would not be extracted. "But Why?" This would be useful for getting config functions and SQF script files to aid in IDE assists. Instead of waiting 10 minutes to extract one 4GB PBO and deleting everything you don't want, you can skip the data of non-exported file types. Besides just getting SQF files and config.cpp files, you could also just get models or sound files. This would also automatically reduce the disk space needed to extract what you want out of the PBOs. Also, there are already attempts to read PBO's without extracting the data made by the community. I personally would prefer official support of it or this requested compromise for security and compatibility reasons. I don't feel like distributing a DLL when I have no idea what's in it or where it came from. Urgency This is more of a convenience feature than something that really needs to be done. If it was implemented though, I would be very grateful. Cheers.
  20. Yea you can totally import all of the base classes, but ADC doesn't support all of the Control types so many of them wouldn't work (they would render a basic shape though). The current import system only converts what is needed. It determines what is needed by converting all Dialogs from a description.ext file and then looking at the inheritance hierarchy. Everything in the inheritance hierarchy will be converted as well. So, you could make a dummy description.ext file with a dummy Dialog. Then in the Controls, create fake Controls that extend each of RscText, RscPicture, etc. Then when you import the description.ext, all of the dummy Controls will be in a project.xml file and all of your base classes (RscText, etc) will be placed in Workspace scoped Custom Control Classes. Here is an example description.ext that does what I described: //description.ext file #include "baseControls.h" //this is the file that contains RscText, RscPicture, etc. class FakeDialog { idd=0; //ADC only requires the idd property to locate dialogs and mark for conversion/importing. class Controls { class FakeRscText : RscText; class FakeRscPicture : RscPicture; //do above for each base class you want converted }; }; Hopefully that helps. EDIT: be careful with importing on a non-empty Workspace. If you already had RscText in your Workspace scoped Custom Control Classes, you will get duplicate classes and ADC may inconsistently pick which one to use for other and the current Project/s.
  21. Arma Dialog Creator has been updated to 1.0.5.You can download the update from Github or you can use "Check for Update" in Arma Dialog Creator to get it as well. You can also run adc_updater.jar (double click) to get the update.
  22. Arma Dialog Creator has been updated to 1.0.4. You can download the update from Github or you can use "Check for Update" in Arma Dialog Creator to get it as well. Fixed: https://github.com/kayler-renslow/arma-dialog-creator/issues/25 https://github.com/kayler-renslow/arma-dialog-creator/issues/14 https://github.com/kayler-renslow/arma-dialog-creator/issues/27 https://github.com/kayler-renslow/arma-dialog-creator/issues/23
  23. I have created a Discord server for Arma Dialog Creator and Arma IntelliJ Plugin. Here is the invite: https://discord.gg/SPBbYPa
  24. Version 1.0.3 has been released. You can download the update from Github or you can use "Check for Update" in Arma Dialog Creator to get it as well. Thanks to those that have reported the XML encoding issue. It was a disaster of a bug and quite annoying to fix as well. I also appreciate the other bug reports as they are making ADC more stable and bug free. :) --- Changed: Importing will now concatenate old Custom Control Classes instead of complete overwrite the existing Custom Control Classes Fixed: XML UTF-8 encoding issue https://github.com/kayler-renslow/arma-dialog-creator/issues/13 https://github.com/kayler-renslow/arma-dialog-creator/issues/14 https://github.com/kayler-renslow/arma-dialog-creator/issues/15 https://github.com/kayler-renslow/arma-dialog-creator/issues/16 https://github.com/kayler-renslow/arma-dialog-creator/issues/17 https://github.com/kayler-renslow/arma-dialog-creator/issues/18 https://github.com/kayler-renslow/arma-dialog-creator/issues/19 https://github.com/kayler-renslow/arma-dialog-creator/issues/20 https://github.com/kayler-renslow/arma-dialog-creator/issues/21 https://github.com/kayler-renslow/arma-dialog-creator/issues/22 other small bug fixes that weren't reported on Github :O EDIT: I also created a Discord for ADC and Arma IntelliJ Plugin. You can join here: https://discord.gg/SPBbYPa
  25. Development update. I'm back to work on the plugin, specifically version 2.0.0. I'm forcing myself to ignore the ADC because it is much more fun to work on and I'll easily get carried away and ignore the plugin if I start working on it. The plugin code is already much cleaner and easier to read. I'm about done with config function auto completion, which implies that Arma Dialog Creator's preprocessor and header parser are working nicely with IntelliJ! As stated before, the preprocessor will only be fully supported in header files for version 2 of the plugin. After function lookup, the next big task will be finding references/usages for commands and variables. This feature also entails finding scope of variables, which has a very messy, sloooooow, and confusing implementation in version 1.0.9 and prior versions of the plugin. After that, I'll be focusing on type checking, which I hope to be simple (*An evil laugh by IntelliJ can be heard in the distance.*). I've already got a rough algorithm worked out in my head. Type checking will also be integrated with auto completion so that you can find commands that return a specific type and thus not flood the screen with commands you don't care about. There's already a lot of features I've only dreamed about years ago that are making it into version 2. There's no timetable on version 2 of the plugin, but I think it will be worth the wait though. :)
×