    FreedroidRPG: LEIAME
   ----------------------

0. Índice
=========
  1. Introdução
  2. Instalar & Jogar
  3. Controles Básicos
  4. Problemas Conhecidos
  5. Resolução de Tela
  6. FAQ
     - Miscelânea
     - Gráficos
     - Som
     - Editor de Níveis & Desenvolvimento
  7. Entre em Contato
  8. Licença


1. Introdução
================
 O jogo conta a história de um mundo destruído por um conflito entre
 robôs e seus mestres humanos. Jogue como Tux em uma jornada para salvar o
 mundo de robôs assassinos que não conhecem misericórdia. Você pode
 escolher que caminho você quer seguir, e liberdade de escolha está
 em todo lugar no jogo.

 FreedroidRPG features a real time combat system with melee and ranged
 weapons, fairly similar to the proprietary game Diablo. There is an
 innovative system of programs that can be run in order to take
 control of enemy robots, alter their behavior, or improve one's
 characteristics. You can use over 150 different kinds of items and
 fight countless enemies on your way to your destiny. An advanced
 dialog system provides story background and immersive role playing
 situations.

 The game is complete, fully playable, and can provide about 10 hours
 of fun. It is still being actively developed, and help is welcome in
 many areas. People having - or trying to acquire - programming, map
 editing, or writing skills will find FreedroidRPG to be an exciting,
 fast-moving project in which they can fully express their creativity.


2. Instalar & Jogar
==================
 Last stable realase and prebuild Windows/MacOsx are at ftp://ftp.osuosl.org/pub/freedroid/
 Para ajuda com a instalação, refira-se ao arquivo INSTALL localizado na mesma pasta que este arquivo.
 For more information, please see also INSTALL.freedroidRPG
 Packages needed to build depends of your distribution. They are listed in INSTALL.freedroidRPG
 Basically, you then just have to

    ./configure
    make
    make install

 If you don't want to install the game, do not issue "make install", simply go to the src/ subdirectory, and run
    ./freedroidRPG
 Para opções avançadas execute "freedroidRPG --help" (em um terminal) para obter uma lista dos comandos via texto.


3. Controles
============
 Movimento
 
  O jogo é controlado utilizando o mouse. Clique com o botão esquerdo aonde você quer ir. Mantenha pressionado
  o botão para continuar se movendo naquela direção. Manter a tecla CTRL pressionada lhe fará correr.

 Atacar

  Clicar com o botão esquerdo em um inimigo fará com que Tux se aproxime do robô e comece a atacá-lo com a
  arma atual. Se a arma atual for uma arma de longa distância então Tux ficará parado e atirará no robô.

 Funções especiais

  Use o botão direito do mouse para ativar a habilidade/programa atualmente selecionado.

 Default keys (most keys can be reassigned with the in-game key chart - F1)

  Escape ... Mostra o menu principal
  F1 ... Mostra a lista de atalhos
  F2 ... Habilita a tela cheia (apenas Linux)
  F3 ... Salvar
  F4 ... Carregar
  F5-F12 ... Selecionar rapidamente programas de 1 até 8

  I ... Painel do inventário
  C ... Painel do personagem
  S ... Painel de habilidades/programas
  Espaço ... Fecha todos os painéis abertos
  Q ... Registro de 'quests'
  0-9 ... Utilizar os itens do inventário rápido 0-9

  P ... Pausar
  Hold A     ... Attack while staying at the same position
  Hold Shift ... Keep current target selected when moving
  Tab ... Habilitar o automapa (se disponível)

  R ... Recarregar arma
  Manter Ctrl ... Correr
  U ... Correr sempre

  Hold X     ... Show labels for items on the ground
  Z          ... Toggle show labels for items on the ground
  T          ... Toggle walls becoming transparent when Tux approaches
  Ctrl + Q ... Sai do jogo
  Ctrl + G   ... Toggle grab input (prevent cursor from escaping the game window)
  Print      ... Take screenshot (saved into ./.freedroid_rpg/ folder of your home directory)

  Teclas direcionais ... Mover
     Cima ... Norte
     Baixo ... Sul
     Direita ... Leste
     Esquerda ... Oeste


4. Problemas Conhecidos
================
 Geral
   * Some melee and ranged weapons still have placeholder laserswords/rifles for their Tux holding
	 and attack animations. If you are skilled with 3D modeling, please help us out to fix this.
   * When you start the game in OpenGL mode and something overlays the FreedroidRPG window while starting
	 up, the background images looks very strange. If you click on one of the menu items, it should return to
	 looking as intended.
   * Alt tab in/out of the game in OpenGL while a static popup is displayed makes the screen completely black.
	 Clicking or pressing the required key to close the popup will redraw/bring back the screen.

 Mac
   * Open Files: OSX max number of open files defaults to 256 (as of 10.6). This can lead to errors when
	 loading images: "In Function: get_iso_image_from_file_and_path. Could not load image
	 /usr/local/share/freedroidrpg/graphics/obstacles/<filename>.png"
	 Solução:
		1) Check value of open files limit with $ ulimit -n
		2) Set new value for open files limit with $ ulimit -n 2048
	(issue #2913487)
   * Font rendering: If you get no fonts in the main menu with SDL or if in openGL mode, the game dies
	with the error message "In Function: PutCharFont. Surface for character 46 was NULL pointer!",
	check your display configuration and set the color profile to sRGB.
	(issues #2913485 and #2913484)
   * SDL installed via MacPorts: SDL installed via MacPorts will give freedroidRPG wrong information
	about the byteorder if you have a big-endian (PowerPC) CPU, so the colors may be wrong and you
	probably couldn't start a new game because FreedroidRPG crashes.
	To fix it, with root privileges edit the /opt/include/SDL/SDL_config.h file so the line
		#define SDL_BYTEORDER=1234
	says
		#define SDL_BYTEORDER=4321
	After editing and saving the file recompile freedroidRPG and it should work correctly.
	Using SDL compiled from source instead of from MacPorts will work as well.

 Linux
   * Pulseaudio: Using SDL-pulseaudio you are currently likely not to get sound. This has nothing to do
	 with FreedroidRPG but with Pulseaudio and its plugins still in general being immature. We recommend using
	 e.g. SDL-esd or SDL-alsa until these problems has been fixed upstream.
   * Intel 915/945/IDG graphics cards (EEE PCs, netbooks, etc): Mesa 7.9-devel has an issue which makes the game
   	 run slowly and consume a lot of memory. It is fixed by installing and launching 'driconf' and setting 
	 'Enable texture tiling' to 'No'.   
   * Due to hardware and software drivers, the "Gamma Correction" option may affect nothing.


5. Resolução de Tela
=====================
 There are a few hidden high resolution settings only accessible from command line. They are badly tested
 and thus generally considered to be buggy and are unsupported. They however can still be quite useful for
 many, especially for widescreen LCDs in fullscreen mode.

 To get an up-to-date list of available resolutions use "freedroidRPG -r99".

 Alguns problemas conhecidos em resoluções não suportadas:
	- Portrait image in dialogs overflows its borders
	- Off center light radius
	- Incorrect text scrolling when talking to NPCs at times


6. FAQs
============
Miscellaneous FAQ:

	Q: Do I need to have Linux to try out FreedroidRPG?
	R: Enquanto utilizar Linux é altamente recomendável para a sanidade do administrador
	   do sistema, FreedroidRPG tem executáveis do MS-Windows disponíveis.
	   Note que, como a equipe de desenvolvimento do FreedroidRPG não usa 
	   MS-Windows, ele recebe muito menos testes. Ajuda de testes e comentários 
	   de usuários do Windows são muito bem-vindos e apreciados.

	Q: How can I subscribe/unsubscribe to the mailing list?
	A: FreedroidRPG has two mailing lists. One is for discussing stuff related to
	   FreedroidRPG, the other one is a list with auto-generated change logs from our 
	   developer server and therefore usually only interesting for developers themselves.
	   In any case, you can subscribe, unsubscribe or change your membership options
			from the following web page:
	   http://sourceforge.net/mail/?group_id=54521


Graphics FAQ:

	Q: The game is *extremely* slow on my system running Windows and using OpenGL output.
	A: It might be that you're using the OpenGL drivers that came with your
	   operating system from Microsoft. These drivers don't use hardware acceleration
	   and are therefore extremely slow. You'll have to download and install a real
	   OpenGL capable driver for you graphics card. Usually these can be downloaded 
	   from the home page of the graphics chip manufacturer, typically Nvidia, AMD/ATI,
	   etc. Note, that if you do absolutely cannot get OpenGL working reliably on your
	   system, you can still run the game in pure SDL output mode. For this, you
	   must either use a 'MS-DOS command line prompt' and type

	   freedroidRPG -n 

	   inside this command line, or you can also make a link to freedroidRPG.exe
	   and then edit the link properties and add the -n after freedroidRPG.exe in
	   the link properties dialog box.

	Q: The game is *extremely* slow on my Linux machine with OpenGL enabled.
	A: The reason for this might be that you're not using hardware accelerated OpenGL.
	   Software OpenGL should be avoided.  If you don't have hardware-accelerated
	   OpenGL on your system (because e.g. your graphics card manufacturer doesn't
	   make suitable Linux drivers), you might be much better off when disabling
	   OpenGL support altogether.  For this, you can use command line switch -n,
	   Isso é: digite 

	   freedroidRPG -n

	   para começar o jogo com OpenGL desabilitado. Gráficos serão revertidos para
	   o modo de SDL puro.
	Q: I run Linux with multiple monitors in TwinView (Xinerama) mode, however fullscreen
	   mode is centered over the break between the two monitors. I would rather it be
	   centered on one of the screens.
	R: Para que o jogo só utilize um monitor para o modo tela cheia, faça o seguinte:
	   1)  Make certain you use SDL version >=1.2.14.
	   2)  Set the environmental variable "SDL_VIDEO_FULLSCREEN_DISPLAY" to the number corresponding to
			the monitor you wish to use: 0 is your first display, 1 is your second, etc.

	   If that does not work you may have to add single-monitor metamodes to your xorg.conf file.
	   Modifications to xorg.conf require a restart of the X server before they take effect.

