Author Topic: [request] Wine(linux) support  (Read 6156 times)

Offline ronin

  • Planewalker
  • *****
  • Posts: 94
Re: [request] Wine(linux) support
« Reply #25 on: March 15, 2006, 02:27:41 PM »
I can run it with wine or cedega (transgaming), i have done it before but installing mods is a serious pain in the ass.  I used to do it this way:  http://forums.gentoo.org/viewtopic.php?t=243593    ......but the work required to get it working is not worth it.  If you can get weidu to do the biffing and tis stuff then I have no reason to run it on winxp anymore.  BG1, TotSC, BG2 and TOB work fine with cedega and wine.

@Drake127, sorry for interrupting your thread like this.

ronin
« Last Edit: March 15, 2006, 02:29:58 PM by ronin69hof »

Offline drake127

  • self-employed modder
  • Planewalker
  • *****
  • Posts: 24
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #26 on: March 15, 2006, 04:12:10 PM »
Isn't it needed to run BG2 anyway?
No, there is no problem with IE games on linux partition ... let me think ... if you mount ~/.wine/drive_c/ to FAT32 partition maybe it would solve case problem as well. But I am not sure if case-sensitivness if feature of filesystem or Windows itself.
« Last Edit: March 15, 2006, 04:14:13 PM by drake127 »

Offline ronin

  • Planewalker
  • *****
  • Posts: 94
Re: [request] Wine(linux) support
« Reply #27 on: March 16, 2006, 12:38:56 AM »
If you mount your FAT32 partition the right way then it keeps the case sensitivity and works correctly with upper and lowercase.

ronin

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #28 on: March 16, 2006, 09:11:10 AM »
There are case-insensitive Ext2 and Ext3 drivers around the 'net. I suppose that the same could be true for FAT32.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline drake127

  • self-employed modder
  • Planewalker
  • *****
  • Posts: 24
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #29 on: March 16, 2006, 05:14:22 PM »
There are case-insensitive Ext2 and Ext3 drivers around the 'net. I suppose that the same could be true for FAT32.
So if you mount your installation of BG via this CI filesystem it will eliminate all these problems, won't it?

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #30 on: March 16, 2006, 06:06:12 PM »
Installing a new driver, recompiling the kernel and editing your fstab is more difficult (and probably less stable!) than downloading (or compiling) WeiDU and turning everything to lowercase via a script.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline ronin

  • Planewalker
  • *****
  • Posts: 94
Re: [request] Wine(linux) support
« Reply #31 on: March 17, 2006, 01:10:44 AM »
Biggs idea is the easiest and quickest, let me see if I understand this, weidu will do the conversion from caps to little letters or will we have to run a script ourselves in the BG directory?

ronin

Offline drake127

  • self-employed modder
  • Planewalker
  • *****
  • Posts: 24
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #32 on: March 17, 2006, 03:57:02 AM »
Biggs idea is the easiest and quickest, let me see if I understand this, weidu will do the conversion from caps to little letters or will we have to run a script ourselves in the BG directory?

ronin
You have to run the script in BG directory (and all files will became lower-case). WeiDU's job is to install all mods' files in lowercase (=>right overwriting and no case duplicities). So you will have to do both things.

Bigg: In this concrete example where solutin is on the way and it is working yes but generally for all windows applications which may face same troubles (and its author is not talkative) is good to know how to do it generally. BTW can you implement this lowercasing for linux only compilations? I think not every modder would be content if he likes to play with his files' case and you convert it all on Windows platform.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #33 on: March 17, 2006, 04:36:35 AM »
Yes, it's linux only. BTW, the drivers I was talking about are here.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: [request] Wine(linux) support
« Reply #34 on: March 22, 2006, 01:42:47 AM »
Hey, nice to see that linux/wine isn't completely ignored :)

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #35 on: March 22, 2006, 06:22:26 AM »
Does it work now for you, Ave?
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: [request] Wine(linux) support
« Reply #36 on: March 22, 2006, 11:47:47 AM »
Weidu for linux returns nonzero though it decomplies the stuff OK. This misleads dltcep somehow.
I will try the new weidu for windows (on wine) too :)

weidu for windows on wine gives this (the usual wine problem):
Executing:"y:\bg2\dltcep\weidu.exe"  --script-style IWD2 --out "script compiler\decompiled" --tlkout dialog.tlk "00AATBF.bcs" --log dltcep.log
[DLTCEP_enhanced_WeiDU] WeiDU version 191
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored

FATAL ERROR: Sys_error("script compiler\\decompiled: Permission denied")
--------------------------------------------------------------------------------------
If you can fix the return value somehow, then i don't care with wine anymore :)
I can even add an option to dltcep to ignore the return value (i somehow am reluctant to do this).
« Last Edit: March 22, 2006, 11:50:44 AM by Avenger_teambg »

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #37 on: March 22, 2006, 02:01:56 PM »
Weidu for linux returns nonzero though it decomplies the stuff OK. This misleads dltcep somehow.
I will try the new weidu for windows (on wine) too :)

weidu for windows on wine gives this (the usual wine problem):
Executing:"y:\bg2\dltcep\weidu.exe"  --script-style IWD2 --out "script compiler\decompiled" --tlkout dialog.tlk "00AATBF.bcs" --log dltcep.log
[DLTCEP_enhanced_WeiDU] WeiDU version 191
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored

FATAL ERROR: Sys_error("script compiler\\decompiled: Permission denied")
--------------------------------------------------------------------------------------
If you can fix the return value somehow, then i don't care with wine anymore :)
I can even add an option to dltcep to ignore the return value (i somehow am reluctant to do this).

Well, the problem with Wine is that WeiDU tries to uppercase everything it opens, and this causes problems with your FS.
Can you figure out which value does WeiDU return to DLTCEP? That'd be of help  :)
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: [request] Wine(linux) support1
« Reply #38 on: March 23, 2006, 03:49:55 AM »
I use it on a case insensitive filesystem (fat32 mounted rw), so there shouldn't be problems with the filenames.
The value returned is: 1106235736
It could be that i  (involuntarily) call weidu with a non-pausing spawn and the returned value is the PID :)

the_bigg_at_school

  • Guest
Re: [request] Wine(linux) support1
« Reply #39 on: March 23, 2006, 04:09:22 AM »
I use it on a case insensitive filesystem (fat32 mounted rw), so there shouldn't be problems with the filenames.
The value returned is: 1106235736
It could be that i  (involuntarily) call weidu with a non-pausing spawn and the returned value is the PID :)

Uuh, WeiDU should return either 0,1,2,3,4. I believe that either something is wrong in the wine calling ELF executables part, or something else on this line  :)

I'll try to post a Win32 executable that maps everything to lowercase and see if it helps  :)

EDIT: special lowercase_all version of weidu for Ave. Let me know if this is of any help  :)
« Last Edit: March 23, 2006, 06:42:19 AM by the bigg »

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: [request] Wine(linux) support
« Reply #40 on: March 24, 2006, 06:31:27 AM »
*bump* in case Avenger missed the edit.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: [request] Wine(linux) support
« Reply #41 on: March 25, 2006, 04:18:52 PM »
didn't help

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: [request] Wine(linux) support1
« Reply #42 on: March 25, 2006, 04:20:27 PM »
I use it on a case insensitive filesystem (fat32 mounted rw), so there shouldn't be problems with the filenames.
The value returned is: 1106235736
It could be that i  (involuntarily) call weidu with a non-pausing spawn and the returned value is the PID :)

Uuh, WeiDU should return either 0,1,2,3,4. I believe that either something is wrong in the wine calling ELF executables part, or something else on this line  :)
Yes, this is highly likely, they don't support the P_WAIT option for ELF. Curse them. :(
This is getting ridiculous.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: