ROM Hack Is it possible to run pkhex on Linux using wine?

  • Thread starter Thread starter jimmyleen
  • Start date Start date
  • Views Views 18,362
  • Replies Replies 57
Do you know of a ubuntu command that I can run to install the 32 bit version of winetricks without installing a ppa? Synaptic is being a ass it will not let me install it.

You don't need a 32 bit version of winetricks the stock repo version works since it is a shell script not a compiled binary.

Also that is using the stock "apt-get install wine" install on a 64 bit system with no special work getting a 32 bit wine.
 
Last edited by shadowofdarkness,
You don't need a 32 bit version of winetricks the stock repo version works since it is a shell script not a compiled binary.

Also that is using the stock "apt-get install wine" install on a 64 bit system with no special work getting a 32 bit wine.

This is what I have done, I have typed that command in the console and it installs both the 64 bit and the 32 bit version of wine. The problem seems to be that my linux os is stuck using the 64 bit wine. Is it possible to switch between the two version on a 64 bit machine?
 
This is what I have done, I have typed that command in the console and it installs both the 64 bit and the 32 bit version of wine. The problem seems to be that my linux os is stuck using the 64 bit wine. Is it possible to switch between the two version on a 64 bit machine?

Delete your pre-existing .wine user directory or use a different wine prefix for the 32 bit one so they don't clash.
 
Delete your pre-existing .wine user directory or use a different wine prefix for the 32 bit one so they don't clash.


Alright I figured out how to use the 32 bit version only but apparently running this code ---> WINEARCH='win32' winetricks dotnet40 does not work even when I am using the 32 bit wine.
 
Alright I figured out how to use the 32 bit version only but apparently running this code ---> WINEARCH='win32' winetricks dotnet40 does not work even when I am using the 32 bit wine.

Did you delete your old .wine directory? What is the output of running that command?
 
Did you delete your old .wine directory? What is the output of running that command?

Yes I did delete my old directory, and the output of the command is this

WINEARCH='win32' winetricks dotnet40
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string


Edit: It could be I need to install winetricks:i386, but I can't install it on my version of Linux. For whatever reason ubuntu thinks its a smart idea to tie winetricks:i386 to a ppa that only works on ubuntu precise. :wink::angry:
 
Last edited by jimmyleen,
Yes I did delete my old directory, and the output of the command is this

WINEARCH='win32' winetricks dotnet40
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string


Edit: It could be I need to install winetricks:1386, but I can't install it on my version of Linux.

A quick google search showed someone fixing that error by deleting ~/.local/share/wineprefixes in addition to ~/.wine
https://bbs.archlinux.org/viewtopic.php?id=183549
I looked and that folder doesn't exist on my system but yours may have it. If not try to search with the error for other possible fixes.

It can't be winetricks since winetricks:1386 does not exist it is winetricks:all since it is a basic shell script. You can open it and see.
 
Last edited by shadowofdarkness,
A quick google search showed someone fixing that error by deleting ~/.local/share/wineprefixes in addition to ~/.wine
https://bbs.archlinux.org/viewtopic.php?id=183549
I looked and that folder doesn't exist on my system but yours may have it. If not try to search with the error for other possible fixes.

It can't be winetricks since winetricks:1386 does not exist it is winetricks:all since it is a basic shell script. You can open it and see.


I did that and when I input that command for 32 bit winetricks it just says no such file or directory, if I could just get the 32 bit version installed without the ubuntu precise ppa than everything would work just fine.

--------------------- MERGED ---------------------------

This is what happens when I try to install winetricks:i386 on my 64 bit machine --->

username ~ $ sudo apt-get install winetricks:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
winetricks:i386 : Depends: sudo:i386
E: Unable to correct problems, you have held broken packages.


Edit: Nothing is broken on my os, I am able to install any Ubuntu/Linux mint program.
 
Fuck this, the wine devs can take wine and shove it.

Edit: We can install and run .NET 4.0 on x86 wine but not on 32 bit wine. :angry:


http://askubuntu.com/questions/681562/cant-install-dotnet40-using-winetricks

--------------------- MERGED ---------------------------

I think this is a lesson to be learned, if you want to run pkhex on Linux you need the 32 bit version of wine with .NET 4.0. But you can't do that because .NET 4.0 can't be installed on wine 32 bit.
 
Last edited by jimmyleen,
  • Like
Reactions: Games&Stuff
For me it directed me to the download page for it and had me put an MSI file in a folder, then run the wine trick again. So I'd assume the MSI for you.


Even though I did put the msi component in the msxml3 folder winetricks keeps asking me to run the script. So since winetricks will not run the script I decided to run it with the windows program loader, now the script is installed.

--------------------- MERGED ---------------------------

Installing the msxml3 script did nothing to run pkhex, pkhex boots but then crashes. I will try installing everything else and see if anything changes.

--------------------- MERGED ---------------------------

Now wine tricks is telling me .NET 4.0 can't run on 64 bit wine. But if I try to install .NET 4.0 with the windows program loader wine tells me its already running the latest version of .Net. :wacko::cry:
 
Last edited by jimmyleen,
I'll try it in a ubuntu VM and report back my findings. I'll need to set one up first. Which version are you using?
 
Okay so I finally got the chance to install 32 bit winetricks from 2013, after that I forced winetricks to install .NET 4.0 by typing this command in the console ---> bash winetricks -q dotnet40 corefonts. The reason why you have to force winetricks to install the .NET 4.0 is because it has a bug, by typing the command in the console you some how bypass the bug? I guess?
 
Last edited by jimmyleen,

Site & Scene News

Popular threads in this forum