SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > General > General Topics > PC Hardware/Software forum
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-04-17, 01:33 AM   #31
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 31
Uploads: 0


Default

Whoops, sorry...

I need a lookout on deck!

Appearently all mine were


EDIT: I just re-read your post, and I think something is odd, but try what I have below anyway, it will tell us if things have gone screwy......
End EDIT.


Let's assume all went well..

Go to a terminal and type:

winecfg


A small window SHOULD open with multiple tabs, this will allow you to "setup" wine.
I.E. To choose which directory will function as your hard drive.
By default a directory named .wine (the "." in front means it is hidden) is created in your "home" directory to be your "C:" drive.

If it doesn't, then something went wrong. If it does, then continue on:
You should, by default, be looking at the "Apllications" tab. 1.9.0 and up usually default to "Windows 7". You will see a drop-down menu just above OK/Cancel/Apply buttons.

Make sure it is showing "Windows 7", and click "Apply".

Now click the "Drives" tab
click "add"
and choose the first available "drive Letter", and click ok. Mine is showing "F:". But I have 2 optical drives.

Click "Show Advanced".
On the "Path" line, enter a path to the directory you wish to use. on mine I have a Directory named "driveH". (please note it IS case sensitive!)
I have my drive set to "H:" and the path is "/home/<login-name>/driveH
I keep all my games that need 32bit, directX9, dotnet2.0 in here.
I have one named "driveJ" and it is "J:" in winecfg. I keep all my 64bit DX10 & DX11 games in there.

On the "Type" drop-down menu, select "Local hard disk".

At this point you should be good for now, go ahead and press "ok" to close it.


Now to actually use wine, you will need a Windows game.
Do you have SH3 or SH4?
Or another game from that time frame? Something that requires DirectX9 would be best.

I specifically mention SH3/4 because I know they work without any special help.

Just place it in the CD/DVD drive, use your file manager and find the install file, and click it like you would any other file to open it.
It SHOULD launch, and allow you to install the game.

If winecfg doesn't launch let me know, and we can try to see what may have gone wrong with the setup/install...



Speaking of not being afraid to "break things"...
I'm typing this from my backup/update testing hard drive...
As I lost one of my drives in my RAID0 earlier. About the time I was typing my last post.

I think the spindle bearing is gone... So hopefully tomorrow I'll make a quick trip to one of the larger computer stores and pick up some WD Caviar Black drives and build me another RAID.
Fortunately I backed up my entire /home to another HD that is rarely used.
I've had it for ~4 years and it only has 1 more month of "up-time" than the 2 oldest in this PC which is less than a year old....

So I'm off....

Barracuda

Last edited by BarracudaUAK; 04-04-17 at 02:31 AM.
BarracudaUAK is offline   Reply With Quote
Old 04-04-17, 05:21 AM   #32
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 32,563
Downloads: 171
Uploads: 0
Default

Hi Barracuda, so far I have only read up to the test with winecfg, this is the return terminal message:
"The program 'winecfg' is currently not installed. You can install it by typing:
sudo apt install wine1.6"
Thought I'd best get this info to you first.
BTW, the current system I use on my old machine is XP Pro, the new pc is dual boot with Win 10, but I hate it, should I still select Windows 7?
Nasty about the spindle bearing in the HDD, this is the main reason I am trying to update, my old pc is about 6yo, including hard drives.
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 04-05-17, 12:58 AM   #33
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 31
Uploads: 0


Default

Quote:
Originally Posted by Reece View Post
Hi Barracuda, so far I have only read up to the test with winecfg, this is the return terminal message:
"The program 'winecfg' is currently not installed. You can install it by typing:
sudo apt install wine1.6"
Thought I'd best get this info to you first.
BTW, the current system I use on my old machine is XP Pro, the new pc is dual boot with Win 10, but I hate it, should I still select Windows 7?
Nasty about the spindle bearing in the HDD, this is the main reason I am trying to update, my old pc is about 6yo, including hard drives.

To answer the simple question first...

WINE just "mimics" Windows as far as the program is concerned, it doesn't actually give you a Windows desktop.

If, for example, you have a game that needs XP minimum to run, but you have wine set to "report" Win98, then when the program starts it checks which version of Windows you have.
Wine will say "this is win98", at that point the program will end and give you a message in a window saying something like "This programs requires Windows XP or better to run".

If you set WINE to WinXP, then re-run that same program it will check as it always does, and Wine will say "WinXP". The program will then start.

A general idea, but I cover the basics of "how" it works here:
http://www.subsim.com/radioroom/showthread.php?t=229238

---------

As far as whether or not you should install that one, we need to check to see what is available.

Simply because I'm not familiar with the graphical installer, let's stick with apt-get...


on fedora, I can type:

dnf info <name of package>

to get info about that package...

if I just type "dnf" I get a list of possible commands such as "info", "install", "remove", etc.

Try typing just:

apt-get

It should print out the "help" list.

Is there a command like "info" that tells you what a package does?


I'm going to assume that there is one... and that it is called "info".
Substitute which ever command you need to....

If in Fedora, I type:

dnf info mesa

Mesa is the driver/3d part of the sytem (more or less, I'm being really "rough" here).
But there isn't a package name just "mesa", they are all mesa-<something>-<somthing>-etc-etc....

Each containing a small piece of the whole....
So to fine which particular part I need I would type:

dnf info mesa* <----------------------- notice the *

The star, like DOS is the catch all wildcard.... it will then show me all packages that start with "mesa".

Try that with WINE....

Assuming "info" is the right command, again, double check as I mentioned above...

apt-get info wine*

This should show you all the packages that start with wine....
IF it gives an error, then put sudo in front:

sudo apt-get info wine*

You shouldn't need "sudo" just to get info, you are not making any changes at that point....


Lemme know how it goes. I'll check back asap, I got my replacement HDDs...

4, 1TB WD Black... going to setup another RAID0, retire my ~1 year old Seagates to backup duty...

I'll reply as soon as I get the system back up and running. Restoring the backup will take time, it is still only one drive!

Barracuda
BarracudaUAK is offline   Reply With Quote
Old 04-05-17, 02:03 AM   #34
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 32,563
Downloads: 171
Uploads: 0
Default

This is what I get from APT-GET:

Quote:
Most used commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
purge - Remove packages and config files
autoremove - Remove automatically all unused packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
build-dep - Configure build-dependencies for source packages
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
source - Download source archives
download - Download the binary package into the current directory
changelog - Download and display the changelog for the given package

See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
Good Luck with the drive.
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 04-05-17, 08:00 AM   #35
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 32,563
Downloads: 171
Uploads: 0
Default

Well I discovered wine was only 127kb in size so I uninstalled it and then ran this: sudo apt-get install --install-recommends winehq-devel
Again all seemed to work but got this (last few lines):

Quote:
Setting up winehq-devel (2.5.0~xenial) ...
Setting up libosmesa6:i386 (12.0.6-0ubuntu0.16.04.1) ...
Setting up libosmesa6:amd64 (12.0.6-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link
I then ran winecfg and got his:

Quote:
wine: created the configuration directory '/home/reece/.wine'
err: ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err: ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err: ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err: ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err: ole:get_local_server_stream Failed: 80004002
err: ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err: ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err: ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err: ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err: ole:get_local_server_stream Failed: 80004002
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/reece/.wine' has been updated.
Also asked for some file to install since .NET failed, I cancelled, the same thing with Gecko.

The reason I cancelled is that wine doesn't show anywhere not that I really know what to look for.

After a bit of reading I did the following:

Quote:
sudo apt-get update
[sudo] password for reece:
Hit:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Get:6 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:7 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [509 kB]
Get:8 http://au.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [498 kB]
Get:9 http://au.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [205 kB]
Get:10 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [288 kB]
Get:11 http://au.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [184 kB]
Get:12 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Get:13 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Get:14 http://au.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,520 B]
Get:15 http://au.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
Fetched 2,345 kB in 14s (162 kB/s)
Reading package lists... Done
Then:

Quote:
sudo apt-get install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
winehq-devel is already the newest version (2.5.0~xenial).
The following packages were automatically installed and are no longer required:
kde-l10n-engb libwine-development libwine-development:i386
linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-62
linux-headers-4.4.0-62-generic linux-headers-4.4.0-64
linux-headers-4.4.0-64-generic linux-image-4.4.0-31-generic
linux-image-4.4.0-62-generic linux-image-4.4.0-64-generic
linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-62-generic
linux-image-extra-4.4.0-64-generic linux-signed-image-4.4.0-62-generic
linux-signed-image-4.4.0-64-generic ocl-icd-libopencl1:i386 shim
ubuntu-core-launcher wine32-development:i386 wine64-development
Use 'sudo apt autoremove' to remove them.
I did this, this did a lot and ended with:

Quote:
-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.8
Kernel: 4.4.0-64-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.
dkms: removing: nvidia-375 375.39 (4.4.0-64-generic) (x86_64)

-------- Uninstall Beginning --------
Module: nvidia-375
Version: 375.39
Kernel: 4.4.0-64-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia_375.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia_375_modeset.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia_375_drm.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia_375_uvm.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-64-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-72-generic
Found initrd image: /boot/initrd.img-4.4.0-72-generic
Found linux image: /boot/vmlinuz-4.4.0-71-generic
Found initrd image: /boot/initrd.img-4.4.0-71-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Removing ocl-icd-libopencl1:i386 (2.2.8-1) ...
Removing shim (0.9+1474479173.6c180c6-1ubuntu1) ...
Removing ubuntu-core-launcher (2.22.6) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link

Processing triggers for man-db (2.7.5-1) ...
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
Now should I run Winecfg?
Some sort of results guaranteed!!
BTW, I still can't fine Wine anywhere!!
__________________

Sub captains go down with their ship!

Last edited by Reece; 04-05-17 at 08:29 AM.
Reece is offline   Reply With Quote
Old 04-05-17, 09:05 AM   #36
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

When you run the WineHQ version winecfg isn't put on the desktop by default. I'm on an infernal Windows machine at work right now so I can't tell you where the Windows stuff resides. But you should run winecfg.

Now when you download a Windows program, navigate to the downloaded file and right-click it. Your top option should be install with WINE installer.

Last edited by Rockin Robbins; 04-05-17 at 09:47 AM.
Rockin Robbins is offline   Reply With Quote
Old 04-05-17, 07:23 PM   #37
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 32,563
Downloads: 171
Uploads: 0
Default

Thanks Steve, I keep thinking Wine is a virtual desktop!!
I will try winecfg later, hopefully it asks for the .NET and Gecko to be installed.

Btw, I tried the WinHQ forum but is a pain since my posts have to be 'approved' before they go on, that takes 24hrs. I did get a reply to the first, I had made a typo and the responder was rather rude!!

Edit:
I ran winecfg from the terminal and it opened up a box, after I closed it I get the terminal message:
"fixme:msg:pack_message nsg 14 (WM_ERASEBKGND) not supported yet"

It seems that Wine is only accessible with context menus on exe files only?

Anyone know what "PlayOnLinux" is like?
https://www.playonlinux.com/en/download.html
Or is this better:
https://www.codeweavers.com/products/crossover-linux
__________________

Sub captains go down with their ship!

Last edited by Reece; 04-06-17 at 01:51 AM.
Reece is offline   Reply With Quote
Old 04-06-17, 05:51 AM   #38
Skybird
Soaring
 
Skybird's Avatar
 
Join Date: Sep 2001
Location: the mental asylum named Germany
Posts: 40,336
Downloads: 9
Uploads: 0


Default

I deinstalled Steam launcher and then reinstalled it on Linux, to see whether it really gives me the choice, but it left me no choice ever to select the installation location, so it went onto the SSD. Within Steam I could choose where the game installation folder should be placed, but choosing the second drive, the HD, does not get accepted as a valid location, I need to chose the SSD again, only then it would work. So I have not installed any game.

The HD drive is mounted. Google seems to have instalkled some files there without me noticing it, and I have manually moved MP3 and picture archives here.

Any attempt to install a program to the HD so far has failed.
__________________
If you feel nuts, consult an expert.
Skybird is offline   Reply With Quote
Old 04-06-17, 06:57 AM   #39
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 32,563
Downloads: 171
Uploads: 0
Default

Not that I know much but I have 2 HDD's and I have trouble installing Linux stuff to NTSF drives, data is ok.
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 04-06-17, 07:07 AM   #40
Skybird
Soaring
 
Skybird's Avatar
 
Join Date: Sep 2001
Location: the mental asylum named Germany
Posts: 40,336
Downloads: 9
Uploads: 0


Default

Naaa, drive format is not the issue here.
__________________
If you feel nuts, consult an expert.
Skybird is offline   Reply With Quote
Old 04-06-17, 07:59 AM   #41
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 32,563
Downloads: 171
Uploads: 0
Default

Ok, I'm guilty!!

__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 04-06-17, 09:10 AM   #42
Skybird
Soaring
 
Skybird's Avatar
 
Join Date: Sep 2001
Location: the mental asylum named Germany
Posts: 40,336
Downloads: 9
Uploads: 0


Default

A head, a head, a kingdom for a head on a silver platter!
__________________
If you feel nuts, consult an expert.
Skybird is offline   Reply With Quote
Old 04-06-17, 10:44 AM   #43
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

Hey!
Ubuntu Unity is Dead: Desktop will switch back to GNOME next year


After six years of developing a decently working desktop on their own, Canonical has decided to go back to its open source roots. Starting in 2018 with Ubuntu 18.04, Ubuntu will ship with GNOME 3 (or 4 by then?) as its default desktop.

When developers were unable to get the next version of Unity, Unity 8, stable enough to use as a default desktop, Mark Shuttleworth and cohorts took stock and made the tough choice to stop duplicating the efforts of truly open source desktops.

Unity started out to near universal jeers by the Linux crowd. They persevered until Unity 7 became a well functioning desktop deserving respect. Then it looks like they dropped the ball on Unity 8. Game over.

This isn't a bad thing. GNOME, KDE, Mate, Cinnamon, LXDE, XFCE, OpenBox, PekWM, Pantheon, Enlightenment, and Deepin, plus more are available to be used. There are dedicated Ubuntu programming teams for various Ubuntu "flavors," Kubuntu (KDE desktop), Ubuntu Mate, Lubuntu (LXDE), Xubuntu (XFCE), Ubuntu Budgie (Budgie desktop not mentioned above), holy crap there are a lot of choices!

And that's what Linux is all about: choices. The users determine what will live and what will die because they're in charge. The Linux community CARES about what you want and respects your judgment.

Me? I'm off to download the KDE Plasma desktop and the GNOME 3 desktop to begin with. I've looked at Enlightenment once and was intrigued. And maybe I need to check out Budgie, since there's a dedicated Ubuntu flavor for that. Cool stuff!
Rockin Robbins is offline   Reply With Quote
Old 04-06-17, 10:48 AM   #44
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

Quote:
Originally Posted by Skybird View Post
I deinstalled Steam launcher and then reinstalled it on Linux, to see whether it really gives me the choice, but it left me no choice ever to select the installation location, so it went onto the SSD.
Okay, you MADE me do it. I'll look into it and report back. Onward, into the fog!
Rockin Robbins is offline   Reply With Quote
Old 04-06-17, 11:17 AM   #45
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

https://askubuntu.com/questions/2602...installs-games

Best answer I saw was to be done directly in Steam:
Rockin Robbins is offline   Reply With Quote
Reply

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 -5. The time now is 03:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.