Staredit Network > Forums > Modding Discussion > Topic: Problems with Current Modding Tools
Problems with Current Modding Tools
Mar 4 2015, 3:49 am
By: Sand Wraith
Pages: 1 2 323 >
 

Mar 4 2015, 3:49 am Sand Wraith Post #1

she/her

Our tools aren't perfect. They never will be. But, chance permitting, we can still consider improvements.

DatEdit 1.5d

Largely, very useful, almost bug free.
Major problems: Open directory interfaces, both new and old, are sorely outdated and unwieldy.
Open directory will sometimes fail when loading flingy.dat or spritr.dat -- I forgot which exactly. Usually stable.
A lot of the reference dropdowns to other techs, orders, animation, etc. could have id fields as well for easier editing but don't.
Lots of customizability for specific projects is great (selecting mpq to load grps, selecting tbl files, etc.) but the program has no "load/save project" feature making switching contexts difficult.
Open source but requires Borland compiler and VCL, which is proprietary and offers no guarantee of easy editing.
http://www.staredit.net/topic/16119/ -> Coerces weapon ranges to multiples of 16.

Solutions

For the project problem, Datedit directory can simply be copied, such that reach modding project has a respective DatEdit with settings customized for three project. Band-aid solution that multiple a few MB per project.
Get BCB6 compiler and fix existing open directory bug.
Rewrite all Borland-specific code, which seems to only be involved in the interface. That is, use Qt or some other open-source or well-supported, accessible, stable interface writing framework.

---

PyDat

Open directory seems to be completely broken.
Setting other tbl files to load appears to be broken.
Not thoroughly tested, and PyMS seems to have bugs scattered throughout in general.
Although easily edited and open source, commenting is sparse.

Solutions

Go through and fix bugs.

---

I'm tempted to fix either one of these programs, but both, even when it comes to editing, would require a lot of effort to read through.

does anyone else have anything to report?

Post has been edited 2 time(s), last time on Mar 4 2015, 9:32 pm by Sand Wraith.




Mar 4 2015, 3:54 am jjf28 Post #2

Cartography Artisan

More generally: really need to have all the big programs stored in SEN DLDB, links on sites without activity risk flashing out of existence.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Mar 4 2015, 3:57 am Sand Wraith Post #3

she/her

I typod the thread title lol. You raise a good point though. I should take the time to upload some of the things I have. Many sites have died already making knowledge harder and harder to keep, one amongst them being Modcrafter's wiki disappearing.




Mar 4 2015, 9:25 am O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Quote from Sand Wraith
one amongst them being Modcrafter's wiki disappearing.
We just need to contact Hercanic, it's happened before ... I think he's on like TL or some other SC-related site.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 4 2015, 3:36 pm Neiv Post #5



I think fixing pyMS issues in general, not only pyDAT would be an good idea. My usage experience with them is full of crashes, file corruptions and scary errors, but pyTBL, pyLO, pyFNT and pyPCX are still best tools there are for those files. They all (or at least most of them?) also have command-line interface which seems to be more stable.

The datedit issue of freezing while loading directory has happened to me only once, and otherwise it is a really solid tool. The fact that it requires borland compiler to build is a shame :( Otherwise I doubt the freeze would be hard to fix.

Most of the modding tools are really good though, most of the improvements I can think are preview features and better documentation on when stuff crashes and when it does not.

Only tileset editing is really horrible D: Though I don't have ideas how to improve it either...



None.

Mar 4 2015, 4:40 pm Sand Wraith Post #6

she/her

Out of the ones I have used, pyTBL, pyDAT, pyTile, and pyICE: only pyTBL has been the most stable.

PyTile has a weird bug in which the data of the currently selected mini-tile? Megatile? will paste over the data of the next tile the user selects. I forgot exactly what the bug, but it was something really detrimental to editing that I found while attempting to make all water tiles ground-walkable.

Doesn't help that the interface is very inflexbile.




Mar 4 2015, 4:56 pm poiuy_qwert Post #7

PyMS and ProTRG developer

I would love to fix up PyMS. The problem I had with it was that I spent all my time working on the programs with no time left over to test them in actual usage (I obviously tested them as I built them but its not the same as real usage). The most stable programs in PyMS are the simplest (PyTBL), and the ones that got used the most by other people that reported issues (PyAI). If all the programs had been used as much as PyAI during the prime of PyMS development, things would have been a lot better. So that being said, if people start putting together issues I would love to work on it some more.




Mar 4 2015, 5:07 pm Dem0n Post #8

ᕕ( ᐛ )ᕗ

Quote from O)FaRTy1billion[MM]
Quote from Sand Wraith
one amongst them being Modcrafter's wiki disappearing.
We just need to contact Hercanic, it's happened before ... I think he's on like TL or some other SC-related site.
Herc is on CampaignCreations, I believe, if you want to try and reach him there.




