Anyone know how?

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Anyone know how?

Post#1 by Ed_P » 10 Jan 2020, 01:36

I have an old computer which was Windows XP and then Windows 7. It ran an old 2000 version of 32bit Quicken. I find that I can install it on my 64bit Windows 10 system and run it. I would like to get it to run on 64bit Porteus 4.0, or 64bit 5.0, via Wine. Unfortunately every time I have tried I have failed.

My latest attempts were using:

Code: Select all

ls -lg
total 1312357
-rwxrwxrwx 1 root 111755264 Jan  8 16:31 0050-compat32-multilib-lite-x86_64-1bl.xzm*
-rwxrwxrwx 1 root  69439488 Jul 27 05:20 0050-compat32-multilib-lite.xzm*
-rwxrwxrwx 1 root 484454400 Jan  8 15:44 0050-multilib-current-x86_64_12112019.xzm*
-rwxrwxrwx 1 root 510312448 Jul 26 18:01 0050-multilib-current-x86_64_13072019.xzm*
-rwxrwxrwx 1 root  83279872 Jul 26 17:58 wine-4.12.1-x86_64-1sg.xzm*
-rwxrwxrwx 1 root  84606976 Jan  8 15:37 wine-5.0.rc4-x86_64-1sg.xzm*
guest@porteus:/mnt/sda6/porteus5.0/Optional/wine$ 
Anyone know how to do it? :wall:
Ed

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Anyone know how?

Post#2 by evergreen » 10 Jan 2020, 18:14

Download Winetricks
I did it with sbopkg to then convert it to xzm
https://sourceforge.net/projects/projec ... m/download

I dont know what terminal are you using but with xfce4-terminal when I am executing some command for wine, it display a problem and it is not working right 'xterm-256color': unknown terminal type. so my solutions is execute wine and winetricks commands with xterm

Try remove .wine in your guest folder and create a wine 32bit prefix:

$rm -r .wine
$export WINEARCH=''win32''
$export WINEPREFIX=~/.wine

$winecfg

Then
$winetricks mfc42

With the last step you are going to install Visual C++ 6.0 libs.

Let me know if everything is fine.
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Anyone know how?

Post#3 by Ed_P » 11 Jan 2020, 04:35

Hi evergreen, thank you for your support.

What I created: wine.sh

Code: Select all

#!/bin/sh
# https://forum.porteus.org/viewtopic.php?p=75340#p75340

OPTIONAL=/mnt/sda6/porteus5.0/Optional/wine
WINE=wine-5*.xzm
LIBS=0050*12112019.xzm
TRICK=winetricks*.xzm

set -x;

echo guest | sudo -S activate $OPTIONAL/$WINE  $OPTIONAL/$LIBS $OPTIONAL/$TRICK > /dev/null 2>&1 &

sleep 3
ls -l /mnt/live/memory/images/wine*
ls -l /mnt/live/memory/images/$LIBS

rm -r .wine
export WINEARCH="win32"
export WINEPREFIX=~/.wine

winecfg

winetricks mfc42

echo "RIGHT click a .exe file to run via Wine."
read
It helps with reruns and tweaks of things.

What I got:

Code: Select all

guest@porteus:/mnt/sda6/porteus5.0$ ./wine.sh
+ echo guest
+ sleep 3
+ sudo -S activate /mnt/sda6/porteus5.0/Optional/wine/wine-5.0.rc4-x86_64-1sg.xzm /mnt/sda6/porteus5.0/Optional/wine/0050-multilib-current-x86_64_12112019.xzm /mnt/sda6/porteus5.0/Optional/wine/winetricks-20190615-noarch-1_SBo.xzm
+ ls -l /mnt/live/memory/images/wine-5.0.rc4-x86_64-1sg.xzm /mnt/live/memory/images/winetricks-20190615-noarch-1_SBo.xzm
/mnt/live/memory/images/wine-5.0.rc4-x86_64-1sg.xzm:
total 0
drwxr-xr-x 9 root root 136 Jan  4 17:36 usr
drwxr-xr-x 4 root root  37 Jan  7 23:50 var

