bzlib.h problem

  • GAPDaTsar
    9th Sep 2014 Member 0 Permalink

    Can someone tell me all the requested libraries I need in order to develop my TPT like game?  I know, I ask a lot of questions.  I just want to know because there are these bzlib files, time files, pthread files.  I just want to know the requested libraries for these headers is all.

  • boxmein
    9th Sep 2014 Former Staff 0 Permalink
    Here's all you'll need judging by the build tutorial right now:
    1. libc - the C standard library. obviously essential.
    2. libbz2 - DEFLATE compressed data container, save data is in here
    3. libsdl - Simple DirectMedia Layer - cross-platform library for graphics, input methods (mouse, keyboard), and a few other things
    4. libz - DEFLATE compression method, required for bzipped saves to open (as bzip defaults to use DEFLATE compression)
    5. liblua - Lua scripting language, required for the scripting console.
    6. libfftw3f - fast Fourier transforms.
    7. libpthread - a threading library. Not sure if you need it, I've seen issues arising from a lack of libpthread.


    You should, though, check out the build guides (they're really good!) - Windows / Linux (with apt-get) / OS X
    Edited 2 times by boxmein. Last: 9th Sep 2014
  • GAPDaTsar
    9th Sep 2014 Member 0 Permalink

    @boxmein (View Post)

     But where do you get the bzlib file?

  • jacob1
    9th Sep 2014 Developer 0 Permalink
    bzlib is only used to compress save files. You don't necessarily need it to make a TPT-like game. You also don't need lua/fftw3/pthread/z at first either ...

    Have you ever done something like this before? Making an entire game is really hard and takes experience :P. If you just want to make a mod of TPT that's pretty easy though.
  • GAPDaTsar
    9th Sep 2014 Member 0 Permalink

    @jacob1 (View Post)

     I just make games to sell on Steam.  So I have to create games of my own.  Also if I were to make a mod for TPT it would be WAAAYYY too big and advanced since it will include every element on the periodic table and every chemical known to man and every subatomic particle, some even fictional.

    Edited once by GAPDaTsar. Last: 9th Sep 2014
  • boxmein
    10th Sep 2014 Former Staff 0 Permalink
    @GAPDaTsar (View Post)
    Well, all you need then is SDL. Other dependencies you can just figure out on the go. Good luck on implementing realistic chemistry!
  • firefreak11
    11th Sep 2014 Member 0 Permalink

    @GAPDaTsar (View Post)

     That is approximately what I plan to do in my mod, you could join the development team if you want