[cross-platform] QTblEditor - just another tbl editor
Moderator: Paul Siramy
Re: [cross-platform] QTblEditor - just another tbl editor
released new version with bugfixes
cross-platform tools:
- QTblEditor - 2-panel tbl editor
- qdc6 - dc6 converter CLI
- QD2CharRenamer - character renamer
- MpqLangChanger - MPQ language changer
Re: [cross-platform] QTblEditor - just another tbl editor
released new version - 1.4
also have a WIP for v2.0 that I aim to develop "correctly": modular approach, tests, Qt only for GUI etc. Mobile app might be an option in the future as well.
also have a WIP for v2.0 that I aim to develop "correctly": modular approach, tests, Qt only for GUI etc. Mobile app might be an option in the future as well.
cross-platform tools:
- QTblEditor - 2-panel tbl editor
- qdc6 - dc6 converter CLI
- QD2CharRenamer - character renamer
- MpqLangChanger - MPQ language changer
-
- Posts: 3
- Joined: Sun May 31, 2020 11:55 am
Re: [cross-platform] QTblEditor - just another tbl editor
Please forgive me if I am asking something obvious, as I am very new to modding .
I have been struggling to add custom colours.
What am I supposed to enter in the "Hex code" field?
I have been struggling to add custom colours.
What am I supposed to enter in the "Hex code" field?
Re: [cross-platform] QTblEditor - just another tbl editor
Exactly as the label says: hex code of the color.
If you want to change font colors in the game, you should use D2ColorMapper, so you can change any color for font with Glide. Changing colors in DDraw is more complicated, since it can easily corrupt palettes on levels.
If you want to add more colors in the game, it'll require code editing.
If you want to change font colors in the game, you should use D2ColorMapper, so you can change any color for font with Glide. Changing colors in DDraw is more complicated, since it can easily corrupt palettes on levels.
If you want to add more colors in the game, it'll require code editing.
-
- Posts: 3
- Joined: Sun May 31, 2020 11:55 am
Re: [cross-platform] QTblEditor - just another tbl editor
Thank you very much for such a quick reply.
What I would like to do is to colour the text differently for specific items, e.g.
This works fine when using the pre-defined colour list, i.e. white, grey, red, green, blue, gold, dgrey, black, tan, orange, yellow, dgreen, and purple. I would like to use a few other colours though. Do you mean that this is not possible unless the game files themselves are edited?
I have downloaded D2ColorMaper, and it has this main 256-colour palette. Are these in any relevance to the colours, which can be used for text labels?
Also, I am still unsure about the "Hex code" field. When trying to input hex RGB values, e.g. "ff0000"
it gets reset to 0.
What I would like to do is to colour the text differently for specific items, e.g.
This works fine when using the pre-defined colour list, i.e. white, grey, red, green, blue, gold, dgrey, black, tan, orange, yellow, dgreen, and purple. I would like to use a few other colours though. Do you mean that this is not possible unless the game files themselves are edited?
I have downloaded D2ColorMaper, and it has this main 256-colour palette. Are these in any relevance to the colours, which can be used for text labels?
Also, I am still unsure about the "Hex code" field. When trying to input hex RGB values, e.g. "ff0000"
it gets reset to 0.
Re: [cross-platform] QTblEditor - just another tbl editor
exactly:
"Hex code" is a value (single byte, if I remember correctly) that is appended to the color header when saving tbl file.jessedazebra wrote: ↑Mon Jun 01, 2020 3:24 pmIf you want to add more colors in the game, it'll require code editing.
cross-platform tools:
- QTblEditor - 2-panel tbl editor
- qdc6 - dc6 converter CLI
- QD2CharRenamer - character renamer
- MpqLangChanger - MPQ language changer
Re: [cross-platform] QTblEditor - just another tbl editor
Nice tool. Is there a "import tabbed text file and append it to a TBL" feature?
Also, what do the "Gender/Number" options do? When I clicked on them, the program prepended the string with "[ms]", "[mp]", etc., but I don't understand what they're supposed to do. (I'm unfamiliar with languages that have masculine/feminine words.)
Also, what do the "Gender/Number" options do? When I clicked on them, the program prepended the string with "[ms]", "[mp]", etc., but I don't understand what they're supposed to do. (I'm unfamiliar with languages that have masculine/feminine words.)
D2TXT / D2INI - Python scripts for editing TXT files, or converting between TXT ↔ INI files
-
- Posts: 3
- Joined: Sun May 31, 2020 11:55 am
Re: [cross-platform] QTblEditor - just another tbl editor
Thank you very much. I did look too easy.
In the meantime, I have found a few older topics with similar questions to mine. For anyone interested, these two explain the situation pretty well:
viewtopic.php?t=16396
viewtopic.php?t=40807
I will likely just stick to using the default hard-coded colours, as adding new ones seems quite complicated and time consuming, at least for now.
In those languages, adjectives and verbs often change their form depending on the noun's gender and number. I would guess that by adding these prefixes, the game knows, which adjective and verb forms to use.
English has masculine and feminine words too (e.g. "he" and "she"), but they do not affect adjectives and verbs, which are used with them. However, verbs do have different forms depending on the number in English (e.g. "he does" vs "they do"), but there is no such distinction in the English TBL files, so I am not sure how the whole thing actually works in practice.
Re: [cross-platform] QTblEditor - just another tbl editor
1) there's no direct button for this, but you should be able to open 2 files side by side, then select everything you want to append, Copy, activate the "main" table and Paste. Drag'n'drop might also work.mmpx222 wrote: ↑Mon Jun 01, 2020 6:24 pmNice tool. Is there a "import tabbed text file and append it to a TBL" feature?
Also, what do the "Gender/Number" options do? When I clicked on them, the program prepended the string with "[ms]", "[mp]", etc., but I don't understand what they're supposed to do. (I'm unfamiliar with languages that have masculine/feminine words.)
2) let me post you an example from Russian language. Translation of word Superior (key Hiquality) would be
these are different forms for he (masculine), she (feminine), it (neutral), we (plural). I also highlighted the different endings in bold, but it might be difficult to see on the dark forum skin. There's also support for masculine etc plural forms, but Russian doesn't have these, only generic plural.[ms]Превосходный[fs]Превосходная[ns]Превосходное[pl]Превосходные
But to make this actually work, you must also modify HiqualityFormat key:
Code: Select all
a0n1:%0 %1
cross-platform tools:
- QTblEditor - 2-panel tbl editor
- qdc6 - dc6 converter CLI
- QD2CharRenamer - character renamer
- MpqLangChanger - MPQ language changer
Re: [cross-platform] QTblEditor - just another tbl editor
Like the UI of the tool but I am having issues that I'm not sure are user error or what. I'm a newbie at this but I am just trying to make a few modifications to MPQ files.If I go to edit a line, I can see the line to edit but no column names so I don't know what the numbers correspond to. And I don't see a horizontal scroll to see the rest of the column names that are cut off. I'm on Windows 10.
Re: [cross-platform] QTblEditor - just another tbl editor
Sounds like you are trying to edit txt files with a tbl editor; you want to use something like D2Excel or AFJ's Sheet Editor for txt files.clawsup wrote: ↑Mon Aug 17, 2020 11:07 pmLike the UI of the tool but I am having issues that I'm not sure are user error or what. I'm a newbie at this but I am just trying to make a few modifications to MPQ files.If I go to edit a line, I can see the line to edit but no column names so I don't know what the numbers correspond to. And I don't see a horizontal scroll to see the rest of the column names that are cut off. I'm on Windows 10.
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal
Re: [cross-platform] QTblEditor - just another tbl editor
Yeah lol sorry. Switched to D2 Excel Plus which works great.Necrolis wrote: ↑Tue Aug 18, 2020 1:17 amSounds like you are trying to edit txt files with a tbl editor; you want to use something like D2Excel or AFJ's Sheet Editor for txt files.clawsup wrote: ↑Mon Aug 17, 2020 11:07 pmLike the UI of the tool but I am having issues that I'm not sure are user error or what. I'm a newbie at this but I am just trying to make a few modifications to MPQ files.If I go to edit a line, I can see the line to edit but no column names so I don't know what the numbers correspond to. And I don't see a horizontal scroll to see the rest of the column names that are cut off. I'm on Windows 10.