dmb2installer

by Metamorphman
Create an installer package for your game! [More]
To download this demo for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Metamorphman.dmb2installer##version=1

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Metamorphman.dmb2installer##version=1

146 downloads
Version 1
Date added: Jan 3 2012
Last updated: Jul 20 2013
0 fans
This utility requires NSIS.
If you're going to use this, please mention BYOND in your game.
Also, a word of warning, never execute any external applications or scripts through dmb applications unless you have seen their code or know explicitly what they do.

Comments

Metamorphman: (Nov 5 2012, 6:30 am)
Hmmm could you post the entire compiler output for this please?
Gi Money: (Nov 2 2012, 4:33 am)
Ok this time i tried it on XP(hence the delay) and there were two differences:

1) There was no need to manually copy the binary files, info.bat worked

2) the error comes from this line:

MessageBox MB_YESNO "Would you like to place a shortcut to Pokemon on your dekstop?" IDYES makeshrt nvm

ideas?
Metamorphman: (Oct 23 2012, 4:42 pm)
Well, I don't know what to say. The log you showed me has nothing wrong with it and launcher.exe was created successfully... :P

All I can say is it is working for me and I'm running windows XP. I have no idea if it affects the process.
Gi Money: (Oct 23 2012, 7:04 am)
here you go:

MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

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
- 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
- UserInfo::GetOriginalAccountType
- VPatch::GetFileCRC32
- VPatch::GetFileMD5
- VPatch::vpatchfile
- nsDialogs::Create
- nsDialogs::CreateControl
- nsDialogs::CreateItem
- nsDialogs::CreateTimer
- nsDialogs::GetUserData
- nsDialogs::KillTimer
- nsDialogs::OnBack
- nsDialogs::OnChange
- nsDialogs::OnClick
- nsDialogs::OnNotify
- nsDialogs::SelectFileDialog
- nsDialogs::SelectFolderDialog
- nsDialogs::SetRTL
- nsDialogs::SetUserData
- nsDialogs::Show
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "C:\Users\***\Documents\BYOND\MyHub\metamorphman\dmb2installe r"

Processing script file: "C:\Users\***\Documents\BYOND\MyHub\metamorphman\dmb2installe r\layer.nsi"
OutFile: "data\launcher.exe"
SilentInstall: Silent
Icon: "icon.ico"
Section: "Install"
File: "nsExec.dll"->"$PLUGINSDIR\nsExec.dll" [compress] 3142/6656 bytes
Plugin Command: Exec taskkill /IM byond.exe
Plugin Command: Exec taskkill /IM byond.exe
Plugin Command: Exec taskkill /IM byond.exe
Exec: "game.exe" (->)
SectionEnd

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Processing pages... Done!
Removing unused resources... Done!
Generating language tables... Done!

Output: "C:\Users\***\Documents\BYOND\MyHub\metamorphman\dmb2installe r\data\launcher.exe"
Install: 0 pages (0 bytes), 1 section (1048 bytes), 31 instructions (868 bytes), 33 strings (619 bytes), 1 language table (162 bytes).

Using zlib compression.

EXE header size: 57856 / 35840 bytes
Install code: 718 / 3025 bytes
Install data: 3146 / 6660 bytes
CRC (0x10B0CFF0): 4 / 4 bytes

Total size: 61724 / 45529 bytes (135.5%)



would this be easier if i did it on windows XP???just wondering....
Metamorphman: (Oct 21 2012, 5:49 pm)
Hey, sorry again about the late reply.
If launcher.exe is not there that means 'layer.nsi' failed to compile. So this time, run the program and instead of "script.nsi" run "layer.nsi" in the dmb2installer folder.