Unknowns

Help - Resources - AI Scripting - Grafting - Plugins - Modding Projects
User avatar
poiuy_qwert
Posts: 548
Joined: Sun Jan 13, 2008 2:14 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby poiuy_qwert » Tue Dec 09, 2008 9:30 pm

Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Heinermann » Thu Jan 14, 2010 4:18 pm

MORE UNKNOWNS LAWL

Units.dat (Advanced tab) Unknown(u16): Unit requirements index. (This is updated and used internally)
Orders.dat Unknown(u16): Order requirements index. (This is updated and used internally)
Upgrades.dat Unknown(u16): Upgrade requirements index. (This is updated and used internally)
Techdata.dat Unknown1(u16): Research requirements index. (This is updated and used internally)
Techdata.dat Unknown2(u16): Ability requirements index. (This is updated and used internally)

Prettyfied first post
User avatar
poiuy_qwert
Posts: 548
Joined: Sun Jan 13, 2008 2:14 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby poiuy_qwert » Tue Jan 19, 2010 11:31 pm

Very pretty first post. Nice work on the unknowns!
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Heinermann » Thu Feb 25, 2010 6:19 pm

And what about less than 3 and greater than 0?
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Heinermann » Fri Mar 19, 2010 5:53 am

What about "Random Suicide Mission"? I thought 1 would make that work, so that would mean it's a bitfield.

0x01 -- Respond to Random Suicide Mission
0x02 -- Attack enemies on sight
User avatar
poiuy_qwert
Posts: 548
Joined: Sun Jan 13, 2008 2:14 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby poiuy_qwert » Thu Mar 25, 2010 7:44 pm

Nice :)
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Heinermann » Sat Mar 27, 2010 3:07 am

Still a bunch of unknowns in Orders I'd like to figure out. I havn't actually tested anything yet, so I may do so.
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Heinermann » Sun Sep 23, 2012 11:59 pm

So, inspired by this post: http://www.codeofhonor.com/blog/tough-t ... -starcraft

I decided I'd consider using SDL for BWAPI. But first I need to reverse engineer the existing drawing routines so that they can be entirely rewritten. I then got carried away and decided to create more correct existing structures, use more correct names, and figure out anything that was possibly missed.

So I re-downloaded Broodwar Beta and currently iterating all of the strings, recording every available debug hint I can find, including defining every structure I come across, and any enums that were encountered.

Anyway, here's some stuff.

SFXDATA
Unknonwn 2: The OFFICIAL name is "gbSoundFlagsTbl".

SFX_LOADING is 0x08 (official name), I am not sure what it does



I found a whole bunch of stuff, most not related to the pyMS toolchain, I did find that the iscript opcode "wait" is called "OPC_SLEEP" in code.

ISCRIPT OPCODES
Note: The person who wrote the blog post DID mention (in the comments) that some of the opcode names are incorrect.
0x05 - [s]wait[/s] --> sleep (this is official! Not only is there OPC_SLEEP, but there is "sleep" in more than one debug string)
0x27 - castspell --> firespell or fire_spell (reasoning: debug string has "FireSpell (tell mike)"...)
0x2A - gotorepeatattk --> endattack or end_attack (reasoning: debug string "hey! don't END_ATTACK while still uninterruptable!"...)
0x16 - end --> kill (reasoning: debug string "Tried killing %s while still outlined!", when the image drawing function is 13)

IMAGES.DAT
Drawing function ID
RLE_SHADOW = 10 (official)
RLE_HPFLOATDRAW = 11 (official)
RLE_OUTLINE = 13 (unofficial)
RLE_PLAYER_SIDE = 14 (official)

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “StarCraft Modding”

Who is online

Users browsing this forum: No registered users and 2 guests