hjf

Saturday, September 20, 2014

Shortcut Overlay Utility by Lateralus138

Project currently being rewritten

Shortcut Overlay Utility

There are a few of these out there and all work, but I like to create my own tools that work more the way I want them to. If you don't know what a shortcut overlay is it is the little arrow on any shortcut file in Windows. Some of us either don't like the arrow there or sometimes we want to switch back to old fashion XP overlays.



dv7
Default Vista & 7
dxp
Default XP
handxp
XP Hand
none
No Shortcut Arrow




Shortcut Overlay Utility V1.1 has modes for Vista and 7 & 8 and has all 4 modes in each.

v78mode
Modes for Windows Vista and 7 & 8

Each mode looks the same, but one of the resources in Vista is in a different dll than 7 & 8's

each
Options

There is a portable version or an installable version for those who like that method. The installable version can be cleanly uninstalled. The only single drawback to is that sometimes Windows 7 must be restarted completely to see the results as it will temporarily display a black square until you restart. Not even an issue for me, but if anyone would like me to add a feature to restart the computer just leave a comment and I can add it in. This program is not Windows Verified and so might display false positives, but I freely offer the source code and it should show unknown and not untrusted.

Saturday, August 2, 2014

Kids going to sleep batch script :D

Kids To Sleep Script

For all my fellow geek/parents out there who know anything about dos batch/cmd coding I wrote this little script to mimic my feelings and many future instances with my children when trying to get them to GO TO SLEEP!!! lol Finishing the loop and continuing the eof consists of deleting a text file in the same folder named awake_kids.txt lol The funny thing about this post that don't get it is that while the file awake_kids.txt exists (kids are awake) the program is running and using processor power which in humans tires us down and in humans and computers eating up our power also wears our physical hulls down.... so when then awake_kids.txt gets deleted (kids go to sleep) the loop then ends and stops using so much energy the same as every parents experiences every time they go to sleep


@echo off
:sleep
cls
if exist awake_kids.txt (
echo Get your ass to sleep!!!
goto:sleep
) else (
echo About fucking time!!!
pause
goto:eof
)

Thursday, April 3, 2014

Star Wars: The Old Republic - The Black Talon Gameplay

SWTOR Gameplay

The Black Talon mission from Star Wars: The Old Republic
Short video I made of a cool part of "The Black Talon" mission

Monday, March 31, 2014

Parallel Kingdom Image Converter V1.0

Editing Parallel Kingdom Images

For those of you who like to mod anything and everything just because you can, I have built a small utility to quickly convert Parallel Kingdom image files to PNG format so you can edit them in your image editing software of choice.
Today I have finished and released Parallel Kingdom Image Converter V1.0.
You might think it's not a big deal to add or remove a file extension from a file, but the pk image folder has over 16,000 files and even if you're not editing all of them this is still a helpful tool for pk image batch renaming.
To use simply download the sfx installer from the link above and install. There will be 2 shortcuts on your desktop:
  1. One for the main program
  2. One for the working image folder
And 3 shortcuts in your Start Menu:
  1. One for the main program
  2. One for the working image folder
  3. PKIC Uninstaller (can be accessed from utility as well)
After install is finished you place the pk images that you want to work on in the "Images" folder and run the program from one of the shortcuts provided. Use the program to convert pk image files to PNG format then edit your images and save your work to the Images folder. Once you are ready to use your modded image files just use the program to convert the files back to pk image files and return images back to your phone or tablet in the sdcard/pk folder.
As simple as that. Any questions please leave comments
For those of you who like things a little less organized and portable download the portable version here.
Disclaimer: This is not an official PerBlue or Parallel Kingdom® product nor is it endorsed by said company.

Monday, August 19, 2013

Black screen (no xserver/xorg) after updating Ubuntu to 12.10 or 13.04

For a while I had been trying to upgrade my Ubuntu from version 12.04 to 13.04 with disastrous results.
For list of commands used: Commands





First of all, in order to upgrade to 13.04 from 12.04 you must upgrade to 12.10 first. I tried upgrading to 12.10 and immediately after reboot I come to a screen that says something to the effect of can't access /tmp, Press S to skip or M to manually recover. I pressed S and nothing happens and after a while I hard rebooted and came to a black screen and stalled. I kept doing a web search for solutions and posted at a couple of forums and a lot of people had similar issues with the upgrade, but none of the solutions I found helped me. Most dealt with graphics drivers issues.

I gave up trying to fix it and just copied my user files to my Windows partition and did a fresh re-install of 12.04 and then updated the system and cleaned then tried upgrading again with the same results. This time I tried pressing M to manually recover and came to a black screen again. I didn't want to re-install again so this time I rebooted into Recovery Mode and tried to clean and fix packages etc.. with no luck. I then tried to go into root prompt and tried starting the xserver manually and I found out it wasn't installed!

So my guess is that when it tried to do the upgrade it was meant to install xserver on reboot and the the files were in the tmp folder which had been inaccessible. I connected to the internet and installed xserver-xorg-core and then xserver-xorg and rebooted and VIOLA!!! Success!!! I now had a working version of 12.10!!!

Now to upgrade to 13.04... Same issue. Hmm so I tried the same solution and it worked. This made me wonder about the /tmp directory. Was it read only? I am not satisfied unless I know exactly why something doesn't work so I started from scratch to test something out.

