Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Tópicos - Alyscom

Páginas: [1] 2 3 ... 5
1
Café com Ubuntu / Feliz Ano Novo!
« Online: 01 de Janeiro de 2011, 00:15 »
Feliz Ano Novo pessoal! 

Desejo a todos aqui uma ótima virada de ano  e muitas felicidades no decorrer dele. Que a gente ganhe mais dinheiro, mais paz, mais saúde, mais amor e tudo de bom que puder vir! E que todos possam evoluir cada vez mais com o Blender para que tenham seu primeiro trabalho ou que pesquem um peixe maior! Tudo de bom pra vocês.

E, lembrem-se: humildade acima de tudo.

Edit: Mais amor pra quem já tem parceira/parceiro. E mais mulher pra quem tá no colt.

Abraço,
Alysson

2
Hardware e Periféricos / Partição ext4 inacessível
« Online: 30 de Outubro de 2010, 04:50 »
Olá pessoal! :)
Vim pedir ajuda a vocês, pois não estou conseguindo acessar a partição que esta o Ubuntu!

Tenho dois HDs de 80gb cada
No primeiro tem 3 partições, uma com 20gb para o Ubuntu 10.04, outra com 57gb para o Kubuntu 10.04 e outra com 2gb para a swap.
No segundo tem 3 partições também, só que para arquivos somente, uma com 47gb, outra com 20gb e outra com 10gb.

Meu fstab:
Citar
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=96beca8a-d287-4733-9de0-06650daa9fa7 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=2d42541a-e3db-4cde-bd94-fb7fbf63310d none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Saida do comando sudo fdisk -l
Citar
Disco /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador do disco: 0x0009a06f

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1        2550    20482843+  83  Linux
/dev/sda2            2551        9730    57666561    5  Estendida
/dev/sda5            2551        9487    55713792   83  Linux
/dev/sda6            9487        9730     1951744   82  Linux swap / Solaris

Disco /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador do disco: 0x0e530e52

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sdb1               2        3824    30708247+   f  Win95 (LBA) Partição Extendida
/dev/sdb2   *        3825        9728    47416288+   7  HPFS ou NTFS
/dev/sdb5               2        1276    10241406    7  HPFS ou NTFS
/dev/sdb6            1277        3824    20465664    7  HPFS ou NTFS

Tipo, eu não sei oque está avendo, até ontem a tarde estava funcionando normalmente!! Ai desliguei o PC e fui dormir, depois, quando fui fui liga-lo novamente, ele não apareceu mais o grub!!
Em busca de alguma salvação, eu formatei a partição em que estava o Kubuntu e depois instalei ele de novo, o grub apareceu, mas a apertição em que estava o ubuntu(que é a que eu preciso) não! :/

Alguma opinião do que seja?

3
Café com Ubuntu / [DUV] PhysX & Havok no Linux em geral
« Online: 04 de Junho de 2010, 04:05 »
Olá pessoal :)
Estou querendo criar alguns games que iram utilizar uma dessas engines física, porém não consegui encontrar realmente nada que mostrassem que eles realmente funcionam ou não no linux  :(

Alguém de vocês, por acaso, saberiam me informar isso direito?

Digo.. Não precisam estar instalados no Linux, só se funcionam depois de pronto e tal!! :)


[]'s


Alyscom

4
Aplicativos / Compile Ogre3d [Resolvido]
« Online: 02 de Maio de 2010, 19:33 »
Olá pessoal, estou tentando instalar o Ogre3d aqui, porém não sei o que faço para poder compilar ele aqui no Ubuntu! :-\
Na pasta estão esses arquivos aqui
Citar
AUTHORS
BuildingOgre.txt  
CMakeLists.txt  
COPYING  
OgreMain  
PlugIns  
RenderSystems  
Scripts  
Tests
BUGS    
CMake
Components
Docs
Other
README
Samples
SDK
Tools

E o README contem isso escrito lá
Citar
Please read ReadMe.html in the Docs folder.

-----

OGRE (www.ogre3d.org) is made available under the MIT License.

Copyright (c) 2000-2009 Torus Knot Software Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

E o ReadMe.html contem isso
Código: [Selecionar]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252">
  <title>OGRE Readme</title>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body bgcolor="#003300" dir="ltr" lang="en-US" link="#ffff00" text="#ccffcc">
<p class="header" align="center"><img alt="" src="ogre-logo-wetfloor.gif"
width="235" height="78"></p>
<p class="header" align="center">OGRE (Object-Oriented Graphics
Rendering Engine)</p>
<p class="header" align="center">Source Distribution README file</p>
<p class="header" align="center"><a href="http://www.ogre3d.org/">http://www.ogre3d.org</a></p>
<p class="mainheader" align="left">Summary</p>
<p>OGRE (Object-Oriented Graphics Rendering Engine) is a
scene-oriented, flexible 3D engine written in C++ designed to make it
easier and more intuitive for developers to produce games and demos
utilising 3D hardware. The class library abstracts all the details of
using the underlying system libraries like Direct3D and OpenGL and
provides an interface based on world objects and other intuitive
classes.
</p>
<p class="mainheader" align="left">Index Of Contents</p>
<p class="newsdate"><a href="ChangeLog.html">What's New?</a></p>
<p>A summary of the new and altered features in this release.
</p>
<p class="newsdate"><a href="http://www.ogre3d.org/about/features">Features</a></p>
<p class="maincontent">A summary of OGRE's main features.</p>
<p class="newsdate"><a href="http://www.ogre3d.org/wiki/index.php/Building_From_Source">Building
the core OGRE libraries</a></p>
<p class="maincontent">If you're using the full source release, this will help you build it. If you're using a precompiled SDK then most of the work has already
been done for you, and you should use the sample projects to see how to compile your own code against OGRE. </p>
<p class="newsdate"><a href="manual/index.html">The OGRE Manual</a></p>
<p>A high-level guide to the major parts of the engine and script reference.
</p>
<p class="newsdate"><a href="api/html/index.html">API Reference</a></p>
<p class="maincontent">The full OGRE API documentation, as generated
from the (heavily!) commented source.</p>
<a style="font-weight: bold;" href="http://www.ogre3d.org/wiki">The OGRE
Wiki</a>
<p>A gold mine of tutorials, tips and code snippets which will help
you get up to speed with the engine.</p>

</p>
<p class="mainheader" align="left">Contributing</p>
<p align="left">We welcome all contributions to OGRE, be that new
plugins, bugfixes, extensions, tutorials, documentation, example
applications, artwork or pretty much anything else! If you would like
to contribute to the development of OGRE, please go to
the <a href="http://www.ogre3d.org/">web site </a>and click on the
'Developers' link.</p>
<p class="mainheader" align="left">Keeping Up To Date</p>

<p align="left">The best place to keep up to date with developments on
OGRE is the <a href="http://www.ogre3d.org/">Official Web Site</a>.
From there you can download the latest source code and documentation.
You can choose between keeping bang up to date with Subversion
or by just getting the regularly released snapshots.</p>

<p align="left">The changes included in this current version can be
viewed on the <a href="ChangeLog.html">ChangeLog</a>.
</p>
<p class="mainheader" align="left">Getting Support</p>
<p align="left">Please use our <a href="http://www.ogre3d.org/forums">community support forums</a> if you need help or
think you may have found a bug. </p>

<p class="mainheader" align="left">Licensing</p>
<p>Please see the <a href="License.html">full license documentation</a> for details.


</body>
</html>
Copie e salve em um documento com o formato .html


Não entendi nada do que esta escrito ai, por isso aguardo a ajuda de vocês para poder instalar esse aplicativo! :)

ps.: Eu procurei bastante, porém só encontrei como instalar no sistema da janelas! :P


[]'s


Alyscom

5
Gnome / Apoio na construção de um novo tema "Metacity"
« Online: 26 de Abril de 2010, 11:09 »
Olá pessoal, estou construindo um novo tema, porem não estou tendo muito sucesso
Estou tentando mudar a cor das bordas da janela

Essas bordas seriam:
Citar
title_border 'top' attribute
left_width
right_width
botton_height

Estou 'tentando' seguir oque diz aqui e aqui, mas como não entendo muito bem inglês, não estou me achando! :-\

Oque eu queria? Bom.. O nome do tema o qual estou destrinchando é 'Small Enough For A Net Book, Fit For All' e foi feito por Eric Matthews em Jan 2006, e como disse lá em cima 'eu quero mudar a cor das bordas'!

Aqui vai o metacity-theme-1.xml para quem quiser olhar 'e' se alguém quiser, me ajudar!
metacity-theme-1.xml

Creio eu que, a parte a qual eu devo editar é essa:
Código: [Selecionar]
<!-- Window Borders -->

<draw_ops name="corners_rounded_top">

<!-- left Corner -->
<line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="2" x2="1" y2="4"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="3" y1="1" x2="4" y2="1"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="2" y1="2" x2="2" y2="2"/>

<!-- Right Corner -->
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width - 2" y1="2" x2="width - 2" y2="4"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width - 4" y1="1" x2="width - 5" y2="1"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width - 3" y1="2" x2="width - 3" y2="2"/>

</draw_ops>

<draw_ops name="corners_rounded_bottom">

<!-- left Corner -->
<line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="height-5" x2="1" y2="height-4"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="2" y1="height-3" x2="2" y2="height-3"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="3" y1="height-2" x2="4" y2="height-2"/>

<!-- Right Corner -->
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width - 2" y1="height-5" x2="width - 2" y2="height-4"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width - 3" y1="height-3" x2="width - 3" y2="height-3"/>
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width - 4" y1="height-2" x2="width - 5" y2="height-2"/>

</draw_ops>

<draw_ops name="outline">
<rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width - 1" height="height - 1"/>

<!-- shadow outside LRB -->
<tint color="#000000" alpha="0.07" x="1" y="5" width="1" height="height-7"/>
<tint color="#000000" alpha="0.07" x="width-2" y="5" width="1" height="height-7"/>
<tint color="#000000" alpha="0.07" x="1" y="height-2" width="width-2" height="1"/>
<!-- shadow inside LRB -->
<tint color="#000000" alpha="0.03" x="2" y="3" width="1" height="height-6"/>
<tint color="#000000" alpha="0.03" x="width-3" y="3" width="1" height="height-6"/>
<tint color="#000000" alpha="0.03" x="2" y="height-3" width="width-4" height="1"/>

<!-- highlights Top & Corners-->
<tint color="#ffffff" alpha="0.30" x="5" y="1" width="width-10" height="1"/>
<tint color="#ffffff" alpha="0.20" x="3" y="2" width="2" height="1"/>
<tint color="#ffffff" alpha="0.20" x="width-5" y="2" width="2" height="1"/>

</draw_ops>

Correto? Se for, oque devo mudar?

Agradeço desde já!! :D


[]'s


Alyscom

6
Aplicativos / Visual de Aplicações QT no Gnome
« Online: 24 de Abril de 2010, 13:01 »
Pois então pessoal, procurei e não achei, perguntei no IRC e ninguém me respondeu!  :P

Bom.. Se estivesse no kubuntu eu saberia resolver, mais como não estou, não sei nem por onde começar
Alguma dica?

Aviso: Eu já fiz oque diz aqui e continuou igual!


[]'s


Alyscom

7
Aplicativos / Dock leve e sem frescuras
« Online: 18 de Abril de 2010, 19:29 »
Olá pessoal queria saber uma coisa, de todos os dock's que existem para Linux, qual deles é o mais leve??


[]'s


Alyscom

8
Iniciantes / Problema após comando
« Online: 14 de Abril de 2010, 16:55 »
Olá andei fazendo k-gada e mexendo no que não devia, fui tentar fazer oque diz este site aqui, e após dar o comando:
Código: [Selecionar]
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop falseMeu Ubuntu ficou louco e não consegui mais fazer nada! :(

Alguma solução?????


[]'s


Alyscom

9
Sistema / Sera um novo problema?
« Online: 10 de Abril de 2010, 10:27 »
Olá pessoal, estou tentando entrar no modo texto digitando ctrl+alt+f1, mais o problema é que não estou conseguindo logar, fica aparecendo umas mensagens dizendo:
Código: [Selecionar]
[    80.656565] serial8250: too much work for irq23Alguma solução?? :-\


[]'s


Alyscom

10
Gnome / Trocar o tema via linha de comando
« Online: 03 de Abril de 2010, 19:48 »
Olá pessoal!!  :)
Bom.. Ontem fui instalar uns temas no ubuntu de um amigo, mas não sei de que jeito deu problema no tema, deixando a área de trabalho inacessível!

Minha duvida é o seguinte, posso mudar o tema via linha de comando?? Se posso, como faço para mudar??

[]'s

Alyscom

11
A poucos dias atrás descobri um script que automatiza e facilita a instalação do Adobe Photoshop CS4 no linux através do PlayOnLinux, pois achei muito legal e vim compartilhar com vocês!!

Para quem quiser aqui está ele:
Código: [Selecionar]
#!/bin/bash
#INIT SCRIPT PLAYONLINUX.COM
#Is playonlinux running?
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Load & Check dependencies
source "$PLAYONLINUX/lib/sources"
cfg_check
 
#Cleaning temp directory:
cd $REPERTOIRE/tmp
rm *.*
 
##Translation:
if [ "$POL_LANG" == "fr" ]; then
INSTALL="En attente de l'installation de Photoshop CS4..."
FINISH="Photoshop CS4 à été installé avec succes."
FILELOCATION="Veuillez selectionner le fichier .exe d'installation."
else
INSTALL="Installing Photoshop CS4..."
FINISH="Photoshop CS4 has been sucessfully installed."
FILELOCATION="Please select the .exe installation file."
fi
 
#---------------------------------------------------------------------------------
#Script Begins Here
#---------------------------------------------------------------------------------
 
POL_SetupWindow_Init "" ""
 
#Setup Window
POL_SetupWindow_presentation "Adobe Photoshop CS4" "Adobe" "http://www.adobe.com/products/photoshop/?promoid=BPDEC" "ljmellor" "PSCS4"
 
#select wine version for install...
POL_SetupWindow_install_wine "1.1.17"
Use_WineVersion "1.1.17"
 
#Create Install Directory
select_prefix "$HOME/.PlayOnLinux/wineprefix/PSCS4/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_reboot
 
#winetricks...
mkdir -p $REPERTOIRE/tmp/PSCS4
TEMPDIR="$REPERTOIRE/tmp/PSCS4"
wget http://www.kegel.com/wine/winetricks -P $TEMPDIR
bash $TEMPDIR/winetricks msxml6 gdiplus gecko vcrun2005 ie6
 
#Install Photoshop CS4
POL_SetupWindow_browse "$FILELOCATION" "Photoshop CS4"
FILE="$APP_ANSWER"
POL_SetupWindow_wait_next_signal "$INSTALL" "Photoshop CS4"
wine "$FILE"
 
POL_SetupWindow_detect_exit
 
#select wine version for running...
POL_SetupWindow_install_wine "1.1.22"
Set_WineVersion_Assign "1.1.22" "PSCS4"
 
#cleaning the folder of the temporary files
rm -r $TEMPDIR
 
#Shortcut
POL_SetupWindow_make_shortcut "PSCS4" "Program Files/Adobe/Adobe Photoshop CS4/" "Photoshop.exe" "" "PSCS4"
 
POL_SetupWindow_message "$FINISH" "Photoshop CS4"
POL_SetupWindow_Close
Copie para dentro de um editor de texto(gedit, etc.. ) e salve com o nome que desejar, mas lembrem-se, Este script funciona somente no PlayOnLinux!!

Para fazer funcionar faça assim: Abra o PlayOnLinux vá até a aba Tools e em Run a non-official script, agora é só abrir o script recém criado!!  :)


__________________________________________________________________________________________________
Boa sorte a todos! ;)


[]'s


Alyscom

12
A poucos dias atrás descobri um script que automatiza e facilita a instalação do Adobe Dreamweaver CS4 no linux através do PlayOnLinux, pois achei muito legal e vim compartilhar com vocês!!

Para quem quiser aqui está ele:
Código: [Selecionar]
#!/bin/bash
#INIT SCRIPT PLAYONLINUX.COM
#Is playonlinux running?
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Load & Check dependencies
source "$PLAYONLINUX/lib/sources"
cfg_check
 
#Cleaning temp directory:
cd $REPERTOIRE/tmp
rm *.*
 
##Translation:
if [ "$POL_LANG" == "fr" ]; then
INSTALL="En attente de l'installation de Dreamweaver CS4..."
FINISH="Dreamweaver CS4 à été installé avec succes."
FILELOCATION="Veuillez selectionner le fichier .exe d'installation."
else
INSTALL="Installing Dreamweaver CS4..."
FINISH="Dreamweaver CS4 has been sucessfully installed."
FILELOCATION="Please select the .exe installation file."
fi
 
#---------------------------------------------------------------------------------
#Script Begins Here
#---------------------------------------------------------------------------------
 
POL_SetupWindow_Init "" ""
 
#Setup Window
POL_SetupWindow_presentation "Adobe Dreamweaver CS4" "Adobe" "http://www.adobe.com/products/dreamweaver/?promoid=BPDEC" "ljmellor" "DWCS4"
 
#select wine version for install...
POL_SetupWindow_install_wine "1.1.17"
Use_WineVersion "1.1.17"
 
#Create Install Directory
select_prefix "$HOME/.PlayOnLinux/wineprefix/DWCS4/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_reboot
 
#winetricks...
mkdir -p $REPERTOIRE/tmp/DWCS4
TEMPDIR="$REPERTOIRE/tmp/DWCS4"
wget http://www.kegel.com/wine/winetricks -P $TEMPDIR
bash $TEMPDIR/winetricks msxml6 gdiplus gecko vcrun2005 ie6
 
#Install Dreamweaver CS4
POL_SetupWindow_browse "$FILELOCATION" "Dreamweaver CS4"
FILE="$APP_ANSWER"
POL_SetupWindow_wait_next_signal "$INSTALL" "Dreamweaver CS4"
wine "$FILE"
 
POL_SetupWindow_detect_exit
 
#select wine version for running...
POL_SetupWindow_install_wine "1.1.22"
Set_WineVersion_Assign "1.1.22" "DWCS4"
 
#cleaning the folder of the temporary files
rm -r $TEMPDIR
 
#Shortcut
POL_SetupWindow_make_shortcut "DWCS4" "Program Files/Adobe/Adobe Dreamweaver CS4/" "Dreamweaver.exe" "" "DWCS4"
 
POL_SetupWindow_message "$FINISH" "Dreamweaver CS4"
POL_SetupWindow_Close
Copie para dentro de um editor de texto(gedit, etc.. ) e salve com o nome que desejar, mas lembrem-se, Este script funciona somente no PlayOnLinux!!

Para fazer funcionar faça assim: Abra o PlayOnLinux vá até a aba Tools e em Run a non-official script, agora é só abrir o script recém criado!!  :)


__________________________________________________________________________________________________
Boa sorte a todos! ;)


[]'s


Alyscom

13
A poucos dias atrás descobri um script que automatiza e facilita a instalação do Grand Theft Auto IV no linux através do PlayOnLinux, pois achei muito legal e vim compartilhar com vocês!!

Para quem quiser aqui está ele:
Código: [Selecionar]
#!/bin/bash
# Date : (2010-03-09 10-00)
# Last revision : (2010-03-09 10-00)
# Wine version used : 1.1.41
# Distribution used to test : Fedora 12
# Author : NSLW
# Licence : Retail
# Depend : ImageMagick, unrar
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TYTUL="Grand Theft Auto IV"
PREFIX="GTAIV"
PATCHFILE="GTAIV_MAINTENANCE_UPDATE_1004"
PATCHFILEUNP="GTAIV_TU5.exe"
WORKINGWINEVERSION="1.1.41"
 
LNG_DOWNLOADING="PlayOnLinux is downloading"
LNG_INSTALLING="PlayOnLinux is installing"
LNG_INSTALLATIONINPROGRESS="Installation in progress..."
LNG_INSERTMEDIA="Please insert first $TYTUL media into your disk drive."
LNG_CLICKNEXT1DVD="When the installer will ask you for 1st DVD, click NEXT."
LNG_CLICKNEXT2DVD="When the installer will ask you for 2nd DVD, click NEXT."
LNG_CLICKNEXT="Click NEXT when the installation will finish"
LNG_SUCCES="$TYTUL has been installed successfully."
LNG_PATCHSUCCES="Patch for $TYTUL has been installed successfully"
LNG_PATCHQ="It's recommended to patch the game. Do you want to do it now?"
LNG_PATCHM="Let me choose patch manually"
LNG_PATCHA="Download patch automatically"
LNG_GFXMEM="How much memory do your graphic card have got?"
LNG_CHOOSEACTION="What do you want to do?"
LNG_PATCH="Patch game"
LNG_UPDATEWINEVER="Update Wine version to"
LNG_INSTALLATIONNOTE="Installer will start soon after you click NEXT. Please:\n- don't change default installation directory\n- cancel online release date check at the end of installation"
 
if [ "$POL_LANG" == "pl" ]; then
LNG_DOWNLOADING="PlayOnLinux pobiera"
LNG_INSTALLING="PlayOnLinux instaluje"
LNG_INSERTMEDIA="Włóż pierwszy dysk $TYTUL do twojego napędu."
LNG_CLICKNEXT1DVD="Gdy instalator zapyta cię o pierwszą płytę DVD, naciśnij DALEJ."
LNG_CLICKNEXT2DVD="Gdy instalator zapyta cię o drugą płytę DVD, naciśnij DALEJ."
LNG_CLICKNEXT="Naciśnij DALEJ tylko wtedy gdy instalator zakończy."
LNG_SUCCES="$TYTUL został zainstalowany pomyślnie."
LNG_PATCHSUCCES="Łatka do $TYTUL została zainstalowana pomyślnie"
LNG_PATCHQ="Zalecane jest zainstalowanie łatki. Czy chcesz to zrobić teraz?"
LNG_PATCHM="Pozwól mi wybrać łatkę samodzielnie"
LNG_PATCHA="Pobierz łatkę automatycznie"
LNG_GFXMEM="Jak dużo pamięci ma twoja karta graficzna?"
LNG_CHOOSEACTION="Co chcesz zrobić?"
LNG_PATCH="Łataj grę"
LNG_UPDATEWINEVER="Zaktualizuj wersję Wine do"
LNG_INSTALLATIONNOTE="Instalator zacznie zaraz po tym jak naciśniesz DALEJ. Proszę:\n- nie zmieniaj domyślnego folderu instalacji\n- anuluj \"online release date check\" na koń** instalacji"
elif [ "$POL_LANG" == "de" ]; then
LNG_DOWNLOADING="PlayOnLinux ladet herunter"
LNG_INSTALLING="PlayOnLinux installiert"
LNG_INSERTMEDIA="Bitte lege erstes DVD $TYTUL in dein Laufwerk ein."
LNG_CLICKNEXT1DVD="Klicke WEITER wenn die Installation dich nach erste DVD fragt."
LNG_CLICKNEXT2DVD="Klicke WEITER wenn die Installation dich nach zweite DVD fragt."
LNG_CLICKNEXT="Klicke WEITER wenn Installation vorbei ist."
LNG_SUCCES="$TYTUL ist erfolgreich installiert worden."
LNG_PATCHSUCCES="Patch für $TYTUL ist erfolgreich installiert worden."
LNG_PATCHQ="Es ist Willst du ein Patch einspielen?"
LNG_PATCHM="Lass mich Patch selbst aussuchen"
LNG_PATCHA="Lade Patch automatisch herunter"
LNG_GFXMEM="Wie viel Speicher hat deine Grafikkarte?"
LNG_CHOOSEACTION="Was willst du machen?"
LNG_PATCH="Patch einspielen"
LNG_UPDATEWINEVER="Aktualisiere Wine Version zu"
LNG_INSTALLATIONNOTE="Die Installation wird starten sobald du WEITER klickst. Bitte:\n- ändere nich voreingestelltes Installation-Verzeichnis\n- anuliere \"online release date check\" am Ende der Installation"
elif [ "$POL_LANG" == "fr" ]; then
LNG_CLICKNEXT="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du jeu sera
terminée sous peine de devoir recommencer l'installation."
LNG_GFXMEM="La taille de votre mémoire graphique?"
LNG_PATCHSUCCES="Patch pour $TYTUL installé avec succès"
fi
 
POL_SetupWindow_make_icon_for_shortcut()
{
convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
}
 
#procedure for patching GTA IV
patch_GTAIV()
{
POL_SetupWindow_menu "$LNG_CHOOSEACTION" "Actions" "$LNG_PATCHM~$LNG_PATCHA (ca. 100MB)" "~"
if [ "$APP_ANSWER" == "$LNG_PATCHM" ]; then
POL_SetupWindow_browse "Where is your patch located ?" "$TYTUL" ""
POL_SetupWindow_wait_next_signal "$LNG_INSTALLATIONINPROGRESS" "$TYTUL"
wine "$APP_ANSWER"
POL_SetupWindow_detect_exit
elif [ "$APP_ANSWER" == "$LNG_PATCHA (ca. 100MB)" ]; then
 
cd "$REPERTOIRE/ressources"
if [ ! -e "$PATCHFILEUNP" ]; then
POL_SetupWindow_download "$LNG_DOWNLOADING $PATCHFILE(a.k.a. 1.0.5.0)" "$TYTUL" "http://updates.rockstargames.com/patches/gtaiv/$PATCHFILE.rar"
unrar e "$PATCHFILE.rar"
rm -f "$PATCHFILE.rar"
fi
POL_SetupWindow_wait_next_signal "$LNG_INSTALLATIONINPROGRESS" "$TYTUL"
wine "$PATCHFILEUNP"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$LNG_PATCHSUCCES" "$TYTUL"
fi
}
 
