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 « 21 22 23
 

Mar 26 2018, 11:57 pm Pr0nogo Post #441



PyDAT:

Bug - pasting one entry over another doesn't flag the file as modified (save icon on bottom doesn't light up/program doesn't ask for confirmation on exit)
Bug - Ctrl+R to reload an entry does nothing




Mar 31 2018, 8:51 am Pr0nogo Post #442



PyAI:

Crash when saving bwscript.bin after loading this script.
EDIT: Neiv has discovered that PyAI will not accept nonstandard script IDs. An by 'will not accept', I of course mean 'crash'.

Collapsable Box


Hard lockup requiring a reboot of the PC if I open bwscript.bin twice instead of aiscript.bin first. Very punishing misclick.

Request - Stop the program from resetting your main window view after saving a script. (have to scroll all the way back down to the BW section to edit another script)
Request - Don't erase custom block names or reformat scripts after saving the entry.

Post has been edited 2 time(s), last time on Apr 4 2018, 4:20 pm by Pr0nogo.




Apr 4 2018, 4:19 pm Pr0nogo Post #443



Code
Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
   return self.func(*args)
 File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\PyMPQ.pyw", line 897, in openfile
   r = SFileReadFile(fh)
 File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\Libs\SFmpq.py", line 379, in SFileReadFile
   if _SFmpq.SFileReadFile(file, byref(data, total_read), read-total_read, byref(r), None):
WindowsError: exception: access violation reading 0xFFFFFFFFF806949F


PyMPQ - This happens when I try to play a wav file from an mpq. The mpq in question wasn't open in SCMDraft or any program other than that instance of PyMPQ.

Speaking of which, any ETA on the fix for PyMPQ crashing if you try to modify the contents while it's open in SCMD?




Apr 25 2018, 8:32 pm Neiv Post #444



Newest PyMS gives:
Quote
> python pydat.pyw
Traceback (most recent call last):
File "pydat.pyw", line 10, in <module>
from Libs.analytics import *
File "C:\Pelei\scbw_yms\Ohjelmia\PyMS\Libs\analytics.py", line 2, in <module>
from gapy.ga import *
File "C:\Pelei\scbw_yms\Ohjelmia\PyMS\Libs\gapy\ga.py", line 130, in <module>
ga = GoogleAnalytics()
File "C:\Pelei\scbw_yms\Ohjelmia\PyMS\Libs\gapy\ga.py", line 86, in __init__
self.set_target(GATarget.GAAPITarget())
File "C:\Pelei\scbw_yms\Ohjelmia\PyMS\Libs\gapy\GATarget.py", line 65, in __init__
self._useragent = useragent or build_user_agent()
File "C:\Pelei\scbw_yms\Ohjelmia\PyMS\Libs\gapy\GATarget.py", line 38, in build_user_agent
user_agent += ' (Windows NT %s%s)' % (version, '; WOW64' if is64bit else '')
NameError: global name 'is64bit' is not defined




None.

Apr 26 2018, 4:14 am poiuy_qwert Post #445

PyMS and ProTRG developer

Quote from Neiv
The display looks really nice =)
Thanks!


Quote from Neiv
if the unit has no weapon, the force is 1, as long as the other force is also 1 or lower, either from the formula giving a very small value or unit having no weapons at all. Otherwise the weaponless value is 0.
I didn't really understand this part so I didn't update it.


Quote from Neiv
The calculation seems to be pretty much correct, but comparing the values to bw's memory I found some differences:

