Introduction: Hacking Esheep - the Lovable, Slightly Annoying Screenmate

Picture of Hacking Esheep - the Lovable, Slightly Annoying Screenmate

For those of you not familiar with Esheep go here: http://en.wikipedia.org/wiki/ESheep
To download your own Esheep go here: Sheep
This is an indepth guide to hacking these lovable little critters to better fit your taste.Tired of yellow, make one that is green with black horns, and white skin. Maybe even add some red to his eyes for that crack-head effect. With the help of this guide, you too can spawn your own little 16-Bit bundle of joy.

Step 1: Obtain the Color Values

Picture of Obtain the Color Values

Okay, you got your Esheep, and your'e all ready to go Michael Jackson on him. (I mean plastic surgery-wise, not meant to be taken any other way.) But where to start? Well to change his colors to something new, we need to know what colors he has now. And don't just tell me yellow, purple, and peach. We need to be specific here. That is where hexadecimals come into play. When talking about color, hexadecimals are 6 characters long. For instance, the code for hot pink is ff00ff. To find the color codes for Esheep, download Color Cop here: Color Cop

Step 2: Reverse the Code

Picture of Reverse the Code

You saw in the previous screenshot that the code for the lighter part of the sheep's skin was ffc4a1. Now we need to reverse it becuase that is the way the esheep program stores the code. By now you are thinking, "That's easy, ffc4a1 reversed is 1a4cff." Right? Wrong! Hexadecimal are always in twos. ff means 255,c4 means 196, and a1 means 161. To keep the color the same we must reverse it like this.
Start with the last two characters - a1
Then the second two - c4
And finally the last two - ff
The reversed code would be a1c4ff, not 1a4cff.
For a complete list of pre-reversed codes for Esheep go to http://www.answers.com/topic/esheep.

Step 3: Replacing the Color Value

Picture of Replacing the Color Value

Now you need a hex editor to change the colors with. I will be using xvi32. You can get it here: xvi32
Once you have it, open up the esheep program with it. You will see a whole lot of crazy numbers and letters. Don't be intimidated. We'll get through this together. To replace the colors, press Ctrl+R. Choose Hex String. Type the reversed code into the first hex box. But wait! There is another box. This is for your new color. But we don't have a new color yet. To get a new color, just open color cop again and find a color you like, reverse it's code and viola! Now type this code into the second box. Now replace all.

Step 4: Save and Hope for the Best

Picture of Save and Hope for the Best

Now save your ugly little monstrosity as a .exe file, open it, and see if it works. If so, congrats! If not, too bad, try again and make sure to read each step carefully. Once you get a working hack, you can further your project by changing all of the codes to match. For some examples of hacked sheep go to my site. That's all for now. Happy Hacking!

Comments

AdrianoP6 (author)2015-12-17

Hi,

since this sheep doesn't work anymore on 64-bit systems and I loved this sheep sooo much, I decided to create a copy in c#. If you want, you can download this sheep for free from my page:

http://esheep.petrucci.ch

spramodh (author)AdrianoP62016-07-23

Thank you soooooo much

xSmallDeadGuyx (author)2010-10-26

If you want a MUCH easier method then just visit here and download eSheep Hacker (it's a program I made that does it all for you):

http://xsmalldeadguyx.0sites.net/

It's easy, like the picture below. Note: I know this is VERY VERY VERY OLD but I made it nevertheless. It also lets you change things like the UFO and flames when the sheep flame dives.

CandieF (author)xSmallDeadGuyx2015-12-17

Hey peeps...this program gives a huge warning, as soon as you go to it, saying it's malware...so I left immediately!! Just thought I'd let you know. ?

bobey195 (author)2012-12-03

heyy my people

bobey195 (author)2012-12-03

i got 1 yes

bobey195 (author)2012-12-02

it still wont let me get a sheep

bobey195 (author)2012-12-02

it wont let me get a sheep

melly babee (author)2011-06-23

haha i have only just joined so ya hahahaha lol

mayy-mayy (author)melly babee2011-06-23

i kno you

mayy-mayy (author)2011-06-23

yer just signed up yeew :)

RedTulip (author)2010-05-18

Thanks, anyway, for the tutorial! The first time I tried it, it worked.

RedTulip (author)2010-05-17

I know another way to save it as exe. Right-click the esheep.exe file and click Copy. Paste it (CTRL+V) into the same folder. It will be named 'esheep20 - copy'. Rename that to something else. Then edit it with the hex editor and just press File> Save.

RedTulip (author)2010-02-03

I can't change the color of the eyes :(

A.C.E. (author)2007-05-26

my file when i try to save it is *.exe and it wont let me change it so when i open it it says open with: i dont get it

RedTulip (author)A.C.E.2010-02-01

In the save as, type the name. After the name, type .exe.

Wetwillie1800 (author)2008-03-18

Okay! I was just messing around with the Worms screenmate, and I wanted to make his main color blue. So i typed the reversed code for the skin into the box, then typed the reversed code for pure blue (FF 00 00)(Thats the reversed code) and replaced all then saved. When I opened it, THE WORM WAS TRANSPARENT!!! WOOHOO!!! It worked for me, and it just might work for you. Try it out!

RedTulip (author)Wetwillie18002010-02-01

It didn't work :(

RedTulip (author)Wetwillie18002010-02-01

Nice esheep's.

RedTulip (author)2010-02-01

Does anyone get the "When-the-esheep-turns-it's-color-is-original" thingy? Cause I got it. So I used another program instead, it's called Hex Workshop. It's FREE, too!

