Showing posts with label Computer Trick. Show all posts
Showing posts with label Computer Trick. Show all posts

11 August, 2011


ROM hacking tips and impotance

ROM hackingis the process of modifying avideo gameROM image to alter the game's graphics, dialogue, levels, gameplay, or other elements. This is usually done by technically-inclined video game fans to breathe new life into a cherished old game, as a creative outlet, or to make essentially newunofficial games using the old games engine.
ROM hacking is generally accomplished through use of a hex editor (a program for editing non-textual data) and various specialized tools such as tile editors, and game-specific tools which are generally used for editing levels, items, and the like, although more advanced tools such as assemblers and debuggers are occasionally used. Once ready, they are usually distributed on the Internet for others to play on an emulator.[1]
Fan translation (known as "translation hacking" within the ROM hacking community[1]) is a type of ROM hacking; there are also anti-censorship hacks that exist to restore a game to its original state, which is often seen with older games that were imported, as publishers' content policies for video games (most notably,Nintendo's) were much stricter in the United States than Japan or Europe. Although much of the methodology applies to both types of hacking, this article focuses on "creative hacking" such as editing game levels.

Contents

 Communities

Screenshots comparing the world maps inPokémon Red (original game, left) and Pokémon Brown (hacked game, right)
Many ROM hackers form or join groups for various reasons, such as for web space to host hacks and/or screenshots, for the support of or collaboration with other members of the group, for privileged status on the group's message board(if it has one), for the prestige associated with the group, or just for the comradeship. Many hackers, however, choose to go solo. Not all group members are necessarily ROM hackers themselves; some have "retired" from the craft, others offer services such as website and/or message board administration, and some simply offer guidance to aspiring ROM hackers.
Most hacking groups offer web space for hosting hacks and screenshots (sometimes only hosting hacks by the group's members, sometimes hosting almost any hack), a message board, and often have an IRC channel.

 Methodology

Having been created by many different programmers or programming teams, ROM data can be very diverse.

 Hex editing

hex editor is one of the most fundamental tools in any ROM hacker's repertoire. Hex editors are usually used for editing text, and for editing other data for which the structure is known (for example, item properties), and Assembly hacking.
Editing text is one of the most basic forms of hacking. Many games do not store their text in ASCII form, and because of this, some specialized hex editors have been developed, which can be told what byte values correspond to what letter(s) of the alphabet, to facilitate text editing; a file that defines these byte=letter relationships is called a "table" file. Other games use simple text compression techniques (such as byte pair encoding, also called dual-tile encoding or DTE, in which certain combinations of two or more letters are encoded as one byte) which a suitably-equipped hex editor can facilitate editing.
A hex editor is the tool of choice for editing things such as character/item properties, if the structure and location of this data is known and there is no game-specific editor for the game that can edit this information. Some intrepid hackers also perform level editing with a hex editor, but this is extremely difficult (except on games whose level storage format closely resembles how it is presented in a hex editor).

 Graphics editing

Comparison of battle graphics inDragon Warrior (above) and a hack of it, Dragoon X Omega(below).
Another basic hacking skill is graphics hacking, which is changing the appearance of the game's environs, characters, fonts, or other such things. The format of graphics data varies from console to console, but most of the early ones (NES, Super NES, Game Boy, etc) store graphics in tiles, which are 8x8-pixel units of data, which are arranged on-screen to produce the desired result. Editing these tiles is also possible with a hex editor, but is generally accomplished with a tile editor (such as Tile Layer or Tile Molester), which can display the ROM data in a graphical way, as well as editing tiles.
Graphics hacks can range from simple edits (such as giving Mario an afro) to "porting" characters from one game to another, to full-blown thematic changes (usually with accompanying palette changes; see below).
More sophisticated graphics hacking involves changing more than just tiles and colors, but also the way in which the tiles are arranged, or tile groups generated, giving more flexibility and control over the final appearance. This is accomplished through hex editing or a specialized tool (either for the specific game or a specific system). A good example of a graphics hack is the uncompleted Pokemon Torzach, a hack which attempted to add a whole new generation of Pokemon and tiles to the game. The hack has since been discontinued, but it still serves as a good example on what can be achieved with the tools available.

 Palette editing

Another common form of hacking is palette hacking, where color values are modified to change the colors a player sees in the game (this often goes hand-in-hand with graphics hacking); Palette values are commonly stored in Hex. This is fairly easy for NES games, the graphics of which use a pre-defined set of colors among which a game selects; palette hacking in this case entails changing which of those colors are selected. The matter is slightly more complicated with Super NES games and games for other systems, which store absolute RGB color values. Palette editors are usually simple and often are with Level editors, or Game specific graphics editors.

 Level editing

One of the most popular forms of ROM hacking, level editing entails modifying or redesigning a game's levels or maps. This is almost exclusively done with an editor specially-tailored for a particular game (called a level editor). Level edits can be done to make the game more challenging, to alter the flow of the game's plot, or just to give something new to an old game. Combined with extensive graphics hacking, the game can take on a very different look and feel.

 Data editing

A core component of many hacks (especially of RPGs) is editing data such as character, item, and enemy properties. This is usually done either "by hand" (with a hex editor) if the location and structure of the data is known, or with a game-specific editor that has this functionality. Through this, a hacker can alter how weapons work, how strong enemies are or how they act, etc. This can be done to make the game easier or harder, or to create new scenarios for the player to face.

 Assembly hacking

The most powerful, and arguably the most difficult, hacking technique is editing the game's actual code, a process called ASM hacking ("ASM" means "assembly", referring to the type of programming language used for early console games).[1]There is no set pattern for ASM hacking, as the code varies widely from game to game, but most skilled ASM hackers either use an emulator equipped with a built-in debugger or tracer, or run the ROM through a disassembler, then analyze the code and modify it using a hex editor or assembler according to their needs. While quite challenging compared to the relatively-simple methods listed above,anything is possible with ASM hacking (of course, within the limits of the hardware/software of the gaming platform), ranging from altering enemy AI to changing how graphics are generated. (Of course, the possibilities are still limited by the hacker's ability to comprehend and modify the existing code.)
If the developers used a typed language, the hacker may be able to compile their own code for the game in the same language if they have access to a proper compiler. One such example would be using C to hack Nintendo 64 games, sinceMIPS-GCC can compile code for the Nintendo 64.[2][3]

