tutorial – Les Ateliers PHV http://www.lesateliersphv.ca/en/ Blogs, discussions et tutoriels sur les jeux vidéo sur consoles et Linux / Blogs, discussions and tutorials on console video games and Linux Sat, 01 Aug 2020 06:37:32 +0000 en-US hourly 1 http://www.lesateliersphv.ca/wp-content/uploads/2018/09/cropped-klebs_explaining_s-32x32.png tutorial – Les Ateliers PHV http://www.lesateliersphv.ca/en/ 32 32 How to play Rocksmith 2014 on Linux http://www.lesateliersphv.ca/en/how-to-play-rocksmith-2014-on-linux/ Sat, 01 Aug 2020 06:37:32 +0000 http://www.lesateliersphv.ca/?p=6400 Hey everyone. Klebs here and today, I will show you how I managed to get Rocksmith 2014 to run on

L’article How to play Rocksmith 2014 on Linux est apparu en premier sur Les Ateliers PHV.

]]>
Hey everyone. Klebs here and today, I will show you how I managed to get Rocksmith 2014 to run on Linux. For starters, I tested the Rocksmith Real Tone USB on Linux Mint 19.3, Pop!_OS 20.04 and Manjaro 20.0.3 and I used Proton 5.0-9 on Steam. Since I’m only sharing what works for me, there exists other methods like those listed on ProtonDB where I got most of the tips for this tutorial.

 

Installing the game

If it’s not done already, download and install Rocksmith 2014.

 

Configuring Wine

Once the game is installed, Wine should be configured specifically for it. Assuming Steam is set to install games on the /home/user/.steam/steam folder, plug in the Real Tone cable before entering these two command lines on the terminal :

WINEPREFIX=~/.steam/steam/steamapps/compatdata/221680/pfx winetricks sound=alsa

WINEPREFIX=~/.steam/steam/steamapps/compatdata/221680/pfx winecfg

 

The Wine Configuration window should appear and the following values should be set before clicking on the OK button :

  • Applications tab

    • Windows Version: Windows 10
  • Drives tab

    • Drive Z: /home/user/.steam/steam (or the folder containing the steamapps subfolder where the Steam games are installed, /mnt/TRUCS/SteamLibrary in my case)
  • Audio tab

    • Input device: In: Rocksmith USB Guitar Adapter
    • Voice input device: In: Rocksmith USB Guitar Adapter

 

Configuring Steam

Once Wine has been configured specifically for this game, Rocksmith 2014 must be run at least once to generate an INI configuration file (Rocksmith.ini) which should be edited before launching the game for real. For that, simply right-click on the game and in the properties, click on Set Launch Options and enter the following command line:

PROTON_NO_D3D11=1 %command%

 

Finishing touches

When the game has been run at least once, the Rocksmith.ini file will appear in the ~/.steam/steam/steamapps/common/Rocksmith2014 folder or wherever Steam games are installed. Simply set the following values:

ExclusiveMode=0
Win32UltraLowLatencyMode=0

 

Disable PulseAudio (if necessary)

Trying to tune your instrument should indicate whether the game runs properly. If a message pops up indicating that the Real Tone is unplugged, disabling PulseAudio should fix this. For that, just enter the following command lines in the terminal:

systemctl –user stop pulseaudio.socket
systemctl –user stop pulseaudio.service

 

To revert back:

systemctl –user start pulseaudio.socket
systemctl –user start pulseaudio.service

 

Don’t hesitate to send me your questions and comments on either Twitter or Mastodon.

Also, if you like what I do and use the Brave browser, you can leave me a tip in form of the BAT cryptocurrency on either my website or my Twitter account. You can also use this affiliate link if you plan to buy games, books or more on Humble Bundle.

Thanks for reading and I’ll talk to you soon. Laters.

 

L’article How to play Rocksmith 2014 on Linux est apparu en premier sur Les Ateliers PHV.

]]>
Enjoying karaoke at home on Linux http://www.lesateliersphv.ca/en/enjoying-karaoke-at-home-on-linux/ Tue, 19 May 2020 06:59:55 +0000 http://www.lesateliersphv.ca/?p=6333 Hey everyone. Klebs here and today, I’ll show you real quick how to have your own karaoke experience at home

