View previous topic :: View next topic |
Author |
Message |
AutoT

Joined: 03 Feb 2007 Posts: 28
|
Posted: Wed Feb 28, 2007 5:55 am Post subject: Finished |
|
|
Let's say that I've finished making a game. How do I make the game so that the person doesn't have to download game.exe and that stuff but can download the entire game, install it and the play it? (Example: Wandering Hamster [download, play! No hastle of game.exe], Sword of Jade [Again No hastle with game.exe]) _________________ Carpe Diem |
|
Back to top |
|
 |
Camdog
Joined: 08 Aug 2003 Posts: 606
|
Posted: Wed Feb 28, 2007 6:07 am Post subject: |
|
|
Just package the game with a copy of the game.exe file renamed so it matches the name of your rpg file. (Make sure the extensions of both files remain the same, though) |
|
Back to top |
|
 |
J.A.R.S. In umbram deo, ex nihilo...

Joined: 11 May 2005 Posts: 451 Location: Under the rainbow...
|
Posted: Wed Feb 28, 2007 7:14 am Post subject: |
|
|
As far as making an install file goes, I use Dark Basic's built-in module (laazy) but there are other tools that do that out there. I suggest to googleit ... keywords: "installer"? not so sure about that actually... |
|
Back to top |
|
 |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Wed Feb 28, 2007 8:03 am Post subject: |
|
|
Uh...Dude.
There's always the hastle of game.exe.
Look closely, the files are just renamed to wander.exe and soj.exe (Actually not sure what Sword of Jade was renamed to, but its the same idea).
In simplest terms, you can not play an .rpg file without a version of game.exe |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Feb 28, 2007 9:39 am Post subject: Inno Setup |
|
|
I use Inno Setup for Wandering Hamster. here is my wander.iss script. You can copy and pasted this into your own .iss file, and then customize it for your own files.
Code: |
; This script is used by Inno Setup to create a Windows Installer.
; You can use this as an example for packaging your own game.
; see http://www.jrsoftware.org/isinfo.php to download Inno Setup
[Setup]
AppName=Wandering Hamster
AppVerName=Wandering Hamster (ubersetzung) 2007????
VersionInfoVersion=2007.02.28.0
AppPublisher=Hamster Republic Productions
AppPublisherURL=http://HamsterRepublic.com/ohrrpgce/
AppSupportURL=http://HamsterRepublic.com/ohrrpgce/index.php/Game_Wandering_Hamster.html
AppUpdatesURL=http://HamsterRepublic.com/ohrrpgce/index.php/Game_Wandering_Hamster.html
AppReadmeFile={app}\readme-wander.txt
DefaultDirName={pf}\Hamster Republic\Wandering Hamster
DefaultGroupName=Wandering Hamster
DisableProgramGroupPage=yes
AllowNoIcons=yes
AllowUNCPath=no
LicenseFile=LICENSE-binary.txt
InfoAfterFile=readme-wander.txt
OutputBaseFilename=wandering-hamster
Compression=bzip
SolidCompression=yes
ChangesAssociations=no
UninstallDisplayIcon={app}\wander.ico
[Languages]
Name: "eng"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"
[Files]
Source: "wander.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "SDL.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "SDL_mixer.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "wander.rpg"; DestDir: "{app}"; Flags: ignoreversion
Source: "wanderp.hss"; DestDir: "{app}"; Flags: ignoreversion
Source: "wander.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "readme-wander.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "LICENSE-binary.txt"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\Wandering Hamster"; Filename: "{app}\wander.exe"; Flags: closeonexit
Name: "{group}\Wandering Hamster (fullscreen)"; Filename: "{app}\wander.exe"; Parameters: "-f"; Flags: closeonexit
Name: "{userdesktop}\Wandering Hamster"; Filename: "{app}\wander.exe"; Flags: closeonexit; Tasks: desktopicon
|
Two things to note about this.
1) It assumes that i have already renamed a copy of game.exe to wander.exe
2) I use the music_sdl backend, which is why SDL.dll and SDL_mixer.dll are included. If you are using the music_native backend you need to remove those lines and replace them with audiere.dll and audwrap.dll |
|
Back to top |
|
 |
AutoT

