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.5 by root, Mon Sep 1 09:17:46 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
171The client has been compiled for Intel systems only.
172
173The client uses a lot of right mouse button click pop-up menus, to emulate
174a right-click with a mouse that has only one button, use ctrl-click.
175
176To play it, simply double-click it, then select a good graphics resolution
177in the Setup => Graphics tab and then go to Setup => Login, enter a nickname
178(no spaces, only ASCII letters supported) and a password, then hit Login.
179
180You can also install the client application by dragging it onto your
181harddisk or anywhere else, but it should play perfectly fine from the disk
182image.
183
184The game stores configuration settings, map data, music and other resources
185in a hidden directory called .deliantra in your home directory.
186
187The script "Reset Configuration" will reset the configuration and delete
188any downloaded resources. You can use this when you no longer want to play
189Deliantra, or when you have problems with the settings (window too large
190etc.).
191
192Unfortunately, Mac OS X has quite buggy OpenGL support: make sure your
193monitor cable is plugged in correctly when you can't go into fullscreen or
194when the graphics look broken.
195
196See http://www.deliantra.net/ for more info.
197
198EOF
199
200cat >dmg/"Reset Configuration" <<EOF
201#!/bin/sh
202
203rm -rf ~/.deliantra
204
205echo
206echo
207echo
208echo
209echo
210echo Configuration/Cache Cleared
211
212EOF
213chmod 755 dmg/"Reset Configuration"
214
166# now, the last third, putting all this into a dmg 215# now, the last third, putting all this into a dmg
167 216
217DMG="Deliantra_MORPG_Client-$VER".dmg
218
168hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"Deliantra_MORPG_Client-$VER".dmg 219hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"$DMG"
169ls -l ~user/"Deliantra_MORPG_Client-$VER".dmg 220ls -l ~user/"$DMG"
170rm -rf dmg 221rm -rf dmg
171 222
223chmod 644 ~user/$DMG
224echo http://data.plan9.de/"$DMG"
225rsync -avPessh ~user/"$DMG" ruth:/var/www/data.plan9.de/.
172 226
173 227
228

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines