Friday, December 22, 2023

Do you need to 'open' a bunch of .dylib files and macOS bitches about it?

On a brisk December morning I was trying to run qemu from a terminal on my Mac mini. When I issued the 'qemu-system-ppc' command macOS threw a shit fit about all 36 .dylib files in the libs directory not being from a recognized developer. I figured I needed to right click and open each one a few times to set them as unblocked. I got about five files into it and was like "e'ff this noise'. I went out on google and found this site. The below command fixed the problem.

xattr -dr com.apple.quarantine <file name>

or in my case

xattr -dr com.apple.quarantine *.dylib

Thank you Dave Anderson.

Wednesday, September 20, 2023

Enable XMOS Audio Codec on Atomic Pi



I've had an Atomic Pi for a while not but only started to mess with it. One of the features it has is a XMOS dedicated audio codec. Unfortunately it does not enable at boot time on Linux. Make the below a shell script and execute it to bring the magic of audio to life. You might have to run the script using sudo. This needs to be done on every reboot.

#!/bin/sh
echo 349 > /sys/class/gpio/export echo low >/sys/class/gpio/gpio349/direction
sleep 1
echo high > /sys/class/gpio/gpio349/direction
echo 332 > /sys/class/gpio/export echo low >/sys/class/gpio/gpio332/direction

If all goes as it's supposed to then you should have audio through the built on speaker out jacks.

 

Tuesday, August 22, 2023

SELinux and Custom Systemd .service Files



I had a custom systemd .service file I was trying to add and have it run at boot time. Unfortuniately it kept bitching at me about "Failed to start readpartition.service: Unit readpartition.service not found.". After looking around the Interwebs I found the below page by Craig Earley. The girth of it was to run this command so SELinux will allow it as a service.

sudo chcon system_u:object_r:systemd_unit_file_t:s0 <name of service>.service

This command is useless if you aren't running a SELinux enabled Linux Distro. But it works like magic if you are.

For a more in depth look at the problem and it's solutions visit Craig's page:
https://craigearley.com/2020/05/15/how-to-enable-a-systemctl-service-unit-without-disabling-selinux/

Thank You, Craig Earley!

Wednesday, June 28, 2023

WINE and isskin.dll



I was making my best attempt at running a software installer of questionable origin only to receive this error.

Runtime Error (at - 1:0): Cannot Import dll:C:\users\xxx\Temp\is-00IEG.tmp\isskin.dll

After digging around the glorious Interwebs I found an old post on WINEHQ with the same error. The answer to the problem was

winetricks vcrun6sp6 mfc42

After installing the above 2 dll's the installer worked and all was well.

Thursday, April 20, 2023

Remember, brother, anal sex can be a fun and enjoyable experience

I said to ChatGPT, "write a beginners guild to anal sex . told in the style of Hulk Hogan".

ChatGPT said, "OK"

"Well let me tell you something, brother! If you're interested in trying out anal sex, then you've come to the right place! Let me give you a beginner's guide that will help you get started safely and enjoyably.
First things first, you gotta take it slow, brother. Start with some good ol' fashioned foreplay to get you and your partner in the mood. Use plenty of lube, and make sure you're both relaxed and comfortable.
Now when it comes to the main event, communication is key, dude. Talk to your partner and make sure you're both on the same page. If you're the one receiving, let your partner know if something doesn't feel right, and if you're the one doing the penetrating, make sure to check in and make sure your partner is comfortable and enjoying themselves. When it comes to positioning, there are a few options, brother. Some people prefer to start with spooning or doggy-style, while others like to try it on top or with one partner lying flat. Experiment a bit and find what works best for you and your partner. Now here's the important part, dude. When it comes to safety, there are a few things to keep in mind. Make sure to use plenty of lube to reduce the risk of tearing or discomfort. If you're using toys, make sure they're specifically designed for anal play and have a flared base to prevent them from getting stuck. And most importantly, always use protection to reduce the risk of STIs. Remember, brother, anal sex can be a fun and enjoyable experience, but it's important to take it slow, communicate with your partner, and always put safety first. Now go out there and have some fun, brother!"

ChatGPT then leaned over and whispered into my ear, "This content may violate our content policy. If you believe this to be in error, please submit your feedback — your input will aid our research in this area."

Thursday, April 13, 2023

Notes for my venture into Playstation 3 custom firmware (CFW)

These are some notes I've gathered about what can be done after installing CFW on my Playstation 3. This is by no means a guide. If you have need of this information or are searching then it may be of help. Out of context the post is pretty useless.

ps3 browser exploit

The exploit is a troublesome to get working. The chances of getting it on the first try are very slim. Do not get discouraged it will eventually take.

nopaystation and pkgi ps3

The PS3 installable nopaystation is called PKGi PS3. This installs on the PS3 itself and once configured provides the same function as nopaystation. PKGi PS3 uses the same TSV databases as nopaystation. 

PKGi PS3's github page is located at https://github.com/bucanero/pkgi-ps3

nopaystation (and it's TSV databases) can be found https://nopaystation.com

The PS3 games and dlcs TSV databases should be downloaded from the nopaystation homepage. Once downloaded rename them to pkgi_games.txt and pkgi_dlcs.txt respectively. After installing PKGi PS3 on your PS3 you should ftp to the PS3 and go to the path /dev_hdd0/game/NP00PKGI3/USRDIR and upload both text file databases. Restart your PS3 for good luck.

The PKGi PS3 icon is under Network on the XMB

pkgi ps3 icon on the xmb


Wednesday, March 22, 2023

This application failed to start because no QT platform plugin could be initialized

I recently installed the Windows Battle.net App on my Linux box and after installation I received the This application failed to start because no QT platform plugin could be initialized error.
 


After googling the error I came up with the below command which fixed the issue.

Open a terminal and cd to 

<wine prefix path>/drive_c/Program Files (x86)/Battle.net/Battle.net.<battle net version here>/platforms

Be sure to replace <wine prefix path> with the actual path to your wine prefix. Likewise <battle net version here> will be a string of numbers, make sure you have the right path.

Once there run the below command

setfattr -x user.DOSATTRIB qwindows.dll

for more information about the setattr comand check out the below link.

https://man7.org/linux/man-pages/man2/getxattr.2.html