RedTulip (author)RedTulip2010-02-01

I used the replace all button!

ecila (author)2007-09-19

yay, it worked! esheep got stuck in the freezer...

RedTulip (author)ecila2010-02-01

Cool esheep!

Greenhornetc13 (author)2007-10-30

Could somebody upload a zip file of their sheep?

RedTulip (author)Greenhornetc132010-02-01

Click THIS to download the esheep I made!


RedTulip (author)2010-02-01

I made many esheep. I only got a picture of two. I use a different software now, because when my xvi32 esheeps turn,  they turn into the original colored esheep.

wizerd 745 (author)2009-08-05

Is there a way to change it to a completly new animal or make your own?

Cricket_Lover (author)wizerd 7452009-08-14

I would personally think so...I'll try viewing the resources for the EXE...

Lol, this is 16 bit, right? I forgot Resource Hacker can only do 32 bits...

help me!! (author)2008-01-02

Guys help i cant get my sheep to look like yours im getting confused can u guys give me the codes for red and black or blue and white or to look mutant!!?? TY

mutant (author)help me!!2008-01-02

red is 00ffff, blue is ff0000, black is 000000, and white is ffffff. As for it not working right.. make sure you follow each step very closely.

joselaos (author)mutant2009-05-20

soon of the ...

joselaos (author)mutant2009-05-20

tu vieja

help me!! (author)mutant2008-01-03

TY

weebl (author)2007-03-24

what would the code for black be?

mutant (author)weebl2007-03-24

Also, if either you or Aeshir make a hacked sheep, Plz take a screenshot (Ctrl+Prt Scr then paste into paint)and post it here.

greenjedi (author)mutant2007-03-29

Here's my sheep. by the way mutant. you REALLY need photoshop, lol. i took a screenshot of the original sheep in colorcop, then pasted it into photoshop and changed the colors around till i found a color scheme i liked. then i just replaced the original colors with the new colors i got in photoshop. select one area at a time, like the face+legs or body then use ctrl+U to change the colors of the area aqualy. this should help you avoid having your sheep looking flat. also, im having a hard time getting the modded one and the normal one running at the same time. i tried changing the task name (Screen Mate) by replacing all the lines of code that say Screen Mate and ScreenMate to Red Sheep. which worked, however it wont interact with the normal sheep. if anyone can figure this out let me know :)

mutant (author)greenjedi2007-03-29

Nice Sheep!

It won't interact? Do you mean that they don't run into each other. Well Esheep is set to read certain things as solid, that includes other Esheep. I can't see why they wouldn't read each other as solid. But if you that you get an error message when you execute it, well that just happens sometimes. Sometimes the 16-bit environment just doesn't work. Try rebooting, or waiting in between executions of each sheep. If the problem persists or if I have not addressed the correct problem, please post it here. Also, I do have Photoshop. But I did not think about doing that. I have made a non-flat looking Esheep, but I just like the cartoonish look of the less detailed ones.

greenjedi (author)mutant2007-03-29

i tried executing the original esheep, and then the modified one with my colors. but for some reason the sheep that popped up was normal colors. same thing happens when i lauch the altered version first, if i launch the original one it pops up with the altered colors. so i changed the coding as explained in my previous coding, that allowed me to have both normal and altered sheep at the same time. but they wont interact with the sheep of the other color, they dont seem to notice the other kind is there. it seems some how, when i changed the coding... i managed to create racist sheep :'( anyways. heres my file, this one is just the changed colors, no other coding has been altered

mutant (author)greenjedi2007-03-29

racist sheep! lol That is hilarious. I tried it and no problems over here. Did you try rebooting your computer?
Also what are you going to name it. It has to have a name.
Also Check out the freaky sheep I made. Just watch him for a minute and you will see what I mean.
https://static2.instructables.com/ID/FMD/IWWM/WMOEZTBASZM/FMDIWWMWMOEZTBASZM.exe

weebl (author)mutant2007-03-31

how did you make him turn blac every so often!?

mutant (author)weebl2007-04-01

He is actually a combination of four different sheep. I took four sheep I made. Then I used DOS and a utility called fcut to cut each program into four pieces. Then I took the first piece of one of the sheep, the second piece of another, the third piece of another and finally the fourth piece of the last. Then I used the copy command to add the files together into one file. That way each frame of the sheep's animation was from a different sheep. Do you want the script to do this, It really easy. I mad a program that automates it all for you.

Arbitror (author)mutant2009-03-23

Could I have the automated script, fcut, and a couple sample sheep! Thanks!

Name goes Here (author)mutant2007-04-05

Can i get the script to do this and where to get the stuuf thanks.

weebl (author)mutant2007-04-01

yea sure

Name goes Here (author)mutant2007-04-03

Hope you dont mind but it ask me to save to hard drive so i did and then i looked at file name searched for it found it and moved it to my ESHEEP File so now that CRAZEEE sheep is in my file and aviable to me at any time.

mutant (author)Name goes Here2007-04-03

Esheep file? Are you using my Esheep Master Loader? YAY!

Arbitror (author)mutant2009-03-23

Master loader?

Name goes Here (author)mutant2007-04-04

No i created a new folder and placed it in it you esheep master loader not working for me

mutant (author)Name goes Here2007-04-04

Why did you make a new folder? Just put it in your custom folder.

About This Instructable

61,351views

10favorites

License:

Bio: Hello. I'm Matt and I am one of those people who likes to experiment with things. To tamper with their innermost parts, and see ... More »
More by mutant:Hacking Esheep - The Lovable, Slightly Annoying Screenmate
Add instructable to: