Git Product home page Git Product logo

Comments (9)

strycore avatar strycore commented on July 30, 2024

Can confirm that I had a successful setup once I had uncommented those lines.

from python-installcab.

SergeyLatyshev avatar SergeyLatyshev commented on July 30, 2024

I can confirm too, with uncommented lines Resident Evil 2 remake works now.

from python-installcab.

strycore avatar strycore commented on July 30, 2024

The Lutris implementation has incorporated the fix: https://github.com/lutris/lutris/blob/master/lutris/util/wine/cabinstall.py

from python-installcab.

NextGenRyo avatar NextGenRyo commented on July 30, 2024

Still cant do it after starting the install i get this.

`./install-mf-64.sh
mediafoundation
/home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
for registry_key in registry_keys[0].getchildren():

  • amd64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_fa8534ab236134c4.manifest (win64)
  • wow64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_04d9defd57c1f6bf.manifest (wow64)
    Traceback (most recent call last):
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in
    process_files(output_files)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
    install_dll(file_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
    dest_dir = get_dll_destdir(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
    arch = check_dll_arch(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
    if 'x86-64' in out:
    TypeError: a bytes-like object is required, not 'str'
    mf
  • amd64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_ab34ec409a77d93c.manifest (win64)
  • wow64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_b5899692ced89b37.manifest (wow64)
    mfreadwrite
    /home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
    for registry_key in registry_keys[0].getchildren():
  • amd64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_177bed732ea3f85f.manifest (win64)
  • wow64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_21d097c56304ba5a.manifest (wow64)
    Traceback (most recent call last):
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in
    process_files(output_files)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
    install_dll(file_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
    dest_dir = get_dll_destdir(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
    arch = check_dll_arch(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
    if 'x86-64' in out:
    TypeError: a bytes-like object is required, not 'str'
    wmadmod
    /home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
    for registry_key in registry_keys[0].getchildren():
  • amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
  • x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
    Traceback (most recent call last):
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in
    process_files(output_files)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
    install_dll(file_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
    dest_dir = get_dll_destdir(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
    arch = check_dll_arch(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
    if 'x86-64' in out:
    TypeError: a bytes-like object is required, not 'str'
    wmvdecod
    /home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
    for registry_key in registry_keys[0].getchildren():
  • amd64_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_20b089c0f6efacae.manifest (win64)
  • x86_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_c491ee3d3e923b78.manifest (win32)
    Traceback (most recent call last):
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in
    process_files(output_files)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
    install_dll(file_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
    dest_dir = get_dll_destdir(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
    arch = check_dll_arch(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
    if 'x86-64' in out:
    TypeError: a bytes-like object is required, not 'str'
    wmadmod
    /home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
    for registry_key in registry_keys[0].getchildren():
  • amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
  • x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
    Traceback (most recent call last):
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in
    process_files(output_files)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
    install_dll(file_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
    dest_dir = get_dll_destdir(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
    arch = check_dll_arch(dll_path)
    File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
    if 'x86-64' in out:
    TypeError: a bytes-like object is required, not 'str'

Done!
Now you need to get mfplat.dll version 12.0.7601.23471 from elsewhere and place it in your application directory`

I have no idea what its talking about.

from python-installcab.

Jvanrhijn avatar Jvanrhijn commented on July 30, 2024

@mixalis1987 Sounds like you're using the wrong version of Python. Is your system version of Python 3.x (output of python --version)? If so, try editing the shebang in cabinstall.py to say #! /usr/bin/env python2.

from python-installcab.

NextGenRyo avatar NextGenRyo commented on July 30, 2024

@Jvanrhijn Hi, my version is Python 3.7.2

from python-installcab.

NextGenRyo avatar NextGenRyo commented on July 30, 2024

@Jvanrhijn Man! thank you that was the problem. got past the errors now. Lets see what happens.

from python-installcab.

NextGenRyo avatar NextGenRyo commented on July 30, 2024

Game works! wow!

from python-installcab.

tonix64 avatar tonix64 commented on July 30, 2024

Replaced those variables, thanks for reporting and sorry for taking so long to apply.

from python-installcab.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.