项目作者: attilathedud

项目描述 :
A collection of older Starcraft: Brood War hacks.
高级语言: Assembly
项目地址: git://github.com/attilathedud/BW_Hacks.git
创建时间: 2017-04-15T21:45:21Z
项目社区:https://github.com/attilathedud/BW_Hacks

开源协议:MIT License

下载


BW_Hacks

A collection of older Starcraft: Brood War hacks.

Clock

A simple hack that displays a clock with the current time on the top resources bar of BW. Works for BW version 1.16.1.

Hack Screenshot

Drag_and_Drop_GUI

Basic drag-and-drop interface for StarCraft: Brood War 1.16.1. Draws a dot every other space to simulate a transparent effect.

Hack Screenshot

Money_Trainer

A trainer for SC:BW 1.15.1 that modifies your minerals and gas in a single-player game. Makes use of a thread to listen for a key-press to activate.

Both a C++ and asm version are available.

Stathack

Brood War Drag-and-Drop Stathack (BWDDS) is a hack that displays all the players’ minerals using an interface built from Drag_and_Drop_GUI. Works for BW version 1.16.1.

Hack Screenshot

Text_Display

A simple hook that demonstrates displaying static text using BW’s internal print text function.

Hack Screenshot

Some notes

A bunch of random addresses related to patch 1.16.1.

Printing text

  1. push y
  2. mov eax, text
  3. mov esi, x
  4. CALL StarCraf.004202B0 ;PrintText

Places that call PrintText

  1. References in StarCraf:.text to 004202B0
  2. Address Disassembly Comment
  3. 00416967 CALL StarCraf.004202B0 - chat text(while typing)
  4. 00457525 CALL StarCraf.004202B0 - armor/weapon upgrade text(numbers)
  5. 00458FDC CALL StarCraf.004202B0 - mineral amount when buying a unit
  6. 004590DC CALL StarCraf.004202B0 - unit name, move, stop commands in boxes
  7. 004E556F CALL StarCraf.004202B0 - minerals/gas/etc.
  8. 004EF987 CALL StarCraf.004202B0 - unit information
  9. 00417BFE CALL StarCraf.004202B0 - main menu text

Drawing a border

  1. push height
  2. push width
  3. push x
  4. mov esi,y
  5. call StarCraf.004E1C70

Drawing a box

  1. push height
  2. push width
  3. push y
  4. push x
  5. call StarCraf.004E1D20

Player 1 Mineral Address

  1. 57f0f0

Mouse coordinates

  1. add ax,word ptr ds:[006CDDC8h] ;mouse cords y
  2. add bx,word ptr ds:[006CDDC4h] ;mouse cords X

Sending a mouse click

  1. 004D2355 6A 04 PUSH 4 ; /Arg1 = 00000004
  2. 004D2357 B8 02000000 MOV EAX,2 ; |
  3. 004D235C E8 5FF6FFFF CALL StarCraf.004D19C0 ; \StarCraf.004D19C0
  4. 004D2361 |. 5F POP EDI
  5. ;lmousebutton down

Changing the mouse cursor

  1. 004D1460 A1 C8DD6C00 MOV EAX,DWORD PTR DS:[6CDDC8]

Refresh function

  1. 41e0d0h

Names

  1. 57eeeb - player 1 name
  2. 57ef0f - p2
  3. 57ef33 - p3
  4. 57ef57 - etc.
  5. 57ef7b
  6. 57ef9f
  7. 57efc3
  8. 57efe7