Promoção ajude o ubuntu games a se manter no ar e concorra a 3 camisas do blog

Friday, October 9, 2009

"Promoção ajude o ubuntu games a se manter no ar e concorra a 3 camisas do blog defendendoolinux no dia 30/10, para participar é simples copie e cole todo esse texto entre aspas, preservando a formatação html no seu blog e deixe um comentario nesse link com o link para a sua postagem. Além disso o defendendoolinux fará uma doação em dinheiro ao projeto."

Read more...

DarkPhear

Sunday, July 19, 2009






A full console-style classic RPG, done by me. DarkPhear was originally released for DOS in 2001, unfortunately, the DOS platform was already dying at that time. But this is no longer a problem. Now, thanks to FreeBASIC , DarkPhear is ported to more modern platforms. The game includes support for mouse, joystick, selection of language Portuguese / English, four levels of speed, sprite/pixel-based graphics, turn based battles, digital sound, and excellent songs composed by my friend Jeremy Eller. This new version has a few improvements and bug fixes, keeping the gameplay pretty much intact.

Title: DarkPhear ®
Version: 1.1.4 (09/17/2009)
Platforms: Linux / Windows / wine
License : Freeware game / GPL code.
Status: Complete.
Download size: 34 MB

Download now:
.ZIP (multiplatform)
.DEB ( Debian / Ubuntu )

DarkPhear is Copyright (C) 2009 Cleber de Mattos Casali. All rights reserved.

Read more...

DarkPhear






Um RPG clássico estilo console, completo, feito por mim. DarkPhear foi originalmente lançado em 2001 para DOS; infelizmente, a plataforma DOS já estava morrendo naquela época. Mas isto não é mais problema. Graças ao FreeBASIC, DarkPhear foi portado para as plataformas mais modernas. O jogo inclui suporte a mouse, joystick, seleção de idiomas Português / Inglês, quatro níveis de velocidade, gráficos baseados em sprite/pixel, batalhas por turnos, som digital, e excelentes músicas compostas por meu amigo Jeremy Eller. Esta nova versão trouxe algumas melhorias e correção de bugs, mantendo a jogabilidade praticamente intacta.

Título : DarkPhear ®
Versão : 1.1.4 (17/09/2009)
Plataformas : Linux / Windows / wine
Licença : Jogo freeware / código GPL.
Status : Completo.
Tamanho do download : 34 MB

Baixar agora:
.ZIP (multiplataforma)
.DEB ( Debian / Ubuntu )

DarkPhear is Copyright (C) 2009 Cleber de Mattos Casali. All rights reserved.

Read more...

Joystick : Remapeando botões e eixos no Linux

Saturday, July 4, 2009

Tenho muitos joypads / joysticks com muitos esquemas diferentes botão, e utilizando este simples utilitário posso reconfigurar o layout dos botões, executando um simples script, ao invés de reconfigurar todos os jogos e emuladores sempre que eu quiser usar um joystick diferente.

Faça o DOWNLOAD aqui:
http://www.mediafire.com/?msitbdej0ad
http://ubuntuforums.org/attachment.php?attachmentid=66632&d=1208782381

É uma versão alterada do utilitário "jscal" do pacote "joystick". Este utilitário permite o remapeamento de botões e eixos diretamente junto ao driver.

Compilei para o Ubuntu 7.10 AMD64, mas vai funcionar com qualquer versão posterior. Além disso, você pode recompila-lo para qualquer versão, ao fazer um "make clean; make"

Procurei uma ferramenta que me permitisse fazer isso durante muito tempo. Encontrei-a aqui: http://bugs.debian.org/cgi-bin/bugreport.cgi? bug = 444142

Citando o autor do patch (traduzido com Google translator):


Citação:
Pacote: joystick
Versão: 20051019-1
Severity: wishlist
Tags: patch

Motivação

Eu encontrei nenhuma ferramenta simples que remapear o joystick eixos
e botões no dispositivo controlador nível (joydev módulo), enquanto que o condutor
prevê claramente a interface para isso. Meu sistema estende-se a
capacidades de jscal, a fim de remapear eixos e botões. Enquanto
remapeamento X no ficheiro de configuração é possível, que o mapeamento não
aparentemente para ajudar em todos os jogos.


Detalhe

Eu comprei uma Trust GM-2550 Predator joystick no outro dia, e eu reparei
que os eixos foram mapeados incorretamente: a borboleta no lugar do
leme, bem como o botão do pinky eixos foram deslocados até 1 ranhura no eixo
mapa. Eu encontrei nenhuma ferramenta para re-mapear os eixos sobre o driver de dispositivo (joydev)
nível. Embora remapeamento é possível, no X config, esta situação não se resolve
para o problema - por exemplo - SearchAndRescue.

Também achei nada para remapear os botões do joystick driver de dispositivo
nível. Isto é muito necessário, por exemplo, para tuxkart, porque alguns dos
utiliza os botões do jogo são, infelizmente, inacessível, mantendo
confortavelmente o joystick (alguns botões estão demasiado longe no stick).

Achei que o módulo do kernel joydev API para não fornecer os eixos e
botão remapeamento. Eu adicionei duas opções de linha de comando para jscal e dois
respectivas funções que utilizam a API e remapear botões e eixos.
Eu testei os eixos e remapeamento botão, e ele funciona como se pretende. I
podem trocar botões e eixos como eu desejo.


Implementação

Por favor, localize o diff do joystick jscal.c em anexo (joystick.diff).

A modificação jscal.c acrescenta dois argumentos da linha de comando:

-q - print-mapeamentos Imprimir o actual eixo eo botão
mapeamentos jscal como uma linha de comando

e

-u n_of_buttons, btnmap1, btnmap2,
...> - Set-Define mapeamentos eixo eo botão mapeamentos para o
valores especificados

Um exemplo de saída de-q parece com isso (./jscal -q /dev/input/js0):

jscal -u
10,0,1,2,5,6,16,17,40,41,42,13,288,289,290,291,292, 293.294.295.296.297.298.299.300
/dev/input/js0

O joystick tem 10 eixos e 13 botões. Se agora é a de um interruptor eixos 2
e 5 (para obter o leme e do acelerador à direita), um tem de executar:

jscal -u
10,0,1,5,2,6,16,17,40,41,42,13,288,289,290,291,292, 293.294.295.296.297.298.299.300
/dev/input/js0

mudando 2,5 para 5,2 na linha.

Remapeamento botões é feito da mesma maneira.


Além disso, existe um método muito bom de carregar a configuração automaticamente quando você conecta seu joystick, usando o udev.

Primeiro você deve criar uma regra udev. Esta é a minha:

##/etc/udev/rules.d/85-joy-config.rules

# # digiusb 0e8f: 0013
BUS == "usb", ACTION == "add", attrs (idVendor) == "0e8f", attrs (idProduct) == "0013", RUN + = "/usr/bin/joy-config-digiusb.sh"

# # genesis6b 0f00: 0008
BUS == "usb", ACTION == "add", attrs (idVendor) == "0f00", attrs (idProduct) == "0008", RUN + = "/usr/bin/joy-config-genesis6b.sh"


Como você pode ver, a regra irá executar o script especificado, logo que o dispositivo com o dado idVendor e idProduct for conectado.

E assim eu fiz os scripts:

"/usr/bin/joy-config-digiusb.sh"
#!/bin/bash
# digiusb 0e8f: 0013
# /usr/bin/joy-config-digiusb.sh
sleep 1
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js0
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js1
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js2
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js3


"/usr/bin/joy-config-genesis6b.sh"
#!/bin/bash
#genesis6b 0f00: 0008
#/usr/bin/joy-config-genesis6b.sh
sleep 1
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js0
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js1
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js2
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js3


Acrescentei um "sleep 1" apenas no caso de o driver não carregar a tempo.

Importante: não se esqueça do "#!/bin/bash" ou tudo vai falhar silenciosamente.

Além disso, os meus scripts tentarão aplicar o layout para js0-3, uma vez que isso só terá êxito se o dispositivo corresponder ao layout de botões / eixos. Eu não pude descobrir uma solução mais elegante, mas esta funciona para mim.

Espero que você ache útil.

Divirta-se.

Read more...

Remapping joystick buttons and axes on Linux

I have many joypads / joysticks with many different button layouts, and by using this simple utility I can reconfigure the button layout by running a simple script, intead of reconfiguring every game and emulator everytime I want to use a different joystick.

DOWNLOAD it here:
http://www.mediafire.com/?msitbdej0ad
http://ubuntuforums.org/attachment.php?attachmentid=66632&d=1208782381

It's a patched version of the jscal utility from the joystick package. It will allow the remapping of buttons and axes directly into the driver.

It's compiled for Ubuntu 7.10 AMD64, but it will work with any later version. Also, you can recompile it to any version by doing a "make clean;make"

I have been looking for something like this for ages. Found it here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444142

Quoting the patch author:


Quote:
Package: joystick
Version: 20051019-1
Severity: wishlist
Tags: patch

Motivation

I found no simple tool that would remap the joystick axes
and buttons on the device driver level (joydev module), while the driver
clearly provides the interface for this. My patch extends to
capabilities of jscal in order to remap axes and buttons. While
remapping in the X configuration file is possible, that mapping does not
seem to help in all games.


Detail