Mar 4 2015, 11:38 pm Neiv Post #9



Quote from poiuy_qwert
I would love to fix up PyMS. The problem I had with it was that I spent all my time working on the programs with no time left over to test them in actual usage (I obviously tested them as I built them but its not the same as real usage). The most stable programs in PyMS are the simplest (PyTBL), and the ones that got used the most by other people that reported issues (PyAI). If all the programs had been used as much as PyAI during the prime of PyMS development, things would have been a lot better. So that being said, if people start putting together issues I would love to work on it some more.
If you have motivation to work on it, customising mpqs is completely broken on every tool that uses it. Changes won't save and if tools can't find the sc directory for the default mpqs, they can't read them at all. Even better, opening the mpq list on pyDAT, reordering single mpq, and exiting causes the following error:
Code
C:\Pelei\Scbw\Ohjelmia\PyMS\Libs\MPQ\rez\stat_txt.tbl
C:\Pelei\Scbw\Ohjelmia\PyMS\Libs\MPQ\rez\sfxdata.tbl
7699920

<huge chunk of data>

Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Ohjelmia\Python27\lib\lib-tk\Tkinter.py", line 1532, in __call__
   return self.func(*args)
 File "PyDAT.pyw", line 115, in ok
   b['customlabels'] = self.parent.settings['customlabels']
KeyError: 'customlabels'

PyMS could also have safer saving by writing a temp file first, and then moving it to actual destination path. PyTBL has only crashed on me once, but that was during saving, causing my tbl get wiped :l Though it was older version and the crash might have been fixed.

Or maybe I should post this and/or any future issues I have to the BWAI forums?



None.

Mar 4 2015, 11:55 pm Sand Wraith Post #10

she/her

I'm not going to lie, it's probably better to put this on BWAI forums, although I don't frequent there much these days.




Mar 6 2015, 10:37 pm poiuy_qwert Post #11

PyMS and ProTRG developer

Quote from Neiv
If you have motivation to work on it, customising mpqs is completely broken on every tool that uses it. Changes won't save and if tools can't find the sc directory for the default mpqs, they can't read them at all.
I believe I have fixed this issue.

Quote from Neiv
Even better, opening the mpq list on pyDAT, reordering single mpq, and exiting causes the following error:
...
This was already fixed in my copy.

Quote from Neiv
PyMS could also have safer saving by writing a temp file first, and then moving it to actual destination path. PyTBL has only crashed on me once, but that was during saving, causing my tbl get wiped :l Though it was older version and the crash might have been fixed.
Makes sense, will do.

Quote from Neiv
Or maybe I should post this and/or any future issues I have to the BWAI forums?
That is fine with me, I check both sites fairly regularly, so whatever you want.


If anyone would like to keep up to date with my changes/fixes, I've created a public github repo here:
https://github.com/poiuyqwert/PyMS




Mar 7 2015, 9:42 pm poiuy_qwert Post #12

PyMS and ProTRG developer

Quote from Sand Wraith
PyDAT - Open directory seems to be completely broken.
Should be fixed now.

Quote from Sand Wraith
PyDAT - Setting other tbl files to load appears to be broken.
Are you sure about this? I think the confusion comes from the "Use custom labels" setting at the bottom of TBL Settings not being enabled. Without enabling that option PyDAT will use unit names from its own data files, which are "prettier" and give a little more context. There was an issue where the "Used by:" lists would not respect the "Use custom labels" option so I have fixed that. If these things don't clear up your issue could you explain the problem a little more?




