Jun 15 2008, 11:11 pm
By: poiuy_qwert
Pages: < 1 10 11 12

Jun 4 2009, 7:03 pm poiuy_qwert Post #221

PyMS and ProTRG developer

Hmm, I only have StarCraft's MPQ's to test on so I can't really test the speed on larger archives. I also don't see how opening a large MPQ would slow down the loading of a small MPQ after, but I'll look into it. Thanks!

I do check to make sure the MPQ is opened before operating on it, and all my tests correctly catch it. Which file did you try to open and did you already have an MPQ open at the time? If you could attach the file and paste the error that would be great!

Thanks for checking it out!

Jun 5 2009, 7:04 am ShadowFlare Post #222

The error:

Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1404, in __call__
File "PyMPQ.pyw", line 962, in open
File "PyMPQ.pyw", line 763, in list_files
File "Libs\SFmpq.pyc", line 351, in SFileListFiles
WindowsError: exception: access violation reading 0xB8A85FF4

I can't attach the file that causes the error, as it is around 4 GB (one of the WoW archives, which is one that my mpq dll cannot currently handle). Without looking at the code, I'm not sure at the moment what is different in WinMPQ that makes it catch it. I haven't been able to reproduce it with any other files I have, though. Note that when trying to open that archive in WinMPQ, it gives some message about it not being an MPQ archive. It is one, but is a different version of the format, I think, which is something that my mpq library doesn't support yet. I have details on the format but just haven't implemented it (I did start some work on it at some point).


Jun 5 2009, 7:32 pm poiuy_qwert Post #223

PyMS and ProTRG developer

Hmm... Well maybe I can catch you on MSN sometime and send you a little test program to see whats up?

Jun 9 2010, 12:25 pm Biophysicist Post #224

With the death of BWAI, I can't find a working download anywhere... Care to upload it here? :hurr:


Jun 10 2010, 1:23 am poiuy_qwert Post #225

PyMS and ProTRG developer

BWAI has been back for a while now :/

Aug 20 2019, 1:40 pm psyhotechnica Post #226

I get this error:
Load Error: Unsupported aiscript.bin 'C:/Users/Hermoroiderous/Desktop/scripts/My Campain Scrips/whatafuck.bin', could possibly be invalid or corrupt
What am I doing wrong?

EDIT: internal error:
Traceback (most recent call last):
File "Libs\AIBIN.pyc", line 514, in load_file

Post has been edited 1 time(s), last time on Aug 20 2019, 2:26 pm by psyhotechnica. Reason: additional information


Apr 21 2020, 7:31 am IlyaSnopchenko Post #227

The Curious


I have a little question regarding custom names and AI Scripts. While I was able to feed PYMS the units.dat / upgrades.dat / stat_txt.tbl from my campaign and it works with custom unit names fine, the same can't be said for upgrades. Usually all the non-standard upgrades are called "Unlimited", thus getting confused if the script were to be saved like this, but when I changed the name of a hidden upgrade, PYAI recognizes it on decompilation but doesn't when I attempt to save the script. Sure, I get around this by replacing the text string with the upgrade's number (45 in this case), but I'd like to know what I've been doing wrong.

P.S. It was the same with unedited strings too, since I used a throwaway string "Mining Delay:" for the upgrade's name, then edited it both for my own clarification, and because I thought it was the colon in the name that confused PYAI.

Hits: 1 Size: 220.29kb

Post has been edited 1 time(s), last time on Apr 21 2020, 7:36 am by IlyaSnopchenko.

Who am I, and why should I care?

Pages: < 1 10 11 12
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:15 am]
RdeRenato -- xd
[12:35 am]
KrayZee -- Indigo
[10:14 pm]
Christien Chapman -- Ok
[10:14 pm]
Christien Chapman -- Pink
[10:14 pm]
Christien Chapman -- Orange
[10:14 pm]
Christien Chapman -- Ho
[08:51 pm]
NudeRaider -- :wob:
[08:26 pm]
lil-Inferno -- :wob:
[11:53 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: :wob: must :ban: RdeRenato from shoutbox :wob:
don't feed the troll
[2020-7-06. : 4:37 am]
jjf28 -- :wob:
Please log in to shout.

Members Online: Roy, C(a)HeK, jun3hong