December 21, 2024, 02:08:26 PM

Username
Password

Pages: 1 2 [3] 4 5 ... 10
 21 
 on: October 25, 2024, 08:42:50 PM 
Started by aguerson - Last post by olly
Excellent work. Thanks

 22 
 on: October 24, 2024, 10:46:24 PM 
Started by aguerson - Last post by aguerson
It is time to play with the resolution and the MOD Pack Smiley

 23 
 on: October 24, 2024, 10:44:24 PM 
Started by aguerson - Last post by aguerson
Great, it works:

1) Copy Dark Omen icon

"Do it as root"

Code:
mkdir -p /home/USERNAME/games/warhammer/sources/desktop
cp /home/USERNAME/games/warhammer/iso/small.ico /home/USERNAME/games/warhammer/sources/desktop/darkomen.ico

Change file rights

Code:
chmod 644 /home/USERNAME/games/warhammer/sources/desktop/darkomen.ico

2) Create a desktop file

"Do it as root"

Code:
vim /usr/share/applications/darkomen.desktop

Press "i"
Insert the code below

Code:
[Desktop Entry]
Type=Application
Version=1.0
Name=Warhammer Dark Omen
GenericName=Role play Game
Icon=/home/USERNAME/games/warhammer/sources/desktop/darkomen.ico
Exec=darkomen
Terminal=false
Categories=Game;RolePlayGame;

Press "Echap" key
Type ":wq!"

Change file rights

Code:
chmod 644 /usr/share/applications/darkomen.desktop

3) Create a launcher script

"Do it as root"

Code:
vim /usr/games/darkomen

Press "i"
Insert the code below

Code:
#!/bin/sh


Xephyr :2 -ac -screen 640x480x16 &
sleep 1
cd /home/USERNAME/games/warhammer/data/
DISPLAY=:2 WINEPREFIX=/home/USERNAME/games/warhammer/data/ wine EngRel.exe



Press "Echap" key
Type ":wq!"

Change file rights

Code:
chmod +x /usr/games/darkomen


Now you can launch the game with the new desktop icon in the menu Smiley

 24 
 on: October 24, 2024, 09:43:45 PM 
Started by moktira - Last post by aguerson
https://forum.dark-omen.org/help-section/warhammer-dark-omen-installation-2024-linux-ubuntu-2204-lts-t1675.0.html
 Grin

 25 
 on: October 24, 2024, 09:39:18 PM 
Started by aguerson - Last post by aguerson
Hi all,

There is a section to install Dark Omen on Windows, let's do it for Linux Smiley

Maybe it could work with Ubuntu 24.04 LTS. I haven't upgrade my Linux yet.

I assume you have an original CD ISO of the game.

First I want to thanks aqrit and moktira

https://forum.dark-omen.org/help-section/dark-omen-linux-textures-flipped-t1577.0.html

Note:
I don't use "sudo" for many reasons. I prefer directly using root when I need it. So I run the command "su -" to change to root and type many commands.
When you need "Do it as root", if you don't use like me the command "su -", just add "sudo" behind the commands and enter the password if asked.


0) Download and install a fresh Linux Ubuntu 22.04 LTS with the iso below

https://releases.ubuntu.com/jammy/ubuntu-22.04.5-desktop-amd64.iso

1) Install some Linux tools

"Do it as root"

Code:
apt update
apt install vim
apt install zip
apt install unzip


2) Install wine and winetricks

"Do it as root"

Code:
mkdir -pm755 /etc/apt/keyrings
wget -O /etc/apt/keyrings/winehq-archive.key [url]https://dl.winehq.org/wine-builds/winehq.key[/url]
wget -NP /etc/apt/sources.list.d/ [url]https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources[/url]
apt update
apt install --install-recommends winehq-stable
apt install winetricks

3) Create directories

USERNAME is the name you chose when you install Linux

"Do it as your login ( USERNAME )"

Code:
mkdir -p /home/USERNAME/games/warhammer/iso
mkdir -p /home/USERNAME/games/warhammer/sources
mkdir -p /home/USERNAME/games/warhammer/sources/ddwrapper
mkdir -p /home/USERNAME/games/warhammer/data

4) Download or create Warhammer Dark Omen ISO ( for copyrights reasons I cannot put a link - I hope you have the CD / or the ISO )
Mine is the French version, but I can install the english version with it.

If you have a CD version and you want to have a copy ( a iso file ) in Linux :

