Simon Tatham, the creator of PuTTY, made these cross-platform, standalone games (rules aren't his, just the code). This launcher makes it easy to chose a game to play, or if you have more time, you can chose any number of games to play. Thanks to Simeon for the multiselect code, as well as wraithdu and mecki77 for the updates. The games are under an MIT license, saying that you can modify and redistribute, but you need to put in royalties... :(. Download Here.
To Do:
Nothing
[Make sure to close that UL - Ryan]
You are here
GameSuite Portable Dev Test 1 (Testers Required)
February 24, 2008 - 5:37pm
#1
GameSuite Portable Dev Test 1 (Testers Required)
I really like that.
Nice and easy games.
One thing though: In the readme, it says Kuhl instead of Kühl
And you could put Wraithdu in as Copyright holder too as he helped me a lot cleaning the code.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
solo doesn´t start with the launcher, the other games do. Anyway, great work...
"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda
I wanted to point that one out earlier but forgot:
Line 197 is
but it should be
That's why solo never gets launched
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Good job, other than the error mentioned above everything looks great. You may want to find another name though. The name Game Suite, especially on this site, may imply to some users that it is another version of the PortableApps Suite that is specific to games. Maybe something like STGamePack (ST stands for Simon Tatham). or just GamePack or something like that. Or since the "About" for each game says "from Simon Tatham's Portable Puzzle Collection" maybe calling it PuzzleCollectionPortable would be good.
The developer formerly known as ZGitRDun8705
I fixed it, just gotta get it up...
Insert original signature here with Greasemonkey Script.
Where do you see the royalty info?
I have a package of this with a menu based off the NSIS menu (the one that links to help, compiled, etc) that I never posted though I can't recall why. If there is a royalties requirement, then it can't be considered OSI.
Sometimes, the impossible can become possible, if you're awesome!
I put it under the readme.
Insert original signature here with Greasemonkey Script.
I can't see any mention of royalties anywhere. I think the only thing I hadn't finished was ensuring that the hlp vs chm was launched on the correct versions of Windows (all versions of Windows support hlp but Vista. Win 95/98 original don't do chm... or something like that) from the menu I'd done. And adding the icons to the launch window.
I'd done a custom icon and called it "Puzzles Portable".
Sometimes, the impossible can become possible, if you're awesome!
that the software must include the copyright notice. Maybe I should put in a readme...
*Edit* The MIT License is on their list of approved licenses...
Insert original signature here with Greasemonkey Script.
See http://www.chiark.greenend.org.uk/~sgtatham/puzzles/doc/licence.html#lic...
As it's listed on the game's website in the license section...
In short... you can do anything you want with those games as long as you give him/them credit for them.
~TStodden
Game Monkey Likes You!
Where would I go to request this same program, but certain games in it? Like Tetris, Bejeweled, Collapse, Frogger, etc. Yea, I know those games are Open Source or anything but I do know that some of them have alternatives. Bricks is an alternative to Tetris, for example.
- the path i walk is in the wrong direction -
and cross platform. If you want another game, just show me to it :).
Insert original signature here with Greasemonkey Script.
Tetris, Frogger, Pacman... Cames carrying these titles are in violation of copyright law. While you cannot copyright a certain gametype (ie thats why you see pacman clones etc.) you can not and may not use these names unless the official publishers / copyright holders would have given them away.
Just a small note for your information.
I found a few things you can fix in the source.
1. remove the StrRep.nsh include
2. remove the extra OutFile line
3. **Optional** remove the Page instfiles
If you do this, you'll have to change how you change the install button text -
a. add !include WinMessages.nsh
b. add these 2 lines to the top of your nsDialogs page function -
You have to do it that way cause the InstallButtonText command doesn't seem to work if you don't have the instfiles page. If you remove that page, you can ignore the compiler warning.
4. fix the +4 ==> +3
I think you and Simeon had a great start on this little launcher, so I thought I'd give you a little bump ahead. I made the following changes -
1. renamed to GamePack (from your to-do list)
2. removed sleep times, as they are unnecessary and just slow the thing down, and changed the relative jumps to compensate
3. added a button to run the games while leaving the launcher open
4. removed the Cancel button, as it is now redundant
5. fixed the run code - you want to put the BM_GETSTATE in it's own register (or variable) instead of overwriting each game variable, because they hold the checkbox control's HWND (handle). If you overwrite it, you can't ever check its state again without restarting the launcher. Since I added the Run button, I had to change it.
If you paste this in a decent editor (N++ or SciTE) you can seem my comments. Feel free to use all/part/none of it as you see fit
I had the sleep commands in there because I wanted/needed them but they aren't necessary here. And without your help, this Launcher wouldn't be where it is today
So thank you for your improvements!
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
I suggest also downloading and including this help file in your package. Place it in the same directory as all the game executables, and the help options will appear in each game's help menu.
http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles.chm
I was thinking about suggesting that also.
Despite a few minor issues (mostly some control deals... but that's on the non-portable end), things are looking very good.
~TStodden
Game Monkey Likes You!
What other games would you add? It may be best to keep this specific pack limited to the games made by Simon Tatham. Also, as suggested above, add in the help files.
This is a great pack digitxp, thanks for setting it up, and great job on the multi-launcher Simeon.
I would suggest however, upgrading the multi-launcher to use the Modern-UI code, it will make it look better, and maybe use a radio button instead of a check box, it's not very likely that a user will want to open and run several games at once.
The developer formerly known as ZGitRDun8705
I want to add most of the games that are in the forums. I already added a link to the online documentation (those help files don't work in vista) in the help file. And what's Modern-UI code. Oh, and I launch multiple games at a time all the time...
Insert original signature here with Greasemonkey Script.
Hmm, the .chm help file I linked to above works fine in Vista (I have it open now).
I suggest you stick with just Simon's games, otherwise the pack will get too large and bloated.
I was thinking of making one with Simon's games only, then with the games here only...
Insert original signature here with Greasemonkey Script.
That works too....I'd still recommend changing the name of this pack as well. And modern-ui code is the newer set of code that NSIS uses for it's GUIs. The code you are currently using is for the classic-ui, where window elements (checkboxes, buttons, etc.) do not change to match the style of the current operating system, they use only the Win2000 style.
The developer formerly known as ZGitRDun8705
what kind of code do I use then? (I'm not very good with NSIS)
Insert original signature here with Greasemonkey Script.
I have no idea lol. I just know that there is modern-ui code that will adjust the window elements to use the style of the current OS.
The developer formerly known as ZGitRDun8705
can somebody point me to the NSIS Manual? I lost the link :(...
Insert original signature here with Greasemonkey Script.
Google or look here.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
XPStyle on
Should do the trick.
Yep, that'll do it.
I almost have the MUI code changes done, just gotta tweak the Run button placement (for those interested :))
Here's the MUI2 coded version. Biggest difference is the UI is bigger, so more room for more games.
Hello wraithdu, saved your MUI2 Variantt of the GameSuitePortable Launcher Code as .nsi Script and compiled it,... it looks great, when it runs and no problems so far,...
by the way - digitxp your starter and the whole package is great to - nice idea to put it in a portable suite - good work done,...
but why are not all games from the zip included?
Netgame, Netslide, Pattern, Rectangle(rect.exe) and Samegame are missing,...
I took wraitdus script and added them - nothing else edited - I only added the missing games - in alphabetical order - in the Variables-Section and the two Functions-Sections of the code. The executebles of the missing games I put in the \app\games\ folder, where the others are located.
I hope it helped a little,...
Thanks for that.
It should really be 'Welcome to GamePack Portable' with a space, too.
And, and I don't know if there is one, but an error message when a game can't be started. (say, app doesn't exists for some reason).
hand this over to you guys :P. (Homework is so inconvenient, especially on read across america day...)
Insert original signature here with Greasemonkey Script.
If you want to hand it over, go right ahead, you did a great job getting things started on this, it was a great idea.
Nice work wraithdu on the MUI2 code, it works great, and thanks mecki77 for making sure all the games were included.
The developer formerly known as ZGitRDun8705
Thank you very much digitxp.
And wraithdu and mecki77 why not upload your last modifications to share to these (pointing to myself) simple humans that don't code and don't know how to compile?...
Thanks in advance...
If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report
...it is still the project of digitxp so he deceide how he builds this suite and which code he takes for it, and of course it is at him, to release it,...
I'm not a programmer - i'm only a "Script-Kiddie" *gg* that is addicted in Portable Software. I take code and plays with it to see how it works and for learning purposes - like that it was in this case too: i saw wraitdus modifications and compiled them to see how they work and how he made it. Then i discovered that some games are missing, so i deceided to add them and edit the script and compile it for me. After that i deceided to give the edited code back to the Community, like it should be by Open Source Code under the GPL - that's it...
If digitxp want's to hand out the project to annother one, I think wraithdu should make the job,... NSIS is powerful and easy to learn, but i'm just at the beginning
mecki
This Suite is a good example of OpenSource/Community based work.
I wanted a launcher, wraithdu helped me, digitxp saw my code, used it for his Suite and then 3 other people helped him with it. And without John , noone would even know how to use NSIS this way
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
but I still don't know how to use NSIS...
If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report
Anyone with a SourceForge account can be added to the project where digitxp has been maintaining this app.
MC
digitxp, you should really update this and get things ready to go, the scripts that wraithdu and mecki77 fixed up for you are great, it should be a simple update. Remember to give them credit too.
The developer formerly known as ZGitRDun8705
but I have no idea what inst files has to do with this:
1 warning:
Page instfiles not used, no sections will be executed!
But I'll post it anyways...
Insert original signature here with Greasemonkey Script.
Will you include all of the games made by ST, as mecki77 has done in his script? I think this would be recommended.
As for that issue, I'm not sure how to handle it. Maybe somebody with a bit more NSIS experience can answer that.
The developer formerly known as ZGitRDun8705
its ok to ignore it. I don't have the time to test it myself atm.
Just try if it works and if it doesn't work you cant ignore it
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Yes, just ignore it. It's because there's no instfiles page defined. But it's not needed, and nothing is done in a section anywhere anyway. It's all done in the functions.
It can be compressed EXEs with UPX.
the apps are MIT, and UPX only allowed with gpl apps... (I don't know why). Anyway, there's no point.
Insert original signature here with Greasemonkey Script.
UPX is under the GPL but can be used with apps under any license including closed source binaries as long as UPX is unmodified.
Sometimes, the impossible can become possible, if you're awesome!
It is perfectly acceptable to UPX MIT licensed apps. (You may be thinking of the mozilla apps.)
cowsay Moo
cowthink 'Dude, why are you staring at me.'