Introduction
Do you want to know more?

What is it?
This is a personal project I decided to share since it looks very useful and opens possibilities I have never seen before. The goal was to eliminate the need for a lot of small separate tools and the constant need to pack/unpack from MPQ all the time, as well as including as much as possible in terms of QoL, fixes, cool things and whatnot.
Why make it?
Because I'm lazy, and I keep coming back to try some BW modding after years away from it, only to find tools are obsolete again or windows defender deleted all my projects' Firegraft exe files because they're seen as a threat. So most of the time I make minimal progress by the time I move on to something else... let's go for something that can be really useful this time around.
AI Disclaimer
Yes, it was created by an AI agent, I take no credit for anything but steering it in the right directions so it works as expected from a player and modder point of view. I understand very well some people may be against AI use, and that is ok. Credits for anything included in the project go for the people out there who really kept BW modding scene going all these years (OpenBW, extended tilesets plugin, aice, GPTP, Chkdraft, among other projects and tools were used to get it done). If you really need to oppose me doing it please do it through DMs and leave this topic to people who want to discuss the project itself, or if there is a discussion on AI use going on I could join it.
Get it here and simply unzip everything in your Starcraft folder and run it normally. Edit mod.mpq, there are several examples already in it.
What does it do?
Well this is the part you want to know of course. So let's go:
Custom DLL

Custom DLL
Because Windows kept one-shoting exes meant to override memory this project uses instead DLL that Brood War reads natively, it finds that in your BW folder and doesn't look elsewhere, so all changes can go in the DLL and no new exe or overriding memory is needed. That is one of the pillars of what it does.
Because Windows kept one-shoting exes meant to override memory this project uses instead DLL that Brood War reads natively, it finds that in your BW folder and doesn't look elsewhere, so all changes can go in the DLL and no new exe or overriding memory is needed. That is one of the pillars of what it does.
File Formats

File formats, limit extensions
There's absolutely no need to keep dealing with DAT or TBL or some other specific file formats and their tools. It uses file formats you can edit in a notepad and when the game is launched convert those to the formats it needs. Dat is replaced by Lua, Tbl by Json for example. It uses text format that replicates aice. Lua has also more uses I will explain later on. It also has vastly increased limits for Dat, sprites on screen and more (details in the project's README).
MPQs can now be better compressed, bwmod.dll now decodes LZMA, zlib and bzip2.
There's absolutely no need to keep dealing with DAT or TBL or some other specific file formats and their tools. It uses file formats you can edit in a notepad and when the game is launched convert those to the formats it needs. Dat is replaced by Lua, Tbl by Json for example. It uses text format that replicates aice. Lua has also more uses I will explain later on. It also has vastly increased limits for Dat, sprites on screen and more (details in the project's README).
MPQs can now be better compressed, bwmod.dll now decodes LZMA, zlib and bzip2.
Debug Mode

Debug Mode
One of the main reasons to share it here so other people can use it. Edit files from inside the game, test them instantly. By typing debug in a single-player map you open a window that will allow you to work on the mpq, lua, json, parallax and more. Just change a unit's name, health or other stat, go back to testing it when you close the window. Some changes require restarting the game.
One of the main reasons to share it here so other people can use it. Edit files from inside the game, test them instantly. By typing debug in a single-player map you open a window that will allow you to work on the mpq, lua, json, parallax and more. Just change a unit's name, health or other stat, go back to testing it when you close the window. Some changes require restarting the game.
Campaign Support

Campaign Support
Something I always felt was needed, both in BW and SC2 was proper campaign support. Here we have .scc and .sxc files for basic Starcraft and BW, these hold a campaign structure similar to the original 6 episodes, and they are included as examples in the mod file. You select one of them in Play Custom, and play through everything just like you would normally: Prologue paragraphs, panels with image backgrounds, maps and cinematics. They can read from mpq files and from the maps folder, so you can actually hide the separate maps from players. Loading a save that is part of a campaign will resume it properly once the map is finished. And pointing to the campaign maps in the CDs' mpqs will require that CD, there will be a warning in the file's description that something is missing.
Something I always felt was needed, both in BW and SC2 was proper campaign support. Here we have .scc and .sxc files for basic Starcraft and BW, these hold a campaign structure similar to the original 6 episodes, and they are included as examples in the mod file. You select one of them in Play Custom, and play through everything just like you would normally: Prologue paragraphs, panels with image backgrounds, maps and cinematics. They can read from mpq files and from the maps folder, so you can actually hide the separate maps from players. Loading a save that is part of a campaign will resume it properly once the map is finished. And pointing to the campaign maps in the CDs' mpqs will require that CD, there will be a warning in the file's description that something is missing.
Gameplay Changes

