Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Fragamemnon

Pages: [1]
1
Projects / Re: Impossible Escape
« on: 2005-11-29, 03:25:39 PM »
Projects coming along great, and i just need to finish adding the background for the final level, but it may not be as good as it sounds, since i am terrible at scriptin and i just used th drawing program for sprites and bitmaps.










bye

2
Projects / Impossible Escape
« on: 2005-06-01, 04:02:47 PM »
well, i made 6 originally, but i'm adding 9 more levels, and yes, they do vary.

3
Projects / Impossible Escape
« on: 2005-05-31, 06:06:47 PM »
well I am actually finished for the presentation of the whole thing, but i'm adding more levels.

4
Projects / Impossible Escape
« on: 2005-05-24, 05:41:07 PM »
It Works, i just want to thank you all








                Chris

5
Projects / Impossible Escape
« on: 2005-05-23, 09:32:30 PM »
I'm sorry if i'm annoying you guys with the problem, but it didn't work,  just in case you need it here is the whole compiler log



MakeNSIS v2.06 -

Processing config:
Processing plugin dlls: "C:\Program Files\NSIS\Plugins\*.dll"
 - advsplash::show
 - Banner::destroy
 - Banner::getWindow
 - Banner::show
 - BgImage::AddImage
 - BgImage::AddText
 - BgImage::Clear
 - BgImage::Destroy
 - BgImage::Redraw
 - BgImage::SetBg
 - BgImage::SetReturn
 - BgImage::Sound
 - Dialer::AttemptConnect
 - Dialer::AutodialHangup
 - Dialer::AutodialOnline
 - Dialer::AutodialUnattended
 - Dialer::GetConnectedState
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - Math::Script
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack
 - nsisdl::download
 - nsisdl::download_quiet
 - splash::show
 - StartMenu::Init
 - StartMenu::Select
 - StartMenu::Show
 - System::Alloc
 - System::Call
 - System::Copy
 - System::Free
 - System::Get
 - System::Int64Op
 - System::Store
 - TypeLib::GetLibVersion
 - TypeLib::Register
 - TypeLib::UnRegister
 - UserInfo::GetAccountType
 - UserInfo::GetName
 - VPatch::vpatchfile

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "C:\Documents and Settings\Chris\Desktop"

Processing script file: "C:\Documents and Settings\Chris\Desktop\Impossible Escape.nsi"
!include: "C:\Program Files\NSIS\Include\MUI.nsh"
!include: "C:\Program Files\NSIS\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.72 -  2002-2005 Joost Verburg (C:\Program Files\NSIS\Contrib\Modern UI\System.nsh:11)
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Program Files\NSIS\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files\NSIS\Include\MUI.nsh"
!include: "C:\Program Files\NSIS\Include\UpgradeDLL.nsh"
!define: "UPGRADEDLL_INCLUDED"=""
!include: closed: "C:\Program Files\NSIS\Include\UpgradeDLL.nsh"
Name: "Impossible Escape"
OutFile: "Impossible EscapeInst.exe"
InstallDir: "$PROGRAMFILES\Impossible Escape"
InstallRegKey: "HKLM\SOFTWARE\Impossible Escape\Install_Dir"
!define: "MUI_FINISHPAGE_NOAUTOCLOSE"=""
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_CONFIRM
!insertmacro: end of MUI_UNPAGE_CONFIRM
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
Section: "Required Components"
!define: "VBFILESDIR"="C:\Program Files\GameDev\Tutorial"
!insertmacro: UpgradeDLL
!insertmacro: macro "UpgradeDLL" requires 3 parameter(s), passed 4!
Error in script "C:\Documents and Settings\Chris\Desktop\Impossible Escape.nsi" on line 42 -- aborting creation process



here is the Nsi File


; Impossible Escape.nsi
;
; This script will install the GameDev game Impossible Escape.
; Requires NSIS version 2.0 or later to compile
; http://nsis.sf.net/
;
; See http://gamedev.sf.net/ for GameDev details

!include "MUI.nsh"
!include "UpgradeDLL.nsh"

; The name of the installer
Name "Impossible Escape"

; Output installer EXE name
OutFile "Impossible EscapeInst.exe"

; Default installation directory
InstallDir "$PROGRAMFILES\Impossible Escape"

; Remember install location if we installed previously
InstallDirRegKey HKLM "SOFTWARE\Impossible Escape" "Install_Dir"

!define MUI_FINISHPAGE_NOAUTOCLOSE

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

!insertmacro MUI_LANGUAGE "English"