Mar 7 2015, 11:17 pm Sand Wraith Post #13

she/her

Quote from poiuy_qwert
Quote from Sand Wraith
PyDAT - Open directory seems to be completely broken.
Should be fixed now.

Quote from Sand Wraith
PyDAT - Setting other tbl files to load appears to be broken.
Are you sure about this? I think the confusion comes from the "Use custom labels" setting at the bottom of TBL Settings not being enabled. Without enabling that option PyDAT will use unit names from its own data files, which are "prettier" and give a little more context. There was an issue where the "Used by:" lists would not respect the "Use custom labels" option so I have fixed that. If these things don't clear up your issue could you explain the problem a little more?

stat_txt.tbl by default has 1547 entries (or thereabouts). Referencing lines with numbers above 1547 is possible in some tabs in the pyDat but generally impossible and it uses the number of lines from the selected stat_txt.tbl.




Mar 8 2015, 12:09 am poiuy_qwert Post #14

PyMS and ProTRG developer

Quote from Neiv
PyMS could also have safer saving by writing a temp file first, and then moving it to actual destination path. PyTBL has only crashed on me once, but that was during saving, causing my tbl get wiped :l Though it was older version and the crash might have been fixed.
Alright I've completed this feature, though every program and every file has not been thoroughly tested, I believe it should be stable.

Quote from Sand Wraith
stat_txt.tbl by default has 1547 entries (or thereabouts). Referencing lines with numbers above 1547 is possible in some tabs in the pyDat but generally impossible and it uses the number of lines from the selected stat_txt.tbl.
Ah I see, I wasn't even thinking about the dropdowns. I'll look into it.




Mar 16 2015, 10:04 am Neiv Post #15



Few more issues:

PyGRP:
-PyGRP does not allow importing 256-pixel wide frames. (Even though it can export them correctly)
-Using arrow keys browses through frames really strangely.. Seems only to happen once the frame list has been clicked with mouse.
-Could the window be resizeable? Palette list show only 4 palettes at once and it is really uncomfortable with lots of palettes.

PyDAT:
-PyDAT asks always if I want to save changes when opening something, even if the file was not modified. It gets really annoying with open directory.
-ID jump does not allow hex numbers and it could accept enter for jumping to ID.
-Does using custom images.tbl work at all? Settings use rez\images.tbl by default which does not even exist and overriding it to custom file does not appear to work, at least not if it adds new entries.
-There are import/export scripts buttons... Are they just accidentally copied from other tools or do they have some use? Clicking on export scripts causes an error.



None.

Mar 16 2015, 3:07 pm poiuy_qwert Post #16

PyMS and ProTRG developer

Quote from Neiv
-PyGRP does not allow importing 256-pixel wide frames. (Even though it can export them correctly)
Fixed.

Quote from Neiv
-Using arrow keys browses through frames really strangely.. Seems only to happen once the frame list has been clicked with mouse.
Should be much better now.

Quote from Neiv
-Could the window be resizeable? Palette list show only 4 palettes at once and it is really uncomfortable with lots of palettes.
Are you really changing palettes that often? I don't really want to change this, but if its that important i'll see what I can do.

Quote from Neiv
-PyDAT asks always if I want to save changes when opening something, even if the file was not modified. It gets really annoying with open directory.
Yeah I know what you mean, i'm going to fix this.

Quote from Neiv
-ID jump does not allow hex numbers and it could accept enter for jumping to ID.
Why would it accept hex numbers? I've added the Enter button binding.

Quote from Neiv
-Does using custom images.tbl work at all? Settings use rez\images.tbl by default which does not even exist and overriding it to custom file does not appear to work, at least not if it adds new entries.
There are a lot of issues around custom tbl files and the "Use custom labels" settings. I'm looking into it but its a bigger change than most.

Quote from Neiv
-There are import/export scripts buttons... Are they just accidentally copied from other tools or do they have some use? Clicking on export scripts causes an error.
These are for export/importing dat files to/from TXT files. I've fixed the export option.

Thanks for the feedback




Mar 16 2015, 4:43 pm Neiv Post #17