[edit] Music hacking

Music hacks are relatively rare, due to the wide variety of ways games store music data (hence the difficulty in locating and modifying this data) and the difficulties in composing new music (or porting music from another game). As music cracking is very uncommon, many hacks do not have any ported/composed music added in. The program SapTapper can be used to hack Gameboy Advance music data, however, as many Gameboy Advance games use the M4A Engine (also called "Sappy Driver") for music.
The most common form of hacking music is porting music from one ROM file to another, usually both made by the same company. Porting music from two files will almost always pose some type of problem, as the format is almost always different. A good example of music hacking would be the uncompleted hacked game Pokémon: The Legendary Ashes.

 ROM expansion

Generally speaking, a ROM hacker cannot add content to a game, but merelychange existing content.[citation needed] This limit can be overcome through ROM expansion, whereby the total size of the ROM image is increased, making room for more content and a larger game. The difficulty in doing this varies depending on the system for which the game was made. For example, expanding an NES ROM may be difficult or even impossible due to the mapper used by the game. For example, if a mapper allows 16 ROM banks and all of them are used, expanding the ROM further is impossible without somehow converting the game to another mapper, which could be easy or extremely difficult. On the other hand, expanding a Super NES game is (relatively) straightforward. To utilize the added space, parts of the game code have to be modified or re-written (see Assembly hacking above) so the game knows where to look. The Game Boy Advance is generally considered the easiest to expand.

 Distribution

Once a hack is completed (or an incomplete version is deemed suitable for an interim release) it is released onto the Internet for others to play.Sometimes the hack will simply crash before gameplay. The generally-accepted way to fix this is by making a patch (in IPS format or others) that can be applied to the unmodified ROM.[1] This, and usually some form of documentation, is put in an archive file and uploaded somewhere. IPS is a format for recording the differences between two binary files (in this case, between the unmodified and hacked ROMs) and is suitable for ROM hacks. IPS is still used today for small patches—however, as ROMs became larger in size, this format became useless, leading to quite a few file formats being created—such as NINJA and PPF ("PlayStation Patch Format"). PPF is still used today, particularly to patch large files such as ISO CD images andNintendo 64 games. A new patch format, UPS, has also been developed by the ROM hacking community, designed to be the successor to IPS and PPF.[4] A more recent patching format, the APS patching system, has also been developed by a devoted Game Boy Advance ROM hacker. The APS system is more space efficient, reversible, and is faster than its predecessor.[5]
The purpose of distributing a hack in patch form is to avoid the legal aspects of distributing entire ROM images; the patch records only what has changed in the ROM, hence distributing it does not distribute parts of the original game. A patch is also smaller than the full ROM image (an NES ROM can run anywhere from 40KB-512KB; a Super NES ROM can run from 256k-6MB). The use of patches does not eliminate copyright issues because the patches may be consideredderivative works;[citation needed] however, corporations generally ignore them as long as they are not distributed with the ROMs.

 Systems and games

The majority of ROM hacking is done on NES and Super NES games, since such games are small and simple compared to games of more advanced consoles such as the Nintendo 64. Games for the Game Boy are also popular for hacking, as well as games for the Sega Mega Drive to a lesser extent. But by no means are games for more recent consoles exempt from hacking, and indeed as computers get faster and more programs and utilities are written, one might expect to see morePlayStation and Nintendo 64 hacks.
Of these, popular games to play are popular games to hack; many hacks have been released of games of the Sonic the Hedgehog series, Super Mario Bros.series, Pokémon series, Chip's ChallengeSuper Mario WorldFinal FantasyThe Legend of Zelda, games from the Mega Man series, Fire Emblem series,EarthBoundSuper Mario 64, and many others.

 See also

Trick To Disable Automatic Update of Google Chrome
Custom Search





Trick To Disable Automatic Update of Google Chrome
Google chrome has very quickly gained popularity thanks to its speed,minimal design,nice interface.The development of the browser is also taking place at rapid speed.After every few weeks there is a new version of chrome that is launched.
Most of you are not even aware when your google chrome gets updated with its silent updater.For heavy computer user’s this can be a waste of memory as google updater stays in the memory silently.This can also be annoying for those which have slow dial-up connections or have limited data plans.I will give you trick to disable automatic updates of chrome but you will be still able to update it manually whenever you want it.
Follow the steps below to learn the Trick To Disable Automatic Update of Google Chrome

For Window 7 and Window  Vista  Users
Click on Start button, type msconfig.exe and press Enter Key


    msconfig Trick To Disable Automatic Update of Google Chrome
  1. Now go to Startup tab and uncheck the box Google Update
For Window Xp Users

  1. Click on Start button and goto Run
  2. Type msconfig.exe and press Enter Key
  3. Now go to Startup tab and uncheck the box Google Update
We have stopped google updater from launching at the startup.Now we have to stop the automatic Execution of the updater.

emotions and keyboards shortcuts

There are a few secret parameters you can add to Google Talk and make it function differently. 
The most important, I think, is /nomutex, which allows you to run more than one instance of GT. Here are the others: 
/nomutex: allows you to open more than one instance of Google Talk
/autostart: when Google Talk is run with this parameter, it will check the registry settings to see if it needs to be started or not. If the "Start automatically with Windows" option is unchecked, it won't start.
/forcestart: same as /autostart, but forces it to start no matter what option was set.
/S upgrade: Used when upgrading Google Talk
/register: registers Google Talk in the registry, includig the GMail Compose method.
/checkupdate: check for newer versions
/plaintextauth: uses plain authentication mechanism instead then Google's GAIA mechanism. Used for testing the plain method on Google's servers.
/nogaiaauth: disables GAIA authentication method. The same as above.
/factoryreset: set settings back to default.
/gaiaserver servername.com: uses a different GAIA server to connect to Google Talk. Used for debug purposes only, there are no other known GAIA servers.
/mailto email@host.com: send an email with Gmail
/diag: start Google Talk in diagnostic mode
/log: probably has something to do with the diagnostic logging
/unregister: ?
/embedding: ?
To add these, open up your GT shortcut, and where it says "Target:" add one or more of these inside the quotations, but after the .exe part. 

Emotions :

All these emotions appears in color in a conversation : (but having them in an image would be better, like iChat or MSN) 
 :-|
 :-O
 :-x
 :-P
 :-D
 ;-)
 :-(
 :-)
 B-)
 :'(
 :|
 :O
 :x
 :P
 :D
 :)
 :(
 :)

Bulk Rename Utility


Bulk Rename Utility is a simple utility which allows you to rename multiple files and folders, based upon flexible criteria. For example, you can add a prefix or suffix to a file, or you can change of the file
I create this utility because i usually need to convert all the files in a folder to lowercase to upload my site. as Linux servers are case sensitive.but with time i added more functions to it.

Bulk Rename is completely written in VC++ using MFCYou can download this Bulk Rename with complete source code from the hyperlink provided at the bottom of the page.
Tools Used :
1) VC++ using MFC
2) some nice classes from www.codeproject.com. 

Features :
  1. Change case of all the files and subfolders of the selected folder.
    Change case to Lower Case , Upper Case , Title Case.
  2. Replace a character or text with another text from all file name or folder names.
  3. Remove a character or text from all file name or folder names.
  4. Add a suffix or Prefix to all file name or folder names.
  5. A prograss bar shows the Current status.
  6. An Error log is generated at the end of th operation
Requirements :
  1. It must be Run on an OS higher than windows 2000 (i.e Win 2000, Win Xp).
  2. Exe is made using Visual studio 2002. so you need mfc7.0 Dll on your system . or you can compile the code to generate a new Exe.
About Us : This firewall is made by Sudhir Mangla 
For any of your comments, suggestions and queries Please mail me atAdmin@ProgrammerWorld.NET

Information :

I have use many third party classes from codeproject.com

Technical :

Project consists of two parts UI and Backend.
It contains two projects 1.) RenameUtility      2.)BulkRename
1.) RenameUtility :
It consists of UI part from where the user interact with the application.
It implement Callback functions and Worker thread to update the progress bar.
and call CBulkRename class to perform various operation.
2.)BulkRename :
It implements CBulkRename class which perform all the desire operation . this class is implemented as a Regular DLL to extend the functionality in Future releases.
as the user select the folder on which the operation will be performed a therad start calculating the total no of files in that directory that will be used to show progress bar.
as user click a button to perform some action a new thread is launched to performe that action and threw a custom callback function progress bar is updated.
if some error occurred while renaming that file is skiped and operation continue to next file and that file name is added to the error log that will be dislayed at the end of the operation.
it is current a beta release it may contains many bugs.
so please mail me if you find any bugs and if possible also send me a solution to the problem.
Terms and Conditions :
If any one wants to use these projects for his College projects and for commercial use first mail me at Admin@ProgrammerWorld.NET

You are free to use it and are welcome to do further work to improve It and add more features to it. Please send me your source code if you have added new features to it if you like to share it with me.

Download :

Download the file From Here

Eliminate programs that run at start-up

  • when you delete them, you're deleting only the shortcut, not the program itself. (You can also clear out the start-up items by going to Start > Programs > Startup, then right-clicking items you want to remove.)


  • Next, clean out your Scheduled Tasks folder. Go to C:\Windows\Tasks, and delete the shortcuts of any programs that you don't want to run automatically on a schedule.

    Note: You can bypass all the programs in your Startup folder on an as-needed basis. To stop XP from loading any programs in the Startup folder, hold down the Shift key during bootup. No programs in the Startup folder will run, but the items will still remain there so that they will start up as they would normally the next time you boot.
Using the system configuration utility
Taking the previous steps will stop the obvious programs from running at start-up, but it won't kill them all. The best tool for disabling hidden programs that run on start-up is the System Configuration Utility. To run it, type msconfig at a command prompt, and press Enter. (If that doesn't work, first do a search formsconfig.exe; when you find the file, double-click it.)
  • To stop a program from running at start-up, go to the Startup tab in this utility, and uncheck the box next to the program. It can sometimes be difficult to understand what programs are listed on the Startup tab. Some, such as America Online, are clearly labeled. But often, you'll see a phrase or collection of letters, such as fs20.That's the name of the running file--such as fs20.exe, which is Free Surfer mk II, an excellent free pop-up killer.
  • To get more information about a listing, expand the width of the Command column near the top of the Startup tab. Expand it enough and you'll see the start-up command that the program issues, including its location, such as C:\Program Files\Free Surfer\fs20.exe. The directory location should be another hint to help you know the name of the program.
  • When stopping programs from running at start-up, it's best to stop them one at a time rather than in groups. You want to make sure that you're not causing any system problems by stopping them. So stop one, then restart your PC. If it runs fine, then stop another and restart. Continue doing this until you've cleared all the programs you don't want to run automatically.
Each time you uncheck a box and restart your PC, you'll get a warning that you've used the System Configuration Utility to disable a program from starting automatically. If you don't want to see that warning, disable it by checking the box in the dialog itself.

After you've used the system configuration utility to identify programs that run on start-up, you may want to try disabling them from with the programs themselves. So run each program that starts automatically, and see if you can find a setting that allows you to prevent it from running on start-up.




