<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=How_to_Use_AGIPAL</id>
	<title>How to Use AGIPAL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=How_to_Use_AGIPAL"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;action=history"/>
	<updated>2026-11-25T10:58:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;diff=67899&amp;oldid=prev</id>
		<title>Andrew Branscom: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;diff=67899&amp;oldid=prev"/>
		<updated>2025-02-16T20:37:22Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:37, 16 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;diff=67898&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;diff=67898&amp;oldid=prev"/>
		<updated>2024-06-03T05:03:46Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:03, 3 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;diff=67897&amp;oldid=prev</id>
		<title>sierraw&gt;Andrew Branscom: /*  Also See */</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=How_to_Use_AGIPAL&amp;diff=67897&amp;oldid=prev"/>
		<updated>2022-01-28T21:01:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Also See&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:AGI Pages]]&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[[AGIPAL]] is a patch for AGI created by dark minister to change the palette in your game.&lt;br /&gt;
&lt;br /&gt;
== How To Create an AGI Palette with AGIPAL ==&lt;br /&gt;
&lt;br /&gt;
Firstly, you must create a palette. This can be done using [[PCX2PAL]], a DOS command line program.&lt;br /&gt;
&lt;br /&gt;
Open a image editing program, (such as Paint Shop Pro) to create the image which PCX2PAL will extract the palette from. It doesn&amp;#039;t matter what the image looks like, all that matters is that it is a 256 color PCX image and that the first 16 colors of it&amp;#039;s palette are the ones that you want to use. Paint Shop Pro has a great palette editing feature which is very simple to use.&lt;br /&gt;
&lt;br /&gt;
When you have created that palette, go to DOS and then to the directory which PCX2PAL is located. Once in the directory, type &amp;#039;PCX2PAL [PCXFILE] [PALETTEFILE]&amp;#039; and press &amp;#039;enter&amp;#039;. As an example, if I had a PCX file called image.pcx and wanted to create a palette file called pal.101, I would do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C:\&amp;gt;cd pcx2pal [Enter]&lt;br /&gt;
C:\&amp;gt;pcx2pal image.pcx pal.101 [Enter]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create the palette more easily, you can also use PCX2PAL for Win95 also available on the AGI Utilities page.&lt;br /&gt;
&lt;br /&gt;
And now the palette is done!&lt;br /&gt;
How To Use The Picture In Your Game&lt;br /&gt;
&lt;br /&gt;
Once the palette is created, using AGI PAL is very easy. The different palette is loaded into the your game with the command &amp;quot;shake.screen( )&amp;quot; and up to ten different palettes can be used. Each palette should be named &amp;quot;pal.100&amp;quot; to &amp;quot;pal.109&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, to load PAL.101 you would type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shake.screen(101);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just as a note, don&amp;#039;t worry, &amp;quot;shake.screen( )&amp;quot; remains operational for any value other than 100 to 109!&lt;br /&gt;
&lt;br /&gt;
To see a full example of the usage of AGI PAL in the logic:&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Code:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;agi&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// ****************************************************************************&lt;br /&gt;
//&lt;br /&gt;
// AGI PAL Example&lt;br /&gt;
//&lt;br /&gt;
// ****************************************************************************&lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;defines.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if (new_room) {&lt;br /&gt;
  load.pic(room_no);&lt;br /&gt;
  draw.pic(room_no);&lt;br /&gt;
  discard.pic(room_no);&lt;br /&gt;
  set.horizon(50);&lt;br /&gt;
  status.line.off();&lt;br /&gt;
  prevent.input();&lt;br /&gt;
  program.control();&lt;br /&gt;
  shake.screen(101); &lt;br /&gt;
  show.pic();&lt;br /&gt;
  display(23,1,&amp;quot;         Intro/Opening screen&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (have.key()) {&lt;br /&gt;
  set(menu_enabled);&lt;br /&gt;
  clear.lines(22, 24, 0);&lt;br /&gt;
  stop.motion(ego);&lt;br /&gt;
  reset(disable_game_functions);&lt;br /&gt;
  new.room(2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Also See ==&lt;br /&gt;
&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical Info]]&lt;br /&gt;
[[Category:Palette Utilities]]&lt;br /&gt;
[[Category:AGI Palette Utilities]]&lt;br /&gt;
[[Category:AGI Hacks]]&lt;/div&gt;</summary>
		<author><name>sierraw&gt;Andrew Branscom</name></author>
	</entry>
</feed>