I made a quick tool yesterday to convert a program with a bunch of other required files into a single exe. I did some searching for a similar tool but everything I found was either shareware (the phrase shareware on a site usually means it’s from 1996), or expensive with a load of unneeded security features.
Bundler is pretty much as simple as it can be. It creates an exe, then zips up your files and adds them to the back of the exe. When the exe is run it looks at itself, finds the zip file, extracts it and runs the program.
This is great if you have a program you want to distribute that has a few smallish required files. Obviously not so great if the required files are 3GB. It works for what I wanted to use it for, which is to convert this:
into this:
You an test out how that works using this. There’s still a couple of things I need to do. I’d like to get the icon of the embedded program into the launcher. I’m sure that can be done by splicing the memory from one to the other - but I need to look into that further.
You can download bundler here. Just drop a folder onto bundler.exe to create an exe (the folder needs to contain an exe).
I’ve been trying to lose weight over the last month. And it’s been going well, I think I’ve got it under control. Here’s my weight loss tips.
Don’t go crazy
Diets are a temporary thing. You’ll never last if you try to only eat bread or whatever. It’s not sustainable and you’re always going to end up breaking. Don’t try to lose too much weight. And be happy if your weight just stays the same.
Habitual Eating
I identified two big habitual over-eating issues.
First of all I couldn’t watch TV without eating. If I’m sitting down to watch a movie I need get some food to munch while I watch it. It actually feels weird to watch a movie without eating.
And secondly I always had to have a snack after dinner. If I’d had a sandwich I’d have a big of crisps afterwards. Even after I’d had a quite big dinner I’d have a crisps afterwards.
These are the things you need to get under control. The things you do every day without thinking. If you can change these you’re set.
Graphs
I have some withings scales which make recording my weight really easily. All you have to do is stand on them and it uploads your weight to the web. Here’s my graph for last year.
As you can see I was doing pretty good weight loss wise in the early part of the year (when I bought the scales). Then it crept back up - peaking at Christmas (I put a full stone on over xmas ).
I’ve lost weight pretty consistently this year.
According to the graph if I keep doing what I’m doing I should no longer be overweight come May. My aim is to get to the overweight line and hover on it though.
This app is pretty cool because it shows you a progress bar, so you can see how long you’ve got before you get where you’re going. A lot of weight loss seems to focus on the past - so you never really think of the future. This plainly tells me that if I keep trucking in 70 days I’ll reach my target.
We’ll see how long I last.
In the last month I have had a couple of Balti’s, a Chinese every week and fish and chips every week. The fact that I’m losing weight goes to prove that those things don’t matter as much as cutting out the habitual out of meal eating.
This week I’ve been working on a tool to upload workshop addons for GMod. It’s a pretty simple task but I decide to do it using GWEN.. just to make things a bit more challenging.
Why? Well, it makes it easier to make cross platform (although I could have used VGUI, or another widget toolkit). Plus it gave me a chance to ride through GWEN and round off anything that’s a bit rough. It also has the added bonus of looking exactly like the UI in GMod - because it uses the exact same skin. This one.
It turned out that it works!
But man - I need to make a designer for GWEN. I thought people were being lazy when they asked me for one - maybe they were.. but it turns out I’m pretty lazy too.
You can try it out here. (You’ll get steam errors if you try to do anything unless you own the GMod Beta).
And you can see the uploaded files here if you’re in the beta. (you need to log in)