It's not only start-up that you'd like to speed up; you can also make sure that your system shuts down faster. If shutting down XP takes what seems to be an inordinate amount of time, here are a couple of steps you can take to speed up the shutdown process:
  • Don't have XP clear your paging file at shutdown. For security reasons, you can have XP clear your paging file (pagefile.sys) of its contents whenever you shut down. Your paging file is used to store temporary files and data, but when your system shuts down, information stays in the file. Some people prefer to have the paging file cleared at shutdown because sensitive information such as unencrypted passwords sometimes ends up in the file. However, clearing the paging file can slow shutdown times significantly, so if extreme security isn't a high priority, you might not want to clear it. To shut down XP without clearing your paging file, run the Registry Editor (click Start > Run, then type regedit in the Run box) and go to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
  • Change the value of ClearPageFileAtShutdown to 0. Close the Registry, and restart your computer. Whenever you turn off XP from now on, the paging file won't be cleared, and you should be able to shut down more quickly.

    Note: Please be careful when editing the Registry; you can do a lot of damage here. Don't change or delete anything unless you know exactly what it is.

Constantly running in the background of XP are services--processes that help the operating system run or that provide support to applications. Many of these services launch automatically at start-up. While you need many of them, some are not required, and they can slow down your system when they run in the background.

You can disable services at start-up by using the system configuration utility, similar to the way that you halt programs from running at start-up, except that you use the Services tab instead of the Startup tab. But the system configuration utility doesn't necessarily list every service that launches on start-up. A bigger problem is that disabling services is more of shot in the dark than disabling programs. When you disable a program, you can get a sense of what the program does. But when you disable a service through the system configuration utility, there's often no way to know what it does.
  • A better way of disabling services at start-up is via the Services computer-management console. Run it by typing services.msc at the command prompt. The Services computer-management console includes a description of all services so that you can know ahead of time whether a particular service is one you want to turn off. It also lets you pause the service so that you can test your machine and see whether that service is needed.
  • After you run the console, click the Extended tab. This view will show you a description of each service in the left pane when you highlight the service. The Startup Type column shows you which services launch on start-up--any with Automatic in that field. Click that column to sort together all the services that automatically launch on start-up. Then highlight each of those services and read the descriptions.
  • When you find a service you want to disable, right-click it and choose Properties. In the Properties dialog box that appears, choose Manual from the Startup Type drop-down list. The service won't start automatically from now on, but you can start it manually via the console. If you want the service disabled so that it can't be run, choose Disabled. To test the results, turn off any services that you don't want to run by clicking Stop The Service in the left pane, or by right-clicking the service and choosing Stop.
Here is a list of some common services you might want to stop from running at start-up. 
ServiceWhat it does
Portable Media Serial NumberRetrieves the serial number of a portable music player attached to your PC.
Task SchedulerSchedules unattended tasks to be run. If you don't schedule any unattended tasks, turn it off.
Uninterruptible Power SupplyManages an Uninterruptible Power Supply (UPS) connected to your PC.
Automatic UpdatesAutomatically checks for Windows updates. (You can check manually by going to http://windowsupdate.microsoft.com/.)
Telnet (service available on XP Pro only)Allows a remote user to log in to your computer and run programs. (This will not be found on all versions of XP Pro.)
Wireless Zero Configuration ServiceAutomatically configures a Wi-Fi (802.11) network card. Disable this only if you're not using a Wi-Fi network card.

Recover Windows Passwords

If you are stranded in a situation where you either don’t remember the password to your Windows account or are trying to help a Windows user by logging to a machine whose user has forgotten the password, this post will be of help to you.



There are a lot of Password Cracking Utilities available, and to this, I will use Ophcrack
Ophcrack is a free Windows password cracker based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method. It comes with a Graphical User Interface and runs on multiple platforms.
Follow the steps below to recover Windows user id and password information
1.) Point your browser to http://ophcrack.sourceforge.net/ and download ophcrack live cd image for your OS depending on whether you run Windows XP or Vista.

Download ophcrack live-cd for Windows XP or Windows Vista
2.) Once you have downloaded the image, you can write this image into a cd or dvd for use.
3.) Insert the DVD with the live cd image and reboot your computer. Ensure that you make CD Drive as the primary boot device. The computer should now boot using the Live CD you burnt on the DVD earlier.

4.) Select the first mode which says ” ophcrack graphic mode” and hit Enter.
5.) Upon hitting enter, the software will take you to a user interface and will begin scanning for the userid’s and passwords.

ophcrack gives you the list of userid and password combinations after completing the scan.
6.) Once you have the userid and password, you can remove the CD and login again to the Windows terminal using the userid and password obtained.