nox 6.0.9.0 업그레이드 후기

virtualbox 시스템상으로는 아무 필요없지만 nox-disk2.vmdk 파일을 지우면 nox 에서 초기화를 시도한다. fixed disk 이름을 nox-disk2.vmdk 으로 지정하거나, 혹은 빈 더미 파일을 넣어주면 될 것 같기도 하다. 다만 쓰기가 가능해야 하는 듯. 읽기 전용으로 하니까 역시 초기화됐다.

data disk 이미지는 시스템 버전과는 상관이 없어서 nox를 업데이트해도 그대로 쓸 수 있는 것으로 확인되었다.

how to remove ad in nox loading screen

ads

%localappdata%\nox\loading\ads 파일의 내용을 지우고 읽기 전용으로 지정한다.

%localappdata%\nox\loading\ 폴더 안의 파일을 모두 지우고. 권한에서 Everyone의 “파일 만들기” 권한을 거부로 지정한다.

또는, 그냥 Everyone의 수정 권한을 거부해도 되는데 이렇게 하면 탐색기로 폴더를 열 때 권한이 없다고 뜬다. 근데 어차피 nox 에서 광고 띄우지 않는 이상 열 일이 없는 폴더인데 오히려 이게 편하고 나은 것 같기도.


2017-11-21 update: variable name 이 잘못되어 고침. (%appdatalocal% -> %localappdata%)


2018-01-31 : ads 에 전부 embed 하는 형태에서 이를 쓰지 않고 다수의 파일을 생성하는 방식으로 광고가 변경됨.  Nox 를 업데이트 하지 않았는데도 변경된 것을 보면 뭔가 이상하긴 한데 일단 광고는 안 나오니까 이대로 놔두기로.

How to use fixed virtual HDD file with nox app player (how to prevent “aging” problem)

What to do

change variable-size virtual hdd file with fixed-size one.

Requirement

virtualbox, vboxmanage.exe (included in virtualbox) Minitool Partition Wizard (or other partition management tool), ubuntu live cd, notepad++ (other text editor)

Instructions

note: If you think 32GB(=declared size of source) is good for fixed-size disk, just clone source disk to fixed-size one. Then skip 2-12 steps.

  1. clone default user storage file using vboxmanage.exe, and name it “copy.vhd”. the file is located in bin\data\system\base-disk2.vdi
    vboxmanage.exe clonemedium nox-data.vdi d:\copy.vhd --format vhd
  2. create linux virtual machine in virtualbox.
  3. add copy.vhd and ubuntu live cd to VM, and start it.
  4. In VM(=ubuntu), find last partition in copy.vhd. it might take 32GB. shrink it much as possible. you might use Gparted for this step.
  5. turn off VM.
  6. create fixed-size hdd file using vboxmanage.exe. name it “fixed.vhd”. memo its uuid.
    vboxmanage createmedium --filename d:\fixed.vhd --size 6000 --variant fixed --format vhd
  7. In Host(=windows) mount 2 vhd files from above. use windows disk management console for this step.
  8. copy 3 partitions to fixed.vhd file from copy.vhd using Partition Wizard. (important: be sure to copy them as Primary partition, though default value is logical. if you copy them as logical, nox will fail to start)
  9. dismount 2 vhd files.
  10. add fixed.vhd to VM and start it again.
  11. In VM(=ubuntu), expand last partition of fixed.vhd to maximum size.
  12. turn off vm.
  13. copy fixed.vhd to your nox instance location. it might be found in <nox installation|appdata>\BignoxVMS\nox
  14. open nox.vbox with notepad++.
  15. edit vhd uuid, location(=filename), format(=VHD) in “VirtualBox\Machine\MediaRegistry\HardDisks\HardDisk”
  16. edit uuid in “VirtualBox\Machine\StorageControllers\StorageController\AttachedDevice\Image”
  17. save nox.vbox file.
  18. jobs done! now start nox.

Documentations

VboxManage manual

Backgrounds

The nox app player gets “older” when times passes. It takes bigger hard disk space, but player gets slower and more laggy. Although reinstall resolves this, it’s a big pain to do setup again.

Why this happens? Because nox uses variable-size virtual hard disk.

Variable-size disk is good to start, as it takes small amount compared to its declared disk size. but it is not good in long term, because it never “recycle” space. it stacks up all changes(kinda log), and never delete contents once it wrote. Every modification in virtual disk requires additional space in physical disk. So the filesize of variable-size disk grows without limitation. Also it degrades performance because every access to disk causes to sum-up all changes, as it is a huge overhead.

On the other hand, Fixed-size disk is good to run stable system. All spaces in virtual drive are mapped to physical drive, so there is little overhead to use it.

But why the instruction is so complicated? I think 32GB is too big for nox. So I wanted to resize it. But the problem was: vboxmanage does not support shrink. To resolve this, I had to:

