This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] Spell Editor GUI V2  (Read 18174 times)

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
[TOOL] Spell Editor GUI V2
« on: June 01, 2014, 05:24:15 pm »
Edit the 3.3.5a spell DBC with ease with this tool.

You can download from here: https://github.com/stoneharry/Spell-Editor-GUI-V2/releases

Source code: https://github.com/stoneharry/Spell-Editor-GUI-V2



Old video: https://youtu.be/eRmLi54PDko
« Last Edit: March 06, 2019, 07:59:22 pm by stoneharry »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #1 on: June 01, 2014, 08:02:26 pm »
really ty dose it have a spell visual editor it would be great to change the model of the spell its really hard to do it buy hand
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #2 on: June 01, 2014, 08:20:12 pm »
Quote from: "MR. Farrare"
really ty dose it have a spell visual editor it would be great to change the model of the spell its really hard to do it buy hand

No. I was going to, but it would be incredibly hard.

My understanding is the ID points to a record that points to 4 records, and each of those 4 records point to another 8 records. Those records are spread across many DBC files and have a ton of data.

Furthermore to render the visual I would need some sort of rendering engine, which I have no idea how to go about doing.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TOOL] Spell Editor GUI V2
« Reply #3 on: June 04, 2014, 09:47:14 am »
This looks way too OP... will try it today.

EDIT1: So, first feedback incoming. I would prefer some config file, while I use one directory where I have all edited DBCs and don't want to 24/7 copy everything there and back. Also connection to MPQs would be fine, while I have my own custom Icons and again, now I have just to copy everything there and keep 2 directories up to date, not just one. Still pretty cool tool, I also love modern design and so on :P. Thumbs up.

EDIT2: Would also use filtering Icons by part of name (f.i. I might be looking for "sword" and so on).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #4 on: June 04, 2014, 02:24:15 pm »
Quote from: "Amaroth"
This looks way too OP... will try it today.

EDIT1: So, first feedback incoming. I would prefer some config file, while I use one directory where I have all edited DBCs and don't want to 24/7 copy everything there and back. Also connection to MPQs would be fine, while I have my own custom Icons and again, now I have just to copy everything there and keep 2 directories up to date, not just one. Still pretty cool tool, I also love modern design and so on :P. Thumbs up.

EDIT2: Would also use filtering Icons by part of name (f.i. I might be looking for "sword" and so on).

I won't be adding MPQ support because it would be quite a lot of code to do so and not that easy (I've never worked with compression before). Cheers for the other feedback.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

lyn

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #5 on: April 01, 2015, 04:14:18 pm »
This app almost made me jizz my phants, thought I'd have to manually enter all the values into the dbc. Saved me from tons of work. Thank you very much!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #6 on: May 09, 2015, 07:43:19 pm »
I have pushed a new version, includes:

  • Fixed localisation.
  • Improved code greatly.
  • Control's are now thread-safe so can be updated asynchronously. Stops the 'freezing' when you click spells.
  • Documented more known values.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gnuraaheb

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #7 on: May 27, 2015, 02:33:49 pm »
German .dbc files can not edit it.

Spells can not be selected to.

an error when saving=
the input string has the wrong format.

is the still not resolved?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #8 on: May 27, 2015, 03:11:20 pm »
Quote from: "Gnuraaheb"
German .dbc files can not edit it.

Spells can not be selected to.

an error when saving=
the input string has the wrong format.

is the still not resolved?

Can you upload your German spell.dbc so that I can test it?

Just saying "is this still not resolved?" when I haven't actually had any bug report is not helpful. I did not know this was an issue - the Chinese spell DBC I tested worked fine.

Bug reports are better posted on the GitHub page as well because then I get notified.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vatoto

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 53
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #9 on: May 27, 2015, 04:10:59 pm »
https://dl.dropboxusercontent.com/u/34528743/Spell.dbc

I didn't test it, but here is a German spell.dbc
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #10 on: May 27, 2015, 06:28:34 pm »
Quote from: "Vatoto"
https://dl.dropboxusercontent.com/u/34528743/Spell.dbc

I didn't test it, but here is a German spell.dbc

This spell.dbc seems to be working fine for me:



If it does not work for somebody they need to upload their specific files for me to test. Also make sure you are using the latest version of the editor.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

caki951

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #11 on: May 29, 2015, 12:48:28 pm »
There is a bug when editing Target A and Target B. It works fine to number 9 which is TARGET_DEST_HOME. After that it starts adding 4 or 5 to a number you choose.. For example if you choose 22 which is TARGET_UNIT_MASTER (used for all AoE spell paired with 15 for target B which is TARGET_UNIT_CASTER_AREA_PARTY)  it adds 5 to it when you save, so it's now 27 - TARGET_DEST_CASTER_SUMMON and 15 is 20 - TARGET_UNIT_TARGET_ANY.

So you have to go and fix it manually in DBC (rows 86-88 Target A    and 89-91 Target B   zero based ).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Lord_Spaztic

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 13
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #12 on: May 30, 2015, 05:12:04 pm »
I have a Feature request.

Would LOVE a .txt / .csv Import/Export feature.
Would really help with group projects with people working different classes, or much easier copy and paste for things like Talents with up to 5 ranks.

Should also enable returns in the Description Textbox in the XAML.

Would be nice if the Spell Effects were numbered would be easier to find certain effects. e.g : SCHOOL DAMAGE = 2: SCHOOL DAMAGE

Otherwise, really enjoying the update. So much smoother loading.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #13 on: May 31, 2015, 07:01:48 pm »
Quote from: "caki951"
There is a bug when editing Target A and Target B. It works fine to number 9 which is TARGET_DEST_HOME. After that it starts adding 4 or 5 to a number you choose.. For example if you choose 22 which is TARGET_UNIT_MASTER (used for all AoE spell paired with 15 for target B which is TARGET_UNIT_CASTER_AREA_PARTY)  it adds 5 to it when you save, so it's now 27 - TARGET_DEST_CASTER_SUMMON and 15 is 20 - TARGET_UNIT_TARGET_ANY.

So you have to go and fix it manually in DBC (rows 86-88 Target A    and 89-91 Target B   zero based ).

This should now be fixed in the latest version.

Quote from: "Lord_Spaztic"
I have a Feature request.

Would LOVE a .txt / .csv Import/Export feature.
Would really help with group projects with people working different classes, or much easier copy and paste for things like Talents with up to 5 ranks.

Should also enable returns in the Description Textbox in the XAML.

Would be nice if the Spell Effects were numbered would be easier to find certain effects. e.g : SCHOOL DAMAGE = 2: SCHOOL DAMAGE

Otherwise, really enjoying the update. So much smoother loading.

I have enabled returns in the spell strings and I have numerically labelled targets and such as suggested.

I do not know how a CSV exporter/importer would work. You mean like how DBCUtil works? I guess I could try and write it at some point.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Synric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TOOL] Spell Editor GUI V2
« Reply #14 on: May 31, 2015, 09:07:15 pm »
Minor thing, but could you expand the attributes tables a little bit? Some of the text that tells you what each attribute does is cut off. For example in the attributes table Spell damage depends on caster location is cut off at Caster L, attributes EX2 cuts off Ambush, Backstab, Cheap Shot, De (cant tell the rest of the spells)

Just minor things like that.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »