Menu

Tree [9f61ae] master /
 History

HTTPS access


File Date Author Commit
 COPYING 2011-02-10 rain rain [e756fa] initial
 Makefile 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 README 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 calls_frequency 2011-02-20 rain rain [0e11ae] Improving - iteration 1 - done. Notes added in ...
 convert2c.c 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 empty_procs 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 nif.descr.txt 2011-02-12 rain rain [a48bfa] put the sample new format in
 nif_reader2.c 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 nif_reader2.h 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 niff.c 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 niff.h 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 nifreadertest.c 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 postproc.sh 2011-02-10 rain rain [e756fa] initial
 preprocess_xml.sh 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 progress 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 rproc_gen.sh 2011-02-10 rain rain [e756fa] initial
 test_niff.c 2011-02-21 Amorilia Amorilia [1c7a55] Merge remote-tracking branch 'origin/master'
 todo 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 utils.c 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'
 utils.h 2011-03-06 Amorilia Amorilia [9f61ae] Merge remote-tracking branch 'corwin/master'

Read Me

			README for Native NIFF "c" parser

1. What is it?

	A code generator that generates a nif parser code, for
reading/writing of .nif (NetImmerse File Format) game state files.


1.1. Description

	file: "convert2c.c" - the code generator
	build: make codegen
	usage: convert2c path to "nif.xml" from the "NifTools" project
	feats:
[x]	- generates basic types, enums and structures
	[x]	- handles fixed size arrays - 1d, 2d
	[x]	- handles dynamic size arrays - 1d, 2d, jagged2d,
		  const & field based indexes
	[x] - handles "TEMPLATE", "Key" and "KeyGroup"
[*]	- generates read functions
	[x]	- auto-group by version check - sequential only
	[ ]	- auto-group by version check - non-sequential
	[x]	- auto-group by (userver + vercond + cond)
	[ ]	- auto-group by (userver + vercond + cond) - non-sequential
	[x]	- handles the expressions in "cond" and "vercond"
	[x]	- handles 1d arrays
	[x]	- handles 2d/jagged arrays
	[ ]	- blockread of sequential fileds of non pointer basic types
	[ ] - range check protections
	[ ] - creates hashed read procs
[ ]	- generates write functions
	cons:
	[x]	- complex
	[x]	- buggy
	[x]	- slow

legend:
	[ ] - It can't do that
	[x] - It can do that
	[*] - Partial support

You can get the latest version here (thanks to amorilia @ NifTools):
https://github.com/amorilia/nifreader


2. Requirements

	You may want to read about the "NifTools" project:
http://niftools.sourceforge.net


3. Build
	3.1. Linux

	Type "make".

	3.2. Mingw32

	N/A yet.


4. Credits

	Thanks to "amorilia" @ "NifTools" and all the people who created "nif.xml" and "NifSkope".

	Also, my eternal Thanks to all the Open Source Free Software people.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.