L’article Enjoying karaoke at home on Linux est apparu en premier sur Les Ateliers PHV.

]]>
Hey everyone. Klebs here and today, I’ll show you real quick how to have your own karaoke experience at home with your mic. The goal is to output sound coming from my mic straight to your speakers. For this, I’ve tested with a Rock Band USB mic on Linux Mint 19.3, Pop!_OS 20.04 and Arch Linux.

The advantage of using a karaoke machine is that you can hear your own voice coming out of the speakers as you sing, something I haven’t been able to do with the Rock Band games. However if someone has managed to do that, please let me know.

 

To start outputting mic sound directly from the speakers, enter this command line in the terminal:

pactl load-module module-loopback latency_msec=1

To put everything back to normal, enter this command line in the terminal:

pactl unload-module module-loopback

 

Now that you know how to do this, have fun… but try not to disturb your neighbors too much.

 

Don’t hesitate to send me your questions and comments on either Twitter or Mastodon.

Also, if you like what I do and use the Brave browser, you can leave me a tip in form of the BAT cryptocurrency on either my website or my Twitter account. You can also use this affiliate link if you plan to buy games, books or more on Humble Bundle.

Thanks for reading and I’ll talk to you soon. Laters.

L’article Enjoying karaoke at home on Linux est apparu en premier sur Les Ateliers PHV.

]]>
Extracting ROMs from Sega Mega Drive & Genesis Classics bought on Steam on Linux Mint 18.3 http://www.lesateliersphv.ca/en/extracting-roms-from-sega-mega-drive-genesis-classics-bought-on-steam-on-linux/ Sat, 02 Feb 2019 21:07:41 +0000 http://www.lesateliersphv.ca/?p=5973 Hey everyone. Klebs here and today, I’ll show you how you can legally purchase ROMs for the Sega Genesis/Mega Drive

L’article Extracting ROMs from Sega Mega Drive & Genesis Classics bought on Steam on Linux Mint 18.3 est apparu en premier sur Les Ateliers PHV.

]]>
Hey everyone. Klebs here and today, I’ll show you how you can legally purchase ROMs for the Sega Genesis/Mega Drive via Steam and rename them in a reader-friendly format. That way, you can use them elsewhere (e.g. emulators, Mega Everdrive, project MiSTer, etc.).

les ateliers phv sega genesis mega drive classics steam mister fpga mega everdrive
Source: Tigerfog, iPhone

Before we begin

First, I’d like to thank ETA Prime for inspiring me to write this tutorial. In his video, he explains how to extract ROMs, rename them and use them in Retroarch, a multi-platform tool for emulators. To find out more:

Source: ETA Prime

Why then do I bother writing this if ETA Prime has already covered the subject? Two reasons:

  • he used Windows to explain the process
  • he showed how to rename the files without getting into too much details

If you also use Windows or can get around Sega’s odd ROM-naming conventions, ETA Prime’s video is all you need. However, if you prefer a Linux-oriented tutorial or a script that will rename the files for you, I’ll encourage you to keep reading.

Buying the games and locating them

You can legally buy certain Genesis/Mega Drive games on Steam individually or as part of a special package called Sega Mega Drive & Genesis Classics through this affiliate link on Humble Bundle. From this point on, I’ll use the term Sega Classics when I refer to Sega Mega Drive & Genesis Classics for the sake of simplicity.

Since the Sega Classics game isn’t natively available on Linux, we need to make sure Steam is configured to run all games in SteamPlay mode using Proton. That way, Sega Classics will appear in the list of purchased games making it available to be downloaded and installed.

Once installed, right-clicking on Sega Classics and choosing Properties will make the pop-up window appear (see image below).


Source: personal screenshot

Clicking on the Browse local files under the Local files tab will show the exact location of Sega Classics on the computer (see image below).


Source: personal screenshot

Normally, if the username is klebs and the default location set by Steam hasn’t been changed, the folder should be at /home/klebs/.steam/steam/steamapps/common/Sega\ Classics

In my case as the above screenshot clearly shows, the folder is located at /mnt/DATA/Jeux/Steam/steamapps/common/Sega\ Classics

Renaming the files

Assuming the username is klebs and is using Steam’s default game location, the following commands in the terminal will create a copy of the ROMs in another folder and create a CSV file with nano:

cd /home/klebs/.steam/steam/steamapps/common/Sega\ Classics
cp -R uncompressed\ ROMs/ ~/Documents/SegaROMS
cd ~/Documents/SegaROMS
nano segaclassicslist.csv

Before copying the list below in nano, it’s important to make sure nothing’s missing. Also, the original filenames should match those in the SegaROMS folder.

