Hacking Wii U VC injection on Linux?

Lightyose

True Light
OP
Member
Joined
Jan 26, 2016
Messages
1,002
Trophies
1
Website
gbatemp.net
XP
2,304
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,105
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,599
Trophies
1
Age
36
XP
5,400
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,599
Trophies
1
Age
36
XP
5,400
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
    Veho @ Veho: Mkay.