• Categories
    • Unread
    • Recent
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Scuzz
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 91
    • Posts 375
    • Groups 1

    Posts

    Recent
    • RE: The years YouTube Rewind

      I realised I was old when my little cousin started listening to nightcore. WTF is nightcore?

      posted in The lounge
      ScuzzS
      Scuzz
    • RE: The years YouTube Rewind

      I hardly know what any of those references are for. The only one I kinda recognise is that fucking kid - hxxps://www.youtube.com/watch?v=zKx2B8WCQuw#t=133

      posted in The lounge
      ScuzzS
      Scuzz
    • The Witcher 3: The Wild Hunt - Delayed

      News has just popped up from CD Projekt Red that The Witcher 3: The Wild Hunt has been delayed. This is one of the games that I am actually looking forward playing. The Witcher 2 was a pretty amazing game and my hopes are that The Witcher 3 will be too. I also like that they chose to delay the game rather than release a buggy unfinished game.

      "Dear Gamers,

      Ever since we started working on The Witcher 3: Wild Hunt, we knew it would be an ambitious game. We wanted, and still aim, to give you an incredible experience, an epic adventure in a vast, completely open fantasy universe.

      The sheer size and complexity of The Witcher, key features of the title, have had a decisive impact on production. Now, nearing the end of our work, we see many details that need to be corrected. When we release the most important game in our studio’s history, we must be absolutely sure that we did everything we could to limit any bugs to a level that will allow you to enjoy the game thoroughly.

      With this in mind, we took another look at current workloads and what they mean for the team. Even though everyone is working at full speed, we concluded that we need another 12 weeks, so we are shifting the release date of The Witcher 3: Wild Hunt to May 19th, 2015.

      We owe you an apology. We set the release date too hastily. It’s a hard lesson, one to take to heart for the future. We know what we want to do to make Wild Hunt one of the best RPGs you will ever play. And we continue to work hard to achieve just that. So, we apologize and ask for your trust.

      Thank you for the all support you show us on a daily basis. We truly do appreciate it. It has fueled us in our passion since the start and will continue to do so.

      The Board of CD PROJEKT SA"

      http://thewitcher.com/news/view/906

      posted in Gaming wticher wild hunt
      ScuzzS
      Scuzz
    • Uncharted 4: A Theif's End

      Sony did a sneaky little teaser the other day Uncharted 4: A Theif’s End. Now they have released some gameplay.

      https://www.youtube.com/watch?v=Ow2cL-pp6p8

      I really hope that this footage was from an actual PS4 and is close to the final product. With recent experiences with games such as Watchdogs and how they were quite different to their gameplay videos we can only hope that Naughty Dog don’t pull an Ubisoft.

      I have played all of the Uncharted games except the one on the Vita and I really enjoyed them. To bad I don’t have a PS4 though :(

      Uncharted4swing

      Dat rope swing though

      posted in Gaming
      ScuzzS
      Scuzz
    • RE: [Spoilers]Interstellar

      @Almost I kinda had the same feeling about the robots when i first saw them but after you see them in action you can see that they kinda work. Weird design though. :heart: Tars.

      The planet was made up of frozen clouds. The surface was a lie. Dr Mann made up the surface of that planet and faked the data so that he would eventually get picked for having the “best” planet for building a new human colony. He then executed his plan to take their ship to another planet that actually had a chance of sustaining life. If his plan worked, he would have survived as well. He was pretty selfish.

      I’m pretty sure they said that it he was the best pilot for this mission and that he had been training for it most of his life. At the start when he has that nightmare. That was one of the test flights for the Lazarus missions but for some reason their was a gravitational anomaly, similar to the one in his house, that stopped him from completing the test. Also, when he is at the school speaking to Murph’s teachers they say that most of the engineers, pilots etc… are not needed any more because all the world needs at the moment are farmers. NASA was also disbanded but kept alive in secret. I’m not sure if they would have been able to train more pilots for the flight.

      posted in The lounge
      ScuzzS
      Scuzz
    • [Spoilers]Interstellar

      Now that most of us have seen Interstellar I think it’s time we discussed the film and included spoilers.

      So be warned there will be spoilers! Check http://bitbangers.co.uk/topic/139/interstellar for non spoiler discussions.

      posted in The lounge
      ScuzzS
      Scuzz
    • RE: Recent updates and changes.

      Hamburger? The menu button thing?

      I’ll change it asap.

      posted in Announcements
      ScuzzS
      Scuzz
    • Recent updates and changes.

      Over the past couple days I have made some changes to BitBangers, some quite noticeable and others not so.

      Most of you should have already noticed the biggest changed to BitBangers. Our theme has had a slight upgrade to a more lighter and flatter version. We have kept the classic forum look and feel as I do not think there is anything better. Our old theme was unique but in my opinion it was a bit nooby and not very modern. You don’t see many forums these days that have dark themes. I want BitBangers to have a more modern look and feel to it and I hope this theme pulls it off.
      If you notice any issues with the theme let me know and I’ll fix them as soon as I can.

      You may notice some changes with the categories. I have renamed some of them for a better understanding of what should be posted in them. The descriptions have also been updated to reflect this as well. I have removed the Bugs category as I do not think we need it any more. NodeBB is quite “stable” now and we only usually see issues when upgrading or installing plugins. Hopefully there will be no reason to report bugs to us.
      I have also moved the categories around. I have moved the more social and BitBangers based categories to the bottom of the forum and moved the more relevant technology, coding, computer and gaming related categories closer to the top. I want people to see them first rather than having to scroll all the way to the bottom. I almost forgot that we had a Gaming category as it was always hidden way down at the bottom.
      If there are some categories that you still don’t fully understand or if you think we should change the names and descriptions let me know!

      The final thing, and it maybe the most important, we now have a blog! Currently this is running a default theme but I am looking to purchase one for it soon and to make some modifications to it to make it fit with the forums. I already have 6 blogs posts waiting to be posted from some of the threads that have been posted in the forums. Hopefully this may encourage more threads to be posted. We don’t want @Almost to be the blog hogger now do we?

      posted in Announcements updates changes
      ScuzzS
      Scuzz
    • RE: Google Cardboard Unboxing & Review

      Did you try holding it up to the camera?

      posted in Tech
      ScuzzS
      Scuzz
    • The Walking Dead

      What are your thoughts on The Walking Dead?

      The mid season finale has been aired in the US and is going to air tonight in the UK. Have you been enjoying it or are you watching it just because you have seen all the other episodes and just want to know what happens?

      When i first picked up the show a couple years ago I didn’t find it as good as people made it out to be. The first season was very meh to me. It all picked up in the second season. In my opinion it was the best season. The finale episode was so tense with Rick and Shane.
      After that though I think it start to go down hill. It became slow and every episode seemed to make no progression to the story. To me it feels like the first episode, mid season finale, the first episode back after the break and then the last episode is all you need to watch to find out what has happened.

      All I can remember from the last season is them walking down that fucking railway for most the season and then when you expect it to get better and stuff starts happening its the last fucking episode. Cliff hanger. So now I want to know what happens and then have to watch the next season.

      I don’t find the characters that good any more. I like how Rick is getting more and more “I DONT GIVE A FUCK” but that’s about it. I found the first bunch of character more likeable and I kinda felt something for them when one of them died or something bad happened. But now I don’t really care. The mid season finale for season 5 someone dies. I didn’t care. I felt kinda happy. We don’t have to put up with their shitty episodes any more.

      I’m guessing next half will be more running through woods, finding food, running through woods, running through a town, zombies and then maybe some more evil people to deal with. I’m starting to think that Rick and friends are becoming the evil people now though.

      This image is relevent to every episode and season imo

      posted in The lounge walking dead
      ScuzzS
      Scuzz
    • We love you Goany

      :heart: !

      posted in The lounge
      ScuzzS
      Scuzz
    • RE: Star Wars Trailer

      posted in The lounge
      ScuzzS
      Scuzz
    • WIIIS (Nintendo Wii Image Search)

      WIIIS (Nintendo Wii Image Search)

      As computer games consoles become more and more like computers the need for
      forensic investigation methodologies and software also increases. Many new games
      console have hard drives that are able to store images, films and music on them and
      because of this they can be used to store illegal content. Games console can also be
      modified to run homebrew applications that give access to hidden areas of the storage of
      the games console, adding further hiding places for illegal files. This report describes
      different consoles and their method of modification and the implementation of an image
      carver for two games consoles.

      The Nintendo Wii Image Search will search for .jpg files stored on an external SD card
      and display their location on screen.

      WIIIS requires the homebrew channel to be installed on the Nintendo Wii console

      #include <iostream>
      #include <string>
      #include <vector>
      
      #include <gccore.h>
      #include <wiiuse/wpad.h>
      #include <fat.h>
      #include <dirent.h>
      
      using namespace std;
      static void *xfb = NULL;
      static GXRModeObj *rmode = NULL;
      
      void initVideo()
      {
      	VIDEO_Init();
      	WPAD_Init();
      	rmode = VIDEO_GetPreferredMode(NULL);
      	xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
      	console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ);
      	VIDEO_Configure(rmode);
      	VIDEO_SetNextFramebuffer(xfb);
      	VIDEO_SetBlack(FALSE);
      	VIDEO_Flush();
      	VIDEO_WaitVSync();
      	if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();
      	cout << "\x1b[2;0H";
      }
      
      int initFat()
      {
      	if(!fatInitDefault())
      	{
      		cout << "Unable to initialise FAT, exiting.\n";
      		return 1;
      	}
      	
      	DIR *dir;
      	
      	dir = opendir("/");
      	if(!dir)
      	{
      		cout << "Failed to open dir, exiting.\n";
      		return 1;
      	}
      	closedir(dir);
      	return 0;
      }
      
      void searchDir(string &rootDir, vector<string> &files)
      {
      	
      	string filePath;
      	DIR *dir;
      	struct dirent *entry;
      	struct stat statbuf;
      	
      	dir = opendir(rootDir.c_str());
      	
      	while((entry=readdir(dir)) != 0)
      	{
      		stat(entry->d_name, &statbuf);
      		if(entry->d_name[0] != '.')
      		{
      			filePath.erase();
      			filePath = rootDir + string(entry->d_name) + "/";
      			if(S_ISDIR(statbuf.st_mode))
      			{
      				searchDir(filePath, files);
      			}
      			if(string(entry->d_name).length() > 3)
      			{
      				if(string(entry->d_name).substr(string(entry->d_name).length() - 3, 3) ==  "jpg")
      				{
      					files.push_back(filePath.substr(0, filePath.size() - 1));
      				}
      			}
      			
      		}
      	}
      	closedir(dir);
      }
      
      int main(int argc, char **argv) 
      {
      	vector<string> files;
      	initVideo();
      	initFat();
      	string rootDir = "/";
      	
      	cout << "Wii Image Search, press A to start or Home to quit.\n";
      	while(1)
      	{
      		WPAD_ScanPads();
      		u32 pressed = WPAD_ButtonsDown(0);
      		if(pressed & WPAD_BUTTON_HOME) 
      		{
      			return 0;
      		}
      		if(pressed & WPAD_BUTTON_A)
      		{
      			searchDir(rootDir, files);
      			for(std::vector<string>::const_iterator i = files.begin(); i != files.end(); ++i)
      			{
      				cout << *i << "\n";
      			}
      		}
      		VIDEO_WaitVSync();
      	}
      
      	return 0;
      }
      
      
      posted in Development and Coding image wii c++ search
      ScuzzS
      Scuzz
    • Some Encryption program in Python

      Encryption program for a university module

      Usage:

      python joshcrypt.py [-h] [-e] [-d] keyword inputFile outputFile
      

      Flags:

      [-h] Help. This flag will generate help from the command line.
      [-e] Encrypt. Use this flag to encrypt the inputFile.
      [-d] Decrypt. Use this flag to decrypt the inputFile.
      

      Arguments:

      Keyword - The keyword used to encrypt the file.
      inputFile - The Filename to save the encrypted/decrypted file as.
      

      This program needs to be run from the command line; cmd.exe or any terminal emulator will suffice.
      To start the encryption process a user must type:

      python joshcrypt.py -e "keyword" "inputfile" "outputfile"
      

      Keyword is the password used for the document.
      Inputfile is the file that you want to be encrypted.
      Outputfile is the file that you want the encrypted file to be saved as.

      To start the decryption process a user must type:

      python joshcrypt.py -d "keyword" "inputfile" "outputfile"
      

      Keyword is the password used for the document.
      Inputfile is the file that you want to be decrypted.
      Outputfile is the file that you want the plain text file to be saved as.

      # Requires Python 2.7 as Python 3.0+ contains bugs with the array.array() function.
      import argparse
      import array
      import sys
      
      # Opens file as a byte array.
      def getBlock(fileName):
          f = open(fileName, "rb")
          blockArray = array.array('b', f.read())
          f.close
          return blockArray
      
      # Converts bytes to string and writes it to a file.
      def writeBlocks(blocks, fileName):
          f = open(fileName, "wb")
          string = blocks.tostring()
          f.write(blocks)
          f.close()
      
      # Generates a key. 
      # Converts the key into a byte array, creates another byte array of the key but reversed. 
      # Xor the bytes together to generate the final key.
      def genKey(key):
          a = array.array('b', key)
          b = a[::-1]
          for x in range(len(a)):
              a[x] = a[x] ^ b[x]
          return a
      
      # Xor the bytes of the key with the bytes of the file.
      # Loops through the key and adds the times it has looped to the end of the key
      def encrypt(blocks, key):
          i = 0
          r = 0
          for block in range(len(blocks)):
              blocks[block] = blocks[block] ^ key[i]
              if i == len(key) - 1:
                  i = 0
                  r += 1
                  key = genKey(key.tostring() + str(r))
              else:
                  i += 1
          return blocks
      
      def decrypt(blocks, key):
          i = 0
          r = 0
          for block in range(len(blocks)):
              blocks[block] = blocks[block] ^ key[i]
              if i == len(key) - 1:
                  i = 0
                  r += 1
                  key = genKey(key.tostring() + str(r))
              else:
                  i += 1
          return blocks
      
      # Sets up the command line arguments
      # Calls functions to encrypt the file.    
      def main():
          parser = argparse.ArgumentParser(description="Encrypt and Decrypt a file.")
          parser.add_argument("-e", action = "store_true", default = False, dest = "edFlag", help = "Encrypt File")
          parser.add_argument("-d", action = "store_false", default = False, dest = "edFlag", help = "Decrypt File")
          parser.add_argument("keyword", action = "store", help = "Keyword used to encrypt or decrypt file")
          parser.add_argument("inputFile", action = "store", help = "Filename to be encrypted/decrypted")
          parser.add_argument("outputFile", action = "store", help = "Filename to save the encrypted/decrypted file as")
          args = parser.parse_args()
          
          if len(args.keyword) < 10 or len(args.keyword) > 40:
              print "Password needs to be greater than 10 characters and less than 40"
              sys.exit(1)
      
          if args.edFlag:
              print "ENCRYPTING"
              key = genKey(args.keyword)
              blocks = getBlock(args.inputFile)
              encrypted = encrypt(blocks, key)
              writeBlocks(encrypted, args.outputFile)
          else:
              print "DECRYPTING"
              key = genKey(args.keyword)
              blocks = getBlock(args.inputFile)
              decrypted = decrypt(blocks, key)
              writeBlocks(decrypted, args.outputFile)
      
      if __name__ == '__main__':
          main()```
      posted in Development and Coding python enryption
      ScuzzS
      Scuzz
    • PS3 Image Searcher (C++)

      Here is a project I did for my final year at uni.
      It is a homebrew program for the PS3 that will let you search for images files on the HDD and then transfer them to USB.

      It’s probably buggy as hell and it only searches for file extension and the copy function is stupidly slow but it did work.

      It’s coded in C++ with some graphic library i found for the PS3. I can’t remember what it is.

      #include <NoRSX.h>
      #include <sys/stat.h>
      #include <sys/file.h>
      #include <fstream>
      #include <iostream>
      #include <string.h>
      #include <vector>
      #include <sysmodule/sysmodule.h>
      #include <io/pad.h>
      
      using namespace std;
      static NoRSX *GFX;
      
      string detectUSB()
      {
      	int fd;
      	string USB = "";
      	int usbNum = 0;
      	char path [256];
      	
      	for(usbNum = 0; usbNum < 11; usbNum++)
      	{
      		sprintf(path, "/dev_usb00%d/", usbNum);
      		if(sysLv2FsOpenDir(path, &fd) == 0)
      		{
      			USB = string(path);
      		}
      	}
      	
      	return USB;
      }
      
      void searchDir(string rootDir, vector<string> &fileNames)
      {	
      	sysFSDirent entry;
      	s32 fd;
      	u64 read;
      	string filePath;
      	
      	if(sysLv2FsOpenDir(rootDir.c_str(), &fd) == 0)
      	{
      		sysLv2FsOpenDir(rootDir.c_str(), &fd);
      		while(!sysLv2FsReadDir(fd,&entry,&read) && strlen(entry.d_name)>0)
      		{
      			if(entry.d_name[0] != '.')
      			{
      				if(entry.d_type == 0x01)
      				{
      					GFX->Flip();
      					filePath.erase();
      					filePath = rootDir + string(entry.d_name) + "/";
      					searchDir(filePath, fileNames);					
      				}
      				else
      				{
      					if(string(entry.d_name).substr(string(entry.d_name).length() - 3, 3) == "jpg")
      					{
      						fileNames.push_back(rootDir.substr(0, rootDir.size()) + string(entry.d_name));
      					}
      				}
      			}
      		}
      		sysLv2FsCloseDir(fd);
      	}
      }
      
      void copyFiles(string destDir, vector<string> files)
      {
      	string destFilePath = "";
      	string origFilePath = "";
      	for(std::vector<string>::const_iterator i = files.begin(); i != files.end(); i++)
      	{
      		origFilePath = *i;
      		destFilePath = destDir + origFilePath.substr(origFilePath.find_last_of("/") + 1);
      		ifstream origFile(origFilePath.c_str());
      		ofstream destFile(destFilePath.c_str());
      		destFile << origFile.rdbuf();
      	}
      }
      
      s32 main(s32 argc, const char* argv[])
      {
      	padInfo padinfo;
      	padData paddata;
      	ioPadInit(7);
      	
      	GFX = new NoRSX();
      	Font F(JPN, GFX);
      	Bitmap BMap(GFX);
      	NoRSX_Bitmap Precalculated_Layer;
      	BMap.GenerateBitmap(&Precalculated_Layer);
      	
      	vector<string> files;
      	int debug = 0;
      	string USBStatus = "";
      	string HDDStatus = "";
      	string USBFiles = "";
      	string HDDFiles = "";
      	string test = "";
      	int ImagesFound = 160;
      	
      	F.PrintfToBitmap(100,80,&Precalculated_Layer,COLOR_RED,15,"PS3 Image Search, Press X to start or START to quit");
      	
      	GFX->AppStart();
      	while(GFX->GetAppStatus())
      	{
      		ioPadGetInfo(&padinfo);
      		for(int i = 0; i < MAX_PORT_NUM; i++)
      		{
      			if(padinfo.status[i])
      			{
      				ioPadGetData(i, &paddata);
      				if(paddata.BTN_START)
      				{
      					GFX->AppExit();
      				}
      				if(paddata.BTN_CROSS)
      				{
      					HDDStatus = "/dev_hdd0/Forensic/";
      					searchDir("/dev_hdd0/Forensic/", files);
      					for(std::vector<string>::const_iterator i = files.begin(); i != files.end(); ++i)
      					{
      						BMap.DrawBitmap(&Precalculated_Layer);
      						HDDFiles = "File: " + *i;
      						F.PrintfToBitmap(600,ImagesFound,&Precalculated_Layer,COLOR_WHITE,15,"HDD Files: %s", HDDFiles.c_str());
      						GFX->Flip();
      						ImagesFound = ImagesFound + 20;
      					}
      					
      					USBStatus = "No USB";
      					USBFiles = "";
      					if(detectUSB() != "")
      					{
      						USBStatus = detectUSB();
      						copyFiles(USBStatus, files);
      					}
      				}
      			}
      		}
      		
      		BMap.DrawBitmap(&Precalculated_Layer);
      		F.Printf(100,100,COLOR_WHITE,15,"USB Status: %s", USBStatus.c_str());
      		F.Printf(100,120,COLOR_WHITE,15,"USB Files: %s", USBFiles.c_str());
      		F.Printf(100,140,COLOR_WHITE,15,"HDD Status: %s", HDDStatus.c_str());
      		F.Printf(100,160,COLOR_WHITE,15,"HDD Files: %s", HDDFiles.c_str());
      		F.Printf(100,180,COLOR_WHITE,15,"Images Found: %d", ImagesFound);
      		F.Printf(100,200,COLOR_RED,15,"DEBUG: %d", debug);
      		GFX->Flip();
      		debug++;
      	}
      	
      	BMap.ClearBitmap(&Precalculated_Layer);
      	GFX->NoRSX_Exit();
      	ioPadEnd();
      	return 0;
      }
      
      posted in Development and Coding ps3 image search c++
      ScuzzS
      Scuzz
    • RE: Minecraft Server

      Teamspeak server up and running. Server - bitbangers.co.uk

      posted in Gaming
      ScuzzS
      Scuzz
    • RE: What are you listening to today?

      https://www.youtube.com/watch?v=TUAgotnkrL4

      posted in The lounge
      ScuzzS
      Scuzz
    • RE: Google Inbox Invite Giveaway!

      I have 5 more to giveaway!

      posted in General Computing
      ScuzzS
      Scuzz
    • RE: Minecraft Server

      Nice.
      I’ll try and get a TeamSpeak server up then as that seems what most people want.

      posted in Gaming
      ScuzzS
      Scuzz
    • RE: Minecraft Server

      People are now also requesting some type of voip server.

      Which would you prefer, TeamSpeak, Ventrillo or Mumble. I would prefer something simple and lightweight but whatever is easiest for you guys?

      posted in Gaming
      ScuzzS
      Scuzz
    • 1 / 1