"Do it as your login ( USERNAME )"

a) Insert the original CD

b) Get infos from your CD

Code:
isoinfo -d -i /dev/sr0 | grep -i -E 'block size|volume size'

You will see something like that

Code:
Logical block size is: xxxx
Volume size is: yyyyyy

where "/dev/sr0" is your CD device on Linux

c) Create your iso file in "/home/USERNAME/games/warhammer/sources"

"Do it as your login ( USERNAME )"

Code:
cd /home/USERNAME/games/warhammer/sources
dd if=/dev/sr0 of=warhammer_dark_omen.iso bs=2048 count=324088 status=progress

where bs=xxxx was "Logical block size is: xxxx"
and count=yyyyyyy "Volume size is: yyyyyy"

xxx=2048
yyyyyy=324088

d) Install fuseiso

"Do it as root"

Code:
apt-get install fuseiso

5) Mount ISO

"Do it as your login ( USERNAME )"

Code:
fuseiso /home/USERNAME/games/warhammer/sources/warhammer_dark_omen.iso /home/USERNAME/games/warhammer/iso/

6) Create Wine architecture / tree

"Do it as your login ( USERNAME )"

Code:
WINEARCH=win32 WINEPREFIX="/home/USERNAME/games/warhammer/data/" winecfg

7) Download and extract abriq ddwrapper archive and files (http://www.bitpatch.com/ddwrapper.html)

"Do it as your login ( USERNAME )"

Code:
cd /home/USERNAME/games/warhammer/sources/ddwrapper
wget http://www.bitpatch.com/downloads/ddwrapper.zip
unzip ddwrapper.zip

Cool Download and extract modified DarkOmen files (https://www.mediafire.com/file/fnnkq89xdjy75m0/DarkOmenMods.zip/file)

"Do it as your login ( USERNAME )"

Code:
cd /home/USERNAME/games/warhammer/sources/
wget [url]https://download1583.mediafire.com/42o6bu6dfcegiX-0X9Lx3MtFwVB7C2CKhC-N_IuqENy7FHs5L31QJDwYgKPUS_L4FR0Z2h_boP8Qg7qWvHkUS6SlMsBz8csU7J1UPETUgNXocfbj5D29v3-uj2CQsXoBGQn4qaQVlk-anpUfjolvi35v48A6DpF81iGJqNT9IIkT/fnnkq89xdjy75m0/DarkOmenMods.zip[/url]
unzip DarkOmenMods.zip

If the link "https://download1583.mediafire.com/42o6..." doesn't work, just open your browser ( Firefox, Chrome, ... ) and get the file from the link "https://www.mediafire.com/file/fnnkq89xdjy75m0/DarkOmenMods.zip/file" and save it in the directory "/home/USERNAME/games/warhammer/sources/"

9) Install the game

"Do it as your login ( USERNAME )"

Code:
cd /home/USERNAME/games/warhammer/iso
WINEARCH=win32 WINEPREFIX="/home/USERNAME/games/warhammer/data/" wine SETUP.EXE

Choose the english language
Choose the "full" installation
Change the path of the game ( best for skipping the Microsft Windows space... ) and install it on "c:/games/darkomen"
Launch the installation
At the end, say "yes" to install directx 5

10) Add new ddraw lib

"Do it as your login ( USERNAME )"

You need to get Aqrit's ddraw.dll and the aqrit.cfg and put them in the directory "PRG_ENG"

Code:
cd /home/USERNAME/games/warhammer/sources/ddwrapper
cp aqrit.cfg ddraw.dll /home/USERNAME/games/warhammer/data/drive_c/games/darkomen/PRG_ENG/


11) Edit aqrit.cfg file

"Do it as your login ( USERNAME )"

Edit aqrit.cfg and change "BltMirror=1"

Use a text editor ( like vim on Linux )

Code:
vim /home/USERNAME/games/warhammer/data/drive_c/games/darkomen/PRG_ENG/aqrit.cfg

With "vim" :

Press "i" key
Go on the good line
Change "0" to "1" on the line BltMirror
Press "Echap" key
Type ":wq!"

12) Change wincfg configuration

"Do it as your login ( USERNAME )"

You then need to open winecfg again:

Code:
WINEARCH=win32 WINEPREFIX="/home/USERNAME/games/warhammer/data/" winecfg

