; System-X 1.03 update

; -- SET UP STRINGS ---------------------------------------

(set MSG_COPY "Please Wait - Copying Files\n")
(set MSG_THANKS "System-X 1.03 now installed!\n\nIMPORTANT NOTE:\n\nSome new strings have been added to SX:TXT/Strings.XXX Please have a look at SX:TXT/Strings.NEW, which has been installed for you, and add the new strings to the bottom of your file (Usually SX:TXT/Strings.ANS).")
(set CODES "IMPORTANT NOTE TWO:\n\nYou must change all %u and %d codes within your STRINGS.XXX file. This includes %xxd and %xxu where xx is a number. Change them to %ld. See STRINGS.NEW or just copy it!")
(set EDITOR "NOTE THREE:\n\nIf you want to use the new SXEd message editor, select 'Doors' in SX-Config and change the editors for 'Doors:SXEd' and the type should be 'XIM /X'. Note, Doors:SXEd does not need any arguments.");
(set dest_dir "SX:")
(set @default-dest dest_dir)


; -- COPY FILES --------------------------------------------

(set machine (database "cpu"))

(if (OR (= machine "68000") (= machine "68010"))
(
	(copyfiles (prompt MSG_COPY)
       	    (help @copyfiles-help)
       	    (source "sx/sx_000")
       	    (dest dest_dir)
       	    (newname "sx")
       	    (infos)
	)
)
)

(if (OR (= machine "68020") (= machine "68030") (= machine "68040") (= machine "68060"))
(
	(copyfiles (prompt MSG_COPY)
       	    (help @copyfiles-help)
       	    (source "sx/sx_020")
       	    (dest dest_dir)
       	    (newname "sx")
       	    (infos)
	)
)
)

(copyfiles (prompt MSG_COPY)
      	    (help @copyfiles-help)
      	    (source "devs/ibmcon.device")
      	    (dest "DEVS:")
      	    (infos)
)

(copyfiles (prompt MSG_COPY)
      	    (help @copyfiles-help)
      	    (source "sx/")
      	    (dest dest_dir)
      	    (pattern "~(sx_#?)")
      	    (infos)
)

(message MSG_THANKS)
(message CODES)
(message EDITOR)
(exit (quiet))
(exit)
