Subscribe
 Post #1
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
Idea thread

About
Gmod Packager is a tool for installing mods for Garry's Mod.
The mods are packaged into the .gmp format.

The .gmp format is a .zip file wich has all the files packaged relative to the garrysmod folder. In the root there is a text-file wich is parsed by the installer so the user can get some information about the mod they're about to install.

Bugs
None, at the moment.
Please report all the bugs you find!

Features

Installer
  • Automatic detection of the Steam-folder
  • Option to delete .gmp file after finished installation
  • One-click install

Package Creator
  • Recursive adding
  • Drag & Drop support for adding files
  • Shortcut in the 'Send to' context menu

To Do
  • A mod uninstall feature
  • The file-chooser looks a little bit weird.

Screenshots

The installer


The package creator


Download
 Post #2
 28th October 2007
MythBuster's Avatar
August 2007
309 Posts
Looks nice can be pretty useful for newer people
 Post #3
 28th October 2007
brwarner's Avatar
September 2007
110 Posts
Someone seems to have reported your file...
 Post #4
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
brwarner posted:
Someone seems to have reported your file...
I think it was automatically reported since it contains .exe files.
 Post #5
 28th October 2007
MythBuster's Avatar
August 2007
309 Posts
Br files can be reported and not deleted and once a mod checks it out they will mark it safe and it cannot be reported again the the false reporter will probably be banned
 Post #6
 28th October 2007
Gold Member
Catdaemon's Avatar
February 2005
11,542 Posts
What on earth is this written in? The interface feels clunky and horrible.
 Post #7
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
Catdaemon posted:
What on earth is this written in? The interface feels clunky and horrible.
It's written in C++ and with FLTK
 Post #8
 28th October 2007
Gold Member
Catdaemon's Avatar
February 2005
11,542 Posts
Z_guy posted:
It's written in C++ and with FLTK
As the idea of this is to be easy to use I would suggest using something that isn't so non-standard and confusing. Where does it output .gmp files?
 Post #9
 28th October 2007
brwarner's Avatar
September 2007
110 Posts
Personally I would have used the standard WIn32, but that's just me.
 Post #10
 28th October 2007
Dennab
January 2005
1,743 Posts
Why are you trying to save us 5 seconds extracting a zip file?

(User was banned for this post (Reason: Asshole) [event] 2054 [/event])
 Post #11
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
Catdaemon posted:
Where does it output .gmp files?
In the same directory as GmodPackageCreator.exe, but if you wish I could add a dialog asking where to save it.
 Post #12
 28th October 2007
brwarner's Avatar
September 2007
110 Posts
I think the point was to create a sort of standard, not just save time.
 Post #13
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
Pawnstick posted:
Why are you trying to save us 5 seconds extracting a zip file?
Becuase some people seems to have big problems with extracting a zip file to the right place.
 Post #14
 28th October 2007
Gold Member
Catdaemon's Avatar
February 2005
11,542 Posts
Z_guy posted:
In the same directory as GmodPackageCreator.exe, but if you wish I could add a dialog asking where to save it.
It's not put it there or anywhere else to be found.
 Post #15
 28th October 2007
black_tech's Avatar
May 2007
633 Posts
Looks nice, downloading.
 Post #16
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
brwarner posted:
Personally I would have used the standard WIn32, but that's just me.
Personally, I think the standard Win32 interface (the programming interface) is messed up and hard to code in.
 Post #17
 28th October 2007
Gold Member
Catdaemon's Avatar
February 2005
11,542 Posts
Z_guy posted:
Personally, I think the standard Win32 interface (the programming interface) is messed up and hard to code in.
This isn't about you, it's about the (idiot) end user who will not know what the fuck is going on when they use this.
 Post #18
 28th October 2007
Z_guy's Avatar
July 2005
888 Posts
Catdaemon posted:
This isn't about you, it's about the (idiot) end user who will not know what the fuck is going on when they use this.
I don't see where this differs from standard Win32 so much that an complete idiot won't know what's going on.

But why discuss this? Let's just wait for an idiot to come here and say he doesn't know what the fuck is going on and then I'll change my mind.
 Post #19
 29th October 2007
Vicis's Avatar
October 2007
333 Posts
It doesn't work

Crashes every time I launch
 Post #20
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
Vicis posted:
It doesn't work

Crashes every time I launch
What the?
Do you get any error message?
Did you use the installer?
 Post #21
 29th October 2007
Vicis's Avatar
October 2007
333 Posts
Z_guy posted:
What the?
Do you get any error message?
Did you use the installer?
I tried with and without the installer.

