🎧MutatedBass🖱️

  • 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle
  • Nice post. The ps3 is great fun if you like to tinker with this sort of thing, are on a budget, or even if you just want to relive some old games that never got ported to future gens.

    I picked an original phat model for $20 a few years ago. It came with a 60 gb hdd which I replaced with a 320gb hdd I had laying around that would otherwise just collect dust due to it’s miniscule size. The console made a ton of noise and would get really hot, the thermal compound was completely siezed due to it’s age and heavy work load, so I replaced it with some fresh mx4 and gave the console a good cleaning. I installed Rebug and set the minimum fan speed to 60%, it’s still loud but it doesn’t get hot anymore. Once that was all done I loaded up a 2tb external drive with my favorite games from that generation.

    To be honest, I had a lot of fun jailbreaking and tinkering with it, but I can count on one hand how many times I’ve gamed on it since. I should probably give it to someone who will get more use out of it lol.




  • Here’s a script from GPT4:

    #!/bin/bash
    
    # Create a temporary file for storing file checksums
    tempfile=$(mktemp)
    
    # Generate MD5 checksums for all files in the current directory and its sub-directories
    find . -type f -exec md5sum '{}' \; | sort > $tempfile
    
    # Detect and delete duplicates
    awk 'BEGIN {
        lasthash = "";
        lastfile = "";
    }
    {
        if ($1 == lasthash) {
            print "Deleting duplicate file: " $2;
            system("rm -f \""$2"\"");
        } else {
            lasthash = $1;
            lastfile = $2;
        }
    }' $tempfile
    
    # Clean up
    rm -f $tempfile
    

    This script can be run with Termux from the root of your internal storage. Usually /sdcard or /storage/emulated/0. Do not confuse this with running from root if you are rooted.

    Before using a script that interacts with your files you should backup anything that is important just in case.

    Furthermore, if you comment out:

    system("rm -f \""$2"\"");
    

    By adding a # in front of it like this:

    # system("rm -f \""$2"\"");
    

    You can run the script and see what files the script would delete without actually deleting them. I would recommend doing this as I have not tested this script.