Thanks for a quick update :)

Quote from poiuy_qwert
Quote from Neiv
-Could the window be resizeable? Palette list show only 4 palettes at once and it is really uncomfortable with lots of palettes.
Are you really changing palettes that often? I don't really want to change this, but if its that important i'll see what I can do.
Guess it's not that big annoyance, I just decompiled lots of grps yesterday, most of which were either special palettes or menu grps. But I doubt I'll have to do that ever again now that I have them as .bmps :P

Quote from poiuy_qwert
Quote from Neiv
-ID jump does not allow hex numbers and it could accept enter for jumping to ID.
Why would it accept hex numbers? I've added the Enter button binding.
DatEdit accepts hex as well :P I've been using it a lot when examining bw's code as there are lots of hardcoded constants, especially when working with orders. It's not a huge deal though, I can just keep using Datedit for that.



None.

Mar 16 2015, 4:59 pm poiuy_qwert Post #18

PyMS and ProTRG developer

Quote from Neiv
Quote from poiuy_qwert
Quote from Neiv
-ID jump does not allow hex numbers and it could accept enter for jumping to ID.
Why would it accept hex numbers? I've added the Enter button binding.
DatEdit accepts hex as well :P I've been using it a lot when examining bw's code as there are lots of hardcoded constants, especially when working with orders. It's not a huge deal though, I can just keep using Datedit for that.
Really? I had no idea. How does DatEdit handle it? I'm assuming it needs to be in the form 0x#? Is it just the ID Jump field that accepts hex or any entry?




Mar 16 2015, 5:04 pm Neiv Post #19



Yes, prefixing 0x in id jump field parses it as hex. And no, I don't think it can be used elsewhere.



None.

Mar 16 2015, 9:00 pm poiuy_qwert Post #20

PyMS and ProTRG developer

Quote from poiuy_qwert
Quote from Neiv
-Does using custom images.tbl work at all? Settings use rez\images.tbl by default which does not even exist and overriding it to custom file does not appear to work, at least not if it adds new entries.
There are a lot of issues around custom tbl files and the "Use custom labels" settings. I'm looking into it but its a bigger change than most.
I've done a lot of updates in this area, though its hard for me to do real testing so please keep the reports coming if there are issues or missed fields.

Quote from Neiv
Yes, prefixing 0x in id jump field parses it as hex. And no, I don't think it can be used elsewhere.
Alright I added this.

Quote from poiuy_qwert
Quote from Neiv
-PyDAT asks always if I want to save changes when opening something, even if the file was not modified. It gets really annoying with open directory.
Yeah I know what you mean, i'm going to fix this.
Alright I've updated PyDAT to keep an edited state for each dat file, feels much better now.

Post has been edited 2 time(s), last time on Mar 17 2015, 10:07 pm by poiuy_qwert.




Options
Pages: 1 2 323 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-12-04. : 12:56 am]
da real donwano -- ClansAreForGays
ClansAreForGays shouted: http://www.staredit.net/topic/18772/
Is money an object?
[2024-12-02. : 11:44 pm]
Excalibur -- Done. Let me know what else you need.
[2024-12-02. : 4:55 pm]
NudeRaider -- * 4/7 or 6/9
[2024-12-02. : 4:53 pm]
dumbducky -- 3/7 of the front-page announcements are Happy Thanksgiving
[2024-12-01. : 4:03 pm]
Ultraviolet -- :lol:
[2024-12-01. : 7:18 am]
l)ark_ssj9kevin -- don't worry I had no creepy intentions. only labor exploitative intentions. I'm gonna scout the next big content creators from there
[2024-12-01. : 3:23 am]
Ultraviolet -- l)ark_ssj9kevin
l)ark_ssj9kevin shouted: Holy shit. This is like a goldmine of children-made content o_o
this sounds dirty and dark
[2024-11-30. : 5:35 pm]
RIVE -- l)ark_ssj9kevin
l)ark_ssj9kevin shouted: Holy shit. This is like a goldmine of children-made content o_o
Yes
[2024-11-30. : 12:38 pm]
Oh_Man -- that's legit
Please log in to shout.


Members Online: Oh_Man, RIVE