[Bug 27525] Active Worlds 5.x/6.x shows 3D-world view/window separated from main window (embedded browser control)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 26 07:39:46 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=27525

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://www.netzwelt.de/soft |https://web.archive.org/web
                   |ware-download/23345-activew |/20130730121009/http://obje
                   |orlds.html                  |cts.activeworlds.com/downlo
                   |                            |ads/ActiveWorlds.exe
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello Jeremie,

--- quote ---
Fixed in wine-5.0-rc2. To test by yourself, you will need to sign for an
account.
--- quote ---

I assume you've used the most recent web-installer here:

https://www.activeworlds.com/apps/AWWebInstaller.exe

All the older snapshots of original site and mirrors carry a broken v5/v6
bootstrapper which causes the update to more recent v6.x fail.

Documenting the whole process of working around here.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/ActiveWorlds

$ WINEDEBUG=+seh,+relay wine ./aworld.exe >>log.txt 2>&1
...
002c:Call KERNEL32.CreateProcessW(00000000,0032eb40
L"\"C:\\ActiveWorlds\\upgrade.exe\" objects.activeworlds.com
upgrade/54_200_143_210_6670/kitfull.rtp
\"aworld.exe\"",00000000,00000000,00000000,00000008,00000000,00000000,0032e8f0,0032e8e0)
ret=0053989e 
...
002c:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=0053989e 
...
003f:Call PE DLL (proc=0x1002dd20,module=0x10000000
L"PATCHW32.dll",reason=PROCESS_ATTACH,res=0x32fd24) 
...
0040:Call wininet.InternetOpenUrlW(00000001,00cbaf0c
L"http://objects.activeworlds.com/upgrade/54_200_143_210_6670/kitfull.rtp",00cb5f0c
L"Accept: */*\n",ffffffff,84480100,00891c08) ret=00401732 
...
0040:Ret  wininet.InternetOpenUrlW() retval=00000003 ret=00401732 
...
003f:Call KERNEL32.CreateFileW(0041da14
L"upgrade.rtp",40000000,00000003,0032db18,00000002,00000080,00000000)
ret=00409db8 
...
003f:Ret  KERNEL32.CreateFileW() retval=000000e8 ret=00409db8 
...
003f:Call user32.wvsprintfA(1001c798,0032d714
"-------------------------------------------------------------------------------\n
  PATCH  Version 4.11 - .RTPatch(R) Professional - Software Update System\n    
               DOS/Windows/Windows 95/Windows NT Edition\n",0032d704)
ret=1000f1f6
003f:Ret  user32.wvsprintfA() retval=000000d9 ret=1000f1f6 
...
003f:Call KERNEL32.CreateFileW(10020670
L"C:\\ActiveWorlds\\upgrade.rtp",80000000,00000001,0032cf14,00000003,00000080,00000000)
ret=10019bc7 
...
003f:Ret  KERNEL32.CreateFileW() retval=00000098 ret=10019bc7
003f:Call KERNEL32.GetFileType(00000098) ret=10019bee 
...
003f:Ret  KERNEL32.GetFileType() retval=00000001 ret=10019bee 
...
003f:Call KERNEL32.SetFilePointer(00000098,00000000,00000000,00000001)
ret=10016f06
...
003f:Ret  KERNEL32.SetFilePointer() retval=00000000 ret=10016f06
003f:Call KERNEL32.ReadFile(00000098,00683578,00001000,0032cff8,00000000)
ret=1001573b
...
003f:Ret  KERNEL32.ReadFile() retval=00000001 ret=1001573b
...
003f:Call user32.MessageBoxW(00000000,0032ba4c L"Invalid Patch File
'C:\\ActiveWorlds\\upgrade.rtp'\n",0042a0e8 L"Activeworlds Upgrade",00002010)
ret=00403147 
...
--- snip ---

'upgrade.log'

--- snip ---
10:41:41 AM Thu Dec 26, 2019 VRT:
----------------------------------------------------------------------------
10:41:41 AM Thu Dec 26, 2019 VRT: Working directory: C:\ActiveWorlds
10:41:41 AM Thu Dec 26, 2019 VRT: Cannot open upgrade.rtp for unpack.
10:41:41 AM Thu Dec 26, 2019 VRT: Unpacking archive upgrade.rtp returned error
code 2
--- snip ---

Using Luigi's nice RTP command line tool it fails as well:

http://aluigi.altervista.org/mytoolz.htm#myrtp

http://aluigi.altervista.org/mytoolz/myrtp.zip

http://aluigi.altervista.org/misc/PATCHW32.DLL (v12.21, original was v4.x)

--- snip ---
$ wine ./myrtp.exe upgrade.rtp

myRTP command-line interface 0.1.1a
by Luigi Auriemma
e-mail: aluigi at autistici.org
web:    aluigi.org

- command:
  /Z "upgrade.rtp" 
- load RTPatch library patchw32.dll
  100077A0 RTPatchApply32

-------------------------------------------------------------------------------
   PATCH  Version 4.11 - .RTPatch(R) Professional - Software Update System
                    DOS/Windows/Windows 95/Windows NT Edition
       (C) Copyright Pocket Soft, Inc., 1991-1998.  All Rights Reserved.
-------------------------------------------------------------------------------


error ept0009: Invalid Patch File 'C:\ActiveWorlds\upgrade.rtp'

- done (9)
--- snip ---

Reason becomes more clear when looking at the file content:

--- snip ---
$ file upgrade.rtp 
upgrade.rtp: 7-zip archive data, version 0.4

$ 7z l upgrade.rtp

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs
Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz (306C3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 94300764 bytes (90 MiB)

Listing archive: upgrade.rtp

--
Path = upgrade.rtp
Type = 7z
Physical Size = 94300764
Headers Size = 11615
Method = Delta LZMA2:24 BCJ
Solid = +
Blocks = 5

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2019-10-21 14:21:01 D....            0            0  Addons
2019-10-21 14:21:01 D....            0            0  Addons/cef
2019-10-21 14:21:01 D....            0            0  Addons/cef/locales
2019-10-21 14:21:01 D....            0            0  Addons/cef/swiftshader
2019-07-19 02:28:19 D....            0            0  Addons/vlc
2019-07-19 02:28:19 D....            0            0  Addons/vlc/hrtfs
...
2018-10-31 19:42:49 ....A            0            0 
Default/picture_blacklist.txt
2019-12-01 00:05:35 ....A      2892967     15524623  Addons/cef/cef.pak
2019-12-01 00:04:46 ....A       654962              
Addons/cef/cef_100_percent.pak
2019-12-01 00:04:46 ....A       806895              
Addons/cef/cef_200_percent.pak
2019-12-01 00:30:58 ....A      1699238              
Addons/cef/cef_extensions.pak
2019-11-30 23:57:06 ....A      6353657              
Addons/cef/devtools_resources.pak
2019-11-30 20:38:02 ....A     10426784               Addons/cef/icudtl.dat
2019-11-12 13:57:22 ....A         1662               Addons/cef/LICENSE.txt
2019-12-01 00:03:30 ....A       341660               Addons/cef/locales/am.pak
...
2019-08-14 18:05:22 ....A        60104              
Addons/vlc/plugins/visualization/libvisual_plugin.dll
2019-11-21 09:07:52 ....A      2338144               aw3d.dll
2019-12-04 09:48:43 ....A       813920               aworld.exe
2019-12-20 23:47:34 ....A      7104864               aworldCore.dll
2011-07-06 10:22:20 ....A       290408               cudart32_30_9.dll
2010-05-26 11:41:02 ....A      2106216               D3DCompiler_43.dll
2010-05-26 11:41:02 ....A      1998168               d3dx9_43.dll
2008-04-14 13:00:00 ....A        47616               d3dxof.dll
2006-10-11 18:50:30 ....A        75264               opengl32.dll
2011-07-06 10:55:20 ....A       383840               PhysXCooking.dll
2011-07-06 10:55:16 ....A      3567456               PhysXCore.dll
2011-07-06 10:22:16 ....A        65536               PhysXDevice.dll
2011-07-06 10:55:18 ....A        64352               PhysXLoader.dll
2019-11-21 09:08:25 ....A       868192               rw_opengl.dll
2019-11-21 09:07:43 ....A       707424               rw_soft.dll
2001-07-12 08:27:48 ....A        84992               srDD_Software2.dll
2019-08-01 22:21:47 ....A       611608               uninstall.exe
------------------- ----- ------------ ------------  ------------------------
2019-12-20 23:47:34          317989892     94289149  697 files, 80 folders
--- snip ---

Apparently they switched from RTPatch to 7zip at one point.
All the old updaters assume .RTP format.

One can work around by extracting a newer updater from the 7z archive:

--- snip ---
$ 7z e upgrade.rtp Upgrade.new

$ ll Upgrade.*
-rwxrwxr-x. 1 focht focht 171104 Apr 12  2013 Upgrade.exe
-rw-rw-r--. 1 focht focht 271632 Jul 25 18:16 Upgrade.new

$ mv Upgrade.exe Upgrade.old
$ mv Upgrade.new Upgrade.exe
--- snip ---

and restart the app which restarts the update process.

--- snip ---
$ wine ./aworld.exe
--- snip ---

===

There is a wide range of Wine 2.x and 3.x releases where the app simply
crashes. Earliest working one for me is Wine 3.12 due to the way the app deals
with Wine.

The app is Wine-aware: it adds builtin dll overrides (using app entry) and
changes the default global(!) Windows version via registry manipulation to
'Windows 10'. As if users never share a WINEPREFIX with other apps. Likely to
match certain app code paths/implementations. That's also the reason why a wide
range of Wine 2.x and 3.x releases won't work here due to unimplemented API
targeting Windows 7+ (libcef). That's just stupid.

Anyway, resolving 'fixed' here.

$ sha1sum ActiveWorlds.exe 
604727a4e89ff3cc9390d2497b77cacd6bc5dbbd  ActiveWorlds.exe

$ du -sh ActiveWorlds.exe 
26M    ActiveWorlds.exe

$ wine --version
wine-5.0-rc2

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list