bigglesworth wrote:Boomer--
Please, if you have the time, give us a step-by-step process to re-create your Windows binary.
Hmm, OK. Lots of steps, I saved a log of what I did, just for such occasion:
1. Get Code::Blocks 10.05
http://www.codeblocks.org and install. Throughout these steps, do not change any C::B settings except where noted. Changes can, and prolly will, break it.
\\\\\\\\\\\\\\
2. get 0.5 source
http://gitorious.org/mana/mana/archive-tarball/0.5 and
http://tmw.cetki.com/other/tmw_libs.zip --thanks Crush-- and unpack both to separate directories(aka folders)
\\\\\\\\\\\\\\
3. Start codeblocks, open mana.cbp
\\\\\\\\\\\\\\
4. This is also where you set extra compiler flags in Project->BuildOptions->CompilerSettings->CompilerFlags [see above post]
\\\\\\\\\\\\\\
5. be sure to select Windows from the Build Target dropdown toolbar box
\\\\\\\\\\\\\\
6. Start compiling. You get errors, but you can fix them when they show up.
\\\\\\\\\\\\\\
7. You get errors that include files can't be found. Fix it by adding to
Project->BuildOptions->SearchDirectories->Compiler
H:\tmw_libs\include
H:\tmw_libs\include\SDL
H:\tmw_libs\include\libxml2 (Instead of H:\ put yout path to tmw_lib.)
--OR--
Download and compile each and every library(which I did for most, but is not really required) needed by the client then follow the beginning of this step. IF you do this, be prepared to download bunger-hole loads of things and learn lots of new stuff. Most of these libs compiles are not C::B compatible.
\\\\\\\\\\\\\\
8. remove enet stuff from devpak (tmw_libs). I compressed and then deleted the original files.
\\\\\\\\\\\\\\
9. add Project->BuildOptions->SearchDirectories->Linker: tmw_libs\lib and lib
\\\\\\\\\\\\\\
10. Now you should have EXE in the mana-mana source folder
\\\\\\\\\\\\\\
11. copy portable.xml from the tmw official portable client into the mana-mana src folder to make portable and keep away from any installed versions of tmw and just because I like portable apps, they can run from a flash drive
\\\\\\\\\\\\\\
12. copy DLL files from tmw_libs\DLL into the EXE folder
\\\\\\\\\\\\\\
13. fire that thing up, should run fine. It will be set by default to whatever version of OpenGL is compiled into your libs. I couldn't support that version. My Intel CGA(Crappy Graphics Adapter, I like to call it, hehe) only supports OpenGL v1.4 which is mightily old and hence incompatible. At the least on first run, I had to run from command line with --no-opengl and set to no OpenGL once settings are opened. Also, play with settings, lots of stuff not in the official 0.0.29 client. Some of these(like joystick) have to be turned off, apply, and back on to work. Haven't debugged that yet.
I recommend you save the project on exit, so it's easy to recompile for whatever reason.
Special Thanks to CodyMartin on #mana on freenode on 2010-11-22 for basics, I expounded a bit to make it somewhat easier to repeat.
Best of luck, and remember YMMV! Feel free to tell me what I've missed in these instructions.