/mnt/live/memory/images/winetricks-20190615-noarch-1_SBo.xzm:
total 0
drwxr-xr-x 5 root root 48 Jan 10 12:50 usr
drwxr-xr-x 4 root root 37 Jan 10 12:50 var
+ ls -l /mnt/live/memory/images/0050-multilib-current-x86_64_12112019.xzm
total 5
drwxr-xr-x  2 root root   26 Nov 12 16:24 bin
drwxr-xr-x  5 root root   92 Oct  4 16:03 etc
drwxr-xr-x  5 root root 3113 Aug  1 16:59 lib
drwxr-xr-x  2 root root 1065 Nov 12 16:25 lib64
drwx--x---  3 root root   29 Nov 12 16:25 root
drwxr-xr-x  3 root root   27 Oct  7 14:49 run
drwxr-xr-x  2 root root   42 Sep 11 16:49 sbin
drwxr-xr-x 12 root root  211 Nov 11 13:04 usr
drwxr-xr-x 10 root root  121 Aug  1 16:59 var
+ rm -r .wine
rm: cannot remove '.wine': No such file or directory
+ export WINEARCH=win32
+ WINEARCH=win32
+ export WINEPREFIX=/home/guest/.wine
+ WINEPREFIX=/home/guest/.wine
+ winecfg
wine: created the configuration directory '/home/guest/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/guest/.wine" has been updated.
'xterm-256color': unknown terminal type.
+ winetricks mfc42
Using winetricks 20190615 - sha256sum: b6e465841d1d7bf473d8ecd32ed7a18e0add817444bf54ec25e6c9465584c6e9 with wine-5.0-rc4 and WINEARCH=win32
------------------------------------------------------
You are running winetricks-20190615, latest upstream is winetricks-20191224!
------------------------------------------------------
------------------------------------------------------
You should update using your distribution's package manager, --self-update, or manually.
------------------------------------------------------
Executing w_do_call mfc42
Executing load_mfc42 
Executing mkdir -p /home/guest/.cache/winetricks/vcrun6
Executing cd /home/guest/.cache/winetricks/vcrun6
Downloading https://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe to /home/guest/.cache/winetricks/vcrun6
--2020-01-10 23:17:36--  https://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe
Resolving download.microsoft.com (download.microsoft.com)... 69.192.108.188, 2600:141b:9000:39e::e59, 2600:141b:9000:381::e59, ...
Connecting to download.microsoft.com (download.microsoft.com)|69.192.108.188|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1837888 (1.8M) [application/octet-stream]
Saving to: ‘VC6RedistSetup_deu.exe’

VC6RedistSetup_deu. 100%[===================>]   1.75M  2.41MB/s    in 0.7s    

2020-01-10 23:17:37 (2.41 MB/s) - ‘VC6RedistSetup_deu.exe’ saved [1837888/1837888]

Executing cd /mnt/sda6/porteus5.0
Executing wine /home/guest/.cache/winetricks/vcrun6/vc6redistsetup_deu.exe /T:C:\windows\Temp\_mfc42 /c
'xterm-256color': unknown terminal type.
------------------------------------------------------
Note: command wine /home/guest/.cache/winetricks/vcrun6/vc6redistsetup_deu.exe /T:C:\windows\Temp\_mfc42 /c returned status 1. Aborting.
------------------------------------------------------
+ echo 'RIGHT click a .exe file to run via Wine.'
RIGHT click a .exe file to run via Wine.
+ read

guest@porteus:/mnt/sda6/porteus5.0$ /mnt/sda3/Program Files (x86)/QUICKENW
bash: syntax error near unexpected token `('
guest@porteus:/mnt/sda6/porteus5.0$ wine /mnt/sda3/Program Files (x86)/QUICKENW/QW.EXE
bash: syntax error near unexpected token `('
guest@porteus:/mnt/sda6/porteus5.0$ wine /mnt/sda3/"Program Files (x86)"/QUICKENW/QW.EXE
002e:err:module:import_dll Library IPROF32.dll (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QWUTIL7.dll") not found
002e:err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QWUTIL7.dll") not found
002e:err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QCOMUTIL.dll") not found
002e:err:module:import_dll Library QCOMUTIL.dll (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QWUTIL7.dll") not found
002e:err:module:import_dll Library QWUTIL7.dll (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\ONLNCALL.dll") not found
002e:err:module:import_dll Library ONLNCALL.dll (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QW.EXE") not found
 :
 :
002e:err:module:import_dll Library Q_encutl.dll (which is needed by L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QW.EXE") not found
002e:err:module:LdrInitializeThunk Importing dlls for L"Z:\\mnt\\sda3\\Program Files (x86)\\QUICKENW\\QW.EXE" failed, status c0000135
guest@porteus:/mnt/sda6/porteus5.0$ 
 
Ed

Post Reply