Sound FAQ:

	Q: Meu som não está funcionando com o FreedroidRPG. Eu não ouço nada.
	R: 1.) Primeiro tenha certeza de que o seu som está funcionando com outras aplicações. Se você
		    não ouvir nada quando tentar tocar arquivos em mp3 ou ogg,
		    então o sistema de som na sua máquina não está apropriadamente instalado e
		    este não é um problema relacionado ao FreedroidRPG. Neste caso você deve instalar a sua
		    placa de som apropriadamente primeiro.
	   2.)  See if you have the SDL_mixer libraries installed. You might want
		    to use "locate SDL_mixer" and see if you get a lot of results.  If
		    not, then the missing SDL_mixer library is the problem.
		    Also check if you have libogg and libvorbis installed.
	   3.)  If you're compiling from source, make sure the ./configure script has
		    properly detected the SDL_mixer library. Just look at the ./configure
		    output. There should be a line like:

		      checking for Mix_ChannelFinished in -lSDL_mixer... yes

		    If you get instead something like

		      checking for Mix_ChannelFinished in -lSDL_mixer... no

		    then the ./configure script didn't detect your SDL_mixer
		    installation. You might want to make sure you've got SDL_mixer and
		    SDL_mixer_devel packages installed or install SDL_mixer from source.
		    You can download everything from here:

		      http://www.libsdl.org/projects/SDL_mixer/

		    If you compiled from source, you'll have to recompile now, because the
		    previous compile didn't include the sound module of FreedroidRPG. If
		    the SDL_mixer stuff is installed properly, it should work after the
		    recompile.

	Q: My sound is lagging behind. Every sound seems to be somewhat out of sync.
	A: There might be a sound daemon running on your system.  Many window managers
	   like e.g. KDE start a sound daemon by default upon start up. To get rid of
	   the most common sound daemons, you can try (best as root)

	   killall -9 artsd
	   killall -9 esd
	   killall -9 yiff
	   killall -9 pulseaudio

	   After that, you might want to try freedroidRPG again. The sound lag should
	   not be present anymore.

Level Editor & Developer FAQ:

	Q: Is there a Level editor?
	A: Yes, we have a level editor integrated into FreedroidRPG. It can be accessed
       from the main menu or executing

		  freedroidRPG -e

       It has tooltips on every button to help you find your
       way. Play around with it a bit by yourself and don't hesitate to ask for
       assistance on IRC or the mailing list.

	Q: Como eu posso obter a última versão em desenvolvimento do jogo?
	A: This is very simple when using Linux:
	      git clone https://gitlab.com/freedroid/freedroid-src.git
	   Se você estiver usando WIndows nós recomentamos usar uma ferramenta como 
	      http://www.collab.net/downloads/giteye?CID=tigris
	   If you still run into problems, best again discuss it with the people on
	   the freedroid-discussion mailing list or ask for it on IRC channel as well.

	Q: I want to help out with FreedroidRPG development. What should I do first?
	A: First, we recommend to read http://www.freedroid.org/developer-area/contribute/
	   Second thing is to contact us. This can be done via IRC (see 'Contact' beneath)
	   or using the freedroid-discussion mailing list.
	   Then the next thing to do is to get the latest development version of the game
	   from git, then to either make a small patch right away or to discuss anything
	   bigger you have in mind with the people on the discussion mailing list or IRC, so
	   it can be assured that all the developers are pulling in the same direction and
	   know what's going on and who is working on what.


7. Contato
===========
 Site ................ http://www.freedroid.org
 Wiki   ....................... http://wiki.freedroid.org (or http://www.freedroid.org/wiki/pmwiki.php/)
 Source project page   ........ https://gitlab.com/groups/freedroid
 Canal IRC ................ #freedroid em irc.freenode.net ou
								http://webchat.freenode.net/?channels=freedroid (requer Javascript)
 Mailing list  ................ freedroid-discussion@lists.sourceforge.net
 Bug tracker  ................ http://bugs.freedroid.org/


8. Licença
===========
 O jogo em si é licenciado no GPL. Outras ferramentas tem uma licença mais permissiva, 
 por favor refira-se ao arquivo FILES localizado na mesma pasta que este arquivo.
