寫了個小工具 Jarexe
主要是有些人在Windows下沒辦法點兩下打開jar檔
(檔案關聯被蓋掉的關係,其實通常解安裝再重安裝一次java都會重設好)
以後也許還會再擴充功能讓它更方便使用
現在先寫個粗糙的教學
使用方法就是把檔案解壓縮後編輯jarexe.ini檔
在第一行指定javaw.exe的位置
第二行指定jar檔的位置
檔案位置用絕對或相對路徑都可以
編輯好後點開jarexe.exe就行了
注意java是不支援開啟路徑包含Unicode的jar檔的
GitHub
https://github.com/fuunkaosekai/Jarexe
下載點
https://mega.co.nz/#F!eM8zDDrI!K0B1zTthA-dRFmvlQubOEQ
2013年7月18日 星期四
2013年6月13日 星期四
put motorola SBG6580 into bridge mode (TWC)
It seems that some options have changed for the firmware version SBG6580-3.5.8.2-GA-00-488-NOSH
Rg passthrough is no longer available
after some googling and try outs I managed to make it work again
Rg passthrough is no longer available
after some googling and try outs I managed to make it work again
2013年6月12日 星期三
2013年6月6日 星期四
[自製小遊戲]Block Attack
最近這幾天在弄的小遊戲
有點類似特訓99
因為是用python寫成再轉exe的 不確定在其他電腦上能不能執行
如果無法執行請告訴我 謝謝
下載點:
https://mega.co.nz/#F!ecc0WC7R!G-tLKVXBPiIYk4HdMIKPdQ
下載後打開BlockAttack.exe就可以玩
操作: ENTER鍵開始 方向鍵移動
被方塊夾死就輸了
遊戲沒有破關,純粹看你能撐多久
有點類似特訓99
因為是用python寫成再轉exe的 不確定在其他電腦上能不能執行
如果無法執行請告訴我 謝謝
下載點:
https://mega.co.nz/#F!ecc0WC7R!G-tLKVXBPiIYk4HdMIKPdQ
下載後打開BlockAttack.exe就可以玩
操作: ENTER鍵開始 方向鍵移動
被方塊夾死就輸了
遊戲沒有破關,純粹看你能撐多久
2013年5月20日 星期一
2013年4月3日 星期三
2012年12月2日 星期日
[Algorithm] NP
P:
decision problem that can be solved by a deterministic turning machine
NP:
decision problem that can be solved by a non-deterministic turning machine
it is still unknown that P=NP or P != NP
NP-Hard
NP-hard is at least as hard as NP-Complete
至少和NP-Complete一樣難
NP-hard不一定要是decision problem
prove a problem is in NP
1. you can guess a solution in polynomial time
2. you can check the solution in polynomial time
prove a problem is NP-hard
for all NP-Complete problem, if those problems can reduce to this problem, then this problem is NP-Hard
(in practice, 只要找到一個NP-Complete reduce就好)
prove a problem belongs to NP-Complete:
證明該問題
(1)屬於NP
(2)屬於NP-Hard
因為NP-Complete有包含NP-Hard 代表他們彼此都可互相reduce
所以其實只要找到一個NP-Complete problem reduce就可以證明該問題屬於NP-Hard
又
NP-Complete is unlikely to have a polynomial-time solution (still unknown)
只要找到任一個NP-Complete problem的polynomial time solution
因為可以互相reduce的關係,我們即證明所有NP-Complete的問題都可以在
polynomial-time 解出來 ,因此證明P=NP
the first NP-Complete problem: SAT
(SATISFIABILITY: the boolean satisfiability problem for formulas in conjunctive normal form)
decision problem that can be solved by a deterministic turning machine
NP:
decision problem that can be solved by a non-deterministic turning machine
it is still unknown that P=NP or P != NP
NP-Hard
NP-hard is at least as hard as NP-Complete
至少和NP-Complete一樣難
NP-hard不一定要是decision problem
prove a problem is in NP
1. you can guess a solution in polynomial time
2. you can check the solution in polynomial time
prove a problem is NP-hard
for all NP-Complete problem, if those problems can reduce to this problem, then this problem is NP-Hard
(in practice, 只要找到一個NP-Complete reduce就好)
prove a problem belongs to NP-Complete:
證明該問題
(1)屬於NP
(2)屬於NP-Hard
因為NP-Complete有包含NP-Hard 代表他們彼此都可互相reduce
所以其實只要找到一個NP-Complete problem reduce就可以證明該問題屬於NP-Hard
又
NP-Complete is unlikely to have a polynomial-time solution (still unknown)
只要找到任一個NP-Complete problem的polynomial time solution
因為可以互相reduce的關係,我們即證明所有NP-Complete的問題都可以在
polynomial-time 解出來 ,因此證明P=NP
the first NP-Complete problem: SAT
(SATISFIABILITY: the boolean satisfiability problem for formulas in conjunctive normal form)
2012年9月24日 星期一
failed
I failed on both friendships and study
everyday I get more and more frustrated
assignments due date and midterm exams are coming, but I cannot focus on studying now
What should I do?
everyday I get more and more frustrated
assignments due date and midterm exams are coming, but I cannot focus on studying now
What should I do?
2012年9月18日 星期二
Disable NetCutDefender run on startup
OS: Windows 7 x64 Pro
Delete following registry and then reboot the system.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Arcai]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Arcai\CurrentVersion]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Arcai\CurrentVersion\Run]
"NetCutDefender"="\"C:\\Program Files (x86)\\NetCutDefender\\NetCutDefender.exe\""
In Win7 x86 the location of registry might be different, just search "NetCutDefender.exe" and you'll find it
Make sure you have backed up registry before making any change.
Delete following registry and then reboot the system.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Arcai]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Arcai\CurrentVersion]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Arcai\CurrentVersion\Run]
"NetCutDefender"="\"C:\\Program Files (x86)\\NetCutDefender\\NetCutDefender.exe\""
In Win7 x86 the location of registry might be different, just search "NetCutDefender.exe" and you'll find it
Make sure you have backed up registry before making any change.
2012年7月28日 星期六
2012年7月22日 星期日
2012年7月15日 星期日
2012年7月1日 星期日
[實況]Virtual Audio Cable 立體聲轉單聲道(downmix)
我的需求如下:
希望遊戲聲音輸出到Line1(立體聲)後
再傳給Line2合成單聲道,再透過FMLE單聲道實況
FMLE直接接Line1輸入並選單聲道會只有錄左聲道的聲音而不是將兩個聲道合併
作業系統Win7 pro x64
希望遊戲聲音輸出到Line1(立體聲)後
再傳給Line2合成單聲道,再透過FMLE單聲道實況
FMLE直接接Line1輸入並選單聲道會只有錄左聲道的聲音而不是將兩個聲道合併
作業系統Win7 pro x64
2012年6月30日 星期六
[實況]Virtual Audio Cable - 減少聲音延遲的方法
用Virtual Audio Cable常見的問題就是聲音會延遲
這在看影片或玩遊戲會非常明顯
大部份的教學都是說修改audio repeater的Total Buffers
改小可降低延遲(一般是說50)
不過我發現這對Cable→Cable的轉接並無明顯幫助(Line1→Line2)
這在看影片或玩遊戲會非常明顯
大部份的教學都是說修改audio repeater的Total Buffers
改小可降低延遲(一般是說50)
不過我發現這對Cable→Cable的轉接並無明顯幫助(Line1→Line2)
[筆記][洛克人EXE6]劇情位址
02001B86:xxxx
預計破關後拿來消除緊急事件BGM
最終章事件音樂出現前6162
到對決電腦獸前6264
破關後調成6162 再更換一次bgm(如找地方plug in)音樂會變回來
不過應該是會影響到劇情進度(路上Copyroid都不見)
記得先退出樂園區再調不然會卡住
除非真的想聽bgm不然不建議改
因為會影響物件配置
是否影響隱藏關 待觀察
預計破關後拿來消除緊急事件BGM
最終章事件音樂出現前6162
到對決電腦獸前6264
破關後調成6162 再更換一次bgm(如找地方plug in)音樂會變回來
不過應該是會影響到劇情進度(路上Copyroid都不見)
記得先退出樂園區再調不然會卡住
除非真的想聽bgm不然不建議改
因為會影響物件配置
是否影響隱藏關 待觀察
訂閱:
文章 (Atom)