No errors, just the standard windows crash dialog.
http://www.deez.info/sengelha/blog/w...rashdialog.PNG (that's just off google, I was lazy.)
 Post #22
 29th October 2007
black_tech's Avatar
May 2007
633 Posts
Mine just stop responding.
 Post #23
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
Vicis posted:
I tried with and without the installer.

No errors, just the standard windows crash dialog.
http://www.deez.info/sengelha/blog/w...rashdialog.PNG (that's just off google, I was lazy.)
black_tech posted:
Mine just stop responding.
Woah, that's weird! It works perfectly fine on mine and two other guys computers.
What OS are you running?
 Post #24
 29th October 2007
Vicis's Avatar
October 2007
333 Posts
Windows XP SP1.
 Post #25
 29th October 2007
malcster505's Avatar
October 2007
81 Posts
I'm on Windows XP SP2

Works Fine.
Can pack, and unpack fine. Good Job.

I would though, recommend several improvements.

When you create a .gmp , you should allow the user to choose the place where the .gmp file will be put, instead of it just being put in the Gmod Packer Folder.


That's my only real problem with it. I like the way that you can just click on a .gmp file, and it will just open up your program, then you just click "install" and it's done. That is just perfect for the complete novice or the Complete Lazy Dude of the modern day.

Good Job. But I do think brwarner has a point with the Standard Win32 interface. The way it is at the moment is still quite simple to use, but with the Win32 interface, even though it is hard to code in, it might be a good idea on maybe the next release, to allow the user to be able to change from
The way it looks now, and to the Win32 style (so they have a choice). Some Users Prefer different things, so why not make everyone happy? :)
 Post #26
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
Vicis posted:
Windows XP SP1.
I got Windows XP SP2 but that shouldn't make any difference.
 Post #27
 29th October 2007
Gold Member
DarKSunrise's Avatar
July 2006
3,842 Posts
Well, that works too.
 Post #28
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
DarKSunrise posted:
Now all we need is just an online GMP directory.
You could just upload .gmp's to garrysmod.org inside a .zip or maybe garrysmod.org will be modified to allow .gmp's.
 Post #29
 29th October 2007
Vicis's Avatar
October 2007
333 Posts
Z_guy posted:
I got Windows XP SP2 but that shouldn't make any difference.
Oops. I have SP2
 Post #30
 29th October 2007
Elitetech's Avatar
January 2007
222 Posts
This actually looks good. But i guess it'll take to long for people to get used to. Rar and Zip will always be standard :/
 Post #31
 29th October 2007
Gold Member
Kogitsune's Avatar
September 2005
6,020 Posts
Gripes:
It won't let me add files outside the garrysmod directory to my list :/?

Description doesn't have a scroll bar.

It doesn't install correctly, extracting to the folder it is in.
 Post #32
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
Kogitsune posted:
It won't let me add files outside the garrysmod directory to my list :/?
That's the intended behaviour.

Kogitsune posted:
Description doesn't have a scroll bar.
I know, I will add that later.

Kogitsune posted:
It doesn't install correctly, extracting to the folder it is in.
What? Are you using the installer?
 Post #33
 29th October 2007
malcster505's Avatar
October 2007
81 Posts
Kogitsune posted:
Gripes:
It won't let me add files outside the garrysmod directory to my list :/?

Description doesn't have a scroll bar.

It doesn't install correctly, extracting to the folder it is in.

Yeah, I know that annoyed me to, because the fact that you have to add the mod into your own Gmod installation in the right place, then it knows where to place the files on someone elses Gmod game, if you get me. (Annoying, but works).