Gameplay Changes
Several QoL changes that come from SC2 or other mod projects have been included.
-Smart rally: Workers auto mine when rallied to resources. Infantry units rallied to a bunker will enter it. Bunkers and zerg eggs can set their own rally points. All rally points display a visible green line on screen.
-Select an idle worker by pressing F1 key.
-Group selection for buildings.
-Widescreen mode.
-Preview for buildings that are going to be built or land stay on screen, and so on. Some of these can be toggled or changed in a new game options category.
Several QoL changes that come from SC2 or other mod projects have been included.
-Smart rally: Workers auto mine when rallied to resources. Infantry units rallied to a bunker will enter it. Bunkers and zerg eggs can set their own rally points. All rally points display a visible green line on screen.
-Select an idle worker by pressing F1 key.
-Group selection for buildings.
-Widescreen mode.
-Preview for buildings that are going to be built or land stay on screen, and so on. Some of these can be toggled or changed in a new game options category.
Modding Capabilities

Modding Capabilities
-Unit or other graphics can be scaled up or down, it can't scale up beyond 255x255 pixels.
-Unit or other graphics and portraits can have their saturation and hue changed, globally or by color channel, preserving team colors intact.
-Portraits can be flipped horizontally, vertically or both.
-Added support for turning frames, beta versions of some units' grp are included as examples.
-Added support for cooldown and charge-based abilities, as well as passive buttons in units' command cards.
-Added lua-based weapon and ability system inspired by SC2's Galaxy engine, making it easier to create new abilities.
-Transports can fit up to 12 units. It requires widescreen mode to display properly.
-Added support for rich mineral fields.
-New unit flag: Cutscene, it is used by units, weapons and abilities to determine who can't attack who, so it is possible to create cutscene units that can only attack themselves and not the standard units.
-Fully supports extended tilesets.
-Unit or other graphics can be scaled up or down, it can't scale up beyond 255x255 pixels.
-Unit or other graphics and portraits can have their saturation and hue changed, globally or by color channel, preserving team colors intact.
-Portraits can be flipped horizontally, vertically or both.
-Added support for turning frames, beta versions of some units' grp are included as examples.
-Added support for cooldown and charge-based abilities, as well as passive buttons in units' command cards.
-Added lua-based weapon and ability system inspired by SC2's Galaxy engine, making it easier to create new abilities.
-Transports can fit up to 12 units. It requires widescreen mode to display properly.
-Added support for rich mineral fields.
-New unit flag: Cutscene, it is used by units, weapons and abilities to determine who can't attack who, so it is possible to create cutscene units that can only attack themselves and not the standard units.
-Fully supports extended tilesets.
Mapping

Mapping
-Custom version of Chkdraft to support changes.
-Map size increased to 512 x 512. This is a recent addition, keep an eye open for possible bugs.
-Extra terrain types can be plugged in properly. Example: Desert has a Fog Pit terrain type.
-2 new triggers: Highlight location and highlight unit at location. They currently draw a simple green rectangle but I have plans to improve on that.
-Parallax: each map can hold their own custom parallax file. It can be edited to add or remove layers and even change a layer to display a pcx image.
-Custom version of Chkdraft to support changes.
-Map size increased to 512 x 512. This is a recent addition, keep an eye open for possible bugs.
-Extra terrain types can be plugged in properly. Example: Desert has a Fog Pit terrain type.
-2 new triggers: Highlight location and highlight unit at location. They currently draw a simple green rectangle but I have plans to improve on that.
-Parallax: each map can hold their own custom parallax file. It can be edited to add or remove layers and even change a layer to display a pcx image.
For the future

For the future
Changes for computer players' AI, including some sort of unit type groupings, so that AI can use similar units, for example a new transport unit be used just like a vanilla unit would be.
More map-side changes like I did for parallax may be useful.
Possibly replacing smk format with something easier to handle.
Changes for computer players' AI, including some sort of unit type groupings, so that AI can use similar units, for example a new transport unit be used just like a vanilla unit would be.
More map-side changes like I did for parallax may be useful.
Possibly replacing smk format with something easier to handle.
Attachments:
None.




