Author Topic: MABLE - ModuleSystem Editor [v0.2] (Updated, 07.04)  (Read 11925 times)

0 Members and 1 Guest are viewing this topic.

Lumos

  • Grandmaster Knight
  • *
  • Mens sana in corpore sano
    • View Profile
  • Faction: Nord
  • M&BWBWF&SNW
MABLE - ModuleSystem Editor [v0.2] (Updated, 07.04)
« on: January 29, 2010, 03:54:53 PM »
MABLE:
Mount And Blade Language Editor
Edit code with style

Ever felt that creating a ton of items is boring? Ever needed something to speed up the whole process? Ever wanted to use a Graphical interface to edit the ModuleSystem?
If you have a "yes" on at least on of these questions, then keep reading. Else, keep reading. :)

This should've been a remake of MiB, the user-friendly GUI troop creator. But it's a totally new program.
MABLE is a ModuleSystem Editor with a GUI (Grapical user Interface). I made it with the thought of having an efficient, easy-to-use and powerful ModuleSystem editor. And I wanted to practice programming.
MABLE is based on spreadsheets, allowing you to maximise speed and working efficiency. And it has awesome dialog boxes. :)


Why use MABLE?
I admit, there are other module editors out, and most of them are with more features than MABLE currently has. Still, if you like spreadsheet view, you might prefer creating and editing troops with MABLE.
MABLE is fast, lightweight, user-friendly, efficient, portable, reliable, has a great icon and even better dialog boxes... ;)

Download link
Requires .NET Framework 3.0
MABLE is also very lightweight and portable. To install, simply extract the archive to your folder of choice.
Usage guide is in the second post. It may be expanded in the future.

(click to show/hide)

