Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Let's figure out the memory layout of 1.18
Let's figure out the memory layout of 1.18
May 5 2017, 10:46 am
By: nlight  

May 5 2017, 10:46 am nlight Post #1



I have started figuring out the memory offsets for 1.18 but I need some help, because I can't find everything. So let's figure it out together.

Here is what I know so far:

- Starcraft.exe's base address is 0x00e50000
- The large BWGame structure from BWAPI (this one - https://github.com/bwapi/bwapi/blob/master/bwapi/BWAPI/Source/BW/BWGame.h ) is at offset 0x8B80B0
- The death counters table begins at offset 0x8C3324

What I'm looking for?

- Current map file path
- Where the currently loaded map chunks are
- Function pointers for routines to draw text, rectangles, etc
- The currently live units array



None.

May 5 2017, 10:56 am Oh_Man Post #2

Find Me On Discord (Brood War UMS Community & Staredit Network)

I dont know how much time you should spend. Isn't the chance pretty high that once the remaster drops all the offsets will be changed again?




May 5 2017, 11:06 am nlight Post #3



Quote from Oh_Man
I dont know how much time you should spend. Isn't the chance pretty high that once the remaster drops all the offsets will be changed again?

Yes, most likely. But it doesn't hurt to figure it out, there are a few months until remastered.



None.

May 5 2017, 1:24 pm Suicidal Insanity Post #4

I see you !

Aren't they changed every minor revision? So 1.18.1 -> 1.18.2 .... 1.18.5 or whereever we are now?




May 6 2017, 5:38 am Heinermann Post #5

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

Yeah there's no real reason to map it out when the layout changes every week.




May 6 2017, 10:12 am nlight Post #6



Yeah, it changed again with the latest patch. At this point I'm just scanning for the stuff I need at runtime because hardcoding offsets won't do.



None.

May 6 2017, 3:38 pm LoveLess Post #7

Let me show you how to hump without making love.

Unless they fixed it since I last tested it, triggers are not even allowed to read offsets without crashing the game. What is the purpose of finding them?



None.

May 7 2017, 4:08 am Voyager7456 Post #8

Responsible for my own happiness? I can't even be responsible for my own breakfast

It'd be a useful first step to updating some of the modding tools once Blizzard settles down and stops patching every week.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


May 7 2017, 6:49 am Wormer Post #9



So, we don't even have EUD conditions now? :( Is it still possible to use overflow to show a death counter in leaderboard?



Some.

May 10 2017, 8:15 pm Suicidal Insanity Post #10

I see you !

Quote from Wormer
So, we don't even have EUD conditions now? :( Is it still possible to use overflow to show a death counter in leaderboard?

If it is, don't let anyone know lest it be taken away.




May 10 2017, 8:19 pm Pauper Post #11



Quote from Oh_Man
I dont know how much time you should spend. Isn't the chance pretty high that once the remaster drops all the offsets will be changed again?

Theoretical question: What is someone didn't buy the remastered edition and designed a map with these EUD conditions. Would that map not work in the remastered edition?

Could this be a reason why Blizzard may ban or make all EUD triggers not work?



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: Roy, Zergy, Symmetry