PDA

View Full Version : Iscript Numbers Compaired to DatEdits Numbers.


KupoMoogle
09-13-2007, 11:46 PM
I'm trying to do some Iscripting, and I usually use Datedit to help me figure out what files are what in starcraft, but I'm running into problems between DatEdit and IceCC. The "Images tab" in DatEdit will give me a number for an Iscript connected to a .grp but when I go to IceCC, there are Four columns; Images, Sprites, Flingy, and Unit. Images has 998 entries, Sprites has 516, but Flingy only has 208 and Units only has 227. Many of the numbers listed in DatEdit are much larger than 208 and 227 and when I check those larger entries within the Images or Sprites columns, they end up matching up with an entirely different unit. Mostly I need this because I am trying to make a few new units, and because I am replacing some hero units (which don't have their own iscripts because they barrow from their non hero counterpart) I need to find a few unused Iscript entries and I also have to be able to tie them to my .grp files with datedit. If someone could explain how all of these numbers work I would appreciate it. I tried to state this question clearly, but I understand it could be confusing, If there are parts that you need me to clear up, please just ask.

ShadowFlare
09-14-2007, 6:03 AM
You don't need to find an unused iscript ID, you can make up your own and use it in images.dat. What you do need to find are unused flingy.dat, sprites.dat, and images.dat entries, though.

KupoMoogle
09-14-2007, 7:30 AM
How do I make a new Iscript ID in IceCC? And I would still like to know how to find the files I see in DatEdit in IceCC and Vice versa.

Voyager7456_MM
09-14-2007, 8:56 AM
Values from images.dat and sprites.dat should match with the Images and Sprites column... it could be that your copy of IceCC is mislabeled...

KupoMoogle
09-14-2007, 9:20 PM
Is there any way to search for an IScriptID in IceCC??

DemonicArchon
09-14-2007, 11:48 PM
Try decompiling and opening any file..It should have the idea at the top..I haven't done icecc in a while..(going to get back into it...VERY soon..But, if this is so..You should just be able to type it in, and compile it and it should work in theory, by creating the file...-shrugs- I could be wrong of course...In which case i'm not sure.

KupoMoogle
09-15-2007, 8:29 AM
Well I have been trying that demonic, and it works to decompile the entire I script and use the search command to find the ISID # but then after I have found the number, I still don't know the name of the specific entry in IceCC, so I can't decompile just that part and edit it. Instead I have to decompile the entire I script, and edit it as a whole :( Better than nothing... but still not great.

DiscipleOfAdun
09-15-2007, 12:34 PM
It will give you the id of the images.dat file you want. for example, searching for ISID 157 gives:

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 118 Shuttle (protoss\shuttle.grp)
.headerstart
IsId 157
Type 21
...

via the comment, the images.dat id of the shuttle is 118. You can use datedit to jump to this id easily, and track it backwards as far as you want. Then, you can use any of those id's in the 4 fields in IceCC to chose only that script for decompilation, (icecc should list id's next to the names, iirc)

DemonicArchon
09-15-2007, 12:40 PM
Thanks DoA for simplilfiying what i ment..:p..in a sense anyways