
-----------------------------------
Nathan4102
Wed Sep 25, 2013 3:37 pm

Icon and JAR question
-----------------------------------
Two quick questions:

First, am I able to change the run-time icon of a standalone Turing .exe? I haven't seen any functions that will do it, and I've tried actually editing the .exe with no success.

Secondly, is it possible to run a turing application packed in a .jar? Like say I have a turing program, and it has a few folders it needs access to. But instead of distributing it as a .exe and a few folders, I'd like to have it as just one single file. Could I pack everything in a .jar, and then have a java file that just executes the .exe?

Thanks!
Nathan

-----------------------------------
Insectoid
Wed Sep 25, 2013 4:47 pm

RE:Icon and JAR question
-----------------------------------
Question 1: Not really. There are some hackish ways to do it and Google will help you out with that.

Question 2: Why don't you try it? And why bother? Most programs aren't packaged like that. The files are just stored somewhere else. Why not write an installer program that copies the files to a specified directory and let your actual program access them there?

-----------------------------------
Nathan4102
Wed Sep 25, 2013 4:58 pm

RE:Icon and JAR question
-----------------------------------
Ive had a look at these hackish methods, but I couldn't find any that worked. The one reputable program I found, "Resource Hacker", seems to be outdated, and doesn't work anymore.

As for question 2, I'm just feeling lazy and decided to ask instead of trying. :P The installer idea sounds good though, I'll probably try that.

-----------------------------------
Raknarg
Wed Sep 25, 2013 6:11 pm

RE:Icon and JAR question
-----------------------------------
sure you can, I've done it before, it's the same way you'd change the icon on any other exe.

Or it might be that you can change the icon of the shortcut, I cant remember

-----------------------------------
Nathan4102
Wed Sep 25, 2013 6:23 pm

RE:Icon and JAR question
-----------------------------------
You can change the desktop icon with a few clicks. I'm talking about the small icon in the top left of a running application.

Do you guys know of any good working source editor that could do this?

-----------------------------------
tiedye1
Thu Sep 26, 2013 8:25 am

Re: Icon and JAR question
-----------------------------------
Here's a resource editor that seemed to work well for me.  (The link is to a web archive page be cause the link is broken on the current page)

http://web.archive.org/web/20120208143742/http://melander.dk/reseditor