I bought a Trust GM-2550 Predator joystick the other day, and I noticed
that the axes were mapped incorrectly: the throttle in place of the
rudder, and the pinky button's axes were shifted up 1 slot in the axis
map. I found no tool to re-map the axes on the device driver (joydev)
level. While remapping is possible in the X config, this did not solve
the problem for - for example - SearchAndRescue.

Also I found no way to remap joystick buttons on the device driver
level. This is quite necessary for example for tuxkart, because some of
the buttons the game uses are unfortunately unreachable while holding
the joystick comfortably (some buttons are too far on the stick).

I found that the joydev kernel module does provide the API for axes and
button remapping. I added two command line options to jscal and two
corresponding functions that utilize the API and remap buttons and axes.
I have tested the axes and button remapping, and it works as intended. I
can swap buttons and axes as I wish.


Implementation

Please find the diff of jscal.c in joystick attached (joystick.diff).

The modified jscal.c adds two command line arguments:

-q --print-mappings Print the current axis and button
mappings as a jscal command line

and

-u n_of_buttons,btnmap1,btnmap2,
...> --set-mappings Sets axis and button mappings to the
specified values

An example output of -q looks like this (./jscal -q /dev/input/js0):

jscal -u
10,0,1,2,5,6,16,17,40,41,42,13,288,289,290,291,292 ,293,294,295,296,297,298,299,300
/dev/input/js0

The joystick has 10 axes and 13 buttons. If now one is to switch axes 2
and 5 (to get the rudder and the throttle right), one has to execute:

jscal -u
10,0,1,5,2,6,16,17,40,41,42,13,288,289,290,291,292 ,293,294,295,296,297,298,299,300
/dev/input/js0

changing 2,5 to 5,2 on the line.

Remapping buttons is done the same way.


Then, there is a very good way to load the joystick layout configuration automatically when you plug the device, with udev.

First you must create a udev rule. This is mine:

##/etc/udev/rules.d/85-joy-config.rules

##digiusb 0e8f:0013
BUS=="usb",ACTION=="add",ATTRS{idVendor}=="0e8f",ATTRS{idProduct}=="0013",RUN+="/usr/bin/joy-config-digiusb.sh"

##genesis6b 0f00:0008
BUS=="usb",ACTION=="add",ATTRS{idVendor}=="0f00",ATTRS{idProduct}=="0008",RUN+="/usr/bin/joy-config-genesis6b.sh"


As you can see the rule will execute the specified script as soon as the device with given idVendor and idProduct is plugged.

This is how I did the scripts:

"/usr/bin/joy-config-digiusb.sh"
#!/bin/bash
#digiusb 0e8f:0013
#/usr/bin/joy-config-digiusb.sh
sleep 1
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js0
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js1
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js2
jscal -u 4,0,1,16,17,10,289,290,291,293,294,295,296,297,288,292 /dev/input/js3


"/usr/bin/joy-config-genesis6b.sh"
#!/bin/bash
#genesis6b 0f00:0008
#/usr/bin/joy-config-genesis6b.sh
sleep 1
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js0
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js1
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js2
jscal -u 2,0,1,16,309,310,311,312,313,314,308,316,317,318,319,315,304,305,306,307 /dev/input/js3


I have added a "sleep 1" just in case the driver doesn't get ready on time.

Important: don't miss the "#!/bin/bash" or it will silently fail.

Also, my scripts will attempt to apply the layout to js0-3, as it will only succeed if the device matches the button/axis layout. I couldn't figure out a more elegant solution, but this one works for me.

Hope you find it useful.

Have fun.

Read more...

Double Dragon Forever : mission 1 walthrough

Sunday, May 17, 2009

Read more...

Proteja sua liberdade digital

Thursday, May 14, 2009



A Internet é uma rede de comunicação aberta e livre. Nela, podemos criar conteúdos, formatos e tecnologias sem a necessidade de autorização de nenhum governo ou corporação. A Internet democratizou o acesso a informação e tem assegurado práticas colaborativas extremamente
importantes para a diversidade cultural. A Internet é a maior expressão da era da informação.

A Internet reduziu as barreiras de entrada para se comunicar, para se disseminar mensagens. E isto incomoda grandes grupos econômicos e de intermediários da cultura. Por isso, se juntam para retirar da Internet as possibilidades de livre criação e de compartilhamento de bens culturais de de conhecimento.

Um projeto de lei do governo conservador de Sarkozi tentou bloquear as redes P2P na França e tornar suspeitos de prática criminosa todos os seus usuários. O projeto foi derrotado.

No Brasil, um projeto substitutivo sobre crimes na Internet aprovado e defendido pelo Senador Azeredo está para ser votado na Câmara de Deputados. Seu objetivo é criminalizar práticas cotidianas na Internet, tornar suspeitas as redes P2P, impedir a existência de redes abertas,
reforçar o DRM que impedirá o livre uso de aparelhos digitais. Entre outros absurdos, o projeto quer transformar os provedores de acesso em uma espécie de polícia privada. O projeto coloca em risco a privacida de dos internautas e, se aprovado, elevará o já elavado custo de comunicação no Brasil.

Gostaríamos de convidá-lo a participar do ato público que será realizado no dia 14 de maio, às 19h30, em defesa da
LIBERDADE NA INTERNET
CONTRA O VIGILANTISMO NA COMUNICAÇÃO EM REDE
CONTRA O PROJETO DE LEI SUBSTITUTIVO DO SENADOR AZEREDO

O Ato será na Assembléia Legislativa de São Paulo e será transmitido em streaming para todo o país pela web.

PLENÁRIO FRANCO MONTORO
ASSEMBLÉIA LEGISLATIVA DE SÃO PAULO
AV PEDRO ALVARES CABRAL S/N - IBIRAPUERA

O Ato também terá cobertura em tempo real pelo Twitter e pelo Facebook.

Contamos com a sua presença

Read more...

DarkPhear Linux / Windows port : WIP video

Monday, May 4, 2009

Read more...

DarkPhear progress...

Thursday, April 16, 2009







Read more...

Portando o DarkPhear 1

Monday, April 6, 2009

Hoje, após muitas e muitas mudanças no código, consegui finalmente compilar o DarkPhear 1 no FreeBASIC :



O jogo ainda não mostra os sprites, e as cores estão bagunçadas, mas mesmo assim é um grande avanço. Se eu conseguir consertá-lo, DarkPhear estará futuramente disponível para Linux e Windows.

Read more...

Porting DarkPhear 1

Today, after many many changes in the code I could finally compile DarkPhear 1 on FreeBASIC :



The game still does not display any sprites, and the colors are all messed up, but still it's a major improvement. If I am sucessfull fixing it, DarkPhear will be available for Linux and Windows.

Read more...

Kubuntu 9.04

Sunday, March 29, 2009

Read more...

Ubuntu 9.04

Read more...

Earth Hour

Saturday, March 28, 2009

Earth Hour - Saturday 31 March 2007, 7:30pm-8:30pm

Read more...

A Hora do Planeta

Hora do Planeta 2009.

Read more...

SDLMAME e SDLMESS : binários para Linux AMD64

Tuesday, March 24, 2009

Compilados no Kubuntu 8.04 AMD64. Extraia e divirta-se.

SDLMAME v0.130u1

SDLMESS v0.130

Read more...

SDLMAME & SDLMESS Linux AMD64 binaries

Compiled on Kubuntu 8.04 AMD64. Just extract them and enjoy.

SDLMAME v0.130u1

SDLMESS v0.130

Read more...

Turning screensaver on and off in KDE

Sunday, February 15, 2009

One problem that have always bothered me on Linux is the screensaver starting up when you really don't want it. This happens for example when you're watching a movie, or playing a game exclusively on joystick.

This happens because of a combination of two reasons:
1) Both KDE and GNOME do not monitor joystick activity to keep the screensaver from activating. This has been reported as a BUG in Ubuntu.
2) Some applications do not block the startup of the screensaver (RealPlayer, SDLMAME, SDLMESS, games in wine ...)

Well, there is a solution that works very well on my Kubuntu. I have created two small scripts, one to turn off screensaver, and another one to turn it back on:

screensaver-off

#!/bin/bash

xset s off -dpms

dcop kdesktop KScreensaverIface enable false



screensaver-on
#!/bin/bash

xset s on +dpms

dcop kdesktop KScreensaverIface enable true





Just save these scripts in your directory "/usr/bin/" and give permission to execute:

sudo chmod +x /usr/bin/screensaver-off
sudo chmod +x /usr/bin/screensaver-on


After this procedure, just modify the shortcut of your problematic applications, so they will turn off the screensaver on start, and turn it on again after exit.

For example, the shortcut to your favorite game in SDLMAME, which was:

xmame mygame

will now look like this:

screensaver-off; xmame mygame; screensaver-on

Have fun without having to move your mouse every 10 minutes! :)

Read more...

Desligando e Ligando o screensaver no KDE

Um dos problemas que sempre encontrei no Linux é o screensaver acionando sem você querer. Isso acontece por exemplo quando você está assistindo um filme, ou jogando um jogo exclusivamente no joystick.

Isto acontece por uma combinação de duas razões:
1) Tanto o KDE quanto o GNOME não monitoram a atividade do joystick para impedir o acionamento do screensaver. Isto já foi reportado como BUG no Ubuntu.
2) Alguns aplicativos não bloqueiam a inicialização do screensaver (RealPlayer, SDLMAME, SDLMESS, jogos no wine...)

Bem, existe uma solução que funciona muito bem no meu Kubuntu. Criei dois pequenos scripts, um para ligar e outro para desligar o screensaver:

screensaver-off

#!/bin/bash

xset s off -dpms

dcop kdesktop KScreensaverIface enable false



screensaver-on
#!/bin/bash

xset s on +dpms

dcop kdesktop KScreensaverIface enable true





Basta salvar estes scripts em seu diretório "/usr/bin/" e dar permissão de execução:

sudo chmod +x /usr/bin/screensaver-off
sudo chmod +x /usr/bin/screensaver-on


Após este procedimento, basta modificar o atalho de seus aplicativos problemáticos, de forma que eles desliguem o screensaver ao iniciar, e liguem novamente ao serem terminados.

Por exemplo, o atalho para seu jogo favorito no SDLMAME, que era assim:

xmame mygame

vai ficar assim:

screensaver-off;xmame mygame;screensaver-on

Divirta-se, sem ter que mexer no mouse a cada 10 minutos! :)

Read more...

DarkPhear

Monday, January 19, 2009



DarkPhear was released back in 2001 for DOS only. A full-fledged classic RPG, made by me with QBX (QBASIC 7.1). Sadly the DOS platform was already dying by then. But well, it does run pretty well on Windows. VDMSound may be necessary to get the sound working on Windows XP. Before you ask, never tried it on Vista, and probably never will. Some people have reported success running it with DOSBox, both on Linux and Windows, although I could never make it work right. The game includes mouse support, portuguese / english language select, four game speed levels, terrific pixel graphics, turn based battles, digital sound and amazing midi songs composed by my friend Jeremy Eller. Considered by many one of the greatest QB games ever. I'm sure Phantasy Star fans will love it.

Title : DarkPhear
Version : 1.01 (10-29-2003)
Platform : DOS. Linux and Windows users should get this version instead.
Requirements : A 386 or better processor, VGA or MCGA compatible video card, 540 KB of free conventional memory.
Recommended : Sound Blaster or compatible sound card, mouse.
License : Freeware / closed source.
Status : Complete.
Download size : 1.9 MB

DOWNLOAD NOW

DarkPhear is Copyright (C) 2009 Cleber de Mattos Casali. All rights reserved.

Read more...

DarkPhear



DarkPhear foi lançado em 2001 para DOS apenas. Um RPG clássico completo, feito por mim com o QBX (QBasic 7.1). Infelizmente, a plataforma DOS já estava morrendo naquela época. Mas tudo bem, ele funciona muito bem no Windows. O VDMSound pode ser necessário para fazer com que o som funcione no Windows XP. Antes que você pergunte, nunca testei no Vista, e provavelmente não testarei. Algumas pessoas reportaram sucesso rodando com o DOSBox, tanto em Linux e Windows, embora eu nunca tenha conseguido fazer funcionar direito. O jogo inclui suporte a mouse, seleção de idiomas Português / Inglês, quatro níveis de velocidade, gráficos pixel, batalhas por turnos, som digital e excelentes canções midi compostas por meu amigo Jeremy Eller. Considerado por muitos um dos melhores jogos em QB. Tenho certeza que os fãs de Phantasy Star vão adorar.

Título : DarkPhear
Versão : 1.01 (29/10/2003)
Plataforma : DOS. Para Linux ou Windows, utilize esta versão.
Exigências : Um processador 386 ou melhor, placa de vídeo compatível com VGA ou MCGA, 540 KB de memória convencional livre.
Recomendações : Placa de som Sound Blaster ou compatível, mouse.
Licença : Freeware / código fechado.
Status : Completo.
Tamanho do download : 1.9 MB

BAIXAR AGORA

DarkPhear is Copyright (C) 2009 Cleber de Mattos Casali. All rights reserved.

Read more...

Retro River Raid

Sunday, January 11, 2009



Retro River Raid is a remake of the old Atari 2600 game River Raid, which I did for the Retro Remake Competition 2004. Pilot your plane over the river shooting ships and helicopters and destroy the bridges to continue. Fly over the fuel items to replenish your fuel.


