Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: MemCalc Production Thread
MemCalc Production Thread
May 15 2008, 6:48 am
By: DT_Battlekruser  

May 15 2008, 6:48 am DT_Battlekruser Post #1



It occurs to me that there really isn't a place for this, but whatever.

I wasn't kidding about MemCalc wherever I made that offhand comment - I intend to re-develop it for EUD actions. It is written in Java (Swing) so it is platform independent, as long as your computer is running the Java Virtual Machine. Right now it probably doesn't have quite the functionality of EUDTrig, but I am designing it to be extremely portable, with all version-specific data stored in a CFG file. See the developer notes and planned features for more. You can download MemCalc 6 in the DLDB, so feel free to beta-test and make suggestions. Hopefully I won't lag in keeping with releases, but we'll see.

Planned Releases and Features
6.1.0 - Implement a trigger editor that will read config files' list of known offsets for data values, allowing you to trigger with better efficiency than EUD trig and giving the EUD Database a permanent home as a config file.
6.2.0 - Add a config file editor so that you don't have to know how to hex edit to make config files.

Developer Notes
The following is the current format of the .cfg files. They will get longer when I add offset lists to the specification.

STRING (varsize) - version title
DELIMITER (byte) - always 00, this marks the end of the string
TABLE START (long) - eight bytes marking the start of the deaths table. Right now the lowest byte is last (numerical order), this might change. I will probably also shorten this to an int, I wasn't thinking very much when I wrote the file reader.


Post has been edited 2 time(s), last time on May 15 2008, 6:54 am by DT_Battlekruser.



None.

May 15 2008, 9:56 pm Falkoner Post #2



You should set it up to make EUD conditions easier at the same time, while you're at it.



None.

May 16 2008, 12:00 am DT_Battlekruser Post #3



The trigger-making interface will be equally suitable to EUD Actions and Conditions. Right now memory-to-deaths correlation is also perfectly functional for both.



None.

May 16 2008, 10:57 am Brontobyte Post #4



I say that you make one thats just like "Ubecalc2" Make it so that it contains a lot or most of the known conditions/actions and that its as simple as the one on the Clan (U) website. Also making a trigger would be nice. If it could also just tell you what to multiply it by, that would be swell. :P Just highlighting a bunch of zero's is quite confusing for the beginner.



None.

May 16 2008, 2:29 pm DT_Battlekruser Post #5



Quote
6.1.0 - Implement a trigger editor that will read config files' list of known offsets for data values, allowing you to trigger with better efficiency than EUD trig and giving the EUD Database a permanent home as a config file.

Yes, I was planning to auto-correct for byte offsets as well. The trigger interface will be along the lines of "check that this value (offset and len) is x".



None.

May 25 2008, 6:48 am DT_Battlekruser Post #6



6.1.0 is nearing completion; I hope to finish it by the end of the three-day weekend, subject to postponement due to sudden lapses of motivation.

Currently Coded:
-Load offsets of known data items from the config file
-Switch between Conditions and Actions

To be Done:
-Write Starforge text outputs and .trg file outputs.

I attached a production screenshot so you get an idea of what it looks like. The GUI is a bit cluttered, but I can't say I pride myself on interface design.


Attachments:
memcalc.PNG
Hits: 21 Size: 40.7kb



None.

May 25 2008, 8:22 am Kow Post #7



I assume the editing is for older versions of SC only, correct?



None.

May 25 2008, 2:36 pm Clokr_ Post #8



Maybe we should request a new subforum "Tool Development". It could go inside the "Staredit General" section....



?????

May 25 2008, 5:23 pm DT_Battlekruser Post #9



Quote from Kow
I assume the editing is for older versions of SC only, correct?

Correct. The config file contains a flag that specifies whether EUD Actions can be written. From the point of view of MemCalc, it doesn't really matter, because it can write EUD Actions for any version of Starcraft. They just won't actually do anything if you execute them in post-1.13a patches.

Quote from Clokr_
Maybe we should request a new subforum "Tool Development". It could go inside the "Staredit General" section....

That's probably a good idea.




None.

Jun 13 2008, 8:10 pm O)FaRTy1billion[MM] Post #10

👻 👾 👽 💪

So is this like the same as EUDTrig? But with some offset pre-loaded?



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Oh_Man