Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1162 Excellent

About renega_666

  • Rank

Personal Information

  1. renega_666

    Installer for Linux?

    As mentioned above, there are a few different package manager in use. You should at least support .deb, .rpm to target the most widely used distros (i.e. Ubuntu and Fedora). You can also provides packages for archlinux based distributions through the AUR.   For debian packages, I recommend using a PPA. There might be an equivalent service for building and distributing rpm but I personally don't know any (I am an arch linux user)     You do that with desktop entries: This will work regardless of the desktop environment.
  2. renega_666

    Python 3 + Linux terminal

    To open a new terminal from a python application you must start it in a new subprocess:   subprocess.Popen(['gnome-terminal', '-e'])   To communicate with the opened terminal you may want to use the pexpect library, it will help you write to the terminal stdin and get the terminal stdout.   That being said, I have no idea how you can retrieve an existing tty handle and write to its stdout.
  3. Maybe you could have a look at sphinx?   This is one of the documentation tool used for python but can be used for any other languages as long as you don't require automatic extraction.    You can create cross references in your documentation, you can even add custom domains to add support for DSL and the likes. You write your docs using restructuredText which is quite nice and easy to use (no to very little manual formatting).
  4.   What dependency are you talking about? AFAIK swig does not add any runtime dependency to your bindings, it's just a tool that you can drop in your project folder, you can even invoke it automatically whenever you rebuild your c++ project and have always up to date bindings. (note that I only used swig for python bindings, not C#).
  5. Another option is to use swig to easily write some C# bindings for your C++ core engine that you can use in your WPF editor (IMHO it's way easier than writing a C++/CLI layer).
  6. renega_666

    Embedded Python 3.3 problem...

      No, one of the goal of embedding python is that you don't need to ask your user to install it on their system. Your executable is linked against the python library so you must distribute the python dll (and the microsoft c runtimes). That being said I've only worked with python 2.7 and do not know what dll you are missing in your specific case. You can always use the Windows Dependency Walker to find out the missing dlls.     Edit: What compiler did you use to build your game executable? It must be the same one as the one used to build python, wich is Visual Studio 2010 (if you downloaded the official python release)
  7. renega_666

    playing sounds in python 3

    > Can anyone here recommend a simple way to play sounds files in python 3+ that works on WIndows and Linux?   You could also try PySFML (
  8. renega_666

    Editing a Python Script during Runtime?

      The python C api has a function just for that: PyImport_ReloadModule
  9. I am a bit rusty on embedding python but I think PyRun_String should do what you want if you pass Py_eval_input or Py_file_input for the start parameter.
  10. renega_666

    C++ IDEs for Linux

      Yes, because QtCreator and KDevelop support CMake projects natively, i.e. you don't have to generate anything. If you make changes in your CMakeLists.txt, those changes will be immediately reflected in the IDE.
  11. renega_666

    C++ IDEs for Linux

    I would also vote for QtCreator. KDevelop is nice but not really suited to cross-platform development (not everyone wants to install the whole KDE on Windows)
  12.   Yes, foreach game in development, you will define a main function that your launcher will load and call.     As the name implies, shared libraries are shared and won't be loaded multiple times. More infos:   -
  13. As suggested by @mark ds, you need some kind of plugin system (i.e. you need to load shared objects dynamically).   Since you're on linux, you may use dlopen and dlsym to load a function from a shared object, see (there is an example at the end of the man page)
  14. renega_666

    SFML - Can't even compile tutorial code

      May I ask you to open a terminal, run the following commands and paste their output here?   1) whereis libsfml-window   2) ldconfig -v 2>/dev/null | grep -v ^$'\t'     Edit: the error is probably that the sfml shared object ended up in a directory that is not in your ld path.
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!