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

shadowofdarkness

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
536
Trophies
1
XP
2,254
Country
Canada
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,

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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?
 

shadowofdarkness

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
536
Trophies
1
XP
2,254
Country
Canada
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.
 

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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.
 

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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,

shadowofdarkness

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
536
Trophies
1
XP
2,254
Country
Canada
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,

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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.
 

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
  • Like
Reactions: Games&Stuff

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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,

jimmyleen

Well-Known Member
OP
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.