ALEXKIDD_U.68K,Alex Kidd in the Enchanted Castle (USA).gen
AlienSoldier_Europe.SGD,Alien Soldier (Europe).md
AlienStorm_USA.SGD,Alien Storm (USA).gen
ALTEREDB_UE.68K,Altered Beast (USA).gen
BEYONDOA_E.68K,The Story of Thor (Europe).md
BEYONDOA_F.68K,The Story of Thor (France).md
BEYONDOA_G.68K,The Story of Thor (Germany).md
BEYONDOA_J.68K,The Story of Thor - Hikari o Tsugumono (Japan).bin
BEYONDOA_S.68K,The Story of Thor (Spain).md
BEYONDOA_U.68K,Beyond Oasis (USA).gen
BONANZAB_JE.68K,Bonanza Bros. (Europe).md
Columns3_USA.SGD,Columns III (USA).gen
COLUMNS_W.68K,Columns (World).gen
COMIXZON_U.68K,Comix Zone (USA).gen
CrackDown_USA.SGD,Crack Down (USA).gen
Crying_USA.SGD,Bio Hazard Battle (USA).gen
DECAP_UE.68K,DEcapAttack (USA).gen
DYNAHEAD_J.68K,Dynamite Headdy (Japan).bin
DYNAHEAD_UE.68K,Dynamite Headdy (USA).gen
ECCO2_U.68K,Ecco - The Tides of Time (USA).gen
eccojr.smd,Ecco Jr. (USA).gen
ECCO_UE.68K,Ecco the Dolphin (USA).gen
ESWAT_U.68K,ESWAT - City Under Siege (USA).gen
EternalChampions_USA.SGD,Eternal Champions (USA).gen
FATALLAB_JU.68K,Fatal Labyrinth (USA).gen
FLICKY_UE.68K,Flicky (USA).gen
GAING_UE.68K,Gain Ground (USA).gen
GalaxyForceII_UE.SGD,Galaxy Force II (USA).gen
GAXE2_W.68K,Golden Axe II (World).gen
GAXE3_J.68K,Golden Axe III (Japan).bin
GAXE_W.68K,Golden Axe (World).gen
Gunstar Heroes U.bin,Gunstar Heroes (USA).gen
KIDCHAM_UE.68K,Kid Chameleon (USA).gen
LandStalker_USA.SGD,Landstalker (USA).gen
LightCrusader_USA.SGD,Light Crusader (USA).gen
MonsterLair_JUE.SGD,Wonder Boy III - Monster Lair (Europe).md
MonsterWorld3.SGD,Wonder Boy V - Monster World III (Japan).bin
MonsterWorld3_USA.SGD,Wonder Boy in Monster World (USA).gen
PhantasyStar2_UE_GreenCrossFix.SGD,Phantasy Star II (USA).gen
PhantasyStar3_USA.SGD,Phantasy Star III - Generations of Doom (USA).gen
PhantasyStar4.SGD,Phantasy Star IV (USA).gen
RISTAR_UE.68K,Ristar (USA).gen
ROBOTNIK_U.68K,Dr. Robotnik's Mean Bean Machine (USA).gen
ShadowDancer.SGD,Shadow Dancer - The Secret of Shinobi (World).gen
SHINING2_U.68K,Shining Force II (USA).gen
SHININGD_UE.68K,Shining in the Darkness (USA).gen
SHININGF_U.68K,Shining Force (USA).gen
SHINOBI3_U.68K,Shinobi III - Return of the Ninja Master (USA).gen
SONIC2_W.68K,Sonic The Hedgehog 2 (World).gen
SONIC3D_UE.68K,Sonic 3D Blast ~ Sonic 3D Flickies' Island (USA).gen
Sonic_Knuckles_wSonic3.bin,Sonic & Knuckles + Sonic The Hedgehog 3 (World).gen
SONICSPI_U.68K,Sonic The Hedgehog Spinball (USA).gen
SONIC_W.68K,Sonic The Hedgehog (World).gen
sov.smd,Sword of Vermilion (USA).gen
SPACEHARRIERII.bin,Space Harrier II (World).gen
STHUNDER_W.68K,Super Thunder Blade (World).gen
STREETS2_U.68K,Streets of Rage 2 (USA).gen
STREETS3_E.68K,Streets of Rage 3 (Europe).md
STREETS3_J.68K,Bare Knuckle III (Japan).bin
STREETS3_U.68K,Streets of Rage 3 (USA).gen
STREETS_W.68K,Streets of Rage - Bare Knuckle - Ikari no Tetsuken (World).gen
TheSuperShinobi_JUE.SGD,The Revenge of Shinobi (USA).gen
ToeJamEarl.SGD,ToeJam & Earl (World).gen
ToeJamEarl2_USA.SGD,ToeJam & Earl in Panic on Funkotron (USA).gen
VECTMAN2_U.68K,Vectorman 2 (USA).gen
VECTMAN_UE.68K,Vectorman (USA).gen
VIRTUAFIGHTER2.bin,Virtua Fighter 2 (USA).gen