- The last unit-specific adjustment doesn't round down to an integer (e.g. drone should have 16 flat)
- That specification for unit-specific adjustments had actually a mistake: Inf. terrans and *scourges*, not defilers have 1/16 multiplier. (Defiler's and scourge's unit ids were right next to each other D:)
- Apparently larvae, eggs, cocoons, and lurker eggs are also hardcoded to have 0 value, but this is set before the "no weapon -> 1 force" check. It's a really minor and pointless detail but scarab has 1 air force since it has no air weapon, but those zerg units have 0 force no matter what.
- Carriers and reavers (and hero variants) use interceptor's / scarab's weapon for their strength (but not the child unit's other stats and obviously not their x0 multiplier). Carrier should have 1133 force with default stats and reaver should have 300.
- If the unit has a subunit, its weapon is used for the calculations.
These should be fixed now, thanks!


Quote from Pr0nogo
Quote from poiuy_qwert
Comments work
No, they break the script and comment out extra stuff. edit: actually they don't seem to do anything anymore, they just get removed.
I think you mean the "Extra information comments" feature. That was removed because it would break too often, and most of the AI scripters I got feedback from did not use the feature anyway.


Quote from Pr0nogo
Quote from poiuy_qwert
That's not going to happen. What I can do is add similar copy+paste support for group settings as well as minitile flags.
That works, presumably just ctrl+c with a group selected in the main window and ctrl+v when selecting a different group? Mostly just to paste unbuildable data but obviously useful for other things.
I added all the copy paste stuff. It copies to the same format as the export/import settings feature, so you can easily modify/save/reuse settings.


Quote from Pr0nogo
Quote from poiuy_qwert
I was not able to reproduce this with a simple test. Can you provide files and steps to reproduce the issue?
Looks fixed in the latest build after adding the default icons and modified ones. I'll report it again if it comes up.
K, thanks


Quote from Pr0nogo
PyTILE bug - scrolling in the main window after selecting an item from the minitile painter's dropdown menu also scrolls that menu. Has no effect but is visually distracting and occasionally makes me panic after doing an hour's worth of pathing work and noticing it says 'ramp'.
Should be fixed now, thanks!


Quote from Pr0nogo
PyTILE:
Just got a crash after scrolling up a lot.
Collapse Box
Should be fixed, thanks!


Quote from Pr0nogo
PyDAT:

Bug - pasting one entry over another doesn't flag the file as modified (save icon on bottom doesn't light up/program doesn't ask for confirmation on exit)
Bug - Ctrl+R to reload an entry does nothing
I have created a github issues for these


Quote from Pr0nogo
PyAI:

Crash when saving bwscript.bin after loading this script.
I have created a github issue


Quote from Pr0nogo
EDIT: Neiv has discovered that PyAI will not accept nonstandard script IDs. An by 'will not accept', I of course mean 'crash'.

Collapsable Box
What is a "nonstandard" script ID? Should allow any 4 ASCII characters


Quote from Pr0nogo
Hard lockup requiring a reboot of the PC if I open bwscript.bin twice instead of aiscript.bin first. Very punishing misclick.
Odd. I've created an issue for it


Quote from Pr0nogo
Request - Stop the program from resetting your main window view after saving a script. (have to scroll all the way back down to the BW section to edit another script)
I already have an issue for this, just need to get around to it.


Quote from Pr0nogo
Request - Don't erase custom block names or reformat scripts after saving the entry.
This is probably not coming back any time soon. You'll have to keep your scripts saved in a separate file.


Quote from Pr0nogo
Collapsable Box


PyMPQ - This happens when I try to play a wav file from an mpq. The mpq in question wasn't open in SCMDraft or any program other than that instance of PyMPQ.

Speaking of which, any ETA on the fix for PyMPQ crashing if you try to modify the contents while it's open in SCMD?
All these MPQ crashes are the same thing, I'm getting a seemingly valid MPQ handle back from SFmpq, but it is not valid. I have no idea why, and no way to fix it at the moment.


Quote from Neiv
Newest PyMS gives:
Collapsable Box
Thanks, should be fixed.




Apr 26 2018, 11:29 am Neiv Post #446



Now I'm getting
Quote
Traceback (most recent call last):
File "PyDAT.pyw", line 4318, in <module>
main()
File "PyDAT.pyw", line 4246, in main
gui = PyDAT()
File "PyDAT.pyw", line 3897, in __init__
e = self.open_files()
File "PyDAT.pyw", line 3924, in open_files
stat_txt = TBL()
TypeError: 'module' object is not callable
with PyDAT. Other programs work though.



None.

Apr 26 2018, 1:37 pm Pr0nogo Post #447



Quote from poiuy_qwert
What is a "nonstandard" script ID? Should allow any 4 ASCII characters
Didn't do as much for me, I'll see about reproducing it. Also doesn't save the new script name if it's different from a built-in one, but I assume you'd have to make PyAI reference names locally if you wanted them editable.

Quote from poiuy_qwert
This is probably not coming back any time soon. You'll have to keep your scripts saved in a separate file.
I already do, but obviously being able to read a script like this is impossible in PyAI, which really hinders newcomer experiences. Would love this function to make a comeback. While we're at it, I'd love for PyAI to accept SCAI3 without needing to translate it (or at least translating it to a less confusing mess, without all the parenthesis and commas, similar to iscript maybe).

Quote from poiuy_qwert
I think you mean the "Extra information comments" feature. That was removed because it would break too often, and most of the AI scripters I got feedback from did not use the feature anyway.
I'm just referring to comments that you'd write by using # (identical to iscript & programming languages). I don't think any AIscripters not named myself and Nekron exist anymore, and we'd both use it, soooooooo


Thanks for all the fixes and changes! I'll test out PyTILE soon.




Apr 26 2018, 4:21 pm SkyTechRTS Post #448



I've been having problems with the PyMS program.

Here's a crash report.

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
return self.func(*args)
File "C:\Users\Matt Tygore\Desktop\PyMS-aise\PyMPQ.pyw", line 1084, in extract
r = SFileReadFile(fh)
File "C:\Users\Matt Tygore\Desktop\PyMS-aise\Libs\SFmpq.py", line 379, in SFileReadFile
if _SFmpq.SFileReadFile(file, byref(data, total_read), read-total_read, byref(r), None):
WindowsError: exception: access violation reading 0xFFFFFFFFF9A5486F



None.

Apr 26 2018, 7:11 pm Pr0nogo Post #449



Quote from Pr0nogo
Hard lockup requiring a reboot of the PC if I open bwscript.bin twice instead of aiscript.bin first. Very punishing misclick.
Also happens when opening iscript.bin with PyAI.




Apr 30 2018, 10:46 pm Pr0nogo Post #450



PyAI:
Request - stop discarding unused label names (corrupts script upon reopening), just notify instead

PyMPQ:
Crash on extracting a sound file from an exe (where the exe is not opened in any other program)
Code
Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
   return self.func(*args)
 File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\PyMPQ.pyw", line 1084, in extract
   r = SFileReadFile(fh)
 File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\Libs\SFmpq.py", line 379, in SFileReadFile
   if _SFmpq.SFileReadFile(file, byref(data, total_read), read-total_read, byref(r), None):
WindowsError: exception: access violation reading 0xFFFFFFFFF981DE1F


PyMPQ/general:
Bug - hotkeys are inconsistent (sometimes ctrl+i for import stops working, as an example) edit: seems to occur after hitting 'cancel' on the filepath dialog.

Post has been edited 3 time(s), last time on May 1 2018, 3:35 am by Pr0nogo.




May 9 2018, 2:10 am Pr0nogo Post #451



This time trying to extract files from starcraft.mpq using PyMPQ:

Code
Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
   return self.func(*args)
 File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\PyMPQ.pyw", line 1084, in extract
   r = SFileReadFile(fh)
 File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\Libs\SFmpq.py", line 379, in SFileReadFile
   if _SFmpq.SFileReadFile(file, byref(data, total_read), read-total_read, byref(r), None):
WindowsError: exception: access violation reading 0xFFFFFFFFF7D94D2F





Jun 3 2018, 6:24 am Pr0nogo Post #452



PyTILE: Option to keep old minitile flags when importing new group graphics would be great. Exporting the settings doesn't seem to do the job and would be an added step even if it worked/was user error. Maybe there's another tickbox that does this already? If not, something in the circled area below would do nicely.



Also, a crash occurs whenever I use the Ctrl+I keyboard shortcut to open up the import manager when in the group palette.

Code
Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
   return self.func(*args)
TypeError: import_graphics() takes exactly 1 argument (2 given)





Jun 8 2018, 3:28 am KYSXD Post #453



Is it possible to move the "Edit dialog" window to the main window in PyBIN?




Jun 13 2018, 6:47 pm HelltRYKS Post #454



Can someone help me out? I am trying to edit some iscript files in PyICE and i want to create two goliath turrets that have separaate codes. So i am editing the Young chrysalis iscript to replace it with the turret one. I paste the code, no errors come and then I save and close PyICE. When reopen PyICE, open up my iscript file, go back to Young chrysalis iscript the changes have not worked. It´s still the same code that the Young Chrysalis had.




Jun 15 2018, 8:47 pm O)FaRTy1billion[MM] Post #455