Totally agree. I want a scroll bar to! :(


The one I tried did.
 Post #34
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
malcster505 posted:
Yeah, I know that annoyed me to, because the fact that you have to add the mod into your own Gmod installation in the right place, then it knows where to place the files on someone elses Gmod game, if you get me. (Annoying, but works).
Why wouldn't you have the mod in the right place in your own Gmod installation?
 Post #35
 29th October 2007
malcster505's Avatar
October 2007
81 Posts
Z_guy posted:
Why wouldn't you have the mod in the right place in your own Gmod installation?
Say it wasn't there, and you had put the folder on your desktop, to throw it all together, along with other little bits and bobs, including read mes and so on, and you've got it all on your desktop, and it won't let you add it. You know. It Might not be. It's annoying that you can't add them from say your desktop.
I have no idea how you would do it if you packed the folder from the desktop and not in the gmod installation place. You'd have to add an option on the information part on the packer, on where to install the files. Isn't that easy enough to do?
 Post #36
 29th October 2007
Gold Member
Catdaemon's Avatar
February 2005
11,542 Posts
Z_guy posted:
Why wouldn't you have the mod in the right place in your own Gmod installation?
I code and deploy all my releases in their own folders. I dunno if you code mods but if you don't it makes it a lot easier at the end.
 Post #37
 29th October 2007
malcster505's Avatar
October 2007
81 Posts
Catdaemon posted:
I code and deploy all my releases in their own folders. I dunno if you code mods but if you don't it makes it a lot easier at the end.
Yeah, everyone puts them in their own folder.

It can't be that hard to just like, when you pack it, just allow the user to add on the end, where the files should be placed.

E.g. your forced to put it in garrysmod/something and the something is what you can pick. Then it lets the person who has made it, to put it in their own little folder. Then when the user opens it, and can then click the .gmp file, and it will know where to install the files.

Isn't that just better?
 Post #38
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
malcster505 posted:
It can't be that hard to just like, when you pack it, just allow the user to add on the end, where the files should be placed.

E.g. your forced to put it in garrysmod/something and the something is what you can pick. Then it lets the person who has made it, to put it in their own little folder. Then when the user opens it, and can then click the .gmp file, and it will know where to install the files.

Isn't that just better?
That sounds complicated to me.

Can you explain a little closer on how you've imagined it?
 Post #39
 29th October 2007
Dennab
June 2006
8,328 Posts
I coded the same sort of thing months back, But no one was interested so I stopped developing it and removed the download.
Was same principal, Zip files using root directory structure.

Good luck with yours. :)
 Post #40
 29th October 2007
malcster505's Avatar
October 2007
81 Posts
Z_guy posted:
That sounds complicated to me.

Can you explain a little closer on how you've imagined it?

You know when your on the packer, when you add the information in e.g. Title etc, on there. There should be like a box, which contains in it directorytosteamstuff/garrysmod/garrysmod/THEN IN THIS BIT, they can type the place where they want their files to be extracted to. The other thing is, the "directorytosteamstuff/garrysmod/garrysmod/ should be made so it cannot be changed, and so the only bit that can be added is the "THEN IN THIS BIT" part. If they don't put anything in the "THEN IN THIS BIT", this would mean they want it to be extracted straight into the Garrysmod folder. Get me now? :)
 Post #41
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
malcster505 posted:
You know when your on the packer, when you add the information in e.g. Title etc, on there. There should be like a box, which contains in it directorytosteamstuff/garrysmod/garrysmod/THEN IN THIS BIT, they can type the place where they want their files to be extracted to. The other thing is, the "directorytosteamstuff/garrysmod/garrysmod/ should be made so it cannot be changed, and so the only bit that can be added is the "THEN IN THIS BIT" part. If they don't put anything in the "THEN IN THIS BIT", this would mean they want it to be extracted straight into the Garrysmod folder. Get me now? :)
Yes, that's a pretty good idea in a way, but doesn't that make things much harder for the person who is packing it.

But hey, I don't really understand why you have to have your mod in a folder before packing it with this. I do understand it when you're packing it into a .zip.
 Post #42
 29th October 2007
Gold Member
Catdaemon's Avatar
February 2005
11,542 Posts
Z_guy posted:
Yes, that's a pretty good idea in a way, but doesn't that make things much harder for the person who is packing it.

But hey, I don't really understand why you have to have your mod in a folder before packing it with this. I do understand it when you're packing it into a .zip.
Because nobody's going to stop using zips to use this, they're going to offer it as an alternative or not at all.
 Post #43
 29th October 2007
black_tech's Avatar
May 2007
633 Posts
I got Windows XP SP2!
 Post #44
 29th October 2007
Z_guy's Avatar
July 2005
888 Posts
Catdaemon posted:
Because nobody's going to stop using zips to use this, they're going to offer it as an alternative or not at all.
I don't think that's going to be a problem. I mean readmes and such could just be pasted in the mod description, so you could just add the files directly from the garrysmod folder.
 Post #45
 30th October 2007
TheFoxz's Avatar
December 2006
974 Posts
Downloading ;)

Edit:

Messing around with it, seems to be working fine!
This will help alot of the "how i open the zip for gary mod?" people.
 Post #46
 31st October 2007
Z_guy's Avatar
July 2005
888 Posts
TheFoxz posted:
This will help alot of the "how i open the zip for gary mod?" people.
That's the point ;)
 Post #47
 1st November 2007
Tyerin's Avatar
May 2007
26 Posts
Seems like a great idea. I can think of a few enhancements though that might prove extremely useful to add more functionality to this program.

