Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old August 31st, 2006   #1
sebastfr
Just Give Me the Beans!
 
Join Date: May 2006
Beans: 48
Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

For people willing to use Guitar Pro (GP5) on their Ubuntu (this was the last program that kept me using Windows, yeepee), here's a summary on how to proceed (I gathered a few tutorials together, sorry no references as I don't have them handy).

1- Install wine:

sudo apt-get install wine

2- Get some font files from a Windows box (windows/fonts/*.ttf) and copy them to ~/.wine/drive_c/windows/fonts (assuming you kept the default wine setttings). I guess you can get the fonts files from somewhere else, but this is the way I did it.

3- Install Guitar Pro:

winelauncher [path to your guitar pro install file (the exe)]

I didn't select the RMS sound banks but feel free to give it a go.

Guitar Pro should install smoothly (leave the default options).

4- Run Guitar Pro for a try:

winelaucher ~/.wine/drive_c/Program\ Files/Guitar\ Pro\ 5/GP5.exe

That should work fine, make sure the notes/menus display normally (otherwise you may still miss some fonts files).

Don't expect any sound at this stage, unless you have setup MIDI already.

5- Install timidity (which can also convert midi to wave on the fly which is what we need here)

sudo apt-get install timidity timidity-interfaces-extra

6- Install some better sound patches for timidity (if you want)

wget -c -O /tmp/timidity-patches-eaw \
http://www.fbriere.net/debian/dists/etch/misc/deb/ \
timidity-patches-eaw_12-0fbriere.1_all.deb

sudo dpkg -i /tmp/timidity-patches-eaw.deb

sudo gedit /etc/timidity/timidity.cfg

Change:

"source /etc/timidity/freepats.cfg"

to:

"source /usr/share/doc/timidity-patches-eaw/examples/timidity.cfg"

And remove the temp file:

rm /tmp/timidity-patches-eaw

Check Timidity works:

timidity [whatever MIDI file]


7- Start Timidity as ALSA sequencer:

First check the snd_seq module is loaded:

lsmod | grep snd_seq

if not:

sudo modprobe snd_seq

Then:

timidity -iA -B2,8 -Os &

You should see a few lines looking like:

opening port 128:1 128:2 [etc..]

From then you should have the sound working on guitar pro.

8- Last test

Start guitar pro, load a gp file.

Check the MIDI configuration is OK on guitar pro:

Click on Options/MIDI Setup and check ports 1-4 maps to timidity (if not select 'timidity in the drop-down list, assigning a different timidity port to each port). Make sure you don't select 'Midi Through' (this is for midi input).

Play the file, enjoy! And now, write a few scripts which automate the process!


Seb
sebastfr is offline   Reply With Quote
Old September 15th, 2006   #2
CaptainBommel
First Cup of Ubuntu
 
Join Date: Sep 2006
Beans: 1
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

Hi! Thank you for this, it workED fine.

Ok, no problems anymore. It's running fine. Some performance problems but nothing that's too hard too use the prog...thanks again

Last edited by CaptainBommel; September 16th, 2006 at 01:05 PM.. Reason: no problems but in perfomance...yweeeeaaah^^
CaptainBommel is offline   Reply With Quote
Old September 21st, 2006   #3
vinnytrix
First Cup of Ubuntu
 
Join Date: Sep 2006
Beans: 1
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

Worked like a charm, than you
vinnytrix is offline   Reply With Quote
Old September 23rd, 2006   #4
Xecuter
A Carafe of Ubuntu
 
Join Date: Feb 2006
Location: Norway
Beans: 125
Ubuntu 7.04 Feisty Fawn
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

Ah thanks man! I've been having trouble with playback. I will try this when I get home!
Xecuter is offline   Reply With Quote
Old September 23rd, 2006   #5
jd_
Spilled the Beans
 
Join Date: Apr 2005
Location: France
Beans: 9
The Feisty Fawn Testing
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

If Guitar Pro 5 displays messy fonts, you can copy msttcorefonts fonts from /usr/share/fonts/truetype/msttcorefonts/ in ~/.wine/drive_c/windows/fonts/.

You must have Guitar Pro 5.ttf in this folder, too.
jd_ is offline   Reply With Quote
Old September 23rd, 2006   #6
aeto
A Carafe of Ubuntu
 
aeto's Avatar
 
Join Date: Jun 2006
Location: Singapore
Beans: 101
Send a message via Skype™ to aeto
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

hey man thanks, especially on the midi part. i'v been running gp5 for a while on wine but i had somehow set a sequencer to run on boot..it was kinda messy & sometimes other apps cant play midi files or vice-versa. now the midi issues r solved..no problems yet.
aeto is offline   Reply With Quote
Old October 27th, 2006   #7
smithveg
Just Give Me the Beans!
 
Join Date: Oct 2006
Beans: 74
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

Hi,

seems i'm the one who can not install guitar pro successfully. Someone helps me.

I'm using Guitar Pro 4 Demo.
I run the installation, lisk what in this thread said, as below.
winelauncher [path to your guitar pro install file (the exe)]
Then, i run, i notice that the font missing.

Then i donwload the msstcorefont in /user/share/... and copy all the font .ttf file into /.wine/drive_c/windows/fonts/ directory.

Then i run again, why the same problems occur? The errors as below,
==
veg@veg-desktop:~$ winelauncher ~./wine/drive_c/Program\Files/Guitar\Pro\4\Demo/GP4Demo.exe
Invoking /usr/bin/wine ~./wine/drive_c/ProgramFiles/GuitarPro4Demo/GP4Demo.exe ...
wine: cannot find '~./wine/drive_c/ProgramFiles/GuitarPro4Demo/GP4Demo.exe'
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Wine failed with return code 2
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
veg@veg-desktop:~$
==

Someone can helps me...
smithveg is offline   Reply With Quote
Old October 28th, 2006   #8
metalsam
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 41
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

This guide looks great!

when I install GP4, i installed msttcorefonts, but the installer give me loads of jibberish characters and music symbols arther than letters. Anyone know how to fix this ?
metalsam is offline   Reply With Quote
Old October 31st, 2006   #9
sebastfr
Just Give Me the Beans!
 
Join Date: May 2006
Beans: 48
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

RE the problem with GP4:

I haven't tried to install GP4 (only GP5)... But you're just missing some font files, it's just the matter of knowing which one(s)

Could you...

1/ Check that you have a 'Guitar Pro x.ttf' file under :~/.wine/drive_c/windows/fonts ? (Mine is 'Guitar Pro 5.ttf')

2/ Try to install GP4 on a Windows machine and see what font files get installed?

Good luck,

Seb
sebastfr is offline   Reply With Quote
Old November 2nd, 2006   #10
metalsam
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 41
Re: Guitar Pro (5) on Ubuntu Dapper Drake 6.06/Wine

I have a GPro.ttf file under my wine fonts.

Anyone know what hte fonts file is on windows ?
metalsam is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:22 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry