|
1 | 1 | ## What does this folder do? |
2 | | -This folder is no common resources/ folder as in it’d be processed by the build process. |
3 | | -This is just for the sole purpose of storing the downsampled Icons and other resources so you don’t have to do this all over again. |
| 2 | +This folder is no common `resources/` folder as in it’d be processed by the build process. |
| 3 | +This is just for the sole purpose of storing the downsampled icons and other resources so you don’t have to create them all over again. |
4 | 4 |
|
5 | 5 | ### HOW TO properly generate Icons |
6 | | -The process of generating Icons shouldn't be necessary but who knows what the future brings. |
7 | | -You basically have on large file (256x256px) with 32bit color-depth and have to downsample that for .ico's |
| 6 | +The process of generating icons shouldn't be necessary at all but who knows what the future brings. |
| 7 | +You basically have one large file (256x256px) with 32bit color-depth and have to downsample that to say 128, 48, 32 and 16px. |
8 | 8 |
|
9 | 9 | Windows Icons contain multiple images with different resolutions to pick them based on the platform. |
10 | | -I included a GIMP project file, however feel free what Software you'd use. |
| 10 | +I included a GIMP project file, however feel free to use what Software you'd use. |
11 | 11 |
|
12 | 12 | Essentially you have to create different layers and then the GIMP Exporter (Export -> Windows Icon) does all the work for you. |
13 | 13 | See here for the correct configuration: |
14 | 14 |
|
15 | 15 |  |
16 | 16 |
|
17 | 17 | ### HOW TO Replace Icons: |
18 | | -When a new Netbeans Version is out you might need to redo this process since we override netbeans launcher exe with our version (and this launcher can change with a new nb version). |
| 18 | +When a new Netbeans version is out you might need to redo this process since we override netbeans' launcher files with our version (and this launcher can change with a new Netbeans version). |
19 | 19 | See `harness-override/README.md` for more information on that subject. |
20 | 20 |
|
21 | | -Open up `app.exe`, `app64.exe` and `pre7_app.exe` (*not* `pre7_app_w.exe`*!!*) with the `Resource Hacker` Software (or comparable). |
22 | | -Open up the `Icon Group (100: 1033)` and Right-Click on it to select `Replace Icon`. |
| 21 | +Open up `app.exe`, `app64.exe` and `pre7_app.exe` (_not_ `pre7_app_w.exe`_!!_) with the `Resource Hacker` Software (or comparable). |
| 22 | +Open up the `Icon Group (100: 1033)` and Rightclick on it to select `Replace Icon`. |
23 | 23 | Select `jmonkeyplatform.ico` and you’re done. (Well, save the file ;)) |
24 | 24 |
|
25 | | -Note: Your Windows has an Icon Cache so you can’t see that it actually worked. |
26 | | -Simply launch `ie4uinit.exe -ClearIconCache` and it should work. |
| 25 | +Note: Your Windows System has an Icon Cache so you can’t see that it actually worked. |
| 26 | +Simply launch `ie4uinit.exe -ClearIconCache` and you should see the differences. |
27 | 27 |
|
28 | | -[There’s](http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild.html) a larger tutorial but it shouldn’t be necessary. |
| 28 | +[There’s](http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild.html) a larger tutorial but it shouldn’t be necessary. |
29 | 29 |
|
30 | | -When you’ve changed the Icon, make sure to change the hashes in `harness-override/override.properties` |
31 | | -You have the „hashBefore“ and „hashAfter“. The first one is the plain .exe before changing (This is so we can see if there’s a new netbeans version without us having changed the icons/exe) and the other one is after changing. Simple, huh? |
| 30 | +When you’ve changed the icon, make sure to change the hashes in `harness-override/override.properties`. |
| 31 | +You have the „hashBefore“ and „hashAfter“. |
| 32 | +The first one is the plain `.exe` before changing (This is so we can see if there’s a new NetBeans version without us having changed the icons/exe) and the other one is after changing. Simple, huh? |
32 | 33 |
|
33 | | -Then issue `shasum -a 256 netbeans/harness/launchers/*.exe` so you have all the hashBefore’s / After’s |
| 34 | +Then issue `shasum -a 256 netbeans/harness/launchers/*.exe` so you have all the hashBefore’s / After’s |
34 | 35 | See `harness-override/README.md` for more information on that subject. |
0 commit comments