ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/makebin.osx
(Generate patch)

Comparing deliantra/Deliantra-Client/makebin.osx (file contents):
Revision 1.2 by root, Wed Aug 20 00:46:12 2008 UTC vs.
Revision 1.3 by root, Wed Aug 20 18:26:03 2008 UTC

161rm -rf dmg 161rm -rf dmg
162mkdir dmg 162mkdir dmg
163 163
164mv "$APP.app" dmg/ 164mv "$APP.app" dmg/
165 165
166cat >dmg/README.txt <<EOF
167Hello!
168
169This disk image contains the Deliantra MORPG game client.
170
171To play it, simply double-click it, then select a good graphics resolution
172in the Setup => Graphics tab and then go to Setup => Login, enter a nickname
173(no spaces, only ASCII letters supported) and a password, then hit Login.
174
175You can also install the client application by dragging it onto your
176harddisk or anywhere else, but it should play perfectly fine from the disk
177image.
178
179The game stores configuration settings, map data, music and other resources
180in a hidden directory called .deliantra in your home directory.
181
182The script "Reset Configuration" will reset the configuration and delete
183any downloaded resources. You can use this when you no longer want to play
184Deliantra, or when you have problems with the settings (window too large
185etc.).
186
187Unfortunately, Mac OS X has quite buggy OpenGL support: make sure your
188monitor cable is plugged in correctly when you can't go into fullscreen or
189when the graphics look broken.
190
191See http://www.deliantra.net/ for more info.
192
193EOF
194
195cat >dmg/"Reset Configuration" <<EOF
196#!/bin/sh
197
198rm -rf ~/.deliantra
199
200echo
201echo
202echo
203echo
204echo
205echo Configuration/Cache Cleared
206
207EOF
208chmod 755 dmg/"Reset Configuration"
209
166# now, the last third, putting all this into a dmg 210# now, the last third, putting all this into a dmg
167 211
168hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"Deliantra_MORPG_Client-$VER".dmg 212hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"Deliantra_MORPG_Client-$VER".dmg
169ls -l ~user/"Deliantra_MORPG_Client-$VER".dmg 213ls -l ~user/"Deliantra_MORPG_Client-$VER".dmg
170rm -rf dmg 214rm -rf dmg

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines