project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Muton

Pages: 1 2 [3]
31
Windows / NSIS reworked, radiant_runtime updated
« on: May 16, 2009, 02:54:52 pm »
I've reworked ufoai\src\ports\windows\installer.nsi

Shorten things up a little (recursive)

and replaced the undocumented radiant_runtime.zip stuff
The problem here is
the "dev" need to extract the zip file inside of ufoai\radiant
but its not documented
so the "dev" run always in an NSIS build error

I've added a part where the radiant_runtime is a sfx 7z file (btw dll's are updated)
that is extracted on the users client machine during installation
http://www.mediafire.com/file/3nzdolmkmqy/radiant_runtime.exe http://ul.to/22g67b

I think this will simplify the build process

[attachment deleted by admin]

32
Coding / src\common\net.c && W2K (...getaddrinfo could not...WS2_32.dll)
« on: January 04, 2009, 03:05:29 pm »
I'll got this error under W2K

"The procedure entry point getaddrinfo could not be located in the dynamic link library WS2_32.dll"
MS tells us
http://support.microsoft.com/kb/955045
To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then it is mandatary to #include Ws2tcpip.h and also Wspiapi.h.


net.c
Code: [Select]
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
# if WINVER < 0x501
#  include <wspiapi.h>
# else
#  include <ws2spi.h>
# endif
The problem here is if someone compile under XP
those pre XP headers where never includet
and so far the game will not run on pre XP systems

if i cange the code this way
Code: [Select]
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
//# if WINVER < 0x501
#  include <wspiapi.h>
//# else
//#  include <ws2spi.h>
//# endif
the game run fine on W2k
played a view hours now

'Couse im no coder and new
i dont know if this would do any harm on XP++

Pages: 1 2 [3]