Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Finished
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
AutoT




Joined: 03 Feb 2007
Posts: 28

PostPosted: Wed Feb 28, 2007 5:55 am    Post subject: Finished Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Wed Feb 28, 2007 6:07 am    Post subject: Reply with quote

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
View user's profile Send private message
J.A.R.S.
In umbram deo, ex nihilo...




Joined: 11 May 2005
Posts: 451
Location: Under the rainbow...

PostPosted: Wed Feb 28, 2007 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Wed Feb 28, 2007 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Feb 28, 2007 9:39 am    Post subject: Inno Setup Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
AutoT




Joined: 03 Feb 2007
Posts: 28

PostPosted: Wed Feb 28, 2007 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Feb 28, 2007 3:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
AutoT




Joined: 03 Feb 2007
Posts: 28

PostPosted: Thu Mar 01, 2007 5:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
J.A.R.S.
In umbram deo, ex nihilo...




Joined: 11 May 2005
Posts: 451
Location: Under the rainbow...

PostPosted: Thu Mar 01, 2007 7:02 am    Post subject: Reply with quote

Inno Setup isnt part of OHRRPGCE As far as I know...
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Thu Mar 01, 2007 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FyreWulff
Still Jaded




Joined: 02 Apr 2005
Posts: 406
Location: The Internet

PostPosted: Mon Mar 05, 2007 12:02 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
AutoT




Joined: 03 Feb 2007
Posts: 28

PostPosted: Tue Mar 06, 2007 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Tue Mar 06, 2007 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Tue Mar 06, 2007 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Artimus Bena
Admiral




Joined: 17 Aug 2004
Posts: 637
Location: Dreamland.

PostPosted: Tue Mar 06, 2007 9:14 pm    Post subject: Reply with quote

Thank you cam. Exactly my thoughts while reading this.
_________________
SACRE BLEU!

|||Compositions!
|||Eldardeen Soundtrack!
|||Red Mercury!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group