👻 👾 👽 💪

I've never used PyICE, but can you paste your young chrysalis code? It sounds like in copy+pasting it is either writing to the wrong iscript ID or not updating the header or something.



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!

Jun 16 2018, 9:08 am HelltRYKS Post #456



I got i fixed!
Thanks for responding




Jul 12 2018, 5:39 am Pr0nogo Post #457



PyDAT:
Bug - under 'upgrades', unused entries have a Base Cost and Factor Cost value of 0 for time. If you select them, deselect them, and reselect them, that value will change to 1, and PyDAT will mark upgrades.dat as modified and in need of saving.




Jul 31 2018, 1:44 am Whiplash Post #458



PyBIN doesn't seem to work with remastered BIN files, specifically the campaign glue screens (ex. gluexpcmpgn.bin), something with webm is causing it to not work I suppose. Tried editing a non remastered version of the file and it crashed remastered when going to the campaign screen. FaRTy1billion mentioned he could figure out the new format and send it your way if you don't already have it. Thanks!



None.

Options
Pages: < 1 « 21 22 23
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[04:31 pm]
Zoan -- where's the option to delete my account
[04:30 pm]
Zoan -- goodbye forever
[04:30 pm]
Zoan -- it's over, I've misclicked my top right magic box spot
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
Please log in to shout.


Members Online: jun3hong, Vrael, Roy, lil-Inferno