download_TEXP70()
{
cd "$REPERTOIRE/ressources/"
if [ ! -e "$WORKINGWINEVERSION-mod.zip" ]; then
POL_SetupWindow_download "$LNG_DOWNLOADING TEXP70 patch\n(written by Yoann Laissus\n(corrected by David Kejzlar)" "$TYTUL" "http://s2.sigmirror.com/files/63363_sssrl/$WORKINGWINEVERSION-mod.zip"
fi
cd "$WINEPREFIX/drive_c/windows/temp/"
unzip "$REPERTOIRE/ressources/$WORKINGWINEVERSION-mod.zip"
./$WORKINGWINEVERSION-mod -y
cp gta4/* ./
}
 
Create_Patched_Wine_Version()
{
POL_SetupWindow_install_wine "$1"
cd "$REPERTOIRE/WineVersions"
POL_SetupWindow_wait_next_signal "Removing old patched Wine" "$TYTUL"
rm -fr "$1-$2"
POL_SetupWindow_detect_exit
 
POL_SetupWindow_wait_next_signal "Copying Wine $1" "$TYTUL"
cp -r "$1" "$1-$2"
POL_SetupWindow_detect_exit
 
POL_SetupWindow_wait_next_signal "Patching Wine $1 with TEXP70 patch" "$TYTUL"
rm -fr "$REPERTOIRE/WineVersions/$1-$2/usr/lib/wine/wined3d.dll.so"
cp "$WINEPREFIX/drive_c/windows/temp/wined3d.dll.so" "$REPERTOIRE/WineVersions/$1-$2/usr/lib/wine/wined3d.dll.so"
POL_SetupWindow_detect_exit
}
 
#starting the script
wget http://upload.wikimedia.org/wikipedia/en/0/09/GTAIV_Logo.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
wget http://upload.wikimedia.org/wikipedia/de/b/b6/GTA_IV_Logo.svg --output-document="$REPERTOIRE/tmp/topnotscaled.jpeg"
convert "$REPERTOIRE/tmp/topnotscaled.jpeg" -scale 60x60 "$REPERTOIRE/tmp/top.jpeg"
POL_SetupWindow_Init "$REPERTOIRE/tmp/top.jpeg" "$REPERTOIRE/tmp/left.jpeg"
 
POL_SetupWindow_presentation "$TYTUL" "Rockstar Games" "www.rockstargames.com/IV/" "NSLW" "$PREFIX"
 
#checking if unrar is installed
check_one "unrar" "unrar"
POL_SetupWindow_missing
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
 
#asking about patching
if [ -e "$REPERTOIRE/configurations/installed/$TYTUL" ]; then
POL_SetupWindow_menu "$LNG_CHOOSEACTION" "Actions" "$LNG_PATCH~$LNG_UPDATEWINEVER $WORKINGWINEVERSION" "~"
 
if [ "$APP_ANSWER" == "$LNG_PATCH" ]; then
patch_GTAIV
elif [ "$APP_ANSWER" == "$LNG_UPDATEWINEVER $WORKINGWINEVERSION" ]
then
download_TEXP70
Create_Patched_Wine_Version "$WORKINGWINEVERSION" "GTA4"
CHOSENWINEVERSION="$WORKINGWINEVERSION-GTA4"
Set_WineVersion_Assign "$CHOSENWINEVERSION" "$TYTUL"
Set_WineVersion_Assign "$CHOSENWINEVERSION" "$TYTUL Safe Mode"
fi
 
POL_SetupWindow_Close
exit
fi
 
#asking for CDROM and checking if it's correct one
POL_SetupWindow_message "$LNG_INSERTMEDIA"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "GTAIV/setup.exe"
 
#downloading specific Wine
POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
Use_WineVersion "$WORKINGWINEVERSION"
 
#creating application's own prefix
POL_SetupWindow_prefixcreate
 
#creating patched Wine version
download_TEXP70
Create_Patched_Wine_Version "$WORKINGWINEVERSION" "GTAIV"
CHOSENWINEVERSION="$WORKINGWINEVERSION-GTAIV"
 
#fetching PROGRAMFILES environmental variable
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
 
#adding CD-ROM as drive e: to winecfg
cd "$WINEPREFIX/dosdevices"
ln -s "$CDROM" e:
 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg
echo "\"e:\"=\"cdrom\"" >> cdrom.reg
regedit cdrom.reg
sleep 5
 
POL_SetupWindow_message_image "$LNG_INSTALLATIONNOTE" "Note about installation process" "$PLAYONLINUX/themes/tango/info.png"
 
#starting installation
wine start /unix "$CDROM/Autorun.exe"
POL_SetupWindow_message "$LNG_CLICKNEXT2DVD" "$TYTUL"
wine eject
POL_SetupWindow_message "$LNG_CLICKNEXT1DVD" "$TYTUL"
wine eject
POL_SetupWindow_message "$LNG_CLICKNEXT" "$TYTUL"
wine eject
 
#asking about memory size of graphic card
POL_SetupWindow_menu_list "$LNG_GFXMEM" "$TYTUL" "128-256-320-384-512-640-768-896-1024-1792-2048" "-" "256"
VMS="$APP_ANSWER"
 
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
regedit vms.reg
 
#downloading xliveless because xlive don't work under linux
cd "$REPERTOIRE/ressources"
if [ ! -e "xliveless-0.99b1.rar" ]; then
POL_SetupWindow_download "$LNG_DOWNLOADING xliveless 0.99b1" "$TYTUL" "http://public.sannybuilder.com/GTA4/xliveless-0.99b1.rar"
fi
cd "$WINEPREFIX/drive_c/windows/temp/"
POL_SetupWindow_wait_next_signal "$LNG_INSTALLING xliveless 0.99b1" "$TYTUL"
unrar e "$REPERTOIRE/ressources/xliveless-0.99b1.rar"
mv xlive.dll "$WINEPREFIX/drive_c/$PROGRAMFILES/Rockstar Games/Grand Theft Auto IV/xlive.dll"
POL_SetupWindow_detect_exit
 
#cleaning temp
cd "$WINEPREFIX/drive_c/windows/temp/"
rm -rf *
 
#making shortcut
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Rockstar Games/Grand Theft Auto IV" "LaunchGTAIV.exe" "" "$TYTUL" "" ""
Set_WineVersion_Assign "$CHOSENWINEVERSION" "$TYTUL"
POL_SetupWindow_make_icon_for_shortcut "$TYTUL" "*_gtaiv.xpm"
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Rockstar Games/Grand Theft Auto IV" "LaunchGTAIV.exe" "" "$TYTUL Safe Mode" "" "-safemode"
Set_WineVersion_Assign "$CHOSENWINEVERSION" "$TYTUL Safe Mode"
POL_SetupWindow_make_icon_for_shortcut "$TYTUL Safe Mode" "*_gtaiv.xpm"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TYTUL"
 
POL_SetupWindow_message_image "Please note that this game has a copy protection system\nand sadly, it prevents Wine from running the game.\n\nPlayOnLinux will not provide any help concerning any illegal\nstuff." "Note about copy protection" "$PLAYONLINUX/themes/tango/warning.png"
 
#asking about patching
POL_SetupWindow_question "$LNG_PATCHQ" "$TYTUL"
if [ "$APP_ANSWER" == "TRUE" ] ;then
patch_GTAIV
fi
 
POL_SetupWindow_Close
exit
Copie para dentro de um editor de texto(gedit, etc.. ) e salve com o nome que desejar, mas lembrem-se, Este script funciona somente no PlayOnLinux!!

Para fazer funcionar faça assim: Abra o PlayOnLinux vá até a aba Tools e em Run a non-official script, agora é só abrir o script recém criado!!  :)

Esse script instala o Grand Theft Auto IV e também faz automaticamente o download e instalação do mais recente patch para o jogo (1.0.5.0).

Ícone para o jogo:




__________________________________________________________________________________________________
Boa sorte a todos! ;)


[]'s


Alyscom

14
Iniciantes / Repositórios [Resolvido]
« Online: 31 de MAR?O de 2010, 21:35 »
Olá, onde posso encontrar os arquivos gerados após recarregar o synaptic?? Eu não sei o nome desses arquivos por isso tirei uma ss

Alguém poderia me ajudar, dizendo onde posso encontrar esses arquivos??  :)

Agradeço desde já!


[]'s


Alyscom

15
Screenshots / Meu desk atualmente
« Online: 31 de MAR?O de 2010, 03:24 »
Olá pessoal, vim trazer umas SS de como está meu desktop atualmente!!

Esse é o tema que aplico quando está noite (Tema escuro)


Esse é o tema que aplico quando está dia (Tema claro)


Está bem básico, segue ai o nome dos itens que utilizei:
  • Fonte: Droid Sans @ 8px
  • Wallpaper:
    ,
  • Ícones:
    Voyager 0.5
  • Temas:
    Equinox
    The Days of Grays

É isso ai galera, espero que tenham gostado! :)


[]'s


Alyscom

Páginas: [1] 2 3 ... 5