| View previous topic :: View next topic |
| Author |
Message |
Gauss_Cleric Tux's lil' helper


Joined: 30 Aug 2004 Posts: 85
|
Posted: Mon Jun 13, 2005 4:03 am Post subject: |
|
|
Everthing is working now... bg2 bg2tob the mods... I even fashioned some ebuilds (following your templates) for the other mods I use. Thanks again Voltago, very nice work.
Cheers,
P.S. Quick question... it not a mayor issue here but when I play the game fails to get input from keyboard. Everthing I type is inputed to the terminal I have open instead. Is there something I can do in the wine configs? |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Mon Jun 13, 2005 7:53 pm Post subject: |
|
|
| Gauss_Cleric wrote: | | .. I even fashioned some ebuilds (following your templates) for the other mods I use. |
Care to share them? Send them to linfinity at gmx dot net and I will include them in the next release (which will be a minor upgrade and will probably come quite soon).
| Quote: | | P.S. Quick question... it not a mayor issue here but when I play the game fails to get input from keyboard. Everthing I type is inputed to the terminal I have open instead. Is there something I can do in the wine configs? |
Can't say I have come across this one... but if something occurs to me, I'll post it. What is this keyboard input? CLUA console? Your name when you start a new game? Savegame names?
Additionally, I would like to announce that the --kde option for the game launcher scripts is deprecated. A better way to keep the KDE Kicker out of sight is to add
| Code: | [x11drv]
"Managed" = "N" |
to your '.wine/config' file, because it won't leave you with a unaccessible desktop if the game crashes.
Last edited by Voltago on Mon Jun 13, 2005 10:48 pm; edited 1 time in total |
|
| Back to top |
|
 |
Gauss_Cleric Tux's lil' helper


Joined: 30 Aug 2004 Posts: 85
|
Posted: Mon Jun 13, 2005 8:16 pm Post subject: |
|
|
| Quote: |
Care to share them? Send them to linfinity at gmx dot net and I will include them in the next release (which will be a minor upgrade and will probably come quite soon).
|
Sure, they appear to work ok so I'll see if I can get them packet nicely tonight, and send them to you. I've included the Tashia npc (with thappy), TDD_weidu (darkest day), tortured souls and shadows over soubar.
About the keyboard problem... it was strange but a work around would be to make a desktop link to the application (so that I don't have an "open" terminal). I think it has to do with bash executing bg2 in background (although I didn't tell him to do it).
Cheers, |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Mon Jun 13, 2005 10:54 pm Post subject: |
|
|
@Gauss_Cleric: Got your ebuilds, thanks!
@Everyone:
If you want to install mods not supported by my ebuilds, then the newly added paragraph 10 of the HowTo might be of interest. |
|
| Back to top |
|
 |
Gauss_Cleric Tux's lil' helper


Joined: 30 Aug 2004 Posts: 85
|
Posted: Fri Jun 24, 2005 10:16 pm Post subject: |
|
|
Hi again Voltago. I've tried to install the Count the Bodies mod (a huge mod) as you wrote in section 10. It installs ok but when I start the game in Irenicus prison there is supose to be an area change where I'm remembering my last time in Candlekeep. Well, the area loading screen just keeps on without the loading bar increase any bit. It doesn't complain about missing files though. Could you perhaps give it a try? I'll also try it out in my Windows box.
Cheers, |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Fri Jun 24, 2005 10:47 pm Post subject: |
|
|
Hm... haven't tried CtB yet, so all I can give is general advice...
Have you manually executed all commands in all the mod's .bat files (i. e. tisunpack-ing, oggdec-ing, etc...)?
Have you installed the CtB fix pack?
Have you installed all dependencies (e. g. ToB, official patch, baldurdash, other mods)?
Have you installed other, possibly incopatible mods?
That's all I can think of right now... |
|
| Back to top |
|
 |
Gauss_Cleric Tux's lil' helper


Joined: 30 Aug 2004 Posts: 85
|
Posted: Sun Jun 26, 2005 12:46 am Post subject: |
|
|
Got it working... I didn't know I had to execute the .bat file. the only strange thing is that there are directories cited in that .bat file witch do not exist in my checkbod/ directory after I execute the setup files using wine. I'm now trying to install the mod in my windows box to notice some diference.
Cheers,
EDIT: 6h later... Well I learned a lot about the structure of bg2 chithin.key file, about weidu and some other things while trying to make Counf the Bodies mod to work. As I said above there where files/directories in the .bat file witch do not exist in my checkbod directory. It turns out that those directories are generated by the .tp2 files and these are use by the .bat file in making .bif files that go in the data directory of my profile. So I end up without those .bif files in my data dir. Do here goes a little technical question to you Voltago (please enlighthen me):
In the mod ebuils you wrote, how did you handle the creation of those .bif files that are scatered among the .bat files? For example, in the Count the Bodies mod there are areas, animations and whole lot of thing that are suposed to be "biffed" via "weidu --make-biff <dir>". I mean, it apears from what I've seen that you simply ignores them. Do you perhaps put them in the overlay/override and they get somehow automatically linked when I install the mod in a profile?
I'm even questioning if the ebuild for TDD (the darkest day) I've sent you will work, since it also has an .bat file witch creates VARIOUS .bif files. None of those get in the data dir if I just emerge tdd.ebuild and run a "bg2 install tdd". You left me a clue that you are aware of this problem when the emerge process substituted the .bat file from the TDD package for a dummy one.
I'm asking this because otherwise (if there is not a simpler solution) I'll have to look into the .tp2 file check what he is doing step by step and reproduce the creation of the .bif files manually and this is a huge, tedious and error atracting task. |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Wed Jun 29, 2005 5:47 pm Post subject: |
|
|
| AFAIK 'biffing' is only for override directory cleanups. There is a maximum size of override files that the engine can handle. Files beyond that limit have to be stored in biffs. So if you install just one module, you should be OK without creating biffs and in my ebuilds I don't need to do it because none of the mods I support are big enough. But this might change (tdd, sos, nej, ctb...) and then I will have to work out a sensible way for auto-biffing. Not too sure about all this, though. Better ask the people at pocketplane.net. |
|
| Back to top |
|
 |
lynxnyl Apprentice

Joined: 15 Aug 2004 Posts: 253 Location: Ljubljana, Slovenija
|
Posted: Wed Jul 06, 2005 5:19 pm Post subject: |
|
|
Ok, I fixed and completed the prerequisites script.
The current overlay is ieoverlay-20050611.tar.bz2 - this is what you need to feed to the script (just the string, it will get the file for you!). I tested it and it works as it should. The groups thing is a bit tricky, but I expect it to be fine for most. If you plan to run it more than once, comment out the "#add new categories" block.
The only thing that separates it from complete friendlyness is the package parameter. It would be really cool if you had the newest tarball with a fixed name Voltago.
| Code: |
#!/bin/bash
#run with the overlay tarball as parameter; just the name, it will fetch it for you
#+ like ./preinstall bg2overlay-20041222.tar.bz2
[ -z $1 ] && echo "USAGE: $0 ieoverlay-version.tar.bz2" && exit 1
[ $UID != "0" ] && echo "You must be root to run this script, exiting..." && exit 2
cd
#check if overlay is set and retrieve it
if grep -q PORTDIR_OVERLAY /etc/make.conf
then
OPATH=`sed -n 's,PORTDIR_OVERLAY="\([^"]*\)".*,\1,p' /etc/make.conf`
else
echo "You don't seem to have a portage overlay set up. Specify a path or use the suggested default [/usr/local/portage]: "
read OPATH && OPATH=${OPATH:=/usr/local/portage}
mkdir -p $OPATH
echo "PORTDIR_OVERLAY=\"$OPATH\"" >> /etc/make.conf
fi
#get the tarball
wget -nc http://demandiseineseite.gmxhome.de/$1
# extract to overlay
tar xvjf $1 -C $OPATH
mv $OPATH/overlay/* $OPATH
#add new categories
echo "games-ie
games-bg1
games-bg2
games-iwd1
games-iwd2" >> /etc/portage/categories
echo
#get the bg2 patch
ok="no"
while [ "$ok" != "yes" ]
do
echo "Which patch to download? English(1) or European(3)?"
read -n1 patch
if [ "$patch" == "1" ];
then
wget -nc -P /usr/portage/distfiles/ http://downloads.bioware.com/baldursgate2/Baldur\'sGateII-ShadowsofAmnPatchENGLISH.exe
ok="yes"
elif [ "$patch" == "3" ];
then
wget -nc -P /usr/portage/distfiles/ http://downloads.bioware.com/baldursgate2/Baldur\'sGateII-ShadowsofAmnPatchEUROPE.exe
ok="yes"
else echo -e "Input 1 or 3.\n"
fi
done
echo
#Add your user to the 'games' group. This would be way simpler if the script was ran as normal user
NUSER=`sed -n 's,\([^:]*\):[^:]*:1000:.*,\1,p' /etc/passwd`
su $NUSER -c 'groups | grep games &> /dev/null || exit 100'
if [ "$?" == "100" ]; then gpasswd -a $NUSER games; fi
echo "Free roughly 7GB disk space for emerging BG1 or BG2. For the Icewind Dale games, 3GB should suffice."
echo "Here is your disk space state:"
df -h
echo -e '\nNow you need to configure wine if you did not already and then you are all set to try these ebuilds! :)' |
Hope it helps anyone.  |
|
| Back to top |
|
 |
Gauss_Cleric Tux's lil' helper


Joined: 30 Aug 2004 Posts: 85
|
Posted: Fri Jul 08, 2005 4:47 pm Post subject: |
|
|
Hi there Voltago, I've managed to get the mods I wanted working. It was hard work but at least I've learned something. The solution was to install The Big Picture (a mod that includes many other smaller mods and enhancements such as TDD ascension, SoS, fixes, etc..). The trouble is wine isn't capable of reproducing every step of the installation program, so I had to run in a debuger to manualy reproduce the steps wich cause problems (the most are the .bat files and instruction to query if a file is present). After that I also installed CtB without any problems. I linked the important files to the directory of where I've installed them and then installed all the other mods with your scripts.
It's tricky and I suggest for anyone who want TDD, ascension, SoS and CtB to install them in a Windows box and move them to your profile (or another directory) and then install the other mods (such as NPC mods, UB, etc...) via Voltago's scripts.
Also, Voltago, if you are planning to make Big Picture and CtB ebuilds you will need to implement "biffing" and someway around the .bat files. I don't know your scripts so well but I'll help you if I can.
Cheers, |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Fri Jul 08, 2005 6:51 pm Post subject: |
|
|
Thanks lynyxl and Gauss_Cleric for your work, only for the next two weeks I won't work on the ebuilds at all (I'm having exams). But for the time after I have already some nice ideas for the ebuilds...  |
|
| Back to top |
|
 |
lynxnyl Apprentice

Joined: 15 Aug 2004 Posts: 253 Location: Ljubljana, Slovenija
|
Posted: Fri Jul 08, 2005 7:10 pm Post subject: |
|
|
Well, can you mention the script on the first page? I doubt anyone will find it on the eighth, at least not in time to benefit from it.
and good luck with the exams - I hope it rains  |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Fri Jul 08, 2005 7:15 pm Post subject: |
|
|
| lynxnyl wrote: | | Well, can you mention the script on the first page? |
Sure thing. |
|
| Back to top |
|
 |
lynxnyl Apprentice

Joined: 15 Aug 2004 Posts: 253 Location: Ljubljana, Slovenija
|
Posted: Thu Jul 21, 2005 2:54 pm Post subject: |
|
|
All went well regarding the install here. Had the funny "you don't have a cdrom drive" error again, but the dosdrives symlink fixed that. 
However, right after the intros stop, I get an "unhandled page fault". I'll try downgrading wine (20050628 now).
If anyone has weidu trouble, just rename all the versioned files to the available version, rename them (delete may work too) in the Manifest file and run: ebuild /path/to/weidu-*.ebuild digest |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Thu Jul 21, 2005 9:33 pm Post subject: |
|
|
| lynxnyl wrote: | However, right after the intros stop, I get an "unhandled page fault". I'll try downgrading wine (20050628 now). |
Somehow, every wine version after 20050111-r1 is a complete bummer. 20050628 got a little better (at least some of the games start now). Luckily, in a week or so, the next version is due, and I hope it shows more kindness towards the Infinity games... but just in case, better make a backup of the 20050111-r1 wine ebuild and source package, you might need it when the wine ebuilds get a cleanup...
EDIT: Btw, I took the hint and bumped weidu to 185...  |
|
| Back to top |
|
 |
AstralStorm Tux's lil' helper


Joined: 06 Nov 2003 Posts: 80 Location: /dev/null
|
Posted: Mon Aug 08, 2005 11:14 pm Post subject: |
|
|
| Voltago wrote: | EDIT: Btw, I took the hint and bumped weidu to 185...  |
And you broke games-idw2/easeofuse. It no longer installs due to "item randomisation".
Fails with a parse error. If I take away that part of the file, installation works all fine.
Thank you for all the work put into makng IE games available on Linux. |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2497 Location: Hinter den Materiequellen
|
Posted: Tue Aug 09, 2005 11:23 am Post subject: |
|
|
| AstralStorm wrote: | | Voltago wrote: | EDIT: Btw, I took the hint and bumped weidu to 185...  |
And you broke games-idw2/easeofuse. It no longer installs due to "item randomisation".
Fails with a parse error. If I take away that part of the file, installation works all fine.
Thank you for all the work put into makng IE games available on Linux. |
I'll look into this issue... |
|
| Back to top |
|
 |
Riklaunim Apprentice


Joined: 16 Dec 2004 Posts: 286 Location: Poland
|
Posted: Thu Aug 11, 2005 9:35 am Post subject: |
|
|
I've been playing with infinity games on gentoo for some time but this thread I've found yesterday googling around about IWD 2
I'm a happy owner of BG1 and BG 2, special edition (Polish, by CD Projekt) on DVDs, IWD 1/2, Planescape Torment, all is Polish translated and not counting IWD 1/2, games use a nice CD Projekt installer which crash, crash, crash under wine (works on cedega) (old, new wine, from suse 9.1 to now... I've tested it hard, fresh bug entry at wineHQ: http://bugs.winehq.org/show_bug.cgi?id=3210 ). When I had Baldurs on CD they worked lovely
As for IWD2 and wine-20050725 I get a funny error whe starting the game, like "Debbuger found in memory, remove it and try again" . Other goodies:
- CD Projekt makes patches (iwd2 ....+ other?) with "ClickTeam Patch Maker" - works on wine/cedega (It did some time ago). I'll gather all the links to patches and stuff.
- A hint: If you want to kill the movies in BG I which doesn't have the config to shut them down - delete movie files and make blank ones (touch, touch, touch) they won't start.
I'll see what you have made and I'll see how much my infinity games like it  _________________ Biblioteka CMS i PHP | Biblioteka Linuksa | Biblioteka cRPG | Biblioteka Pythona |
|
| Back to top |
|
 |
balkira Tux's lil' helper


Joined: 25 Dec 2004 Posts: 99 Location: /local/pub
|
Posted: Fri Aug 12, 2005 1:25 pm Post subject: |
|
|
hi,
I've successfully installed bg2SoA, but for a long time I had troubles configuring the sound.
None of the oss, arts, alsa or jack were working.
By luck, I found that adding
| Code: | [Software\\Wine\\DirectSound] 1123855451
"HardwareAcceleration"="Emulation" | solved my issue, where 1123855451 is the value of [Software\\Wine\\WineDbg] in the same file.
I can now use alsa or arts and it works fine.
Thx for that howto Voltago, you give happyness to many RP gamers
As I've read some sound trouble in the forum, i hope it'll help
greetings _________________ no way to happiness, happiness is the way |
|
| Back to top |
|
 |
Taladar Guru

Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Wed Aug 24, 2005 11:39 pm Post subject: |
|
|
| You should change your eclass to use the find parameter -iwholename instead of -ipath. They do the same but the installation creates lots of deprecation warnings at the moment. |
|
| Back to top |
|
 |
Taladar Guru

Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Thu Aug 25, 2005 1:02 am Post subject: |
|
|
I now successfully installed Baldur's Gate I.
I had to use cedega instead of wine as wine shows the upper left part of the game window in the lower right corner of my screen.
I also had to switch cedega to alsa as OSS produced only noise in the speakers instead of the correct sounds.
The game runs fine (as far as I tested in the last few minutes) but I don't have music and only the default voice can be selected when creating a new character. Does anybody know how to fix this? (Speech in the intro works and clicks on buttons yield a sound, the default voice can be tested too)
I am running Cedega 4.4
The sound related part of my ~/.transgaming/config looks like this:
| Code: |
[WinMM]
"Drivers" = "winealsa.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
[wineoss]
"UseMMap" = "N"
"FullDuplex" = "N"
;; Specify a mapping for what digital audio devices to use
;"dsp0" = "/dev/dsp0"
;mixer0" = "/dev/mixer0"
[winealsa]
"UseMMap" = "N"
"pcm0" = "hw"
"ctl0" = "hw"
|
|
|
| Back to top |
|
 |
spiritus n00b

Joined: 01 Sep 2005 Posts: 1
|
Posted: Thu Sep 01, 2005 7:25 pm Post subject: |
|
|
Hi guys
BG2 is my favorite game, and I am trying damn hard run it under Linux, but never succeeded
Here's the error in bgmain.exe.wine.log:
| Code: |
wine: Unhandled exception (thread 0009), starting debugger...
err:ole:CoUninitialize Mismatched CoUninitialize
|
Thanks. |
|
| Back to top |
|
 |
lynxnyl Apprentice

Joined: 15 Aug 2004 Posts: 253 Location: Ljubljana, Slovenija
|
Posted: Thu Sep 01, 2005 7:42 pm Post subject: |
|
|
| Use the ebuild from january, browse this topic backwards. |
|
| Back to top |
|
 |
nephila n00b

Joined: 20 Aug 2002 Posts: 22
|
Posted: Mon Sep 12, 2005 7:03 am Post subject: |
|
|
The latest version of portage has broken the overlay for me.
Every time the metadata is calculated it breaks at 42%, this happens after a sync too.
| Code: |
kitsune ~ # emerge metadata
skipping sync
>>> Updating Portage cache: 42%Traceback (most recent call last):
File "/usr/bin/emerge", line 2731, in ?
cleanse_cache(pdb, oldcat, savelist)
File "/usr/bin/emerge", line 2706, in cleanse_cache
for pv in pdb.auxdb[porttree_root][cat].keys():
KeyError: 'games-bg1' |
So far my only workaround is to comment out the entries from /etc/portage/categories because they all have this error. However portage still seems to be able to see the categories (is this because the old metadata is still lying around somewhere?).[/quote] |
|
| Back to top |
|
 |
alyo n00b

Joined: 29 Jun 2003 Posts: 9
|
Posted: Sun Oct 09, 2005 8:47 pm Post subject: |
|
|
Hey guys - great work, however I am having some difficulty gettining bg2tob to work properly.
1. I have the problem Gauss_Cleric mentioned a while ago - my keyboard does not give input to the game. Additionaly the KDE cursor is overlayed the game cursor, wich looks horrible.
2. The sound isn't working. I do have a hunch that the solution balkira provided would solve my problem, but don't really know wich file was reffered to.
thanks again |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|