Welcome!

Final Burn Neo => FBN Development => Topic started by: CaptainCPS on September 12, 2008, 10:54:12 AM

Title: FB Alpha Compiling tools
Post by: CaptainCPS on September 12, 2008, 10:54:12 AM
Visual C++ Environment files:

DirectX 9.0 SDK Update - (October 2004) (http://www.microsoft.com/downloads/details.aspx?FamilyID=b7bc31fa-2df1-44fd-95a4-c2555446aed4&DisplayLang=en)

Windows® Server 2003 R2 Platform SDK ISO Download (http://www.microsoft.com/downloads/details.aspx?FamilyID=e15438ac-60be-41bd-aa14-7f1e0f19ca0d&displayLang=en)

Visual C++ 2008 Express Edition (http://go.microsoft.com/?linkid=7729279)

The following 'binaries pack' is needed always and normally are placed in the same directory as MINGW, but I made a separate package for use with VC compile tools:

http://rapidshare.com/files/144686715/fba_compile_binaries.7z.html (updated link with better directory structure pack)

Sample FBA_Compile_VC.BAT (paths are variable depending on where you installed everything)

Quote
@echo off
@call "C:\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.Cmd"
@call "C:\Microsoft DirectX 9 SDK (October 2004)\Utilities\Dx_Setenv.cmd"
@call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
@echo _
@path = C:\fba_compile_binaries\unixutils\bin;%path%
@path = C:\fba_compile_binaries\perl\bin\MSWin32-x86;%path%
@path = C:\fba_compile_binaries\nasm-2.03.01;%path%
@make vc
@echo _
@echo FB Alpha Compilation using Visual Studio 9 (VC toolkit) Done.
@pause

MinGW Environment files (This is my own personal package, throws no error + no warnings):

http://rapidshare.com/files/144679113/mingw_capcpsx.7z.html [~10 MB] [no unneeded stuff ^^]

And the FBA_Compile_MinGW.BAT file I use based on that:

Quote
@cls
@path=C:\mingw\perl\bin\MSWin32-x86;%path%
@path=C:\mingw\bin;%path%
@prompt = mingw$s$p$g
@mingw32-make
@echo _
@echo FB Alpha Compilation using MinGW v3.1 Environment Done.
@echo _
@pause

PS: I'm short of time now so excuse me if I don't explain to much at this moment ^^U, if anyone wanna comment about something go on!  :wink:.

SeeYaa!
 :biggrin:
Title: Re: _[ FB Alpha Compiling tools ]_
Post by: kenshiro on September 12, 2008, 11:51:14 AM
Thanks a lot! That was a pain in the ass to set my development environment to compile a PC build of FBA (there's not just the Xbox build in the life lol).

Thanks ;p
Title: Re: _[ FB Alpha Compiling tools ]_
Post by: jlac10 on September 13, 2008, 06:07:52 AM
   
thank you very much CaptainCPS-X. how can I compile version for non unicode Win9x?
I'm sorry for my poor English
Title: Re: _[ FB Alpha Compiling tools ]_
Post by: CaptainCPS on September 13, 2008, 11:31:30 AM
   
thank you very much CaptainCPS-X. how can I compile version for non unicode Win9x?
I'm sorry for my poor English

there are 3 makefiles in the main source directory, "makefile", "makefile.mingw" and "makefile.vc", you must open with notepad the first one "makefile" and look for this:

UNICODE = 1

then change that line to ...

#UNICODE = 1

...after doing that, save the "makefile", delete the old 'obj' directory to make sure everything goes fine and compile FBA again ^^

You will have a final 'fbaa.exe', that's the ANSI (non-unicode) build  ;p

SeeYaa!
 :biggrin:
Title: Re: _[ FB Alpha Compiling tools ]_
Post by: Akheron on March 28, 2009, 12:56:02 AM
Ok i need mingw, is this for support for C99? If i already know C++ will i need to learn this dialect of C?