Chaos Project

RPG Maker => RPG Maker Scripts => RMXP Script Database => Topic started by: Blizzard on January 09, 2008, 04:58:40 pm

Title: [XP] Multi-Game Launcher
Post by: Blizzard on January 09, 2008, 04:58:40 pm
Multi-Game Launcher
Authors: Blizzard
Version: 1.1
Type: Game Launcher Utility
Key Term: Game Utility

Introduction

This special project will allow you to create a game launcher that launches one game out of a selection.

This work is licensed under BSD License 2.0:
QuoteCopyright (c) Boris "Blizzard" Mikić
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1.  Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.

2.  Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

3.  Neither the name of the copyright holder nor the names of its contributors
    may be used to endorse or promote products derived from this software
    without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

If you have any questions about this project, feel free to contact me:
http://forum.chaos-project.com

Features


v1.1


Screenshots

(http://img131.imageshack.us/img131/9662/snap362fp1.th.png) (http://img131.imageshack.us/img131/9662/snap362fp1.png)

Demo

Multi-Game Launcher (https://downloads.chaos-project.com/scripts/Multi-Game Launcher.zip)

Script

N/A

Instructions

Inside the project, in the "---::: Configuration :::---" script.

Compatibility

Should be 100% compatible with anything as this launcher is independent and does not interfere with any of your games.

Credits and Thanks


Author's Notes

This launcher cannot launch only games, it can launch ANY application. If a game does not get launched when you choose it, then you haven't set up the configuration correctly.

That's it! N-Joy! =D
Title: Re: [XP] Multi-Game Launcher
Post by: Memor-X on July 20, 2008, 11:20:32 pm
something strange has happened with one of the Multi-game launchers i fixed up for one of my game series, when i select the game, the launcher reopens itself, i checked the code on it the option isn't fixed up to opened the launcher's own .exe file, any idea what's going on
Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on July 21, 2008, 08:50:20 am
That's unusual. It should close the launcher afterwards. Did the other app get started as well?
Title: Re: [XP] Multi-Game Launcher
Post by: Starrodkirby86 on July 21, 2008, 04:12:41 pm
So this would mean if a help file, say, were an .exe, you can launch that before playing the game. Or...you can launch an .exe that's a virus.  :evil: Anything...as long as the right file directory is known...Interesting, I'm intrigued. And it's very customizable since it's just a new game in itself. Kudos to you Blizzard, very great creation!
Title: Re: [XP] Multi-Game Launcher
Post by: Memor-X on July 21, 2008, 07:22:08 pm
QuoteThat's unusual. It should close the launcher afterwards. Did the other app get started as well?


no, i thought it was working normaly until i saw the title of the Multi-Game Launcher, then i selected the game again, and again, still the same, i checked the path to the .exe and it's right, anyway, here's the installer i made for it, still working on the installer itself but the multi-game launcher is in it, see if you can figure out the problem
http://www.megaupload.com/?d=PKO5N40Y
Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on July 24, 2008, 09:05:51 pm
Thanks. I'll check it ASAP.

EDIT: How am I supposed to find out what's wrong when it's encrypted? -_-
Title: Re: [XP] Multi-Game Launcher
Post by: Memor-X on July 29, 2008, 12:30:46 am
sorry, my bad, put up the wrong one (i was wondering why it was moved to the uploads folder) here's another link

http://www.megaupload.com/?d=SH5WFDOD
Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on July 29, 2008, 08:27:30 am
Hm, I just found out something... The Multi-Game Launcher should be encrypted separately without the other files and folders or it might cause a crash bug on the other projects. I also tried the game launcher both encrypted and not encrypted and it worked fine. The launcher's path was C:\Documents and Settings\Boris\Desktop\Core\Game.exe and the game's path was C:\Documents and Settings\Boris\Desktop\Core\Core Twinlight Worlds\Black Core Demo\Black Core Demo.exe without changing your setup. Did you have the same relative path structure? Are you using Vista, BTW?
Title: Re: [XP] Multi-Game Launcher
Post by: Memor-X on August 03, 2008, 09:33:06 pm
well i'm not using vista (i could but i don't remember if there was a post on the forum in how to get RMXP working on Vista) i'm using XP, and yeh, that's really the same setup except i had the folder in Program Files\Mema Hunters but that should make any differnce, as for what you said

QuoteThe Multi-Game Launcher should be encrypted separately without the other files and folders or it might cause a crash bug on the other projects


does that mean like i have to remove all audio and graphics before encrypting then in after (like running the gamedisk then pasting them into the game's folder) or does it mean that i shouldn't encrypt other games inside the Multi-Game launcher aswell

Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on August 04, 2008, 06:05:45 am
The latter. Remove the other games first, then encrypt the launcher.
Title: Re: [XP] Multi-Game Launcher
Post by: Memor-X on August 04, 2008, 07:27:28 pm
i always do that, infact, i make the Multi-Game Launchers after i have got a game to text out on them, i've just fixed up the installer for the game so they install the game to the correct folder by defult, that way, you don't really need to try hard to get them into the correct folder, just keep pressing ok
Title: Re: [XP] Multi-Game Launcher
Post by: G_G on September 20, 2008, 09:34:17 pm
I figured out how to run Scene_Launcher in game. Like say yoy have a minigame made in another project, but you want to be able to play it in your current project, I figured out how to do it but I want blizz's permission first.
Title: Re: [XP] Multi-Game Launcher
Post by: Sally on September 20, 2008, 09:38:38 pm
ok nice necro post,

so

QuoteCredits and Thanks


Blizzard
Susys - for requesting this
Title: Re: [XP] Multi-Game Launcher
Post by: Diokatsu on September 20, 2008, 10:01:50 pm
Great job Blizz! w00t!
Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on September 22, 2008, 08:37:50 am
It's alright to use this in your game. Susys asked me back then for this and I thought I could post it for everybody else. I use an edited version myself in CoSLAL. :)
Title: Re: [XP] Multi-Game Launcher
Post by: G_G on September 22, 2008, 12:18:07 pm
Ok, if you need to import this in your game, copy all the scripts except window and main. Paste them above all.
Like so
Config
Bitmap
Music
Scene_Launcher
RTP
Other's
Blizz;s
Main

Then in Scene_Launcher find this line
@win = Window.new(max_width + 40, games)

and change it to this
@win = Window_Command.new(max_width + 40, games)

then in your game enter the following syntax
$scene = Scene_Launcher.new

Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on September 23, 2008, 01:04:10 pm
This will actually make your game malfuntion. :P This is not meant to be a project where you copy all the scripts. You are only supposed to set it up. It works autonomously and independently from your game.
Title: Re: [XP] Multi-Game Launcher
Post by: G_G on September 23, 2008, 08:16:21 pm
Ok, I had this set up because I made a minigame I wanted to import into my regular game. But when I imported all the stuff, it wouldnt work and it caused errors. So I modded this script so I could use it in my main game anytime. Thats why I modded it.
Title: Re: [XP] Multi-Game Launcher
Post by: Mightylink on October 12, 2008, 09:46:53 am
Great script, this is useful for adding tutorials or minigames or expansion packs to my main project. I give it 5 thumbs up :D
Title: Re: [XP] Multi-Game Launcher
Post by: k9inpoop on February 24, 2009, 08:09:37 pm
oooo i got a good update for you you can make Multi-Game Launcher able to use the mouse to pick a game to play or something that.
Title: Re: [XP] Multi-Game Launcher
Post by: Blizzard on February 25, 2009, 09:28:11 am
No.