Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Releases: Rami-Sabbagh/love-pe

Icon Patcher V0.3

16 May 19:33
Compare
Choose a tag to compare

Operating Instructions:

  1. Install LÖVE 11.1.
  2. Download IconPatcher-V0.3.love (Attached below).
  3. Download LÖVE for Windows (32-bit or 64-bit, both supported), from https://love2d.org.
  4. Create a new icon using your favorite image editor.
  5. Run the downloaded .love using LÖVE.
  6. Drop the .exe and .ico files
  7. A folder with open with the patched .exe in.
  8. Enjoy.

Note:

This version replaces the icon by patching the executable, instead of rebuilding it, so it has much more stability, it could only break the checksum which is 0 for more executables.

The resulting executable will have the exact size of the old one.

The new icon should contain the same image sizes of the exe one, otherwise the non-matching images won't be updated.

And because .ico uses bmp format, then as long as the .ico has the same images sizes and bpp then they will have the same file size.

When reporting a non working .exe, please upload the .exe and .ico and create a github issue: https://github.com/RamiLego4Game/love-pe/issues

Icon Patcher

14 May 08:23
Compare
Choose a tag to compare

A tool for changing the icon of love.exe.

2018-05-14_11-19-13

Usage:

  1. Install LÖVE 11.1.
  2. Download IconPatcher-V0.2.love (Attached below).
  3. Download LÖVE for Windows (32-bit or 64-bit, both supported), from https://love2d.org.
  4. Create a new icon using your favorite image editor.
  5. Run the downloaded .love using LÖVE.
  6. Drop the .exe and .ico files
  7. A folder with open with the patched .exe in.
  8. Enjoy.

Note:

The tool will mostly fail on any other executable than love, that's because I've done all my testing on love.exe, and the result love.exe hasn't been tested if it's completely functioning or would crash on some tasks.

Also do note that I'm not recalculating the checksum (which look like a dummy value for most executables), nor the ImageSize, so that some "Antiviruses" may find it as suspicious file.

I did find a problem myself that 7-ZIP can no longer read the resources section of the patched .exe (Yes, 7-ZIP can browse the .exe, at least on windows)

When reporting a non working .exe, please upload the .exe and .ico and create a github issue: https://github.com/RamiLego4Game/love-pe/issues

Resources Extractor

11 May 08:11
Compare
Choose a tag to compare

Current Achievements:

  • Parses the DataDirectory and the Sections Table of a PE (exe/dll) file.
  • Parses the resources directory and extracts it.
  • Parses the ICON_GROUP and converts it into viewable .ICO

What will it do when running it:

It will extract the resources of love.exe (11.1 32-bit), and save the main ICON as Extracted Icon.ico.
Once done it will open it's appdata folder with all this in it !