Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Is it possible....
Is it possible....
Jul 21 2011, 10:48 pm
By: iCCup.xboi209  

Jul 21 2011, 10:48 pm iCCup.xboi209 Post #1



That I can add a .mpq file to a map and have eud actions load it somehow? If yes, how?



None.

Jul 21 2011, 10:52 pm xAngelSpiritx Post #2

eternal lurker

EUD actions require a mod in the first place, so that somewhat defeats the purpose.

If I understand what you're asking correctly, SCMLoader should do the trick.

But if you're talking about just sticking an mpq archive into a map and then trying to load custom files from it in-game, no, that's not possible. At least, not without a ridiculous amount of work.



None.

Jul 22 2011, 12:02 am iCCup.xboi209 Post #3



What you mean EUD actions require a mod in the first place?



None.

Jul 22 2011, 12:28 am Roy Post #4

An artist's depiction of an Extended Unit Death

You cannot run EUD actions without modifying your running game instance in some way. Whether this is by downgrading to a version that supports EUD actions or using a program such as Farty's Action Enabler, it requires a modification, or a mod for short.




Jul 22 2011, 1:10 am iCCup.xboi209 Post #5



>.> I already knew that
How would I get EUD Actions to load the mpq file though?



None.

Jul 22 2011, 1:22 am Roy Post #6

An artist's depiction of an Extended Unit Death

What are you trying to accomplish, exactly? There may be a much better way to do this.

As far as I know, there hasn't been extensive testing to perform such an action, so we can't just say, "Oh, make a trigger pointing to death 13333337 and it will load your MPQ." EUDs are memory overflows; you can read memory addresses using EUD conditions, and you can write to memory addresses using EUD actions. I highly doubt these buffer overflows could pour into a separate file that you put inside the map.

I recall hearing that one of the reasons Blizzard eliminated EUD actions was for the potential of spreading viruses that were packed into a map. Whether this is true or not is beyond me, but I believe the primary reason was because it was causing maps to crash and Mac players to desync with PC users.

Finally, you wouldn't be able to do anything with this MPQ that would affect the game, even if you could point to it using EUDs.

Also, in the future, make your topic titles more appropriate. "Loading an MPQ using EUDs" is much better than "Is it possible...."




Jul 22 2011, 3:31 pm NudeRaider Post #7

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from xAngelSpiritx
But if you're talking about just sticking an mpq archive into a map and then trying to load custom files from it in-game, no, that's not possible. At least, not without a ridiculous amount of work.
To elaborate on this...

The problem is to access the mpq which, for the moment, lies dormant on the players hdd. There's no "built-in" action to activate the mpq so you'd have to write code that accesses the users hdd and reads whatever value you want to change and use EUD actions to write it to the respective part in memory. This is essentially a virus.
The alternative would be to store every byte that needs changing in triggers. I'm not sure if the addresses are researched or if it's even possible if you want to change graphics or sound.
In any case it's just impractical.




Jul 22 2011, 6:36 pm iCCup.xboi209 Post #8



I guess that will be a lot of work :-_-:
Hopefully, someone will merge EUD Action enabler with scmloader together one day



None.

Jul 22 2011, 8:28 pm xAngelSpiritx Post #9

eternal lurker

Quote from name:xboi209
I guess that will be a lot of work :-_-:
Hopefully, someone will merge EUD Action enabler with scmloader together one day
Snippet from SCMLoader changelog:
Code
1.30
Added FireGraft patch support.

SCMLoader does support FireGraft changes, and since the EUD Enabler is available as a FireGraft plugin, you could try that. I'm not sure whether SCMLoader will actually load the plugin though; AFAIK it only loads actual FireGraft changes and not plugins, but it's worth a shot, so go ahead and try it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
[2026-9-23. : 2:29 am]
Symmetry -- But can AI beat my custom maps?
[2026-9-22. : 12:32 pm]
Oh_Man -- yea APM vs eAPM
[2026-9-22. : 8:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[2026-9-22. : 8:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
Please log in to shout.


Members Online: Heinermann