Go to Libraries tab, if "ddraw" is not in the "Existing overrides" then click on "New override for library:", type "ddraw" and click "Add". It will give you a warning about the order but just say yes. Then make sure in the "Existing overrides" that it's "native" first.

13) Add new executable "EngRel.exe"

"Do it as your login ( USERNAME )"

Get the HexEdited "EngRel.exe" file and the "darkpatch.dll" lib from the downloaded archive and put them in PRG_ENG

Code:
cd /home/USERNAME/games/warhammer/sources/DarkOmenMods/PRG_ENG/
mv /home/USERNAME/games/warhammer/data/drive_c/games/darkomen/PRG_ENG/EngRel.exe /home/USERNAME/games/warhammer/data/drive_c/games/darkomen/PRG_ENG/EngRel.exe.orig
cp EngRel.exe darkpatch.dll /home/USERNAME/games/warhammer/data/drive_c/games/darkomen/PRG_ENG/

14) Install Xephyr

"Do it as root"

When you use Linux, each windows is served by a "windows manager"

To play in "16 bits", you need to use xephyr. Without xephyr, you will have some graphics problems.

Code:
apt update
apt install xserver-xephyr

15) Update directplay librairies in wine ( to play multiplayers )

"Do it as your login ( USERNAME )"

Code:
WINEARCH=win32 WINEPREFIX="/home/USERNAME/games/warhammer/data/" winetricks directplay

Say "yes" each time to have file as asked

16) Launch the game on Linux

As I said, on Linux, there is many "windows manager". For this reason, there are some daemons which are using/serving the display.
The position "1" is many time busy or used, so we will use the position/place "2" to skip the error. You can choose "3" if "1" or "2" are already used, etc...

Create a Xephyr windows

Code:
Xephyr :2 -ac -screen 640x480x16 &

Launch the game

Code:
DISPLAY=:2 WINEPREFIX=/home/USERNAME/games/warhammer/data/ wine EngRel.exe


Have fun !

I will update the post to create a desktop icon to launch the game. And maybe to give you some tips on the config.


 26 
 on: September 28, 2024, 10:57:57 PM 
Started by olly - Last post by olly
Always tempting to try the latest Warhammer 3 when you see amazing mods like this

https://steamcommunity.com/sharedfiles/filedetails/?id=2868277175
[ Attachment: You are not allowed to view attachments ]

https://steamcommunity.com/sharedfiles/filedetails/?id=2989710828
[ Attachment: You are not allowed to view attachments ]

https://steamcommunity.com/sharedfiles/filedetails/?id=3293001739
[ Attachment: You are not allowed to view attachments ]






Smiley

 27 
 on: September 26, 2024, 10:43:22 PM 
Started by modernhello48 - Last post by olly
Amazing Shadow of the horned rat miniatures

https://www.youtube.com/watch?v=9_c-Wv0BJfs

[ Attachment: You are not allowed to view attachments ]

 28 
 on: September 25, 2024, 10:34:37 AM 
Started by ulysses3117 - Last post by ulysses3117
Not sure what caused the issue, I did have a PlayStation controller plugged in to my PC when the problem occurred so I don't know if maybe that messed with something although unplugging it and restarting the PC didn't resolve anything. If it happens again I would maybe be able to narrow down what caused the issue further.

The fix was just to uninstall the game and remove the Dark Omen folder and any mentions of Dark Omen in regedit (I think I may have missed some entries which made this not work the first time I tried it) and then install the game again. That is one of the fixes mentioned in the  fix guide. I tried a bunch of other things to try and fix this issue without an uninstall but the uninstall is the only thing that worked.
 
If you have this issue and you have to uninstall the game and you don't want to lose your current progress, just copy the SaveGame folder located in the Dark Omen folder and paste in your saved games with the fresh install.

 29 
 on: September 24, 2024, 08:55:38 PM 
Started by ulysses3117 - Last post by olly
Glad you resolved the issue and will be interesting to hear what suddenly caused it not to work. Maybe permissions/antivirus quarantine, or using a different shortcut. Hopefully the virtualstore 64bit registry fix in the mod pack, helped restore the correct settings.

 30 
 on: September 24, 2024, 08:24:12 PM 
Started by ulysses3117 - Last post by ulysses3117
I managed to fix this. I'll post here tomorrow to say how I did in case someone else has the same issue. I don't have time tonight.

Pages: 1 2 [3] 4 5 ... 10