<meta name='google-adsense-platform-account' content='ca-host-pub-1556223355139109'/> <meta name='google-adsense-platform-domain' content='blogspot.com'/> <!-- data-ad-client=ca-pub-6479355989670726 --> <!-- --><style type="text/css">@import url(https://www.blogger.com/static/v1/v-css/navbar/3334278262-classic.css); div.b-mobile {display:none;} </style> </head><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d30948183\x26blogName\x3dPKWONG+is+not+PK+WONG\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://pkwong4321.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://pkwong4321.blogspot.com/\x26vt\x3d-4438911400025071329', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Wallpaper


i was doing csc3150 hw today in vmware
it switched to a screensaver while i was day dreaming~
suddenly thought that it's quite nice to use it as wallpaper
so it copied and post it here.
click to enlarge

posted by PKWONG @ Saturday, September 30, 2006
11:01 PM

0 comments


coincidence


http://izuno.blog22.fc2.com/blog-entry-38.html

how coincidence
a bm emulator call somehow like mine~
Jzbmsplayer
on psp...very beautiful!

my first feeling is that, programming in psp and in nds is like heaven and hell
maybe it's just my stupid believes...

let's call my game PKBmsPlayer. :P
actually, who cares?

posted by PKWONG @ Sunday, September 24, 2006
11:46 PM

2 comments


(NDSDEV) Bms Player


starting to get tired of typing this topic :P

actually, i got a very simple grading system to work
but i think i need some help to tune it
if u dun mind to install the devkit
find me and i'll send u the source and i'll tell u how to edit...compile...etc

let's explain how the simple grading system works:
case 1: key is pressed
1. get the channel of the key pressed
2. find the closest note on that channel
3. apply this formula "offset = (PERFECT_POS-y-192)/speed"
4. for different offset, give different grade
5. depends on the note's position, delete the note to prevent double count

case 2: note hits the line
1. wait until y = PERFECT_POS + 10
2. delete the note
3. poor + 1

i need some help on defining the grade to give with different offsets
and when to delete the note.

if u are interested, please help~

btw, my attempt to play "L'amour et la liberte'" at hi-3 and 0.5 song speed
i swear that i played good, but still got 88poor + 55 bad
really need some tuning, but i'm not interested :P

posted by PKWONG @ Sunday, September 17, 2006
10:48 PM

0 comments


(NDSDEV) BMS Player


change log:
parsing bms correctly(hardcoded to /bms/mgear/mgear.bms)
added speed(currently hardcoded to speed=3)
many stupid bug fixes
changed to bg tile mode for bg and console display
decided to keep a simple change log :P

http://pkwong4321.googlepages.com/bms0.3.zip

Please leave comments

posted by PKWONG @ Saturday, September 16, 2006
12:19 PM

2 comments


(NDSDEV) misc


god damn tired and no mood to code
short update then rest for a while...

Transfer and Boot
http://pkwong4321.googlepages.com/TaB2.nds
the tftp server i made earlier, finally with booting function

BMS Player
now started to read bms files
seems like parsing the bms data is a big problem...
i didn't expect to see speed change...
i just found that some bms files plays with bpm change inside the song
and some are even giving incorrect global bpm values and set it inside...
even i know how to interpret them, i won't know how to implement it
controlling the speed on the DS is not easy.

posted by PKWONG @ Wednesday, September 06, 2006
12:15 AM

0 comments


Google
 
Web pkwong4321.blogspot.com