diff --git a/lib/vcmi_lib/nbproject/configurations.xml b/lib/vcmi_lib/nbproject/configurations.xml
new file mode 100644
index 000000000..ab02cda1a
--- /dev/null
+++ b/lib/vcmi_lib/nbproject/configurations.xml
@@ -0,0 +1,325 @@
+
+
+
+
+ ../BattleAction.h
+ ../../hch/CArtHandler.h
+ ../../hch/CBuildingHandler.h
+ ../../CConsoleHandler.h
+ ../../hch/CCreatureHandler.h
+ ../../hch/CDefObjInfoHandler.h
+ ../../CGameInfo.h
+ ../../CGameState.h
+ ../../hch/CGeneralTextHandler.h
+ ../../hch/CHeroHandler.h
+ ../../hch/CLodHandler.h
+ ../../hch/CObjectHandler.h
+ ../CondSh.h
+ ../Connection.h
+ ../../hch/CSpellHandler.h
+ ../../hch/CTownHandler.h
+ ../Interprocess.h
+ ../../map.h
+ ../NetPacks.h
+ ../VCMI_Lib.h
+
+
+
+
+ ../../hch/CArtHandler.cpp
+ ../../hch/CBuildingHandler.cpp
+ ../../CConsoleHandler.cpp
+ ../../hch/CCreatureHandler.cpp
+ ../../hch/CDefObjInfoHandler.cpp
+ ../../CGameInfo.cpp
+ ../../CGameState.cpp
+ ../../hch/CGeneralTextHandler.cpp
+ ../../hch/CHeroHandler.cpp
+ ../../hch/CLodHandler.cpp
+ ../../hch/CObjectHandler.cpp
+ ../Connection.cpp
+ ../../hch/CSpellHandler.cpp
+ ../../hch/CTownHandler.cpp
+ ../../map.cpp
+ ../VCMI_Lib.cpp
+
+
+ Makefile-nb
+
+
+ Makefile-nb
+
+
+
+ localhost
+ GNU|GNU
+ 2
+
+
+
+
+ ../../hch
+ ../..
+ ../../../../boost/include/boost-1_37
+ /usr/include/SDL
+ ../../../../boost/include/boost-1_37/boost
+
+
+
+
+
+ ../../../../boost/lib
+
+
+
+
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+
+
+
+ localhost
+ GNU|GNU
+ 2
+
+
+
+ 5
+
+
+ 5
+
+
+ 5
+
+
+
+
+
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+
+
+
diff --git a/lib/vcmi_lib/nbproject/project.properties b/lib/vcmi_lib/nbproject/project.properties
new file mode 100644
index 000000000..e69de29bb
diff --git a/lib/vcmi_lib/nbproject/project.xml b/lib/vcmi_lib/nbproject/project.xml
new file mode 100644
index 000000000..2b0f72060
--- /dev/null
+++ b/lib/vcmi_lib/nbproject/project.xml
@@ -0,0 +1,15 @@
+
+
+ org.netbeans.modules.cnd.makeproject
+
+
+ vcmi_lib
+ 0
+
+ cpp
+ h
+ UTF-8
+
+
+
+
diff --git a/server/vcmi_server/nbproject/Makefile-Debug.mk b/server/vcmi_server/nbproject/Makefile-Debug.mk
new file mode 100644
index 000000000..91e299b1c
--- /dev/null
+++ b/server/vcmi_server/nbproject/Makefile-Debug.mk
@@ -0,0 +1,101 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+CCADMIN=CCadmin
+RANLIB=ranlib
+CC=gcc
+CCC=g++
+CXX=g++
+FC=
+
+# Macros
+PLATFORM=GNU-Linux-x86
+
+# Include project Makefile
+include Makefile
+
+# Object Directory
+OBJECTDIR=build/Debug/${PLATFORM}
+
+# Object Files
+OBJECTFILES= \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o
+
+# C Compiler Flags
+CFLAGS=
+
+# CC Compiler Flags
+CCFLAGS=
+CXXFLAGS=
+
+# Fortran Compiler Flags
+FFLAGS=
+
+# Link Libraries and Options
+LDLIBSOPTIONS=-L../../../../boost/lib -Wl,-rpath ../../lib/vcmi_lib/dist/Debug/GNU-Linux-x86 -L../../lib/vcmi_lib/dist/Debug/GNU-Linux-x86 -lvcmi_lib
+
+# Build Targets
+.build-conf: ${BUILD_SUBPROJECTS}
+ ${MAKE} -f nbproject/Makefile-Debug.mk dist/Debug/${PLATFORM}/vcmi_server
+
+dist/Debug/${PLATFORM}/vcmi_server: ../../lib/vcmi_lib/dist/Debug/GNU-Linux-x86/libvcmi_lib.so
+
+dist/Debug/${PLATFORM}/vcmi_server: ${OBJECTFILES}
+ ${MKDIR} -p dist/Debug/${PLATFORM}
+ ${LINK.cc} -lboost_system-gcc43-mt-1_37 -lboost_thread-gcc43-mt-1_37 -lboost_filesystem-gcc43-mt-1_37 -lz -o dist/Debug/${PLATFORM}/vcmi_server ${OBJECTFILES} ${LDLIBSOPTIONS}
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o: ../CVCMIServer.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
+ ${RM} $@.d
+ $(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o ../CVCMIServer.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o: ../../CLua.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../..
+ ${RM} $@.d
+ $(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o ../../CLua.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o: ../../hch/CLodHandler.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch
+ ${RM} $@.d
+ $(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o ../../hch/CLodHandler.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o: ../CGameHandler.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
+ ${RM} $@.d
+ $(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o ../CGameHandler.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o: ../CScriptCallback.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
+ ${RM} $@.d
+ $(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o ../CScriptCallback.cpp
+
+# Subprojects
+.build-subprojects:
+ cd ../../lib/vcmi_lib && ${MAKE} -f Makefile-nb CONF=Debug
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r build/Debug
+ ${RM} dist/Debug/${PLATFORM}/vcmi_server
+
+# Subprojects
+.clean-subprojects:
+ cd ../../lib/vcmi_lib && ${MAKE} -f Makefile-nb CONF=Debug clean
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+include .dep.inc
diff --git a/server/vcmi_server/nbproject/Makefile-Release.mk b/server/vcmi_server/nbproject/Makefile-Release.mk
new file mode 100644
index 000000000..3fbc78132
--- /dev/null
+++ b/server/vcmi_server/nbproject/Makefile-Release.mk
@@ -0,0 +1,97 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+CCADMIN=CCadmin
+RANLIB=ranlib
+CC=gcc
+CCC=g++
+CXX=g++
+FC=
+
+# Macros
+PLATFORM=GNU-Linux-x86
+
+# Include project Makefile
+include Makefile
+
+# Object Directory
+OBJECTDIR=build/Release/${PLATFORM}
+
+# Object Files
+OBJECTFILES= \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o \
+ ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o
+
+# C Compiler Flags
+CFLAGS=
+
+# CC Compiler Flags
+CCFLAGS=
+CXXFLAGS=
+
+# Fortran Compiler Flags
+FFLAGS=
+
+# Link Libraries and Options
+LDLIBSOPTIONS=
+
+# Build Targets
+.build-conf: ${BUILD_SUBPROJECTS}
+ ${MAKE} -f nbproject/Makefile-Release.mk dist/Release/${PLATFORM}/vcmi_server
+
+dist/Release/${PLATFORM}/vcmi_server: ${OBJECTFILES}
+ ${MKDIR} -p dist/Release/${PLATFORM}
+ ${LINK.cc} -o dist/Release/${PLATFORM}/vcmi_server ${OBJECTFILES} ${LDLIBSOPTIONS}
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o: ../CVCMIServer.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
+ ${RM} $@.d
+ $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o ../CVCMIServer.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o: ../../CLua.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../..
+ ${RM} $@.d
+ $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o ../../CLua.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o: ../../hch/CLodHandler.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch
+ ${RM} $@.d
+ $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o ../../hch/CLodHandler.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o: ../CGameHandler.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
+ ${RM} $@.d
+ $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o ../CGameHandler.cpp
+
+${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o: ../CScriptCallback.cpp
+ ${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
+ ${RM} $@.d
+ $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o ../CScriptCallback.cpp
+
+# Subprojects
+.build-subprojects:
+
+# Clean Targets
+.clean-conf:
+ ${RM} -r build/Release
+ ${RM} dist/Release/${PLATFORM}/vcmi_server
+
+# Subprojects
+.clean-subprojects:
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+include .dep.inc
diff --git a/server/vcmi_server/nbproject/Makefile-impl.mk b/server/vcmi_server/nbproject/Makefile-impl.mk
new file mode 100644
index 000000000..debd44e0d
--- /dev/null
+++ b/server/vcmi_server/nbproject/Makefile-impl.mk
@@ -0,0 +1,123 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a pre- and a post- target defined where you can add customization code.
+#
+# This makefile implements macros and targets common to all configurations.
+#
+# NOCDDL
+
+
+# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
+# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
+# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
+# and .clean-reqprojects-conf unless SUB has the value 'no'
+SUB_no=NO
+SUBPROJECTS=${SUB_${SUB}}
+BUILD_SUBPROJECTS_=.build-subprojects
+BUILD_SUBPROJECTS_NO=
+BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
+CLEAN_SUBPROJECTS_=.clean-subprojects
+CLEAN_SUBPROJECTS_NO=
+CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
+
+
+# Project Name
+PROJECTNAME=vcmi_server
+
+# Active Configuration
+DEFAULTCONF=Debug
+CONF=${DEFAULTCONF}
+
+# All Configurations
+ALLCONFS=Debug Release
+
+
+# build
+.build-impl: .build-pre .validate-impl .depcheck-impl
+ @#echo "=> Running $@... Configuration=$(CONF)"
+ ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
+
+
+# clean
+.clean-impl: .clean-pre .validate-impl .depcheck-impl
+ @#echo "=> Running $@... Configuration=$(CONF)"
+ ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
+
+
+# clobber
+.clobber-impl: .clobber-pre .depcheck-impl
+ @#echo "=> Running $@..."
+ for CONF in ${ALLCONFS}; \
+ do \
+ ${MAKE} -f nbproject/Makefile-$${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
+ done
+
+# all
+.all-impl: .all-pre .depcheck-impl
+ @#echo "=> Running $@..."
+ for CONF in ${ALLCONFS}; \
+ do \
+ ${MAKE} -f nbproject/Makefile-$${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf; \
+ done
+
+# dependency checking support
+.depcheck-impl:
+ @echo "# This code depends on make tool being used" >.dep.inc
+ @if [ -n "${MAKE_VERSION}" ]; then \
+ echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
+ echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
+ echo "include \$${DEPFILES}" >>.dep.inc; \
+ echo "endif" >>.dep.inc; \
+ else \
+ echo ".KEEP_STATE:" >>.dep.inc; \
+ echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
+ fi
+
+# configuration validation
+.validate-impl:
+ @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
+ then \
+ echo ""; \
+ echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
+ echo "See 'make help' for details."; \
+ echo "Current directory: " `pwd`; \
+ echo ""; \
+ fi
+ @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
+ then \
+ exit 1; \
+ fi
+
+
+# help
+.help-impl: .help-pre
+ @echo "This makefile supports the following configurations:"
+ @echo " ${ALLCONFS}"
+ @echo ""
+ @echo "and the following targets:"
+ @echo " build (default target)"
+ @echo " clean"
+ @echo " clobber"
+ @echo " all"
+ @echo " help"
+ @echo ""
+ @echo "Makefile Usage:"
+ @echo " make [CONF=] [SUB=no] build"
+ @echo " make [CONF=] [SUB=no] clean"
+ @echo " make [SUB=no] clobber"
+ @echo " make [SUB=no] all"
+ @echo " make help"
+ @echo ""
+ @echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
+ @echo " also build subprojects."
+ @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
+ @echo " also clean subprojects."
+ @echo "Target 'clobber' will remove all built files from all configurations and,"
+ @echo " unless 'SUB=no', also from subprojects."
+ @echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
+ @echo " also build subprojects."
+ @echo "Target 'help' prints this message."
+ @echo ""
+
diff --git a/server/vcmi_server/nbproject/Package-Debug.bash b/server/vcmi_server/nbproject/Package-Debug.bash
new file mode 100644
index 000000000..e66fba47e
--- /dev/null
+++ b/server/vcmi_server/nbproject/Package-Debug.bash
@@ -0,0 +1,72 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+PLATFORM=GNU-Linux-x86
+TMPDIR=build/Debug/${PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=dist/Debug/${PLATFORM}/vcmi_server
+OUTPUT_BASENAME=vcmi_server
+PACKAGE_TOP_DIR=vcmiserver/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p dist/Debug/${PLATFORM}/package
+rm -rf ${TMPDIR}
+mkdir -p ${TMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory ${TMPDIR}/vcmiserver/bin
+copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f dist/Debug/${PLATFORM}/package/vcmiserver.tar
+cd ${TMPDIR}
+tar -vcf ../../../../dist/Debug/${PLATFORM}/package/vcmiserver.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${TMPDIR}
diff --git a/server/vcmi_server/nbproject/Package-Release.bash b/server/vcmi_server/nbproject/Package-Release.bash
new file mode 100644
index 000000000..38729c9e3
--- /dev/null
+++ b/server/vcmi_server/nbproject/Package-Release.bash
@@ -0,0 +1,72 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+PLATFORM=GNU-Linux-x86
+TMPDIR=build/Release/${PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=dist/Release/${PLATFORM}/vcmi_server
+OUTPUT_BASENAME=vcmi_server
+PACKAGE_TOP_DIR=vcmiserver/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p dist/Release/${PLATFORM}/package
+rm -rf ${TMPDIR}
+mkdir -p ${TMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory ${TMPDIR}/vcmiserver/bin
+copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f dist/Release/${PLATFORM}/package/vcmiserver.tar
+cd ${TMPDIR}
+tar -vcf ../../../../dist/Release/${PLATFORM}/package/vcmiserver.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${TMPDIR}
diff --git a/server/vcmi_server/nbproject/configurations.xml b/server/vcmi_server/nbproject/configurations.xml
new file mode 100644
index 000000000..e513e5cfa
--- /dev/null
+++ b/server/vcmi_server/nbproject/configurations.xml
@@ -0,0 +1,155 @@
+
+
+
+
+ ../CGameHandler.h
+ ../../hch/CLodHandler.h
+ ../../CLua.h
+ ../CScriptCallback.h
+ ../CVCMIServer.h
+
+
+
+
+ ../CGameHandler.cpp
+ ../../hch/CLodHandler.cpp
+ ../../CLua.cpp
+ ../CScriptCallback.cpp
+ ../CVCMIServer.cpp
+
+
+ Makefile
+
+
+
+ ..
+
+ Makefile
+
+
+
+ localhost
+ GNU|GNU
+ 2
+
+
+
+
+ ../../../../boost/include/boost-1_37
+ ../..
+
+
+
+
+ ../../../../boost/lib
+
+
+
+
+
+
+
+ -lboost_system-gcc43-mt-1_37 -lboost_thread-gcc43-mt-1_37 -lboost_filesystem-gcc43-mt-1_37 -lz
+
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+
+
+
+ localhost
+ GNU|GNU
+ 2
+
+
+
+ 5
+
+
+ 5
+
+
+ 5
+
+
+
+
+
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+ -
+ 1
+
+ -
+ 3
+
+
+
+
diff --git a/server/vcmi_server/nbproject/project.properties b/server/vcmi_server/nbproject/project.properties
new file mode 100644
index 000000000..e69de29bb
diff --git a/server/vcmi_server/nbproject/project.xml b/server/vcmi_server/nbproject/project.xml
new file mode 100644
index 000000000..c78e89cf9
--- /dev/null
+++ b/server/vcmi_server/nbproject/project.xml
@@ -0,0 +1,17 @@
+
+
+ org.netbeans.modules.cnd.makeproject
+
+
+ vcmi_server
+ 0
+
+ cpp
+ h
+ UTF-8
+
+ ../../lib/vcmi_lib
+
+
+
+