Posted 10 February 2006 - 06:30 AM

I also wanted change the icon in my Acronis OS Selector for OS X from the ugly generic unknown system icon... If anyone finds an easy way to do this, please let us know. Or perhaps some instruction on how to decompile the program and edit it's internal icon files. (I've never attempted anything like that before)
Thanks

Posted 15 March 2006 - 06:06 PM

digicide

InsanelyMac Protégé

Members

53 posts

I checked... None of the icons are in any of the files located in the program files/acronis directories. I looked around for a while trying to see what dll's acronis might be hiding them in, but i gave up...

Posted 08 June 2006 - 01:29 AM

cbmkgd

Members

1,243 posts

I checked.

I found that all the icons are in the main ossmain.exe executable (4.25MB).They are packed all together in one big 1.75MB zip file at the end of the exe!This might explain why it's so slooooow to load.

I extracted, then unpacked the zip file: 2.37MB of files in which there are 220 png files totalling 1.4MB; the rest consist of 5 small xml files, 2 afm font files, some .dat database and a few other files.

Of course the OS icons are in there, but so are all png files for the help section available within the loader.

For the OS icons, they come in sets of 3: 16x48pix, 32x96pix and 48x144pix (all 32bpp), each of these consisting of 3 stacked squares (eg three 16x16 squares on top of each other) (probably to represent different push states)... don't think i'm allowed to show one here.

I'm no big expert, but since this is one big zip package inside the exe, would it be possible to modify some particular images files (eg OS/2, Turbolinux icons), keeping the same names, and making sure the final rezipped file has the exact same size, and then reinserting at the end of the exe... ?Unless of course a crc check is done within...

On the Acronis forum, the mods said that it might be an option in a future version, but no promises...So might be safer to wait.

Posted 09 June 2006 - 10:23 AM

domino

Retired

Members

1,958 posts

Gender:Male

Location:/tmp

In the mean time we can edit the bootmenu_logo.png to whatever we want . Maybe some talented person can create a classy logo with Linux, OS X, and Windows? If loading is too slow, might want to disable cd booting on the app.

Posted 09 June 2006 - 08:31 PM

cbmkgd

Members

1,243 posts

Firstly, the md5 of my ossmain.exe is: 483ea6ea1eede6ecba2e65fb0a2c90ceThe begining of the zip in this one is then: 0x00280880The resulting exported zip file has this md5: 7e37245df5360b693151587b4d921863

For those who also want to try:Make a copy of ossmain.exe.With this copy in your hex editor, extract/export from the above address until the end to a file named e.g. resources.zip. Then unzip in a folder to view and work with the files. If there's a message about a corrupted zip, then there was a problem extracting.

If you have a different executable (other version), I don't know if the pattern is the same, i.e. if they put the zip at the end. Anyways, here's what to do if they did: search for this hex string from the start of the file: 50 4B 03 04For me this was the begining of the zip (begining at the "50 4B", which is the "PK" header of the zip). There are other such strings later, but you have to extract/export from the first one until the end to a zip file.

Once extracted, one could edit/replace eg the os/2 icons into Apple icons, with the same filename, and rezip. The Acronis people used Adobe ImageReady to make the double-state icons.(There are some xml files containing a list of these icon filenames... so one could also change the filename of icons and edit the list... maybe...)

Of course the zip will be a different size. One could try different zip compression settings to get the same size; or just insert a dummy file whose size is adjusted until the zip is the same size.But then again, since the zip is at the very end of the exe, only its start address might be important; but I wouldn't take the chance.Of course the zip will have a different checksum, and if there is an integrity check it's game over.

Posted 10 June 2006 - 10:22 AM

cbmkgd

Members

1,243 posts

Ok, some results:Having a modified zip of different size replacing the original at the end of the ossmain.exe doesn't trigger anything so far, so that's good news!As a later test I slightly modified the os/2 icons (change in colors, etc) and all went well. All tests in vmware.

I've picked up some apple icons here and there from google-images to work with.Screen shots later tomorrow...

Attached Files

Posted 11 June 2006 - 07:13 PM

I was a first shot I made quickly: used a simple black apple as a bump map. Didn't try anything fancy.

I have those two you show.The first one I like also, it is a thin semi-transparent blueish layer over the white background. Reduced to 48x48, not sure would show as nice.

Second one wouldn't make much impact on the blue background fullscreen background, but a nice white-ish glow just outside the apple may make the necessary contrast, like the "DOS" icon you see in the images but not as harsh. Working on it.

Then of course a nice "OSx86" just in the middle would be nice.

For each size (16, 32, 48) one needs three icons: one for the normal state, one for the selected state, and a third one in grayscale which could be a bump map, don't know its purpose.

"Could somebody email me that .zip file i tryed it with a hex editor but i didnt worked out."

You'll have to put it back in anyway. To manage to get it out is a first good step.Did you find the place where it's located? What exact version of acronis os selector do you have?What hex editor are you using?