Friday, April 20, 2012

GameSalad for Beginners book

I just started reading this book GameSalad Beginners Guide . I was excited to see it published by Packt publishing. I know the author a bright young game developer Miguel DeQuadros of Wurd Industries creator of a few apps available on the itunes app store.
When I heard he was writing it I was wondering just what is Game salad? Of course he explains it right at the beginning...
  GameSalad is a fantastic, powerful creation tool that allows you to develop iPhone games! The best part about it is there is no programming involved whatsoever! With a simple drag-and-drop user interface, and behavior-based development, putting together anawesome game has never been easier! Its possible to put together a fully playable game in less than half an hour!
 
This sounds good to me I've done some Unix shell scripting but no fancy graphical stuff. I'd consider myself a beginner in game creation. I've been very curious about what's involved in creating an iPhone / iOS app.
He walks you through everything from where to start getting GameSalad, signing up as an app developer then off to practical advice on how to plan and create a game. Then practical examples

I look forward to seeing what I can learn.

Thursday, January 26, 2012

LDOMS using the CDROM in the guest / Create CDROM ISO in Solaris


In Solaris LDOMS (Oracle Virtual machine for Sparc) the CDROM or DVD is not connected to the guest by default.

Many examples of setting up LDOMS refer to using a jumpstart or network boot.

Here is a quick tip for using the CDROM drive or an ISO image of the Solaris Install CD on the guest. This can then be used to install or recover an unbootable guest

Mount Physical CDROM to Guest domain
-------------------------------------------------------

Insert dvd

# cdrw -l ### Checks CDRom device path ##

Looking for CD devices...
Node Connected Device Device type
----------------------+--------------------------------+-----------------
/dev/rdsk/c0t0d0s2 TSSTcorp CDDVDW TS-T633A SR00 CD Reader/Writer

# ldm add-vdsdev options=ro /dev/dsk/c0t0d0s2 cdrom@primary-vds0

# ldm add-vdisk cdrom cdrom@primary-vds0 Guest1

Create and Mount ISO virtual CDROM on Guest domain
--------------------------------------------------------------------------------

#/etc/init.d/volmgt stop

# dd if=/dev/rdsk/c0t0s0s2 of= /var/tmp/Sol10_U8_Sparc.iso bs=1024k

#/etc/init.d/volmgt start
Mount CD Image on guest as a virtual cdrom drive
# ldm add-vdsdev options=ro /var/tmp/Sol10_U8_Sparc.iso
iso@primary-vds0

# ldm list-services

# ldm add-vdisk iso iso@primary-vds0 Guest1

In LDOMS 2.0 you wont even have to assign a devalias.

# telnet localhost 5000

ok} boot iso
/

You should be booting to Solaris intall now.
If you just need to get into recovery mode do:

ok} boot iso -s