I would suggest an advanced/basic interface option. The basic interface option could solely derive it's information from the info file to show the mods name, version and description. Clicking on it gives some simple options, add/remove.

This could easily become an entire add on manager. This could insure complete and proper removal of add ons that may require files placed in data folders, maps, models, etc. This could also have an ability grab status updates from each add on authors web site. E.g. wire mod hud display is busted due to latest gmod update. The program could update when ran and check for any known issues or available updates.

It could be like a svn update system in that respect, except only handing out release versions.

A database of available mods could also be placed (like www.garrysmod.org) into the manager, allowing people to download and install them with just a click of a button.
 Post #48
 1st November 2007
Z_guy's Avatar
July 2005
888 Posts
Tyerin posted:
This could easily become an entire add on manager. This could insure complete and proper removal of add ons that may require files placed in data folders, maps, models, etc.
That is actually what's planned!
My idea is that when you start the program a window will show with a list of installed mods and bladeblada. And then you have like an Install button (wich will show a window much like how Gmod Packager is today.) and an Uninstall button, wich will uninstall the selected mod.

Tyerin posted:
This could also have an ability grab status updates from each add on authors web site. E.g. wire mod hud display is busted due to latest gmod update. The program could update when ran and check for any known issues or available updates.
That could be done actually, but probably it won't be in Gmod Packager for a while.

Tyerin posted:
It could be like a svn update system in that respect, except only handing out release versions.
You mean like in the mod manager window (I was talking about a quote above) you have an Update button?

Tyerin posted:
A database of available mods could also be placed (like www.garrysmod.org) into the manager, allowing people to download and install them with just a click of a button.
That isn't a very good idea, why reinvent the wheel? (Remember GMirror?)
 Post #49
 1st November 2007
Dennab
September 2007
236 Posts
An easy Steam Addon or something where searching for mods would be built into the Steam interface would present both a curse from people abusing it and an extreme time saver...

Example:
Anonymous: Where do I get PHX bill?

Bill: Go to garrysmod.org and search phx, models, pack, or mod. You'll find it eventually...

Anonymous: I wish there was an easier way...something that doesn't require searching for it with a web browser.
Something that went nice with the Steam Interface would be nice, but will most definitely never happen.

Edit:

Good luck with your mod manager, keep working on it and I think it will be one of the main things that could help out new users and prevent them from:

I think new users generally just join Garry's Mod and think they are supposed to be involved in some sort of Deathmatch game with advanced killing machines (mingebots) and players noclipping around and shooting eachother.

Mingebag has Joined the game.
Mingebag has Deathmatched you.
Mingebag has Been Banned.
 Post #50
 2nd November 2007
Vicis's Avatar
October 2007
333 Posts
Tyerin posted:
A database of available mods could also be placed (like www.garrysmod.org) into the manager, allowing people to download and install them with just a click of a button.
I already have a program that does this, although it doesn't use a database, it's very slow, and is very limited.
 Post #51
 2nd November 2007
moskatero's Avatar
July 2007
378 Posts
awesome, does this include SVN mods and updates?
 Post #52
 2nd November 2007
Dennab
June 2006
8,328 Posts
moskatero posted:
awesome, does this include SVN mods and updates?
I made one specificly for SVN mods :D
http://forums.facepunchstudios.com/s...d.php?t=416672

(Please don't take this as stealing your thread at all, Mine is TOTALLY unreleated to yours.)
 Post #53
 2nd November 2007
moskatero's Avatar
July 2007
378 Posts
sorry dude but i think your looks like a copy of the one rockman did
 Post #54
 2nd November 2007
Dennab
June 2006
8,328 Posts
Rockman, Who the fuck is Rockman?

Edit:
Dude, That one rockman "made" IS Mine.
 Post #55
 2nd November 2007
moskatero's Avatar
July 2007
378 Posts
sorry it`s hard to know who does things first
 Post #56
 12th November 2007
007SILVERTOE's Avatar
June 2006
1,601 Posts
Honestly, it's harder for me to understand how to use this than to extract the dang thing myself, i wanted to try it because i thought it would be quicker installing my 50 addons with this, because i reinstalled gmod, but i guess not, considering i can't understand how to use it.
 Post #57
 13th November 2007
Z_guy's Avatar
July 2005
888 Posts
007SILVERTOE posted:
Honestly, it's harder for me to understand how to use this than to extract the dang thing myself, i wanted to try it because i thought it would be quicker installing my 50 addons with this, because i reinstalled gmod, but i guess not, considering i can't understand how to use it.
What is it you don't understand?
Reply


All times are GMT. The time now is 03:53PM.

Facepunch Studios 2009 - Server 'Softlayer 2.0'