After saving and closing the CSV file, next up, it’s time to write a script that will rename the files:

nano segaclassicsrename.sh

#!/bin/bash
IFS=","
while read f1 f2
do
echo "rename from : $f1"
echo "to : $f2"
mv $f1 "$f2"
echo "done"
done < segaclassicslist.csv

After saving and closing the script, all that remains is to make it executable and run it:

chmod +x ./segaclassicsrename.sh
./segaclassicsrename.sh

If everything goes according to plan, the new filenames should be more straightforward.

Conclusion

Questions? Comments? Let me know, thanks for reading and laters.

L’article Extracting ROMs from Sega Mega Drive & Genesis Classics bought on Steam on Linux Mint 18.3 est apparu en premier sur Les Ateliers PHV.

]]>
How to map the keyboard to the controller in Linux Mint 18.3 http://www.lesateliersphv.ca/en/tutorial-map-keyboard-to-controller-on-linux/ Tue, 04 Dec 2018 23:02:07 +0000 http://www.lesateliersphv.ca/?p=467 Update (February 3rd 2019) If you wish to support me, you can buy the games I mentioned in this blog

L’article How to map the keyboard to the controller in Linux Mint 18.3 est apparu en premier sur Les Ateliers PHV.

]]>
Update (February 3rd 2019)

If you wish to support me, you can buy the games I mentioned in this blog post via these Humble Bundle affiliate links and it comes at no additional cost from you. Thanks.

The King of Fighters 2002 (Steam multi-platform and DRM-free)
The King of Fighters 2002 Unlimited Match (Steam Windows only)

 

Hey everyone. Klebs here and today, I’ll show you how to assign your keyboard to your controller using AntiMicro in Linux Mint 18.3.

I generally don’t have issues with games detecting my controller during startup but it happens sometimes that it either doesn’t recognize or just don’t natively support it. Such is the case with The King of Fighters 2002 on GOG which I will use as an example for this tutorial.


Source: iPhone, Tigerfog

Getting started

First of all, I’d like to thank Travis (Ryochan7) for developing this application as well as the organization who has been maintaining it since on GitHub.

Before installing the application, it’s important to add the LibreGeek repository and then make sure Linux is up-to-date by entering this command line in the terminal:

sudo add-apt-repository ppa:mdeguzis/libregeek
sudo apt update

It’s also possible to take a step further in the update process by using this command line instead:

sudo apt update && sudo apt upgrade

Installing the AntiMicro application

To install the aplication, enter this command line:

sudo apt install antimicro

Testing AntiMicro with a game

Mapping one controller


Source: Cropped screen capture

  1. Plug in the controller.
  2. Start AntiMicro.
  3. Start the game that will be run alongside AntiMicro (e.g.: The King of Fighters 2002) preferably in windowed mode to have both windows sharing the screen.
  4. In the in-game Options menu, find the controls section.
  5. Under the only controller tab in AntiMicro, press on each key followed by its controller button counterpart to pair them together.
    • NOTE: according to the screenshot above, it may seem as the keys mapped to the controller buttons don’t seem to match the ones in the options menu in the game but that’s because the in-game image is wrong (the A and Z keys are used instead of Q and W).

Maping multiple controllers


Source: Cropped screen capture

  1. Plug in the controllers.
  2. Start AntiMicro.
    • Depending on the number of plugged-in controllers, there will be an equal number of tabs in AntiMicro used to map the keys to each controller.
  3. Start the game that will be run alongside AntiMicro (e.g.: The King of Fighters 2002) preferably in windowed mode to have both windows sharing the screen.
  4. In the in-game Options menu, find the controls section.
  5. Under each controller tab in AntiMicro, press on each key followed by its controller button counterpart to pair them together.