This time I did a fresh install of 12.04 and attempted to update 12.10 and same issue so I fixed it with my first solution. Now to test a different method when upgrading to 13.04. Before upgrading I had a thought about the /tmp folder... maybe it was read only at the time of upgrade locked somehow. I am somewhat familiar with how permissions work and so I thought maybe to take ownership and to set the /tmp folder to writeable. I did take ownership and set /tmp to writeable and then tried upgrading... no problems!!! Perfect!!!

Commands used in article:



For installing xserver:
sudo apt-get update && sudo apt-get install xserver-xorg-core && sudo apt-get install xserver-xorg

For taking ownership of /tmp folder:
sudo chown username /tmp Replace username with your login name.

For making /tmp folder writeable:
sudo chmod +x /tmp

Wednesday, June 13, 2012

Creating backdoor at Windows login to reset password after losing it.

Over the years I have had many people ask me how to get into their computer after they have forgotten their password. There are a few ways to do this either with a bootable cd or usb stick with a 3rd party application, but to be honest this is very unsafe as anyone can get the cd and break into a computer and at the same time you or anyone else that uses such software can cause users or admins to lose data.

The only really safe way to do it is through your command prompt, but without knowing your password to get into the profile to use the console then you are screwed. Recently I have discovered a way to be able to access your command prompt from the Windows login screen by adding a value to the registry. Now you can create a registry file (.reg) to do this, but today we will just add it via the command prompt:


1. You must open your cmd (command prompt) as administrator so you can't open it from run. You must go to your start screen type "cmd" in the search bar and when you see it right click on it and select "Run as administrator".

2. Type the code below into the prompt:
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe" /v Debugger /t REG_SZ /d "C:\windows\system32\cmd.exe"
Triple click on the above code to select all then copy and paste into your command prompt and hit "ENTER".

You now have access to the the command prompt at the Wcndows login screen.

Gain access by either:

  • Pressing SHIFT+ALT+PRTSC (Print Screen) or;
  • Hitting the SHIFT key 5 times in a row.



If you or anyone else on your Windows OS ever loses their password (or you just want to do anything else that you can do from the prompt) you can do it without logging in (be careful though!).

3. When you need to change your password from the prompt, type:
net user username password
Where username is, of course, your username and password your new password.

EXAMPLE:
net user bob apples
Would change user bob's password to apples etc...

If your name has a space in it you must wrap quotation marks around the name as a space denotes a new command. You must enter it like:

net user "bob for" apples


4. Login with your new password!



I have created a batch file to automate this process so you don't have to do half of this. You can either download it Here or if you are scared of downloading files you can just copy and paste the text below into a batch you create.

  • Right click on your desktop and select New>TXT File.
  • Rename the file from "New Text Document.txt" to "whateveryouwant.bat" (if you can't see the extension just go into folder options and uncheck "Hide extensions of known applications" or something like that.
  • Once it's a bat file right click on it and select "Edit". and paste the code below into it and save the file
  • Right click on the bat file you have created and select "Run as administrator" and it will run.
Code to paste in your batch file:
@echo off
echo Creating backdoor console...
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe" /v Debugger /t REG_SZ /d "C:\windows\system32\cmd.exe"
PING 1.1.1.1 -n 1 -w 3000 > NUL
cls
echo Creating backdoor batch file...
echo @echo off > C:/Windows/System32/backdoor.bat
echo title Creat New User Password >> C:/Windows/System32/backdoor.bat
echo echo Enter username to reset your password: >> C:/Windows/System32/backdoor.bat
echo set name= >> C:/Windows/System32/backdoor.bat
echo set pass= >> C:/Windows/System32/backdoor.bat
echo set /P name="Username:" >> C:/Windows/System32/backdoor.bat
echo set /P pass="New Password:" >> C:/Windows/System32/backdoor.bat
echo net user %%name%% %%pass%% >> C:/Windows/System32/backdoor.bat
echo PING 1.1.1.1 -n 1 -w 3000 > NUL >> C:/Windows/System32/backdoor.bat
echo exit >> C:/Windows/System32/backdoor.bat
PING 1.1.1.1 -n 1 -w 3000 > NUL
cls
echo To run:
echo.
echo At the login screen either press
echo shift+ctrl+printscreen (or prtsc)
echo or hit shift 5 times. This will
echo bring up the command prompt. At
echo the prompt type "backdoor" to
echo the new password screen and follow
echo the instructions.
echo.
pause
PING 1.1.1.1 -n 1 -w 3000 > NUL

Once it starts it will enter the registry entries as provided above to create the access to the command prompt at Windows login and it will also create a batch file located in you System32 fold called "backdoor.bat" which will start you through an automated easy process to change your password, so no need to type the commands yourself just run the backdoor file. This batch files is run from your command prompt by typing "backdoor" or "backdoor.bat" and it

  • Run this batch file from the command prompt bay typing "backdoor" or "backdoor.bat" and hit "Enter".
  • It will easily guide you through the process of changing your password in just a couple of steps
Again, login and enjoy!!!

Tuesday, April 17, 2012

New sig of my youngest twins son Gabriel

Click image to view full size. Seb