Section "Required Components"

   !define VBFILESDIR "C:\Program Files\GameDev\Tutorial"

   ; VB Runtime Files
   CopyVBSysFiles:  
   !insertmacro UpgradeDLL ${VBFILESDIR}\Comcat.dll $SYSDIR\Comcat.dll $SYSDIR
   !insertmacro UpgradeDLL ${VBFILESDIR}\Msvbvm60.dll $SYSDIR\Msvbvm60.dll $SYSDIR
   !insertmacro UpgradeDLL ${VBFILESDIR}\Oleaut32.dll $SYSDIR\Oleaut32.dll $SYSDIR
   !insertmacro UpgradeDLL ${VBFILESDIR}\Olepro32.dll $SYSDIR\Olepro32.dll $SYSDIR

   !define UPGRADEDLL_NOREGISTER
      !insertmacro UpgradeDLL ${VBFILESDIR}\Asycfilt.dll $SYSDIR\Asycfilt.dll $SYSDIR
      !insertmacro UpgradeDLL ${VBFILESDIR}\Stdole2.tlb $SYSDIR\Stdole2.tlb $SYSDIR
   !undef UPGRADEDLL_NOREGISTER

   ; Referenced Microsoft Files and ActiveX Controls
   !insertmacro UpgradeDLL ${VBFILESDIR}\Comdlg32.ocx $SYSDIR\Comdlg32.ocx $SYSDIR
   !insertmacro UpgradeDLL ${VBFILESDIR}\MSComCtl.ocx $SYSDIR\MSComCtl.ocx $SYSDIR

   ; Only increase DLL count on new installation
   IfFileExists $INSTDIR\GDPlay.exe skipAddSharedDLL
      Push $SYSDIR\Asycfilt.dll
      Call AddSharedDLL
      Push $SYSDIR\Comcat.dll
      Call AddSharedDLL
      Push $SYSDIR\Msvbvm60.dll
      Call AddSharedDLL
      Push $SYSDIR\Oleaut32.dll
      Call AddSharedDLL
      Push $SYSDIR\Olepro32.dll
      Call AddSharedDLL
      Push $SYSDIR\Stdole2.tlb
      Call AddSharedDLL
      ; Referenced Microsoft Files and ActiveX Controls
      Push $SYSDIR\Comdlg32.ocx
      Call AddSharedDLL
      Push $SYSDIR\MSComCtl.ocx
      Call AddSharedDLL
   skipAddSharedDLL:

   IfErrors 0 CopyAppExeFiles
   MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION "An error occurred copying VB runtime files" IDRETRY CopyVBSysFiles
   MessageBox MB_YESNO|MB_ICONQUESTION "Do you want to continue installing anyway?" IDNO EndInstall

   ; Set output path to the installation directory.
   CopyAppExeFiles:
   SetOutPath $INSTDIR
   SetOverwrite ifnewer

   ; Copy Game System files to destination
   File "C:\Program Files\GameDev\Tutorial\GDPlay.exe"
   ; Normally GDPlay.EXE is a registered EXE, but this is not a necessary step
   File "C:\Program Files\GameDev\Tutorial\BMDXCtls.dll"
   RegDLL "$INSTDIR\BMDXCtls.dll"
   File "C:\Program Files\GameDev\Tutorial\ScrHost.dll"
   RegDLL "$INSTDIR\ScrHost.dll"

   IfErrors 0 CopyGameDatFiles
   MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION "An error occurred application files" IDRETRY CopyAppExeFiles
   MessageBox MB_YESNO|MB_ICONQUESTION "Do you want to continue installing anyway?" IDNO EndInstall

   ; Copy Game Data files to destination
   CopyGameDatFiles:
   File "C:\Program Files\GameDev\Tutorial\*.*"

   IfErrors 0 CreateGameShortcut
   MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION "An error occurred copying game data files" IDRETRY CopyGameDatFiles
   MessageBox MB_YESNO|MB_ICONQUESTION "Do you want to continue installing anyway?" IDNO EndInstall

   CreateGameShortcut:
   CreateDirectory "$SMPROGRAMS\Impossible Escape"
   CreateShortCut "$SMPROGRAMS\Impossible Escape\Play Impossible Escape.lnk" "$INSTDIR\GDPlay.exe" '"$INSTDIR\Impossible Escape.gdp" /p'
   CreateShortCut "$SMPROGRAMS\Impossible Escape\Uninstall Impossible Escape.lnk" "$INSTDIR\Uninst.exe"

   ; Store install location in case install runs again
   WriteRegStr HKLM "SOFTWARE\Impossible Escape" "Install_Dir" "$INSTDIR"
   ; Add un-install entry for Add/Remove Programs
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Impossible Escape" "DisplayName" "Impossible Escape (remove only)"
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Impossible Escape" "UninstallString" '"$INSTDIR\Uninst.exe"'

   WriteUninstaller "Uninst.exe"

   EndInstall:
