agidev.com
 Home | Intro | News | Games | Community |  NAGI  | Articles | Download | Links
NAGI  |  Develop  |  History  |  Screenshots

Develop

I am still supporting and working on NAGI!  I just feel it's time to release the source code as well.  If you are working on a similiar interpreter or a tool to help develop AGI games, then hopefully you'll find some use in the NAGI source code.  The original source was released April 18th, 2002.

The current source release supports Linux and some some minor bug fixes!  Check it out!

Source

Unless you like delving in old code or are searching for the origins of a bug, it's probably best to start with the latest source release.

2002-11-14 - Cleanup for GCC 3. Bug fixes for agiprintf
2002-05-01 - Debian fixes
2002-04-30
2002-04-29 - first Linux port code
Original v2.06 code

Disassembled code - Interactive Disassembler (IDA) files and text files that I used to disassemble.

Current Developers:

License

NAGI's source has been released under the X11 license.  This means you can use the source in any project you want and you do not have to provide the source if that is your wish.  You have to make sure you acknowledge my copyright and you cannot use my name as an endorsement of something else.  No warranties are implied either.

The X11 license has been deemed to be compatible with the GPL license.  For the full license, check out of the bottom of this page.

Systems Supported

Build Requirements

In order to successfully build NAGI from the provided source code, you will need:

How to Build

Make sure SDL include files are available using #include <sdl/sdl.h>

The mingw tools, sed and make will need to be in the system path.  Depending on the operation system you need to type in:

For Windows (since Linux version only has one build)

All files are produced in a directory called "../bin".  This is easily changed in the makefile.

Suggestions

These are some things that I planned to work on:

Hopefully that will give you some ideas if you want to hack NAGI.

Disassembled Code

Also in this package are files I used for disassembling NAGI.  Some code, before I started writing straight into C, is available here along with files that are compatible with the early free DOS version of IDA (interactive disassembler).  If you have a legal commercial Windows version, it should be able to read them in and convert them.

If any of the disassembled comments looks wrong, it possibly is.  I learnt proper C and how to read assembler from this project so my initial guesses may be wrong.

Support

Send me any emails if you want more information on NAGI or how the source code fits together.  As long as it doesn't get too demanding, I won't mind answering any questions.

X11 License

The license in full: (applies to all source code)

COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 2001, 2001 Nick Sonneveld

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, provided that the above
copyright notice(s) and this permission notice appear in all copies of
the Software and that both the above copyright notice(s) and this
permission notice appear in supporting documentation.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale, use
or other dealings in this Software without prior written authorization
of the copyright holder.