Jump to content

Installing SCS on BG2EE Linux


vtazt

Recommended Posts

Can't you skip tolower by doing everything else inside the ciopfs?

I tried that -- at first it seemed like tolower wasn't necessary at all. But ciopfs is really weird. Filenames that start with an uppercase letter don't appear inside the case-insensitive mount point. [Edit: Actually filenames that have any uppercase letters don't appear.]
Link to comment

I'm a bit late to this thread but I'm too using Linux and dealing with EE and Weidu mods. Mike1072 asked me if I could rewrite the mod readme installation part for Linux.

​Anyone want to double check if it's good to go?

## Enhanced Editions in GNU/Linux

The EEs contain filenames with upper- and lowercases which does not work nicely with Weidu in Linux. This tutorial shows how to mount the game to a case insensitive file system.

1. Install ciopfs. E.g.:

$ sudo apt-get install ciopfs

2. Copy your installation. This assumes a simple install path, change the folder path to your install.

$ cp -R /home/username/games/BGEE /home/username/games/BGEE_copy

3. Create a new hidden folder for the mount one level above the game directory. E.g.:

$ mkdir -p /home/username/games/.ciopfs/BGEE

4. Remove the original installation

$ rm -r /home/username/games/BGEE/*
$ rm -r /home/username/games/BGEE/.mojosetup

5. Mount the hidden folder to the empty install directory (Note: This step needs to be run again after you reboot)

$ ciopfs /home/username/games/.ciopfs/BGEE /home/username/games/BGEE

6. Copy the installation backup to your mounted directory

$ cp -R /home/username/games/BGEE_copy/* /home/username/games/BGEE
$ cp -R /home/username/games/BGEE_copy/.mojosetup /home/username/games/BGEE

7. You can remove the backup now or leave it for convenience.

8. Copy modfolder, 'weidu' and 'weinstall' to your game's data folder and install mods with

$ weinstall 'name_of_mod'

Optional: You can write a simple bash script with step 5. and the start command for your game and put it in your $PATH. Alternatively you can mount the folder with fstab at every boot.

Note: Be aware there still might exist issues with mods relying on bat files, biffing or converting audio. Look for support in the forums if necessary. 

 

Can't you skip tolower by doing everything else inside the ciopfs?

I tried that -- at first it seemed like tolower wasn't necessary at all. But ciopfs is really weird. Filenames that start with an uppercase letter don't appear inside the case-insensitive mount point. [Edit: Actually filenames that have any uppercase letters don't appear.]

 

 

​Strange, in my case it shows folders correctly with upper case, e.g. 'game/Manuals'.

​Edit: I tried using the BW-Fixpack but that didn't work for me. I had to apply the fixes to the SCS files manually. This should be uploaded so others don't need to do the same imo.

Link to comment

Did the fixpack fail because of the line endings (CRLF) or because it couldn't find the target files? Look at the _ApplyPatches.debug log file to see the reason for the failed patching.

 

Ok, tried it again and saw no errors. Seems like it's all right! ( I just used the command: weidu --nogame --no-exit-pause --logapp --log _ApplyPatches.debug _ApplyPatches.tp2)

Link to comment

Check the _ApplyPatches_verbose.log too -- that's where it logs the results of the patcher utility. Look for "fail" or "reject" or "skip".

 

​Good that you say that, that's what I looked at the last time and indeed a lot of 'failed'.

 

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/setup-stratagems.tp2 2015-01-20 10:27:56.406546400 -0500

|+++ Fixpack/stratagems/setup-stratagems.tp2 2016-11-20 18:06:50.557292200 -0500

--------------------------

patching file stratagems/setup-stratagems.tp2

Using Plan A...

Hunk #1 FAILED at 1 (different line endings).

Hunk #2 FAILED at 143 (different line endings).

Hunk #3 FAILED at 197 (different line endings).

Hunk #4 FAILED at 221 (different line endings).

Hunk #5 FAILED at 236 (different line endings).

Hunk #6 FAILED at 252 (different line endings).

Hunk #7 FAILED at 266 (different line endings).

Hunk #8 FAILED at 280 (different line endings).

Hunk #9 FAILED at 294 (different line endings).

Hunk #10 FAILED at 359 (different line endings).

Hunk #11 FAILED at 386 (different line endings).

Hunk #12 FAILED at 400 (different line endings).

Hunk #13 FAILED at 414 (different line endings).

Hunk #14 FAILED at 448 (different line endings).

Hunk #15 FAILED at 474 (different line endings).

Hunk #16 FAILED at 487 (different line endings).

Hunk #17 FAILED at 510 (different line endings).

Hunk #18 FAILED at 545 (different line endings).

Hunk #19 FAILED at 559 (different line endings).

Hunk #20 FAILED at 573 (different line endings).

Hunk #21 FAILED at 587 (different line endings).

Hunk #22 FAILED at 601 (different line endings).

Hunk #23 FAILED at 615 (different line endings).

Hunk #24 FAILED at 629 (different line endings).

Hunk #25 FAILED at 673 (different line endings).

Hunk #26 FAILED at 757 (different line endings).

Hunk #27 FAILED at 771 (different line endings).

Hunk #28 FAILED at 785 (different line endings).

Hunk #29 FAILED at 797 (different line endings).

Hunk #30 FAILED at 811 (different line endings).

Hunk #31 FAILED at 824 (different line endings).

Hunk #32 FAILED at 847 (different line endings).

Hunk #33 FAILED at 860 (different line endings).

Hunk #34 FAILED at 910 (different line endings).

Hunk #35 FAILED at 954 (different line endings).

Hunk #36 FAILED at 968 (different line endings).

Hunk #37 FAILED at 984 (different line endings).

Hunk #38 FAILED at 998 (different line endings).

Hunk #39 FAILED at 1011 (different line endings).

Hunk #40 FAILED at 1023 (different line endings).

Hunk #41 FAILED at 1057 (different line endings).

Hunk #42 FAILED at 1070 (different line endings).

Hunk #43 FAILED at 1125 (different line endings).

Hunk #44 FAILED at 1140 (different line endings).

Hunk #45 FAILED at 1154 (different line endings).

Hunk #46 FAILED at 1214 (different line endings).

Hunk #47 FAILED at 1452 (different line endings).

Hunk #48 FAILED at 1467 (different line endings).

Hunk #49 FAILED at 1482 (different line endings).

Hunk #50 FAILED at 1504 (different line endings).

Hunk #51 FAILED at 1519 (different line endings).

Hunk #52 FAILED at 1542 (different line endings).

Hunk #53 FAILED at 1568 (different line endings).

Hunk #54 FAILED at 1591 (different line endings).

Hunk #55 FAILED at 1614 (different line endings).

Hunk #56 FAILED at 1652 (different line endings).

Hunk #57 FAILED at 1693 (different line endings).

Hunk #58 FAILED at 1707 (different line endings).

Hunk #59 FAILED at 1722 (different line endings).

Hunk #60 FAILED at 1744 (different line endings).

Hunk #61 FAILED at 1760 (different line endings).

Hunk #62 FAILED at 1777 (different line endings).

Hunk #63 FAILED at 1793 (different line endings).

Hunk #64 FAILED at 1809 (different line endings).

Hunk #65 FAILED at 1826 (different line endings).

Hunk #66 FAILED at 1849 (different line endings).

Hunk #67 FAILED at 1863 (different line endings).

Hunk #68 FAILED at 1877 (different line endings).

Hunk #69 FAILED at 1891 (different line endings).

Hunk #70 FAILED at 1905 (different line endings).

Hunk #71 FAILED at 1919 (different line endings).

Hunk #72 FAILED at 1933 (different line endings).

Hunk #73 FAILED at 1947 (different line endings).

Hunk #74 FAILED at 1961 (different line endings).

Hunk #75 FAILED at 1976 (different line endings).

Hunk #76 FAILED at 1990 (different line endings).

Hunk #77 FAILED at 2004 (different line endings).

Hunk #78 FAILED at 2019 (different line endings).

Hunk #79 FAILED at 2033 (different line endings).

Hunk #80 FAILED at 2047 (different line endings).

Hunk #81 FAILED at 2061 (different line endings).

Hunk #82 FAILED at 2075 (different line endings).

Hunk #83 FAILED at 2089 (different line endings).

Hunk #84 FAILED at 2103 (different line endings).

Hunk #85 FAILED at 2117 (different line endings).

Hunk #86 FAILED at 2132 (different line endings).

Hunk #87 FAILED at 2146 (different line endings).

Hunk #88 FAILED at 2162 (different line endings).

Hunk #89 FAILED at 2176 (different line endings).

Hunk #90 FAILED at 2190 (different line endings).

Hunk #91 FAILED at 2231 (different line endings).

Hunk #92 FAILED at 2245 (different line endings).

Hunk #93 FAILED at 2269 (different line endings).

Hunk #94 FAILED at 2284 (different line endings).

Hunk #95 FAILED at 2305 (different line endings).

Hunk #96 FAILED at 2319 (different line endings).

Hunk #97 FAILED at 2333 (different line endings).

Hunk #98 FAILED at 2347 (different line endings).

Hunk #99 FAILED at 2361 (different line endings).

Hunk #100 FAILED at 2375 (different line endings).

Hunk #101 FAILED at 2398 (different line endings).

Hunk #102 FAILED at 2412 (different line endings).

Hunk #103 FAILED at 2426 (different line endings).

Hunk #104 FAILED at 2439 (different line endings).

Hunk #105 FAILED at 2453 (different line endings).

105 out of 105 hunks FAILED -- saving rejects to file stratagems/setup-stratagems.tp2.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/sfo/general/lib_macro.tpa 2014-12-28 17:55:28.000000000 -0500

|+++ Fixpack/stratagems/sfo/general/lib_macro.tpa 2016-12-03 13:41:41.335225900 -0500

--------------------------

patching file stratagems/sfo/general/lib_macro.tpa

Using Plan A...

Hunk #1 FAILED at 52 (different line endings).

Hunk #2 FAILED at 65 (different line endings).

Hunk #3 FAILED at 111 (different line endings).

Hunk #4 FAILED at 335 (different line endings).

Hunk #5 FAILED at 349 (different line endings).

Hunk #6 FAILED at 666 (different line endings).

6 out of 6 hunks FAILED -- saving rejects to file stratagems/sfo/general/lib_macro.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/tactical_bg1/demoncult.tpa 2013-10-28 11:10:48.000000000 -0400

|+++ Fixpack/stratagems/tactical_bg1/demoncult.tpa 2016-11-20 18:06:50.574290100 -0500

--------------------------

patching file stratagems/tactical_bg1/demoncult.tpa

Using Plan A...

Hunk #1 FAILED at 8 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/tactical_bg1/demoncult.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/setup-stratagems_autoinstall.tp2 2013-11-24 17:53:08.000000000 -0500

|+++ Fixpack/stratagems/setup-stratagems_autoinstall.tp2 2016-11-20 18:06:50.557292200 -0500

--------------------------

patching file stratagems/setup-stratagems_autoinstall.tp2

Using Plan A...

Hunk #1 FAILED at 5 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/setup-stratagems_autoinstall.tp2.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/initial/initial.tpa 2014-12-27 21:22:55.000000000 -0500

|+++ Fixpack/stratagems/initial/initial.tpa 2016-11-20 18:06:50.548284300 -0500

--------------------------

patching file stratagems/initial/initial.tpa

Using Plan A...

Hunk #1 FAILED at 465 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/initial/initial.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/help/baf/shout.baf 2013-08-15 12:05:29.000000000 -0400

|+++ Fixpack/stratagems/help/baf/shout.baf 2016-11-20 18:06:50.548284300 -0500

--------------------------

patching file stratagems/help/baf/shout.baf

Using Plan A...

Hunk #1 FAILED at 63 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/help/baf/shout.baf.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/sfo/install_sfo.tpa 2014-12-28 11:32:10.000000000 -0500

|+++ Fixpack/stratagems/sfo/install_sfo.tpa 2016-11-20 18:06:50.560281000 -0500

--------------------------

patching file stratagems/sfo/install_sfo.tpa

Using Plan A...

Hunk #1 FAILED at 73 (different line endings).

Hunk #2 FAILED at 81 (different line endings).

2 out of 2 hunks FAILED -- saving rejects to file stratagems/sfo/install_sfo.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/genai/genai.tpa 2015-01-20 09:15:12.322490100 -0500

|+++ Fixpack/stratagems/genai/genai.tpa 2016-11-20 18:06:50.547287900 -0500

--------------------------

patching file stratagems/genai/genai.tpa

Using Plan A...

Hunk #1 FAILED at 474 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/genai/genai.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/kobold/resource/dw#kobsp.baf 2013-08-08 09:47:52.000000000 -0400

|+++ Fixpack/stratagems/kobold/resource/dw#kobsp.baf 2016-11-20 18:06:50.551290800 -0500

--------------------------

patching file stratagems/kobold/resource/dw#kobsp.baf

Using Plan A...

Hunk #1 succeeded at 1.

Hunk #2 succeeded at 10.

Hunk #3 succeeded at 21.

Hunk #4 succeeded at 32.

Hunk #5 succeeded at 42.

Hunk #6 succeeded at 53.

Hunk #7 succeeded at 65.

Hunk #8 succeeded at 75.

Hunk #9 succeeded at 86.

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/lib/stratagems_shared.tph 2013-10-29 10:52:47.000000000 -0400

|+++ Fixpack/stratagems/lib/stratagems_shared.tph 2016-11-20 18:06:50.555276000 -0500

--------------------------

patching file stratagems/lib/stratagems_shared.tph

Using Plan A...

Hunk #1 FAILED at 132 (different line endings).

Hunk #2 FAILED at 141 (different line endings).

2 out of 2 hunks FAILED -- saving rejects to file stratagems/lib/stratagems_shared.tph.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/item/elemental_arrows.tpa 2015-01-14 22:04:20.696029300 -0500

|+++ Fixpack/stratagems/item/elemental_arrows.tpa 2016-11-20 18:06:50.550289900 -0500

--------------------------

patching file stratagems/item/elemental_arrows.tpa

Using Plan A...

Hunk #1 FAILED at 14 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/item/elemental_arrows.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/sarevok/sarevok.tpa 2013-10-27 14:21:59.000000000 -0400

|+++ Fixpack/stratagems/sarevok/sarevok.tpa 2016-11-20 18:06:50.555276000 -0500

--------------------------

patching file stratagems/sarevok/sarevok.tpa

Using Plan A...

Hunk #1 FAILED at 52 (different line endings).

Hunk #2 FAILED at 83 (different line endings).

2 out of 2 hunks FAILED -- saving rejects to file stratagems/sarevok/sarevok.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/gameplay/wk_early.tpa 2014-12-25 23:08:35.000000000 -0500

|+++ Fixpack/stratagems/gameplay/wk_early.tpa 2016-11-20 18:06:50.546287000 -0500

--------------------------

patching file stratagems/gameplay/wk_early.tpa

Using Plan A...

Hunk #1 FAILED at 169 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/gameplay/wk_early.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/lib/always.tph 2015-01-17 15:04:43.859196000 -0500

|+++ Fixpack/stratagems/lib/always.tph 2016-11-20 18:06:50.552288800 -0500

--------------------------

patching file stratagems/lib/always.tph

Using Plan A...

Hunk #1 FAILED at 9 (different line endings).

Hunk #2 FAILED at 153 (different line endings).

2 out of 2 hunks FAILED -- saving rejects to file stratagems/lib/always.tph.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/caster_shared/caster_shared.tph 2014-12-26 18:58:24.000000000 -0500

|+++ Fixpack/stratagems/caster_shared/caster_shared.tph 2016-11-20 18:06:50.543285100 -0500

--------------------------

patching file stratagems/caster_shared/caster_shared.tph

Using Plan A...

Hunk #1 FAILED at 307 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/caster_shared/caster_shared.tph.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/lib/install.tph 2013-11-14 08:42:13.000000000 -0500

|+++ Fixpack/stratagems/lib/install.tph 2016-11-20 18:06:50.554276300 -0500

--------------------------

patching file stratagems/lib/install.tph

Using Plan A...

Hunk #1 FAILED at 65 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/lib/install.tph.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/tactical_bg2/spawn.tpa 2013-10-21 01:23:37.000000000 -0400

|+++ Fixpack/stratagems/tactical_bg2/spawn.tpa 2016-11-20 18:06:50.587299100 -0500

--------------------------

patching file stratagems/tactical_bg2/spawn.tpa

Using Plan A...

Hunk #1 FAILED at 8 (different line endings).

Hunk #2 FAILED at 71 (different line endings).

2 out of 2 hunks FAILED -- saving rejects to file stratagems/tactical_bg2/spawn.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/tactical_bg1/c2end.tpa 2013-11-14 08:28:46.000000000 -0500

|+++ Fixpack/stratagems/tactical_bg1/c2end.tpa 2016-11-20 18:06:50.572288200 -0500

--------------------------

patching file stratagems/tactical_bg1/c2end.tpa

Using Plan A...

Hunk #1 FAILED at 73 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/tactical_bg1/c2end.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/gameplay/bonus_merchant/bonus.baf 2011-03-01 14:13:44.000000000 -0500

|+++ Fixpack/stratagems/gameplay/bonus_merchant/bonus.baf 2016-11-20 18:06:50.544281900 -0500

--------------------------

patching file stratagems/gameplay/bonus_merchant/bonus.baf

Using Plan A...

Hunk #1 succeeded at 86.

Hunk #2 succeeded at 99.

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/lib/crossplatform.tph 2013-10-04 17:04:46.000000000 -0400

|+++ Fixpack/stratagems/lib/crossplatform.tph 2016-11-20 18:06:50.553289300 -0500

--------------------------

patching file stratagems/lib/crossplatform.tph

Using Plan A...

Hunk #1 succeeded at 1.

Hunk #2 succeeded at 33.

Hunk #3 succeeded at 62.

Hunk #4 succeeded at 79.

Hunk #5 succeeded at 337.

Hunk #6 succeeded at 379.

Hunk #7 succeeded at 634.

Hunk #8 succeeded at 680.

Hunk #9 succeeded at 938.

Hunk #10 succeeded at 980.

Hunk #11 succeeded at 1194.

Hunk #12 succeeded at 1230.

Hunk #13 succeeded at 1274.

Hunk #14 succeeded at 1574.

Hunk #15 succeeded at 1787.

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/item/dispelling_arrows.tpa 2013-10-06 16:43:34.000000000 -0400

|+++ Fixpack/stratagems/item/dispelling_arrows.tpa 2016-11-20 18:06:50.549284900 -0500

--------------------------

patching file stratagems/item/dispelling_arrows.tpa

Using Plan A...

Hunk #1 FAILED at 2 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/item/dispelling_arrows.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/sfo/general/lib_iterate.tpa 2013-10-28 11:03:46.000000000 -0400

|+++ Fixpack/stratagems/sfo/general/lib_iterate.tpa 2016-11-20 18:06:50.558292700 -0500

--------------------------

patching file stratagems/sfo/general/lib_iterate.tpa

Using Plan A...

Hunk #1 FAILED at 27 (different line endings).

Hunk #2 FAILED at 626 (different line endings).

2 out of 2 hunks FAILED -- saving rejects to file stratagems/sfo/general/lib_iterate.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/werewolf/werewolf.tpa 2013-11-16 16:05:14.000000000 -0500

|+++ Fixpack/stratagems/werewolf/werewolf.tpa 2016-11-20 18:06:50.588299600 -0500

--------------------------

patching file stratagems/werewolf/werewolf.tpa

Using Plan A...

Hunk #1 FAILED at 42 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/werewolf/werewolf.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/gameplay/npc_separate.tpa 2013-11-16 19:57:42.000000000 -0500

|+++ Fixpack/stratagems/gameplay/npc_separate.tpa 2016-12-05 09:49:03.422659300 -0500

--------------------------

patching file stratagems/gameplay/npc_separate.tpa

Using Plan A...

Hunk #1 FAILED at 66 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/gameplay/npc_separate.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/gameplay/npc_proficiencies.tpa 2013-11-10 16:49:43.000000000 -0500

|+++ Fixpack/stratagems/gameplay/npc_proficiencies.tpa 2016-11-20 18:06:50.545286100 -0500

--------------------------

patching file stratagems/gameplay/npc_proficiencies.tpa

Using Plan A...

Hunk #1 FAILED at 47 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/gameplay/npc_proficiencies.tpa.rej

done

Hmm... Looks like a unified diff to me...

(Stripping trailing CRs from patch; use --binary to disable.)

The text leading up to this was:

--------------------------

|--- stratagems/spell/ironskins.tpa 2013-10-28 11:22:37.000000000 -0400

|+++ Fixpack/stratagems/spell/ironskins.tpa 2016-11-20 18:06:50.561297500 -0500

--------------------------

patching file stratagems/spell/ironskins.tpa

Using Plan A...

Hunk #1 FAILED at 20 (different line endings).

1 out of 1 hunk FAILED -- saving rejects to file stratagems/spell/ironskins.tpa.rej

done

 

 

Link to comment

Using the dos2unix command line utility to remove the trailing Windows-style carriage returns from the end of each line in the .patch files in the Fixpack should solve the "different line endings" issue. I don't have time now but sometime this weekend I will try to correct this for all of the patch files in the GitHub package.

Link to comment

Incantatar, those instructions don't make any sense to me. Why are you copying a directory, deleting the original, and then copying it back to original location? And why are you using asterisks to do it? All that's needed is to run ciopfs. Note you have the ciopfs arguments backwards. The problem with the patch failures is already understood. Did you see the script I posted? http://gibberlings3.net/forums/index.php?showtopic=28443&p=249615

 

Edit: Could it be that reversing the ciopfs arguments avoids the need for tolower? Checking...

 

Edit: Yes, that's it! Good job, and sorry for the confusion. I had the ciopfs arguments reversed :)

 

Edit: But note there is a tradeoff. The tolower operation is cheap, while copying the entire install directory is expensive. But I think your solution is cleaner, even if slower.

Link to comment

Incantatar, those instructions don't make any sense to me. Why are you copying a directory, deleting the original, and then copying it back to original location? And why are you using asterisks to do it? All that's needed is to run ciopfs. Note you have the ciopfs arguments backwards. The problem with the patch failures is already understood. Did you see the script I posted? http://gibberlings3.net/forums/index.php?showtopic=28443&p=249615

 

Edit: Could it be that reversing the ciopfs arguments avoids the need for tolower? Checking...

 

Edit: Yes, that's it! Good job, and sorry for the confusion. I had the ciopfs arguments reversed :)

 

Edit: But note there is a tradeoff. The tolower operation is cheap, while copying the entire install directory is expensive. But I think your solution is cleaner, even if slower.

Ok, good that it works for you too. I used asterisks to copy and remove the insides of the folder and not the folder itself. Regarding slowness compare copying the directory with installing SCS. ;)

​Edit: I think I should have used a dot instead of an asterisk. I thought it was comparable to 'rm -r' but I guess it's different for cp.

 

Corrected: (Anything else?)

## Enhanced Editions in GNU/Linux

 

The EEs contain filenames with upper- and lowercases which does not work nicely with Weidu in Linux. This tutorial shows how to mount the game to a case insensitive file system.

 

1. Install ciopfs. E.g.:

 

$ sudo apt-get install ciopfs

 

2. Copy your installation. This assumes a simple install path, change the folder path to your install.

 

$ cp -a /home/username/games/BGEE/. /home/username/games/BGEE_copy

 

3. Create a new hidden folder for the mount one level above the game directory. E.g.:

 

$ mkdir -p /home/username/games/.ciopfs/BGEE

 

4. Remove the original installation

 

$ rm -r /home/username/games/BGEE/*

$ rm -r /home/username/games/BGEE/.mojosetup

 

5. Mount the hidden folder to the empty install directory (Note: This step needs to be run again after you reboot)

 

$ ciopfs /home/username/games/.ciopfs/BGEE /home/username/games/BGEE

 

6. Copy the installation backup to your mounted directory

 

$ cp -a /home/username/games/BGEE_copy/. /home/username/games/BGEE

 

7. You can remove the backup now or leave it for convenience.

 

8. Copy modfolder, 'weidu' and 'weinstall' to your game's data folder and install mods with

 

$ weinstall 'name_of_mod'

 

Optional: You can write a simple bash script with step 5. and the start command for your game and put it in your $PATH. Alternatively you can mount the folder with fstab at every boot.

 

Note: Be aware there still might exist issues with mods relying on bat files, biffing or converting audio. Look for support in the forums if necessary.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...