Tuesday, January 20, 2015

Mac: Write .img file to a SD card

1. Use diskutil list to determine the driver identifier of the SD card

2. Unmount the SD card.e.g. diskutil unmount /dev/disk3s1

3. Write the .img file to the SD card, e.g.
sudo dd if=filename.img of=/dev/rdisk3 bs=1m


Ref:
osx - Writing .img file to SD Card from a Mac - Raspberry Pi Stack Exchange

Sunday, January 11, 2015

Android Studio: Project Location

As of Android Studio 1.0.1

Path: .AndroidStudio\config\options\ide.general.xml
Name: lastProjectLocation

Path: .AndroidStudio\config\options\other.xml
Name: recentPaths

If you want to rename your project, you should update the following files within your project:

.idea\.name
.idea\modules.xml
.idea\workspace.xml
<project_name>.iml

Saturday, January 10, 2015

foobar2000: Edit ReplayGain information

As of foobar2000 v1.3.6

To edit the ReplayGain values manually, you need to first enable the context menu option.
1. Navigate to Preferences -> Display -> Context Menu
2. check ReplayGain -> Edit ReplayGain information

Sunday, December 7, 2014

Win7: Event 7026 - boot-start or system-start driver failed to load

Problem:
After installing Windows 7 with an external DVD drive, I noticed there's a system error in event viewer:

The following boot-start or system-start driver(s) failed to load:
cdrom


I was surprised because I don't have an internal DVD drive, and my external DVD drive was no longer connected. I would not expect Windows to attempt booting from a DVD drive.


Solution:

1. Open regedit
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom
3. Change the value of Start to 3 (manual) or 4 (disable)


Ref:
Event ID 7000 or 7026 is logged in the System log on a computer that is running Windows 7, Windows Vista, Windows Server 2008 R2, or Windows Server 2008
Nonexisting CDROM keeps failing to load... - Microsoft Community

Tuesday, September 2, 2014

Drakengard 3: Route D tips and tricks

Yesterday I finally beat Drakengard 3. It was bad enough where I had to search online for help. Here is some tips & tricks I found which helped me unlock & finish Route D.

Unlock Route D:
You need to collect all weapons in order to unlock Route D. Meaning you need to collect tons of gold to buy all weapons from the shop, hunt down a bunch of treasure chests, and complete a handful of Accord's missions.

Tips on gold farming:
Use Spear - demise's warning bell (from chest in Route C part 4)
Equip Sword - dark blood blade (37800G from shop), it helps building up the blood gauge faster.

Do the 2nd Accord mission of the Desert 3 times, then do the payday mission. Depends on your performance, repeat this cycle 3 times should get you enough gold to buy all the weapons from the shop.

Treasure chests and Accord's missions:
After purchasing all weapons, I was stuck at 98% completion! Thanks to this walkthrough by DraikTempest, you can refer to the weapon locations and mission list to see which one you are missing.

Final Boss:
The final boss seems impossible to beat, especially the part where the screen went completely dark. Luckily, final boss timing guide come to rescue! I would strongly recommend you to download the video and play it offline to avoid any network latency or video lag.
【DOD3】音ゲー譜面のようなもの - YouTube
Dragon-on Dragoon / Drakengard 3 Route D Last Boss Timing Guide - YouTube

If you're feeling lazy, just watch the walkthrough on YouTube ;)


Ref:
Any tips for collecting money? - Drakengard 3 Message Board for PlayStation 3 - GameFAQs
Gold farm - Drakengard 3 Message Board for PlayStation 3 - GameFAQs

Sunday, June 1, 2014

Firefox: New tabs position

Before Firefox 3.6, new tabs were always opened at the far right of the browser. In Firefox 3.6, when you open a new tab from the current tab, the new tab is inserted next to the current tab.

After upgrading to Firefox 3.6, I noticed it preserved the old behavior for existing profiles. Only new profiles will default to the new behavior. Good intention but as I create new profiles, I now have different profile with different behavior, which is a little bit annoying.

Luckily this feature can be enabled/disabled with a few easy steps:
1. Go to about:config
2. Filter tabs.insertRelatedAfterCurrent
3. The default value is true. Change it to false if you want the old behavior


Ref:
Open Tabs At The Right [Firefox] | gHacks Technology News

Sunday, May 11, 2014

Win7: Setup DLNA media streaming with Windows Media Player 12

I was following this how-to guide to setup DLNA media streaming with Windows Media Player 12. I ran this a few issues and here is how I resolved them.


Problem 1: Cannot turn on media streaming
I was stuck at step 4, where it won't turn on the media streaming option. Clicking "Turn on media streaming" does nothing.


Solution:
1. Run services.msc
2. Start SSDP Discovery
3. Start UPnP Device Host


Problem 2: Cannot create HomeGroup
I was getting an error "A homegroup can only be created on a home network. To change your network location settings, open Network and Sharing Center in Control Panel." But I checked and confirmed I'm on a "home" network already.


Solution:
Turns out the error message is a little bit misleading. I think Windows was confused because I also have a VirtualBox Host-Only Network. I got a different error message after disabling it. Ultimately, I fixed the problem by enabling Internet Protocol Version 6 (TCP/IPv6) for my home network.



There are also a few things you should be aware:
1. Your network location must be set to Home (duh)
2. Only one homegroup is allowed on the network. If a homegroup already exists, you will be asked to join it.
3. The Peer Networking Grouping and HomeGroup Provider‌ services must be running
4. Windows Media Player 12 does not support streaming subtitles (i.e. *.ass files). I ended up using PS3 Media Server instead


Ref:
Cannot "Turn on media streaming" - another Windows 7 user with - Microsoft Community
Why can't I create a homegroup?
Can't create homegroup - Microsoft Community
Can't Create a homegroup - Windows 7 Help Forums