Journal #7203

Posted 13 years ago2011-05-05 15:59:07 UTC
Captain Terror Captain Terrorwhen a man loves a woman
User posted image
Stupid Project #7268

I wanted to have a shortcut on my desktop to run nyan cat automatically, and also, to have it in my steam games list.

First, I tried a firefox shortcut to the main non-stop nyan cat! page, but i couldn't link it to steam games because steam requires an .exe to shortcut a non-steam game. (even despite my trickery trying to rename the shortucut to .exe) One thing that worked tho, I was easily able to change the internet shortcut icon by swiping the nyan favicon from the NSNC! homepage. =)

Second, i researced batch files and learned you can call up programs using a batch file, and furthermore, you can convert BAT files to exe(using a program called BAT-to-EXE Converter. Here's my first batch script ever(which took a little time for me to get right):

cd
"G:g2setup x64- desktop shortcuts�32811 downloads- misc videoNON-STOP NYAN CAT [original].flv"


After getting this to work, all that was left was the steam icon. Unfortunately, steam by default takes the icon of the original .exe(which for mine unfortunately, was that generic windows 7 program icon), so i tried using a program called Resource Hacker to edit the icon, but was unsuccessful.

Getting frustrated something so simple was taking so long, i finally realized that under steam game properties, you can select your own icon for any game! The kicker is tho, the icon must AGAIN, be an .exe file.. This time tho my trickery worked! By renaming the favicon.ico to favicon.exe, i was able to use the nyan cat icon in the games list.

)

This whole last part mostly for nothing as you can see, cuz you can't even make out what the icon is with the big shortcut block there... poop.

Brb, killing myself..

)

4 Comments

Commented 13 years ago2011-05-05 17:34:09 UTC Comment #55800
Son, and I'm only going to tell you this once, if you want to be able to still keep your sanity, stay off the drugs :|.
Commented 13 years ago2011-05-05 21:00:19 UTC Comment #55802
I agree with striker, nyan is brain pain O_o
I listened to it for 6000 sec once and never again.
Commented 13 years ago2011-05-05 22:26:01 UTC Comment #55801
This was helpful, I've been trying to find a way to something similar with the new indie game "Ace of Spades." I don't know if anybody here knows about it, it's pretty cool though(and free) definitely worth checking out http://ace-spades.com/ but anyway the only way to launch it is though the server list on the website(the game is still in a very early alpha) so the icons open the webpage with that list, and with the help of that .bat to .exe program I can get the game to show up in my steam list and show when I'm playing it.
Commented 13 years ago2011-05-06 17:26:36 UTC Comment #55799
Question: Anyone know how to eliminate the cmd window that pops up when i run my nyan script?

Click here for a picture of what i mean

Also, anyone know how to include the content used in the .exe to make it portable?

You must log in to post a comment. You can login or register a new account.