SectionEnd

Section "Uninstall"
   MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "BMDXCtls.dll and ScrHost.dll will be unregistered and removed.$\r$\nIf you use The Scrolling Game Development Kit on this system you will have to re-register those files using regsvr32 or re-install GameDev, unless you have GameDev version 1.4 or later." IDCANCEL EndUninstall
   DeleteRegKey HKLM "SOFTWARE\Impossible Escape"
   DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Impossible Escape"
   UnRegDLL "$INSTDIR\BMDXCtls.dll"
   UnRegDLL "$INSTDIR\ScrHost.dll"
   Delete "$INSTDIR\*.*"
   RMDir "$INSTDIR"
   Delete "$SMPROGRAMS\Impossible Escape\*.*"
   RMDir "$SMPROGRAMS\Impossible Escape"

   Push $SYSDIR\Asycfilt.dll
   Call un.DecrementSharedDLL
   Push $SYSDIR\Comcat.dll
   Call un.DecrementSharedDLL
   Push $SYSDIR\Msvbvm60.dll
   Call un.DecrementSharedDLL
   Push $SYSDIR\Oleaut32.dll
   Call un.DecrementSharedDLL
   Push $SYSDIR\Olepro32.dll
   Call un.DecrementSharedDLL
   Push $SYSDIR\Stdole2.tlb
   Call un.DecrementSharedDLL

   Push $SYSDIR\Comdlg32.ocx
   Call un.DecrementSharedDLL
   Push $SYSDIR\MSComCtl.ocx
   Call un.DecrementSharedDLL

   IfFileExists "$INSTDIR" 0 InstDirOK
   MessageBox MB_OK "Could not delete $INSTDIR" IDOK 0
   InstDirOK:
   IfFileExists "$SMPROGRAMS\Impossible Escape" 0 EndUninstall
   MessageBox MB_OK "Could not remove shortcut." IDOK 0
   EndUninstall:
SectionEnd

Function AddSharedDLL
   Exch $R1
   Push $R0
      ReadRegDword $R0 HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1
      IntOp $R0 $R0 + 1
      WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1 $R0
   Pop $R0
   Pop $R1
FunctionEnd

Function un.DecrementSharedDLL
   Exch $R1
   Push $R0
   ReadRegDword $R0 HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1
   StrCmp $R0 "" done
      IntOp $R0 $R0 - 1
      IntCmp $R0 0 rk rk uk
      rk:
      DeleteRegValue HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1
      Goto done
      uk:
      WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1 $R0
   done:
   Pop $R0
   Pop $R1
FunctionEnd

6
Projects / Impossible Escape
« on: 2005-05-23, 03:40:52 PM »
this is the error the log has "Error in script "C:\Documents and Settings\Chris\My Documents\Impossible Escape32.nsi" on line 42 -- aborting creation process"




               Chris

7
Projects / Impossible Escape
« on: 2005-05-23, 03:38:11 PM »
I have all of the files in the same directory now, but now the nsi file isn't compiling into the installer

8
Off-Topic / Hello
« on: 2005-05-22, 08:12:13 PM »
At our school, for the eighth grade, we need to do something called the Exhibition project, You study a topic, write a report, and make a project based on your topic.  My topic was video game design.  The rules in our district are crazy, and I found out that in my sophmore and senior year, I have to do similar reports.

9
Off-Topic / Hello
« on: 2005-05-22, 08:04:32 PM »
well I was using Dark Basic Pro, but I didn't have enough time to learb the scripting language, so I found Game Dev and it worked perfectly

10
Projects / Impossible Escape
« on: 2005-05-22, 08:02:12 PM »
I've tested it in and out of the game, It works, but after I install it won't work and it is still giving the same error




                          Chris

11
Projects / Impossible Escape
« on: 2005-05-22, 09:08:59 AM »
I have already made this game, but, when I use the Install packager and actually install the game, the game won't play on my computer and it displays the error message,"Error loading map 1, 2, 3, 4, and last level. then the message "player sprite not found" pops up.   Please help me





                                  Fragamemnon >:(


P.S. if u want to know more about the game go to this adress http://www.xanga.com/home.aspx?user=billybobjimmyjoe90

12
Off-Topic / Hello
« on: 2005-05-20, 05:04:58 PM »
If you guys have any tips, please do reply

13
Off-Topic / Hello
« on: 2005-05-20, 05:01:07 PM »
I've just started using game dev, i'm not very good, but it is alot  easier than what i've tried doing before.  I needed to make a game to pass the eighth grade, so this really helped.  My game is pretty bad, but it is playable.                                
                                                               FrAgAmEmNoN

Pages: [1]