Staredit Network > Forums > SC1 Mapping Tools > Topic: [EUD] Text to Value Converter
[EUD] Text to Value Converter
Aug 6 2011, 5:05 pm
By: Roy  

Aug 6 2011, 5:05 pm Roy Post #1

An artist's depiction of an Extended Unit Death

As some of you may already know, detecting strings in SC can be a tedious task. This program takes in a string and spits out a value or values of the string to make that task easier.

For those that don't know and are curious, here's a quick rundown on how you manually calculate a string:

Manual Calculation


Basically, this program does all the manual labor for you, so you can just pick any string and write EUDs for it quickly.

    

Let me know if you have questions regarding the program.

Note: This program requires .NET Framework 4 to run.

Attachments:
Text_To_Value.zip
Hits: 16 Size: 9.11kb

Post has been edited 7 time(s), last time on Sep 17 2016, 3:21 pm by Roy.




Aug 6 2011, 6:05 pm iCCup.xboi209 Post #2



Wait what do I do with the numbers after converting it

Post has been edited 2 time(s), last time on Aug 6 2011, 6:50 pm by xboi209.




Aug 6 2011, 6:39 pm Roy Post #3

An artist's depiction of an Extended Unit Death

Oh yeah, it requires the .NET framework to run.




Aug 6 2011, 8:31 pm Sacrieur Post #4

Still Napping

I think I'm in love :cube:

Quote from name:xboi209
Wait what do I do with the numbers after converting it

You have to use EUDs. Refer to this thread for more information on them.



None.

Aug 6 2011, 9:04 pm Roy Post #5

An artist's depiction of an Extended Unit Death

I also made a console app for those who don't have the .NET Framework. Text_To_Value_Console.zip

Apparently, Farty already wrote an online converter here, and I'd suggest using that instead of my console app (which is my first time writing a program in C++, by the way). My application won't glitch up when you use the less-than symbol, though. :awesome:

Post has been edited 2 time(s), last time on Jan 1 2012, 4:20 am by Roy.




Aug 6 2011, 11:53 pm O)FaRTy1billion[MM] Post #6

👻 👾 👽 💪

Quote from Roy
My application won't glitch up when you use the less-than symbol, though. :awesome:
What is this referring to?
Quote
"<<<<<<"
ID Data Hex Dec
+0 <<<< 0x3c3c3c3c 1010580540
+1 << ? 0x??003c3c 15420
?



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!

Aug 6 2011, 11:56 pm Roy Post #7

An artist's depiction of an Extended Unit Death

Try following it with a letter. I think it's a syntactical issue with html or something. You should encode the input before processing.

Better yet, try "<table><tr><th>Hey</th><th>Farty</th></tr><tr><td>fix</td><td>this?</td></tr></table>" :awesome: It won't glitch the output structure like something such as "<abc" but it should show what the issue is.

Or: <form enctype='multipart/form-data' method='post' action='?pg=ref&a=str'><p><input type='text' name='s' /></p><p><input type='submit' value='Go (Inception Style)' /></p></form>

Post has been edited 4 time(s), last time on Aug 7 2011, 12:13 am by Roy.




Aug 7 2011, 12:34 am O)FaRTy1billion[MM] Post #8

👻 👾 👽 💪

o wat. It apparently still works, though. It just doesn't display the string part.

Thanks though. I fixed it.

Post has been edited 1 time(s), last time on Aug 7 2011, 12:40 am by FaRTy1billion.



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.
[01:06 am]
SiberianTiger -- anyone wanna play footmen frenzy with me on us west?
[12:50 am]
O)FaRTy1billion[MM] -- NudeRaider
NudeRaider shouted: Lanthanide ya, I was pretty sure this must be the case, but I was referring to FaRTy1billion
i was mostly joking. I haven't seen any specs for it or anything other than vague comments
[10:02 pm]
Suicidal Insanity -- jjf28
jjf28 shouted: if you do parse those correctly I'll probably turn on sub-string recycling by default since it makes smaller map sizes, else I'll prompt the user before turning it on
I won't parse those correctly - I do not remember why, maybe it was the embedded nulls in stat_txt.tbl, but I clip strings at the next offset in the table header and don't search for a nul byte
[04:26 pm]
Dem0n -- ya he's in there
[03:52 pm]
NudeRaider -- Lanthanide
Lanthanide shouted: i don't know, but Armo does, so he can be asked
whcih discord? SEN?
[03:51 pm]
NudeRaider -- Lanthanide
Lanthanide shouted: and also there are tools right now that let you use it, so to say "no one can use it" is wrong
ya, I was pretty sure this must be the case, but I was referring to FaRTy1billion
FaRTy1billion shouted: nobody knows
[02:02 pm]
jjf28 -- if you do parse those correctly I'll probably turn on sub-string recycling by default since it makes smaller map sizes, else I'll prompt the user before turning it on
[02:01 pm]
jjf28 -- e.g. "asdf<NUL>" and "df<NUL" occupy the same space in character data but have two different offsets
[02:00 pm]
jjf28 -- hey SI, are you parsing STR sections with sub-string recycling?
[12:52 pm]
Moose -- spicy memes
Please log in to shout.


Members Online: Roy, apozebyx, SiberianTiger