Comments, bug reports (hopefully there won't be any) and feature requests are gladly appreciated. Post here.

Version History:
  • v0.2 - Added move up/down and copy/paste features, bugfixes
  • v0.1 - Initial release


(click to show/hide)

Lumos

  • Grandmaster Knight
  • *
  • Mens sana in corpore sano
    • View Profile
  • Faction: Nord
  • M&BWBWF&SNW
Re: MiB - Modular Item Builder v0.1b
« Reply #1 on: January 30, 2010, 12:08:31 PM »
Guide: How to Use MABLE
First of all, let's cover a basic explanation of the interface.
Here are the pictures and explanations:


(click to show/hide)
On the main tab, Properties, are located most of the important things.
Let's start with the Import button. This imports a module_items file to the program. Once imported, you will be able to edit it.
The Export button writes the module_items file to your drive.
Attention: Keep in mind that you are not modifying the actual file until you export it. You're editing a database instead (done to decrease startup time and to somewhat prevent unintentional data loss).
The Toggle Triggers button makes the Triggers box increase/decrease its size, which is useful for keeping an eye on the code.
The List on the left shows all items numbered and with name and ID. You can use it to navigate between items.
You can also use the Navigator on the top for the same thing.
The Table in the center is the location of all the data in the items file. You can edit it directly, or (for some values), use
the Lists below. They allow for quick insertion/deletion/modification of values.
The Add button (green plus sign) inserts a new item in the Table. You can do it directly through the Table view.
The Remove button (red X sign) will remove the currently selected item from the Table. You can do it directly by selecting the row in the Table and pressing "Delete".
The Save button will save the current item to the database.
The Save All button will save all items to the database.
Note: Items are not saved automatically after editing through the Table unless the "Auto-Save Line after modifying" checkbox is acive.

From v0.2:
The Move Up button will move the current item up with one position.
The Move Down button will move the current item down with one position.

(click to show/hide)
This part contains your module_items file's Definitions. You can edit them here.

(click to show/hide)
This tab contains settings and a few other things.
Here is the Search, which is still very unstable (and requires exact keywords to match things). It is not generally recommended to have more than one checkbox on at a time, for most accurate results.
The Custom Stats listbox allows you to add your module-specific item flags if you have any (note that the flags (stats) are the only things which you can't write manually in the Add/Modify Stat dialog box).
The Output Viewer shows you how does the generated file look. It fills up only after Exporting a file or generating ID_items.
The "Save All after importing" checkbox makes MABLE save all data immediately after importing. This is highly recommended because problems can occur with items with triggers if they are not saved first. It will slow down the Importing process.
The "Auto-Save line after modifying" checkbox makes MABLE save the current line after you edit it in the Table view. This will slow down the program's response.
The Generate ID_items.py button creates an ID_items file where you tell it to. Use it if you have problems with compiling after using MABLE. Replace your ID_items.py file with the one created from MABLE. It is advisable to create a backup first.
The About button opens up the About dialog box where the credits are.

Colonel_Ryan

  • Master Knight
  • *
  • Permanently Banned
  • On s'engage et puis on voit. ^ Pinky
    • View Profile
    • Calradia: Modern Warfare
  • Faction: Nord
  • MP nick: Einherjar_Ryan/Colonel_Ryan
Re: MiB - Modular Item Builder v0.1b
« Reply #2 on: January 30, 2010, 12:20:04 PM »
Great one, Lum. Testing..

cdvader

  • Guest
Re: MiB - Modular Item Builder v0.1b
« Reply #3 on: January 30, 2010, 02:51:46 PM »
Excellent work.

Lumos

  • Grandmaster Knight
  • *
  • Mens sana in corpore sano
    • View Profile
  • Faction: Nord
  • M&BWBWF&SNW
Re: MiB - Modular Item Builder v0.1b
« Reply #4 on: January 30, 2010, 03:55:24 PM »
Thanks! This is the next proof that Visual Basic.NET is not a bad language for creating small apps - I made this one in just 2 hours.

Lumos

  • Grandmaster Knight
  • *
  • Mens sana in corpore sano
    • View Profile
  • Faction: Nord
  • M&BWBWF&SNW
Re: MiB - Modular Item Builder v0.11
« Reply #5 on: January 30, 2010, 04:43:33 PM »
Sorry to double-post, but...
File updated to v0.11.
Bugfixes: Fixed a bug that appeared when creating troop upgrade paths

The Bowman

  • Grandmaster Knight
  • *
  • Another Grammar Nazi.
    • View Profile
  • Faction: Khergit
  • MP nick: The_Bowman_of_North_Korea
  • WB
Re: MiB - Modular Item Builder v0.11
« Reply #6 on: January 30, 2010, 06:36:15 PM »
It is like an troop editor that works with Module system ? Great ! :D

Jezze

  • Grandmaster Knight
  • *
  • Hellow!
    • View Profile
  • Faction: Rhodok
  • M&BWBNW
Re: MiB - Modular Item Builder v0.11
« Reply #7 on: January 30, 2010, 06:42:52 PM »
Looking supa sweet :D! Especially handy when you need to make new troops!

Lumos

  • Grandmaster Knight
  • *
  • Mens sana in corpore sano
    • View Profile
  • Faction: Nord
  • M&BWBWF&SNW
Re: MiB - Modular Item Builder v0.11
« Reply #8 on: January 30, 2010, 07:06:32 PM »
Yeah, that's why I made it. First I needed it for items (you can see that), but suddenly I needed it for troops. And making troops is the most boring coding of them all. And I've promised ~400+ new troops for my mod, so I should make them faster.

Jezze

  • Grandmaster Knight
  • *
  • Hellow!
    • View Profile
  • Faction: Rhodok
  • M&BWBNW
Re: MiB - Modular Item Builder v0.11
« Reply #9 on: January 30, 2010, 07:08:58 PM »
Can it ever be possible to open the module_troops file with this one? So you can edit them just as the Troop Editor? Or would that be to hard?

Lumos

  • Grandmaster Knight
  • *
  • Mens sana in corpore sano
    • View Profile
  • Faction: Nord
  • M&BWBWF&SNW
Re: MiB - Modular Item Builder v0.11
« Reply #10 on: January 30, 2010, 07:12:43 PM »
I don't think it will be hard. I worked on a project that opens the module_items file and can edit pre-made stuff, but it was too damn bugy and difficult. When I study some more C++ and C# I'll try with them.

DarkEnigma

  • Sergeant at Arms
  • *
  • sigs only there so i dont have to look for them
    • View Profile
  • Faction: Vaegir
Re: MiB - Modular Item Builder v0.11
« Reply #11 on: January 30, 2010, 09:39:58 PM »
trying it out now, i lost 3 hours last night because i accidentaly ran build_module.bat after making a shtload of troops using HokieBT's editor.
AND i got to do this
(click to show/hide)
Something just occurred to me.

Pollen is essentially 'plant sperm'.
This makes hay fever an STD.
Since no one voluntarily takes in pollen, I've deduced: We are all being raped by trees.
In conclusion: deforestation is the way forward.
[spoiler][img]h

Jezze

  • Grandmaster Knight
  • *
  • Hellow!
    • View Profile
  • Faction: Rhodok
  • M&BWBNW
Re: MiB - Modular Item Builder v0.11
« Reply #12 on: January 30, 2010, 11:15:06 PM »
trying it out now, i lost 3 hours last night because i accidentaly ran build_module.bat after making a shtload of troops using HokieBT's editor.
AND i got to do this
(click to show/hide)

Go annoy someone else.

Btw, hopefully this can edit the module_troops & module_items some time.
« Last Edit: January 30, 2010, 11:20:13 PM by Jezze »

DarkEnigma

  • Sergeant at Arms
  • *
  • sigs only there so i dont have to look for them
    • View Profile
  • Faction: Vaegir
Re: MiB - Modular Item Builder v0.11
« Reply #13 on: January 30, 2010, 11:55:33 PM »
i cant annoy someone else...i picked you randomly out of all the members in the forum.
Something just occurred to me.

Pollen is essentially 'plant sperm'.
This makes hay fever an STD.
Since no one voluntarily takes in pollen, I've deduced: We are all being raped by trees.
In conclusion: deforestation is the way forward.
[spoiler][img]h

Jezze

  • Grandmaster Knight
  • *
  • Hellow!
    • View Profile
  • Faction: Rhodok
  • M&BWBNW
Re: MiB - Modular Item Builder v0.11
« Reply #14 on: January 30, 2010, 11:58:03 PM »
So, when am I released from your curse? And there is some magical button here, which sometimes, hear your prays ;).
« Last Edit: January 31, 2010, 12:06:15 AM by Jezze »