Hey there, I'm Rami Sabbagh, A 5th year IT student at Damascus University.
Started programming at the age of 13 (~9 years ago) with the help of the Internet. Been passionate in computers ever since.
Have a nice day and stay safe!
A tool made in LÖVE for changing LÖVE icon itself !
License: MIT License
Hey there, I'm Rami Sabbagh, A 5th year IT student at Damascus University.
Started programming at the age of 13 (~9 years ago) with the help of the Internet. Been passionate in computers ever since.
Have a nice day and stay safe!
Thanks a lot for this little tool!
In the Readme you show that it's possible to use strings instead of LÖVE files:
local icodata = lovePE.extractIcon(exeString)
local success, newString = lovePE.replaceIcon(exeString,icoString)
local success, newString = lovePE.patchIcon(exeString,icoString)
--[[ Arguments:
exeString -> The source exe data as a string.
icoString -> The new ico data as a string.
newString -> The new patched exe data as a string.]]
However, when I try to do this, the output file is corrupted. It is just 214KB big, instead of the original exe which is about 4MB. After a bit of investigation, I suspect that there is something wrong with the function newStringFile()
. In particular, I think this line needs to be removed:
function file:write(d,s)
if s then d = d:sub(1,s) end
> if pos+#d > #str then d = d:sub(1,#str-pos) end
str = str:sub(1,pos)..d..str:sub(pos+#d+1,-1)
pos = pos + #d
return #d
end
Once that line is removed, I was able to produce a correctly patched exe.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.