Title : Retro River Raid
Version : 1.0
Platform : Windows / DirectX (doesn't work on wine)
Recommended : Fast video card with hardware acceleration, joypad / joystick.
License : Freeware / closed source.
Status : Complete.
Download Size : 7 MB

DOWNLOAD NOW


Read more...

Retro River Raid




Retro River Raid é um remake do velho game de Atari 2600 River Raid, que eu fiz para a Retro Remakes Competition 2004. Pilote seu caça sobre o rio atirando nos navios e helicópteros e destrua as pontes para prosseguir. Sobrevoe os itens de fuel para reabastecer.

Título : Retro River Raid
Versão : 1.0
Plataforma : Windows / DirectX (não funciona no wine)
Recomendações : Uma boa aceleradora gráfica, joypad / joystick.
Licença : Freeware / código fechado.
Status : Completo.
Tamanho do download : 7 MB

BAIXAR AGORA

Read more...

sudo apt-get married

Thursday, January 8, 2009

Read more...

sudo apt-get married

Read more...

10 games I play on Linux with Wine

Tuesday, December 23, 2008

As most Linux users should know, wine allows Windows applications to run on Linux. Please note that wine is not an emulator. WINE = "Wine Is Not an Emulator". Saying that wine is an emulator of Windows would be the same as saying that DirectX is an emulator of DirectX, or even saying that the implementation of the OpenGL on NVIDIA drivers is an emulator of OpenGL. Wrong! Wine is actually an implementation of Windows API in Linux. A compatibility layer. Basically it reads the Windows executables and DLLs, and converts their calls to Linux native calls.

As most Linux users should also know, there are few games developed natively for Linux. However, one of the biggest advantages of wine is that it brings its own implementation of DirectX, compatible with Micro$oft's DirectX. This means that many, many games originally made for Windows will run on Linux.

To find out if a certain game works well on Linux, just look for it here: http://appdb.winehq.org (Wine Application Database). It's also useful to find tips, sometimes necessary to run some games.

Well enough talk, and check out 10 of the games that I like to play with wine, with screenshots and everything.

Note: I am using Kubuntu 8.04, and wine 1.1.10.




Warcraft III : The Frozen Throne





TrackMania Nations Forever





SimCity 4






Nintendo 64 emulator Project64 + Mario Kart 64





Prince of Persia : Sands of Time





Oblivion





nullDC-naomi + Capcom vs. SNK 2





GTA Vice City





Command & Conquer Generals. This one needs hacked wine (http://www.oliverdeisenroth.de/index.php). This is a special version of wine with some patches that have not yet made to the main tree, such as support for animated cursors.






Double Dragon Forever 0.9 beta. You may say: "This is self promotion!" Of course it is! Download it here!




Read more...

10 jogos que eu jogo no Linux com o Wine

Como a maioria dos usuários de Linux deve saber, o wine permite que aplicativos feitos para Windows funcionem no Linux. Notem que o wine não é um emulador. WINE = "Wine Is Not an Emulator". Dizer que o wine é um emulador de Windows seria o mesmo que dizer que o DirectX é um emulador de DirectX, ou mesmo que a implementação do OpenGL nos drivers da NVIDIA é um emulador de OpenGL. Errado! O wine é na verdade uma implementação da API Windows no Linux, uma camada de compatibilidade. Falando de forma grosseira, ele lê os executáveis e DLLs do Windows, os interpreta, e converte as suas chamadas para chamadas nativas do Linux.

Como a maioria dos usuários do Linux também deve saber, existem poucos jogos desenvolvidos nativamente para Linux. Porém uma das maiores vantagens do wine é que ele traz consigo sua própria implementação do DirectX, compatível com o DirectX da Micro$oft. Isto significa que muitos e muitos dos jogos feitos originalmente para Windows funcionam no Linux.

Para saber se um determinado jogo funciona bem no Linux, basta procurar por ele aqui: http://appdb.winehq.org/index.php (Wine Application Database). Também é útil para encontrar dicas, muitas vezes necessárias para rodar determinados jogos.

Bem chega de blá-blá-blá, e vejam 10 dos jogos que eu gosto de jogar com wine, com screenshots e tudo.

OBS: Estou usando aqui o Kubuntu 8.04, o wine 1.1.10.



Warcraft III : The Frozen Throne
Clássico!





TrackMania Nations Forever





SimCity 4






O emulador de Nintendo 64 Project64 + Mario Kart 64





Prince of Persia : Sands of Time





Oblivion





nullDC-naomi + Capcom vs. SNK 2





GTA Vice City





Command & Conquer Generals. Este aqui precisa do hacked wine ( http://www.oliverdeisenroth.de/index.php ). Trata-se de uma versão especial do wine com alguns patches que ainda não chegaram na árvore principal, como por exemplo o suporte a cursores animados.






Double Dragon Forever 0.9 beta. Mas você pode dizer: "Isto é auto-promoção!" Mas é claro que é! Baixe ele aqui!




Read more...

MultiJoy Plugin para o DarkBASIC Professional

Saturday, December 20, 2008

Um dos problemas com Dark BASIC Professional é que originalmente ele não suporta vários joysticks. O MultiJoy Plugin oferece um fácil e eficiente conjunto de novos comandos para suportar múltiplas joysticks / joypads / dispositivos de entrada no seu jogo ou programa. Ele suporta qualquer controlador compatível com DirectInput, até 16 dispositivos, tanto analógicos quanto digitais, até 6 eixos e até 256 botões por dispositivo. Originalmente concebido para trabalhar com DarkBASIC Professional, ele é compatível DarkBASIC Classic, e ele pode ser usado com qualquer outra linguagem de programação que suporte chamadas DLL. Ele inclui os comandos JOY STATE e JOY SCANCODE, que são perfeitos para jogos com input personalizável. Uma vez instalado no DarkBASIC Pro, você não precisa de nenhum arquivo externo, ou wrapper DLL para que ele funcione. MultiJoy Plugin irá evitar alguns bugs e a perda de velocidade dos comandos originais do DarkBASIC Professional. Além disso, existem comandos extras não presentes originalmente no DarkBASIC Professional, que podem ser muito úteis. Aqui está uma lista dos comandos:

Comandos para Joystick/Joypad:

JOY START
JOY LAST
JOY EXIST
JOY LAST BUTTON
JOY LAST AXIS
JOY POLL
JOY POLL ALL
JOY X AXIS
JOY Y AXIS
JOY Z AXIS
JOY AXIS
JOY X
JOY Y
JOY BUTTON
JOY ANY BUTTON
JOY SCANCODE
JOY STATE
JOY DIR
JOY SET DEADZONE
JOY POV
JOY POV EXIST
JOY POV DIR


Limites do MultiJoy:

Number of devices: 16
Number of axis: 6
Number of buttons: 256


Comandos extra:

RANGE
WRAP
LMID$
GET STRING$
SEARCH STRING
PROCESS STRING QUEUE$
STRING WORD WRAP$
CRYPT STRING$
CRYPT STRING TO CHR$
UNCRYPT STRING$
MAKE FILE FROM STRING
MAKE STRING FROM FILE$
WRITE MEMBLOCK STRING
READ MEMBLOCK STRING$
FILE BOX$
INPUT BOX$
DIRECTORY BOX$
INI READ$
INI WRITE
MY IP$
GET TEMP DIR$
GET USERNAME$
GET ENVIRON$
YESNO
POPUP


MultiJoy Plugin pode ser comprado on-line com PayPal por apenas US$ 10,00. Enviando o pagamento você o reberá por email. O preço é justo, e ele vai me ajudar a continuar a trabalhar neste plugin e também em outros projetos que poderão ser úteis para a comunidade DarkBASIC. Todos os usuários registrados receberão gratuitamente as atualizações, e eles têm permissão para utilizar o plugin em seus programas gratuitos ou comerciais.


COMPRAR MULTIJOY PLUGIN PARA O DARKBASIC PROFESSIONAL



Read more...

Recomeçando

Como vocês podem ver, estou retomando meu trabalho nesta página. Postarei artigos principalmente sobre jogos, Linux e wine.
Além disso, vou dar informação atualizadas sobre os jogos que estou desenvolvendo, incluindo a continuação de "DarkPhear" (ainda sem nome), e o fangame quase acabado "Double Dragon Forever".

Read more...

MultiJoy Plugin For DarkBASIC Professional

One of the problems with Dark BASIC Professional is that it doesn't originally support multiple joysticks. MultiJoy Plugin gives you an easy and efficient set of new commands to support multiple joysticks/joypads/input devices in your game or program. It supports any windows compatible controller, up to 16 devices, both analog and digital, up to 6 axis and up to 256 buttons per device. Originally designed to work with DarkBASIC Professional, it's compatible with DarkBASIC Classic, and it can be used with any other programming language that supports DLL calls. It includes the JOY SCANCODE and JOY STATE commands, wich are great for games with customizable input. Once installed in Dark BASIC Pro, you don't need any external files, DLL calls or wrapper functions to make it work. MultiJoy Plugin will avoid some nasty bugs and speed loss from the original Dark BASIC Professional joystick commands. Also, there are extra commands wich are very useful, and not present in Dark BASIC Professional. Here's a list of the current commands:

Joystick/Joypad commands:

JOY START
JOY LAST
JOY EXIST
JOY LAST BUTTON
JOY LAST AXIS
JOY POLL
JOY POLL ALL
JOY X AXIS
JOY Y AXIS
JOY Z AXIS
JOY AXIS
JOY X
JOY Y
JOY BUTTON
JOY ANY BUTTON
JOY SCANCODE
JOY STATE
JOY DIR
JOY SET DEADZONE
JOY POV
JOY POV EXIST
JOY POV DIR


MultiJoy limits:

Number of devices: 16
Number of axis: 6
Number of buttons: 256


Extra commands:

RANGE
WRAP
LMID$
GET STRING$
SEARCH STRING
PROCESS STRING QUEUE$
STRING WORD WRAP$
CRYPT STRING$
CRYPT STRING TO CHR$
UNCRYPT STRING$
MAKE FILE FROM STRING
MAKE STRING FROM FILE$
WRITE MEMBLOCK STRING
READ MEMBLOCK STRING$
FILE BOX$
INPUT BOX$
DIRECTORY BOX$
INI READ$
INI WRITE
MY IP$
GET TEMP DIR$
GET USERNAME$
GET ENVIRON$
YESNO
POPUP


MultiJoy Plugin can be bought online with PayPal for only $10. After you send the payment you will receive it by email. The price is fair, and it will help me continue working on this plugin and also other projects that may be useful for the DarkBASIC community. All registered users will get free updates, and they are allowed to use the plugin in their free or commercial programs.


BUY MULTIJOY PLUGIN FOR DARKBASIC PROFESSIONAL



Read more...

Starting over

As you can see I'm resuming my work on this page. I'll be posting articles, mostly about games, Linux, and wine.
Also, I will give updated information about the games I'm developing, including the upcoming "DarkPhear" sequel (no name yet), and the almost finished fangame "Double Dragon Forever".

Read more...

Double Dragon Forever TODO list

Thursday, May 29, 2008

`-source code: add a lot of comments and clean it (WIP)
`-add if ground condition on autopilot
`-fix hiscore reseting on gameover
`-fix weapon damage
`-add color select indication
`-implement required game level and number of players for enemy spawn
`-fix ai strange behaviour with holes
`-add player select on continue/join-in
`-abobo break walls
`-fix enemy bike ride (bike=weapon)
`-fix sprites: bertha schin kunio roper burnov dd2will dd2roper
`-add lastb and gensetsu special moves
`-add combined attack on air throw and on hurricane kick
`-add intro sequence and endgame(s)

Read more...

TODO list

Tuesday, March 11, 2008

`-fix weapon damage
`-add bomb weapontype
`-abobo break walls
`-implement required game level and number of players for enemy spawn
`-fix enemy bike ride (bike=weapon)
`-fix ai strange behaviour with holes
`-add if ground condition on autopilot
`-ai retreat on player attack
`-fix sprites: bertha schin kunio roper
`-compile Burnov sprite
`-add dd2 Will and Roper
`-add combined attack on air throw
`-add combined attack on hurricane kick
`-add air air throw (player and enemy fall together)
`-add color select indication
`-whip/chain use frames 64-67. Make knife depend on 64 and whip on 65. Add frames 64 and 66 for non-whip users but knife throwers.
`-add lastb special moves
`-add gensetsu special moves
`-add player select on continue/join-in
`-add endgame(s)
`-add intro sequence
`-hiscore reseting on gameover

Read more...

TODO list

Saturday, March 1, 2008

`-add bomb weapontype
`-make enemies turn to the correct side on respawn
`-abobo break walls
`-add Willy, Chin and sChin sounds. fix Linda.
`-add endgame(s)
`-add intro sequence
`-make enemyes go 0 life when boss is killed
`-fall deeper on holes
`-enemies going down ladders without the correct frames
`-implement required game level and number of players for enemy spawn
`-spawn weapon only once for non-knife weapon types
`-throw can't hurt thrower (use ptarget)
`-hide weapon on elevator autopilot
`-fix enemy bike ride (bike=weapon)
`-fix ai strange behaviour with holes
`-add if ground condition on autopilot
`-fazer ai recuar quando player bate
`-fix enemy sprites: bertha schin kunio roper
`-compile Burnov sprite
`-add combined attack on air throw
`-add combined attack on hurricane kick
`-add air air throw (player and enemy fall together)
`-add player select on continue/join-in
`-whip/chain use frames 64-67. Make knife depend on 64 and whip on 65. Add frames 64 and 66 for non-whip users but knife throwers.

Read more...

Double Dragon Fovever 0.9 beta released.





Download now:
Double Dragon Forever v0.9 beta

Read more...

TODO list for DDF 0.9...

Sunday, January 6, 2008

`-add knife/whip/bat sounds
`-fix "go" thing
`-player will die if he falls from too high (temple)
`-fix bertha sprite
`-fix schin sprite
`-fix kunio sprite
`-fix roper sprite
`-fix mountain background
`-fix whip weapontype
`-add endgame(s)
`-add player select on continue/join-in
`-add combined attack on air throw
`-add combined attack on hurricane kick

Read more...

Double Dragon Forever gameplay video



Read more...

Double Dragon Forever 0.9 Release Date Set : February 29th, 2008.

Thursday, January 3, 2008





A few more screenshots.

Read more...

Double Dragon Forever

Tuesday, December 4, 2007



A few images of my "DOUBLE DRAGON FOREVER" running on Kubuntu Linux.

Read more...
Easy-Share









template by Ourblogtemplates.com
©Copyright 2009, Cleber de Mattos Casali. All rights reserved.