IMPORTANT: A few references to SVN may still here. This is anymore used. use git instead.
1) Check whether the bug has already been reported
Take a look at the bugtracker and check whether you are the first one who found the bug.
The problem you found has already been reported? It would be great if you could add additional information on it if we have problems reproducing it. :)
2) Make sure your FreedroidRPG is up to date
Before you report a bug, please make sure you use the latest version of FreedroidRPG.
The version you are currently using is displayed in the lower right corner of the FreedroidRPG main menu screen.
You can download the latest version of FreedroidRPG here. Or via git:
git clone git://git.code.sf.net/p/freedroid/code freedroid
An installation how-to can be found here.
If you have problems upgrading the game, don't hesitate to contact us via the Mailing list, or IRC. #freedroid on irc.freenode.net. You have no IRC client installed? Use a Web Client (requires JavaScipt).
If you want your FreedroidRPG to be totally up to date with the current development status (that would be the best case for us), install with git (
git clone git://git.code.sf.net/p/freedroid/code freedroid) and follow the installation instructions. If you use Linux, in a console type:
./autogen.sh ; ./configure ; make
Tu run, execute the game (or type
./src/freedroidRPG in a console, if you're Linux.) and see whether you can still reproduce the bug you found.
3) Try to get as much information on it as possible
* Do you play FreedroidRPG in OpenGL or in SDL mode?
That can be determined via main menu, too. In the lower left corner, if it says "OpenGL output active: YES" OpenGL is in use.
If it says "NO", you use SDL as output.
* The bug you found is a graphical glitch?
Make a screenshot, make a red circle around the bug if it is not obvious (you can use paint, gimp, photoshop etc.) and attach the screenshot to your bug report.
Note that the Sourceforge bugtracker does not allow attachments bigger than 256 kb, Crop your screenshot or post it at some free file hosting service (such as http://www.quickfilepost.com/ or http://imageshack.us/) and mention the link to the file on the bugtracker if its size is larger.
Don't forget to let us know whether you used fullscreen or window mode. Also post the resolution you ran FreedroidRPG with.
You can determine it at the terminal output (
"Using screen resolution 1280 x 960."for example) and also on in the menu.
Go to Graphics Options -> Change Screen Resolution. The resolution marked with the asterisk is the current one.
The graphical mode (SDL or OpenGL) is important here, too.
Please tag your bugreport with [SDL] or [OGL] if enough space is still left.
Otherwise mention in at the bug description.
You need some detail on your hardware system (graphic card for example)? The program "Hardinfo" (http://hardinfo.berlios.de/HomePage) may be your friend.
* FreedroidRPG crashes right after you started it?
Rename the folder /.freedroid_rpg in your home directory and try again.
Sometimes something big changes in FreedroidRPG and old savegames do not work anymore because they were made when this big changes were not yet implemented. This usually is the case when you upgrade/update FreedroidRPG, from version 0.12 to version 0.13 for example.
Don't delete your folder! In the case that it is not the cause of the crash, you won't lose your saved games, and can continue playing when the bug is fixed.
In case you use a subversion version of FreedroidRPG run ./configure again in the FreedroidRPG source directory. Maybe you unknowingly upgraded/removed libraries from your system that FreedroidRPG depends on.
Reinstall that software and see if FreedroidRPG runs again. If it does not, you might have found a bug. :)
* Save and send us savegames
FreedroidRPG stores its data in the folder ./freedroidrpg.
If you found a bug, copy (not move) your current savegames into a separate folder.
So you can continue playing the game while you still have the savegames in case we need them to reproduce your bug.
* A key is not working?
Press the key F1 while ingame. At that screen, you'll be able to change the key settings (back to normal).
If that doesn't fix the problem, make a bug report. Don't forget to let us know the keyboard layout you are using.
* FreedroidRPG crashes and the last output line says something like "Segfault"?
Please take a look at "Usage of GDB" or tell us. Us have a software to try retrieve faulty files sending SIGSEGV.
4) Usage of GDB
For GDB under windows, look here http://freedroid.sourceforge.net/dev_docu/node4.html
Install gdb if you don't already have it on your system.
1) Start gdb:
gdb --args freedroidRPG -wqr1
2) To start the game type:
3) Reproduce crash.
5) Attach the output to the bug report or e-mail directly to the developer if they asked for that.
6) To exit from gdb type
Install valgrind and kcachegrind if you don't already have them on your system.
valgrind is a memory utility that does profiling among other things
kcachegrind is the GUI for better visualisation of the results
Valgrind - memcheck
valgrind --tool=memcheck ./freedroidRPG -wqr0
2) Reproduce problem
3) Attach the full output to the bug report or e-mail directly to the developer if they asked for that.
Valgrind - profiling (callgrind)
valgrind --tool=callgrind --instr-atstart=no ./freedroidRPG -wqr0
2) Get ready to reproduce the issue (eg load a savegame)
3) enable profiling my issuing "callgrind_control -i on" in another terminal
4) reproduce the problem
5) quit the game
6) start kcachegrind
7) Report the info somehow...
5) The bug report itself
Click "Create new", found in the left-hand side of the bug tracker.
At the "Title", you are supposed to write a concise description of the bug, "Game crashes talking to Spencer" for example.
At the description field, you have enough space to place all the information you got on the bug.
Keywords also describe the bug, telling what areas it affects, for instance "graphics" or "dialog". Clicking the "list" link next to the text field brings up a list of existing keywords.
Files can be uploaded using the "Browse" button next to the "File" text field.
Note that you can only upload one attachment at one time.
If you think the bug report is complete, hit the "Submit New Entry" button and your bug report is uploaded to the Tracker and visible for everyone.
Always tell us which version (or SVN revision) you use.
FreedroidRPG development may proceed very fast, game content may change very rapidly, so we can estimate, whether the conditions for your bug still exist or whether the feature causing the bug was already removed/changed.
6) Making patches
If you want to fix a bug you found, make the bug report first and give the developers some time to decide whether this really is a bug or just a missing feature or even something that won't get fixed.
In the last case you would just waste your time coding a patch, and that is not in the interest of both sides.
So, please be a little patient. :)
In order to search for text displayed in the game, cscope (http://cscope.sourceforge.net/) can be your friend.
How to make a patch using GIT
Note: It is also possible to create patches without GIT. But the git one is the best.
Find out which file(s) cause(s) the bug. IRC might be the best way to do so.
Edit the file/fix the bug. (you may need to recompile the game after editing)
Open a terminal or command line.
git diff [file_1] [file_2] [etc...] > MyDiff.patch
Change [file_1] [file_2] [etc...] with the files that you edited (or just type 'master'. This can be enough :P). Change MyDiff with another name, in special if this explains what your patch does.
Please send patches to the Review Board (http://rb.freedroid.org).
The patch should be posted at the Review Board.
Don't forget to mention what exactly your patch does, and/or add a link to the bugs/requests it fixes.
If you want a few bug guidelines, please read http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
How to contact us
If you have any questions concerning the game, don't hesitate to contact us via
Forum ................ https://sourceforge.net/apps/phpbb/freedroid/ ......... OUTDATED
IRC channel ................ #freedroid on irc.freenode.net
Mailing list ................ firstname.lastname@example.org
BugTracker ................ http://bugs.freedroid.org/\\