Joined: 03 Feb 2007 Posts: 28
|
Posted: Wed Feb 28, 2007 2:35 pm Post subject: |
|
|
ok. I downloaded that thing and am now using it and have a general idea but am sort of confused on what to put where. This is what I currently have:
Code: | ; -- Example1.iss --
; Demonstrates copying 3 files and creating an icon.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
[Setup]
AppName=Vengeful Rodent Beta
AppVerName=1.1
DefaultDirName={pf}\Demonic Hedgehog Productions\Vengeful Rodent BETA
DefaultGroupName=Vengeful Rodent
UninstallDisplayIcon={app}\MyProg.exe
Compression=lzma
SolidCompression=yes
OutputDir=userdocs:Inno Setup Examples Output
[Files]
Source: "VRB.rpg"; DestDir: "{app}"
Source: "vrb.exe"; DestDir: "{app}"
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
[Icons]
Name: "{group}\Vengeful Rodent BETA"; Filename: "{app}\MyProg.exe" |
_________________ Carpe Diem |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Feb 28, 2007 3:00 pm Post subject: |
|
|
Code: | [Icons]
Name: "{group}\Vengeful Rodent BETA"; Filename: "{app}\MyProg.exe" |
Here is the only obvious mistake I can see. You want "{app}\vrb.exe" not "{app}\MyProg.exe"
EDIT: oh, and the same with the UninstallDisplayIcon part. |
|
Back to top |
|
 |
AutoT

Joined: 03 Feb 2007 Posts: 28
|
Posted: Thu Mar 01, 2007 5:32 am Post subject: |
|
|
OK... now that I've done this, how do I actaully make it attach to the game? Do I just import it like a plotscript or do I have to move it into working.tmp or what? _________________ Carpe Diem |
|
Back to top |
|
 |
J.A.R.S. In umbram deo, ex nihilo...

Joined: 11 May 2005 Posts: 451 Location: Under the rainbow...
|
Posted: Thu Mar 01, 2007 7:02 am Post subject: |
|
|
Inno Setup isnt part of OHRRPGCE As far as I know... |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Thu Mar 01, 2007 8:09 am Post subject: |
|
|
AutoT wrote: | OK... now that I've done this, how do I actaully make it attach to the game? Do I just import it like a plotscript or do I have to move it into working.tmp or what? |
Oh. You have to download and install Inno Setup
Then you open your .iss file with Inno Setup, and "Build"
Your installer will be created inside a folder named "Output" |
|
Back to top |
|
 |
FyreWulff Still Jaded

Joined: 02 Apr 2005 Posts: 406 Location: The Internet
|
Posted: Mon Mar 05, 2007 12:02 am Post subject: |
|
|
Sword of Jade's installer was made with Install Creator, however to register it, it's between 60-100$ if you don't want their little ad at the end.
They also have a nice complimentary Patch Creator program. It would be nice if InnoSetup could be used as a patcher. |
|
Back to top |
|
 |
AutoT

Joined: 03 Feb 2007 Posts: 28
|
Posted: Tue Mar 06, 2007 1:46 pm Post subject: |
|
|
ok, new problem. It said that the .rpg file was not in the specified folder (I did not know it had to be there) so I copied it there. The it said vrb.exe (game.exe) was not in the specified location so I copied it there. It still sais it's not there. How do I fix this problem? _________________ Carpe Diem |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Tue Mar 06, 2007 2:30 pm Post subject: |
|
|
AutoT wrote: | ok, new problem. It said that the .rpg file was not in the specified folder (I did not know it had to be there) so I copied it there. The it said vrb.exe (game.exe) was not in the specified location so I copied it there. It still sais it's not there. How do I fix this problem? |
It would probably be easier to put your .iss file in the same folder as your vrb.rpg and vrb.exe files. |
|
Back to top |
|
 |
Camdog
Joined: 08 Aug 2003 Posts: 606
|
Posted: Tue Mar 06, 2007 8:16 pm Post subject: |
|
|
Perhaps I'm being dense, but why bother with an installer at all? It isn't as if an OHR game needs to mess with, say, the system registry in order to play properly. Can't you just stick all the required files in a zip archive? |
|
Back to top |
|
 |
Artimus Bena Admiral

Joined: 17 Aug 2004 Posts: 637 Location: Dreamland.
|
|
Back to top |
|
 |
|