Partition cloning: Partition Wizard. but it does not support resize for non-windows partitions.

Partition resizing: Gparted. but it cannot copy 2nd partition in source drive.

Disk Mount: Disk management console for Partition Wizard, Virtualbox for Gparted.

Disk creation/cloning: Vboxmanage.exe.

Edit VM configuration: notepad++

Whoa. that was a quest.

CueTools

http://cue.tools/wiki/CUETools_Download

cue 파일을 편집하는 도구.

물론 cue 파일의 내용은 그냥 텍스트이므로 메모장 등으로 열어서 편집해도 되지만, 아무래도 일일이 손으로 수정하기에는 번거롭다.

예를 들어서 나는 이번에 calling all dawns(https://christophertin.com/store.html) 앨범을 샀는데, 이 앨범에는 트랙별로 flac 인코딩이 되어있다. 하지만 cue 시트는 없어서 daemon tools 의 cue 마운트 기능은 쓸 수가 없다. 물론 미디어 플레이어 클래식 등의 프로그램을 쓰면 재생이 가능하지만 아무래도 번거롭다.

이 도구를 사용하면 트랙별로 나눠진 flac 파일을 하나의 파일로 합치고 cue 시트 생성을 자동으로 처리해준다. 단점이라면 원래는 구입시에 고해상도 커버 아트가 따라오지만 사용할 수가 없다. 설정에 커버 아트 파일명을 추가하거나 아니면 설정의 목록에 맞게 바꾸어주면 된다. 또한 기본값은 크기가 300 이하가 되도록 리사이징하는데 이도 설정에서 바꿀 수 있다. 다만 요즘 세상에 300이 기본값인 건 너무 작은 거 아닌가 싶지만 현재 릴리즈 버전이 2013년에 배포된 것이니 그러려니 싶다. 어차피 cue 시트 마운트해서 wmp 로 듣게되면 해당 파일을 사용하는 것도 아니라…

사실 이전까지의 주 용도는 EAC 의 cue 및 cdata 처리 기능이 부실해서 이를 보완하기 위한 것이었는데 이번 같은 사용은 처음이긴 하다.

 

how to use 3rd party launcher in nox app player

all credits go to video.

open file browser, and navigate to “system/app/”. root permission required.

rename launcher_*_signed.apk, like launcher_apk.bak. then it will not be installed since next boot.

additionally, you can remove other builtin apps, like facebook lite(com.facebok.lite.apk), ES explorer(EStrongs.apk), etc. by removing these unused apps you can expect shorter boot time, since they will not be deployed any longer.

 

윈도우즈 7 업데이트 확인이 끝나지 않는 문제

https://superuser.com/questions/951960/windows-7-sp1-windows-update-stuck-checking-for-updates

 

https://support.microsoft.com/en-us/kb/3102810 KB 3102810 만을 설치.

update rollup 은 recommended update 를 포함, 여러 업데이트가 포함된 버전. 이 중에는 intel bluetooth driver 와 충돌을 일으키는 권장 업데이트를 포함하고 있으니 사용하면 안됨.

 

2016-11-07 update:

이젠 그냥 M$ 가 릴리즈하는 업데이트 셋으로는 답이 없다.

http://www.wsusoffline.net/

을 이용해서 important update 만을 모두 가져와서 설치하는 방법밖에 없다. (당연하지만 이렇게 하더라도 이미 설치된 업데이트는 중복 설치되지 않는다.)

 

 

 

why you cannot boot to active partion of windows after installing linux

this is for legacy(bios; but still popular) environment. for UEFI system, this does not apply.

the reason is, grub is installed in MBR directly. and grub does not care about active partition.

if you want to use bootloader of windows, try easyBCD. it tricks grub with virtual mbr (.mbr), so you can load grub from windows bootloader.

restart dropbox application script

copy and paste below to your batch script.

[code]

taskkill /im dropbox.exe /f
start "dropbox" "C:\Program Files (x86)\Dropbox\Client\Dropbox.exe"

[/code]

or, just download it: dropbox link

Description

replace C:\~ block to your dropbox installation path, if needed. (in most case you may not need)

Well, it’s a kind of “cold” way to restart sync. it closes entire application and launches. It is a costly job-though acutally it takes just few seconds. It would be better if I could send stop/resume sync message to dropbox app, but I have no idea for now.

 

Why I wrote this (or why you may need it)?

I use symbolic link with dropbox. dropbox works quite well with links, but have limitations: detecting file/folder modification does not work. These modification are handled at the next time app starts. Precisely, at indexing sequence. (So you don’t have to turn off the app actually – pausing and resuming sync is sufficent.)

So I wrote this script, to save few clicks to restart the app.

note: If you are not hurry, you don’t need this. The next time you boot (acutally logon, but no matters) all things will be handled.