Sunday, October 5, 2008

A New Hope for PSP Emulator on PC

Actarus has just release "Sam", the new PSP Emulator which runs on PC. At the current stage, the emulator can only run some PSPSDK examples and homebrew games developed by the community.

Actarus, the author, also provides source code of this emulator at his page. You can check it out here (Sam)

I wish the emulator will be able to use with commercial games soon :)

Saturday, October 4, 2008

Compile Source and Run programs from Notepad++


Notepad++ is, unarguably, one of the most popular text editing tools of the moment! It supports syntax highlighting of all imaginable programming languages. Best of all, it is open-source software which can be used for free :)

Notepad++ itself is intended to be a text editor. However, we can configure it so it can run some external tools such as loading a web browser with the current file, or compile a Java/C++ source files. This can be done with the help of Notepad++'s built-in environment variables.

For example, the typical command for running a Ruby program is

ruby "C:\path\to\my\file\myfile1.rb"


To run this command from Notepad++ and applies path of current file instead of "C:\path\to\my\file\myfile1.rb", you can goto Run menu -> Run ... and type the following command in the only text box in the dialog.

ruby "$(FULL_CURRENT_PATH)"
Now you can try to run this by click on the "Run!" button of the dialog. The $(FULL_CURRENT_PATH) is one of the environment variables available. The others are

The 5 environment variables contain:

FULL_CURRENT_PATH : E:\my Web\main\welcome.html
CURRENT_DIRECTORY : E:\my Web\main\
FILE_NAME : welcome.html
NAME_PART : welcome
EXT_PART : html

However, there is a problem left. After you click the "Run!" button, a black command-line window appeared and disappeared immediately so you can't see the result.

You can prevent the command-line window from automatically closing by using this command.

cmd /K ruby "$(FULL_CURRENT_PATH)"


Hope this helps :)

Related pages:

Thursday, October 2, 2008

Internal Error 2739 while installing Adobe CS3 on Vista

If the setup program prompts you with "Internal Error 2739" then, you might want to consider this solution.

  1. Click on the Start button. Go to Accessories. Right click on the "Command Prompt" and choose "Run as Administrator" from the context menu.
  2. Type regsvr32 jscript.dll in the black window and press enter
  3. Try to run setup again. It should proceed smoothly now :)