Testing the game

  1. With AntiMicro still running, use the controller in-game to see whether the buttons have been mapped properly.
  2. If it works, click on the “Save” button in AntiMicro to create a new profile.
  3. If it’s not done already, switch the game to fullscreen mode and have fun playing it with the controller.

Deleting the AntiMicro application

It’s also possible to delete the application by entering the following:

sudo apt remove antimicro

Conclusion

Questions? Comments? Let me know, thanks for reading and laters.

L’article How to map the keyboard to the controller in Linux Mint 18.3 est apparu en premier sur Les Ateliers PHV.

]]>
Setup the Xbox One controller for Linux Mint 18.3 http://www.lesateliersphv.ca/en/using-an-xbox-one-controller-on-linux/ Wed, 24 Oct 2018 22:26:19 +0000 http://www.lesateliersphv.ca/?p=326 Update (February 3rd 2019) If you wish to support me, you can buy the games I mentioned in this blog

L’article Setup the Xbox One controller for Linux Mint 18.3 est apparu en premier sur Les Ateliers PHV.

]]>
Update (February 3rd 2019)

If you wish to support me, you can buy the games I mentioned in this blog post via these Humble Bundle affiliate links and it comes at no additional cost from you. Thanks.

Brütal Legend (Steam multi-platform and DRM-free)
Injustice: Gods Among Us – Ultimate Edition (Steam Windows only)
Jotun (Steam multi-platform)
The King of Fighters ’98 Ultimate Match Final Edition (Steam Windows only)

 

Hey everyone. Klebs here and today, I’ll show you how to setup an Xbox One controller for Linux Mint 18.3.

I’d like to point out that at the time of this writing, I haven’t yet found a way to make the controller work in wireless mode with the official USB wireless dongle. I’m also aware of its Bluetooth capability although this only applies to the 3rd revision of the controllers that were made available in 2016 while mine were bought before that period.

Getting Started

First of all, I’d like to thank Pavel Rojtberg for developing this driver on GitHub because without him, this wouldn’t have been possible.


Source: iPhone, Tigerfog

Since the controller needs to be plugged in to work, only that and a USB-to-MicroUSB cable are required. AA batteries and the USB wireless dongle won’t be needed.

Before installing the driver, it’s important to make sure Linux is up-to-date by entering this command line in the terminal:

sudo apt update

It’s also possible to take a step further in the update process by using this command line instead:

sudo apt update && sudo apt upgrade

Installing the Xpad driver

In case this hasn’t been done already, make sure these components are installed:

sudo apt install git dkms joystick jstest-gtk

To download and install the driver, enter the following command lines:

sudo git clone https://github.com/paroj/xpad.git /usr/src/xpad-0.4
sudo dkms install -m xpad -v 0.4

Testing the controller in general

Testing the controller with a native Linux version of a game on Steam


Source: iPhone, Tigerfog

For the test under the Linux client of Steam, I chose Brütal Legend and it worked right away.

Testing the controller with a native DRM-free Linux version of a game


Source: iPhone, Tigerfog

For the test of a DRM-free game, I chose Jotun from my GOG library and it worked right away.

Testing the controller with a Windows version of a game on Steam using Proton


Source: iPhone, Tigerfog

For the test of a Windows game under the Linux client of Steam using the Proton feature, I chose Injustice: Gods Among Us Ultimate Edition and The King of Fighters ’98 Ultimate Match Final Edition and both worked right away.

Updating the Xpad driver

It’s good practice to visit the GitHub project page once in a while to check for updates.
In case a newer version is available, here are the steps to proceed with the update:

cd /usr/src/xpad-0.4
sudo git fetch
sudo git checkout origin/master
sudo dkms remove -m xpad -v 0.4 –all
sudo dkms install -m xpad -v 0.4

Deleting the Xpad driver

It’s also possible to delete the driver by entering the following:

sudo dkms remove -m xpad -v 0.4 –all
sudo rm -rf /usr/src/xpad-0.4

Conclusion

Although I’d rather use the controller in wireless mode like I used to do on Windows, I don’t think it’s worth it to replace my old controllers with the newer ones because mine still work just fine. Moreover, I’ve been told using the 3rd revision controller in Bluetooth mode isn’t without its issues. Therefore I’ll keep plugging mine in until a better solution is made available.

Questions? Comments? Let me know, thanks for reading and laters.

L’article Setup the Xbox One controller for Linux Mint 18.3 est apparu en premier sur Les Ateliers PHV.

]]>