Hacking Wii U VC injection on Linux?

Lightyose

True Light
OP
Member
Joined
Jan 26, 2016
Messages
1,011
Trophies
1
Website
gbatemp.net
XP
2,363
Country
United States
So, I've searched for days and days. I haven't found a way to inject Wii U VC games on Linux. Is there any out there? Has someone made a script or app for Linux about this? Has someone managed to make the VC Injectors on this site with Wine?



Thanks in advance.
 
  • Like
Reactions: CielRuby

KarakuraRed

New Member
Newbie
Joined
Mar 6, 2021
Messages
1
Trophies
0
Age
33
XP
34
Country
Switzerland
I don't know what the current status is, but last time I checked I couldn't find anything either. Using a Windows 10 Trial VM works fine though.
 
  • Like
Reactions: Lightyose

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
"PhacoxsInjector" and "TeconMoons WiiVC Injector" should both work with wine

inj.png
 
  • Like
Reactions: CielRuby

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,170
Country
United States
I can't guarantee this would've worked, but you could've tried virtual box for linux to install a virtual windows 10. I've never tried it, but I think it's possible.
 
  • Like
Reactions: Lightyose

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
Im using playonlinux, because this way I can test different wine version without much hassle.

I'm using 64-bit wine version 6.0
 
  • Like
Reactions: Lightyose

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,662
Trophies
1
Age
36
XP
5,633
Country
Germany
It's really sad that most (all?) of these tools are written in C#, so have theoretical Linux support, but then use Windows only APIs:
Code:
$ file PhacoxsInjector.exe                                                                                                                    
PhacoxsInjector.exe: PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Window
$ mono PhacoxsInjector.exe                                                                                                                    
                                                                                                                                                                                            
Unhandled Exception:                                                                                                                                                                        
System.EntryPointNotFoundException: FreeConsole assembly:<unknown assembly> type:<unknown type> member:(null)                                                                                
  at (wrapper managed-to-native) PhacoxsInjector.Program.FreeConsole()                                                                                                                      
  at PhacoxsInjector.Program.Main (System.String[] args) [0x00004] in <06f804bc251b48448fb5a8c2857aea88>:0                                                                                  
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: FreeConsole assembly:<unknown assembly> type:<unknown type> member:(null)                                            
  at (wrapper managed-to-native) PhacoxsInjector.Program.FreeConsole()                                                                                                                      
  at PhacoxsInjector.Program.Main (System.String[] args) [0x00004] in <06f804bc251b48448fb5a8c2857aea88>:0

And TeconMoons:
Code:
$ MONO_REGISTRY_PATH=~/mono-registry mono TeconMoon\'s\ WiiVC\ Injector.exe
Gciq8hk.png


Anyway, for me Wine didn't work, so I'm using a VM. If it won't work in a VM you're probabl missing some dependency.
 

CielRuby

Member
Newcomer
Joined
Aug 26, 2021
Messages
6
Trophies
0
Age
22
XP
30
Country
Netherlands
Windows has WSL anyway, so if it's build for Linux, it should always work. But if the target is a particular console homebrew anyway, why not run it on that, so it doesn't matter which SD compatible OS you use. I'm gonna start coding with devkit on wsl Arch either now or when I have a fresh new pc for motivation.
 
Last edited by CielRuby,

rjwboys2

Active Member
Newcomer
Joined
Apr 2, 2021
Messages
32
Trophies
0
Age
40
XP
346
Country
United States
It's really sad that most (all?) of these tools are written in C#, so have theoretical Linux support, but then use Windows only APIs:
Code:
$ file PhacoxsInjector.exe                                                                                                                   
PhacoxsInjector.exe: PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Window
$ mono PhacoxsInjector.exe                                                                                                                   
                                                                                                                                                                                           
Unhandled Exception:                                                                                                                                                                       
System.EntryPointNotFoundException: FreeConsole assembly:<unknown assembly> type:<unknown type> member:(null)                                                                               
  at (wrapper managed-to-native) PhacoxsInjector.Program.FreeConsole()                                                                                                                     
  at PhacoxsInjector.Program.Main (System.String[] args) [0x00004] in <06f804bc251b48448fb5a8c2857aea88>:0                                                                                 
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: FreeConsole assembly:<unknown assembly> type:<unknown type> member:(null)                                           
  at (wrapper managed-to-native) PhacoxsInjector.Program.FreeConsole()                                                                                                                     
  at PhacoxsInjector.Program.Main (System.String[] args) [0x00004] in <06f804bc251b48448fb5a8c2857aea88>:0

And TeconMoons:
Code:
$ MONO_REGISTRY_PATH=~/mono-registry mono TeconMoon\'s\ WiiVC\ Injector.exe
Gciq8hk.png


Anyway, for me Wine didn't work, so I'm using a VM. If it won't work in a VM you're probabl missing some dependency.
you can install .net useing winetricks



wget http://kegel.com/wine/winetricks
bash winetricks dotnet30

and then

wine ./dotnet35setup.exe

should make it work.
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,662
Trophies
1
Age
36
XP
5,633
Country
Germany
you can install .net useing winetricks
Mono is not Wine:
Sponsored by Microsoft, Mono is an open source implementation of Microsoft's .NET Framework
(Source: https://www.mono-project.com )
In fact Mono and .NET share a lot of code. So the check for .NET using the Windows registry is just a false design of the injector as ofc. Linux doesn't have a Windows registry, so the check fails even if it shouldn't (see https://www.mono-project.com/docs/about-mono/compatibility/ - Mono supports .NET 3.5 completely except some SQL API).

Also I tried Wine with .NET before: The injector starts with it but crashes while creating an inject.

//EDIT: Was able to fake in the registry entry by creating the file ~/mono-registry/LocalMachine/software/microsoft/net framework setup/ndp/v3.5/values.xml (got that path with the help of strace) with this content:
Code:
<values>
        <value name="Install" type="dword">1</value>
</values>
(got the correct content from https://docs.microsoft.com/de-de/do...how-to-determine-which-versions-are-installed and https://retkomma.wordpress.com/2011/10/01/registry-settings-in-mono-on-linux/ ) but now the injector asks if you really want to close when you click on BUILD.
WGB0aDS.png

wRW1p5F.png
 
Last edited by V10lator,

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
PhacosxInjector works for me, also does the other one (Tecon something), not sure if installed anything additionally (maybe ms fonts)
linux_phaxos_inj_3.png
 
Last edited by mive,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Lol Veho.
    +1
  • Cranesbill @ Cranesbill:
    I forgot I was in this group :skull:
    +1
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
    Psionic Roshambo @ Psionic Roshambo: Yeah it's all choice and that's a good thing :)