**** BEGIN LOGGING AT Mon May 22 20:24:46 2006 touko 22 20:24:46 * Now talking on #learn2d touko 22 20:24:46 * Topic for #learn2d is: Nintendo DS 2D Hardware courses | First course will start in 20 minutes - Title: basic overview on the DS hardware touko 22 20:24:46 * Topic for #learn2d set by LiraNuna at Mon May 22 20:24:11 2006 touko 22 20:24:52 o/ touko 22 20:24:55 o/ touko 22 20:25:02 Hey touko 22 20:25:03 Nikolas: you wanna learn 2D? touko 22 20:25:12 * Nikolas already knows 2D but he joined anyway touko 22 20:25:17 * LiraNuna thought Nikolas already know touko 22 20:25:19 haha touko 22 20:25:20 +s touko 22 20:25:27 * LiraNuna gives channel operator status to Nikolas touko 22 20:25:30 :P touko 22 20:25:39 assistent touko 22 20:25:41 ;D touko 22 20:25:43 hehe touko 22 20:25:45 I know a little 2D, but I want to know more... you never know too much touko 22 20:25:54 Steven_H: that's the spirit :) touko 22 20:26:11 hmm touko 22 20:26:27 Master Volume 0..127=silent..loud < touko 22 20:26:29 Just use Ste (StevenH and Steven_H are the same person :D ) touko 22 20:26:29 haha touko 22 20:26:30 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | First course will start at 18:40 GMT - Title: basic overview on the DS hardware touko 22 20:26:46 Nikolas: sound rulz touko 22 20:27:03 * Nikolas nods touko 22 20:27:14 but 16chs are not enough... <_< touko 22 20:27:35 * JaJa_ (~jason@80-41-148-56.dynamic.dsl.as9105.com) has joined #learn2d touko 22 20:27:47 * Nikolas doesn't know sound well touko 22 20:27:55 * Nikolas reads about sound from dstek touko 22 20:28:11 yay for register poking touko 22 20:28:17 xD touko 22 20:28:36 * Nikolas doesn't know much about any sound touko 22 20:28:46 how many courses will there be? touko 22 20:28:54 200 touko 22 20:28:57 Anyone know where XIrc stores it's logs? touko 22 20:29:11 nopep touko 22 20:29:12 JaJa_: untill i'll reach a state i told anything i nkow touko 22 20:29:12 -p touko 22 20:29:16 every trick i know touko 22 20:29:20 anything? touko 22 20:29:26 :O touko 22 20:29:28 anything graphics related touko 22 20:29:44 hey, I have a good one: Will you teach palib 2D? touko 22 20:29:47 * zeeshan (ALMAAS.@digital-62-233.wol.net.pk) has joined #learn2d touko 22 20:29:52 from basic tiles to advance compression techniques. and finaly - HBHlank efects touko 22 20:29:55 +f touko 22 20:29:58 Nikolas: go away! touko 22 20:30:03 no u touko 22 20:30:04 you do like your hblank touko 22 20:30:13 JaJa_: it's powerful touko 22 20:30:30 and you can save a lot of cycle power touko 22 20:30:37 *cpu touko 22 20:30:45 9minutes to go touko 22 20:30:53 WOOT found it... touko 22 20:31:15 That means I can now leave this PC running while I do other stuff :D touko 22 20:31:25 ^_^ touko 22 20:31:28 "... 8..13 can be used for PSG, and 14..15 for white noise." <-- The hell is white noise? touko 22 20:31:38 static touko 22 20:31:42 Nikolas: err, like you clow to a mic touko 22 20:31:48 /\/\/\/\/\/\/\/\/\/\/\ touko 22 20:31:54 turn your tv to a channel without a station touko 22 20:31:58 Have you heard of a music genre called PowerNoise? touko 22 20:32:01 yeah, exactly touko 22 20:32:03 that 'snow' is a visual representation of static touko 22 20:32:11 JaJa_ said it better touko 22 20:32:13 I see touko 22 20:32:20 and the horrid crackling, static crazy noise is the audio representation touko 22 20:33:13 it's usually used as a bass addon touko 22 20:33:15 sounds nice touko 22 20:33:28 * zeeshan has quit (Client Quit) touko 22 20:33:37 :( touko 22 20:33:55 i'm currently into what's called symphonic rock touko 22 20:34:03 ooo that's leet touko 22 20:34:20 such as Nightwish, Edenbridge and Within Temptation touko 22 20:34:23 tarnce with a symphny lead touko 22 20:34:25 also After Forever touko 22 20:34:30 5minutes touko 22 20:34:31 and Evanescence touko 22 20:34:39 i'm gonna go and eat now touko 22 20:34:42 oh touko 22 20:34:44 log then touko 22 20:34:47 * JaJa_ is now known as JaJa|Food touko 22 20:34:49 * zeeshan (ALMAAS.@digital-62-233.wol.net.pk) has joined #learn2d touko 22 20:34:50 LiraNuna: always touko 22 20:34:53 :) touko 22 20:35:12 the first lesson will overview the hardware touko 22 20:35:22 only theory - no code for now touko 22 20:35:37 Set +m while you're talking touko 22 20:35:46 o_O touko 22 20:35:47 no touko 22 20:35:47 Are all the lessons going to be today? touko 22 20:35:50 * poffy (~111728-68@cpe-24-27-97-160.houston.res.rr.com) has joined #learn2d touko 22 20:35:52 and -m when you're finished touko 22 20:35:54 :O touko 22 20:35:54 Psy|Home: no no no touko 22 20:36:00 Nikolas: what about questions? touko 22 20:36:11 after you're finished touko 22 20:36:35 after you're finished with the current section of your lesson that is touko 22 20:36:47 neh, it's an open "class" touko 22 20:36:59 questions are allways good touko 22 20:37:13 * GPFaway (~gpferror@c-24-0-64-10.hsd1.tx.comcast.net) has joined #learn2d touko 22 20:37:28 :0 touko 22 20:37:28 heh, but it's annoying when someone goes like "Hey how do I do sprites?" while you're explaining tiles touko 22 20:37:45 yeah, heh touko 22 20:37:51 that's when the kick command comes in handy :D touko 22 20:37:55 ;D touko 22 20:38:00 like what happened on #learn3d touko 22 20:38:06 oh touko 22 20:38:07 :( touko 22 20:38:12 neimod <_< touko 22 20:38:24 What happened? touko 22 20:38:29 I want to start #learn4d touko 22 20:38:35 laZmike was explaining something and DF and neimod asked stupid questions touko 22 20:38:40 yeah touko 22 20:38:52 ok, i'm starting in 1 minute touko 22 20:38:58 and ex-coder asked things that were explained in the previous lesson touko 22 20:39:15 lol touko 22 20:39:20 * [GPF] (~gpferror@208.229.189.211) has joined #learn2d touko 22 20:39:35 So it would be a good idea to log these lessions somewhere then... touko 22 20:39:39 * phigan (phigan@ip68-109-169-37.ph.ph.cox.net) has joined #learn2d touko 22 20:39:59 * j0hanb123 (johanb123@c-69-246-215-52.hsd1.in.comcast.net) has joined #learn2d touko 22 20:39:59 ok, everyone's ready? touko 22 20:40:10 yep touko 22 20:40:26 ok touko 22 20:40:46 This lesson will cover theory only. No coding is needed for this lesson. touko 22 20:41:27 We will disscuss the abilities and limitation of tiled backgrounds touko 22 20:41:37 also called Text Backgrounds touko 22 20:42:07 a text BG is consist of a map and a tileset touko 22 20:42:34 the map is a fixed size array - parallal to the BG size in tiles touko 22 20:43:00 each item in the array is the tile index touko 22 20:43:30 a tileset is made up to 1024 tiles. a tile is 8x8 block touko 22 20:43:38 [_] <- a tile touko 22 20:43:39 [_ touko 22 20:43:41 er touko 22 20:43:47 [_][_][_][_][_] <- a tile set touko 22 20:44:01 1, 3, 4, 4, 4, 5, < a map touko 22 20:44:11 Think of it like your floor touko 22 20:44:30 each tile is a block, and the map is what block to put where touko 22 20:44:56 that's it for basic terms. any questions ? touko 22 20:45:09 (no, lesson hadn't over ;P) touko 22 20:45:14 *is not touko 22 20:45:52 i guess that there are no questions. touko 22 20:45:52 the map's size is the screen? touko 22 20:46:08 phigan: i'll get to it soon touko 22 20:46:20 Just a quick overview - a tile is a block of 64 pixels (8x8)... and a tile set has a max of 1024 tiles... cool touko 22 20:46:31 correctly touko 22 20:46:35 <[GPF]> so the smallest you can address is 8X8? touko 22 20:46:35 *-y touko 22 20:46:44 -l touko 22 20:46:44 So far so good... touko 22 20:46:46 [GPF]: the smallest what? touko 22 20:46:58 <[GPF]> tile touko 22 20:47:05 a tile is allways 8x8 touko 22 20:47:09 <[GPF]> oh ok touko 22 20:47:14 "a tile is a block of 64 pixels (8x8)" touko 22 20:47:20 no metter what touko 22 20:47:34 may i continue touko 22 20:47:37 ? touko 22 20:47:48 jes touko 22 20:48:08 Ok touko 22 20:48:25 so where to put my tiles and maps? you ask touko 22 20:48:47 The DS has a special RAM region to put the graphics in touko 22 20:48:56 it's called VRAM (Video RAM) touko 22 20:49:19 the VRAM is "programable" and it's size can very touko 22 20:50:09 each VRAM programmable block is called a "Bank" touko 22 20:50:23 there are 9 VRAM banks touko 22 20:50:49 the differs in thier size and settings touko 22 20:51:03 the main VRAM banks - VRAM banks A to D are 128Kbytes touko 22 20:51:15 VRAM E is 64Kbyte touko 22 20:51:40 VRAM F is 16Kbytes touko 22 20:51:52 so is VRAM G and I touko 22 20:51:56 VRAM H is 32Kbyte touko 22 20:52:05 (Sorry for the mis-order) touko 22 20:52:27 So the VRAM banks can be setted up. but how? touko 22 20:52:49 we will not touch code currnetly, but it's usefull to know thier adresses touko 22 20:53:28 0x6000000 is the location for the first core (main core is stronger) touko 22 20:53:43 it can rech a max of 512Kbytes in size touko 22 20:53:56 (we do it by setting VRAM A-D to it) touko 22 20:54:23 and that's all about VRAM banks for now (just a peak) touko 22 20:54:27 questions ? touko 22 20:55:06 guess not touko 22 20:55:56 a VRAM bank is seperated into "bases" touko 22 20:56:04 there are 3 types o f bases touko 22 20:56:30 Tile base - each base is 16Kbyte and it is used to store the tiles touko 22 20:56:38 (it's also called Char base) touko 22 20:56:58 Map base - each base is 2Kbytes and is used to save the maps touko 22 20:57:20 BMP base - similer to a tile base, just called by a diffrent name ;P touko 22 20:57:35 and for the fact that you will save bitmaps in it :) touko 22 20:58:05 a graphic core can display a maximum of 4 BGs touko 22 20:58:24 one of them, BG0 can be setted to 3D - but that's not why we here toady touko 22 20:58:44 either 3D or tile BG (text) touko 22 20:58:45 * JaJa|Food is now known as JaJa_ touko 22 20:59:43 i guess a lot of questions are poping out from your head now: "do i have to use all of the BGs? how do i tell each BG to use diffrent tile set?" touko 22 21:00:09 the DS has 6 diffrent video modes touko 22 21:00:17 each video mode with it's specielty touko 22 21:00:55 swapping a video mode is achived by simply setting the right bits in the main display mannagment register touko 22 21:01:21 each video mode is being called by it's number touko 22 21:01:29 mode0, mode1, mode2 et touko 22 21:01:31 +c touko 22 21:01:41 quick overview for each mode: touko 22 21:02:00 (in ALL of them, BG0 can be used as 3D) touko 22 21:02:18 mode0 - 4 bgs - all of them are text touko 22 21:02:37 mode1 - 2 tile bgs, and one affine BG (don't panic) touko 22 21:02:56 mode2 - no tile bgs, but has 2 affine BGs touko 22 21:03:39 mode3 - three text BGs, one extended affine BG touko 22 21:04:04 mode4 - two tile BGs, affine BG and an extended affine BG touko 22 21:04:35 mode5 - two tile BGs, two extended rotoscale BGs touko 22 21:05:13 mode6 (only working from main stronger core) - one tile BG, one huge extended rotosacle BG touko 22 21:05:27 then the dude puts a gun in her pussy and shoots her touko 22 21:05:29 (huge means 512x1024 or 1024x512) touko 22 21:05:35 laZmike: !? touko 22 21:05:37 oh.....wrong window :/ touko 22 21:05:46 ooook... touko 22 21:05:50 just got in touko 22 21:05:51 * Nikolas sets mode +m #learn2d touko 22 21:05:56 lol Nikolas touko 22 21:05:58 go ob touko 22 21:06:05 *on touko 22 21:06:08 anyhow, back to our video modes touko 22 21:06:26 i bet you just feel bombed with info right now touko 22 21:06:36 "OMG WTF? AFFINE? WTF?!" touko 22 21:06:44 "EXTENDED AFFINE?! O_o" touko 22 21:07:23 affine BG is a text BG - but it can rotate touko 22 21:07:55 extended affine BG is a big bitmap (aka framebuffer) that can be also rotate touko 22 21:07:59 (oh, and scale) touko 22 21:08:13 rotoscale BG is another name for an affine BG touko 22 21:08:50 roto-scale means rotate and then scale (yes, the sequence does metter!) touko 22 21:09:18 "ok, i think i know enough theory! let's start rock'nroll!" touko 22 21:09:41 that's all for all theoretical overview touko 22 21:09:45 * LiraNuna sets mode -m #learn2d touko 22 21:10:04 Questions? touko 22 21:10:11 it's only the base - stuff i need you to understand before i start the real thing touko 22 21:10:12 so both BG's are roto and scale? touko 22 21:10:21 Psy|Home: depends on the mode touko 22 21:10:29 well affine? touko 22 21:10:36 affine BG is a rotoscale BG touko 22 21:10:41 k touko 22 21:10:46 i used a diffrent name so you will know them both touko 22 21:11:31 any more questions? touko 22 21:11:47 Basically the 3 types of BG are - Tile, RotTile and Bitmap touko 22 21:11:59 bitmap is an extended rotoscale BG touko 22 21:12:08 can you somehow show two at once touko 22 21:12:08 ? touko 22 21:12:18 phigan: you can show a max of 4 BGs at once touko 22 21:12:24 word touko 22 21:12:29 again - depending on the mode touko 22 21:12:29 Tile and Rot tile are like the modes on the GBA, and the Bitmap is an extended rotated bitmap touko 22 21:12:39 StevenH: exactly touko 22 21:12:46 YOu can have 4 BG's per core... touko 22 21:12:50 yes touko 22 21:13:06 * StevenH is not just a pretty face - shame I'm so ugly :D touko 22 21:13:06 the "weak" core (aka sub core) can't use mode6 touko 22 21:13:32 * zeeshan (ALMAAS.@digital-62-233.wol.net.pk) has left #learn2d touko 22 21:13:40 And can not do 3D :( touko 22 21:13:48 brb touko 22 21:13:57 Great Efnet.co.uk is going down soon :( touko 22 21:14:08 use .pl touko 22 21:16:27 StevenH: what? touko 22 21:16:51 who told you? touko 22 21:17:01 -James0ff- Hi folks; efnet.demon.co.uk will be doing down for an upgrade in about an hour. It'll take a few minutes. touko 22 21:17:11 bah touko 22 21:19:08 * JaJa_ has quit (Quit: EFNet UK is going down) touko 22 21:19:23 * JaJa__ (~jason@80-41-148-56.dynamic.dsl.as9105.com) has joined #learn2d touko 22 21:20:03 * StevenH has quit () touko 22 21:20:29 * JaJa__ is now known as JaJa_ touko 22 21:20:52 * StevenH (~~sharriso@sharriso.gotadsl.co.uk) has joined #learn2d touko 22 21:22:39 back touko 22 21:22:56 :) touko 22 21:23:07 ok get yourself for coding touko 22 21:23:20 we'll be starting a demo of using one tile BG using mode0 touko 22 21:23:26 remember - mode0 is 4 text BGs touko 22 21:24:33 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 2: Setting up a tile BG - will start at 19:45 GMT touko 22 21:24:55 21min touko 22 21:25:19 enough time to catch up i think touko 22 21:25:31 yeah touko 22 21:26:06 feel free to ask questions about the first lesson touko 22 21:26:30 and I'd suggest everyone to get a nds project up for some 2D training... touko 22 21:26:33 btw - you don't have to memories the video modes touko 22 21:26:41 just some key ones touko 22 21:26:55 mode0, mode2 and mode5 are widly useable touko 22 21:28:29 * Cooleo (~Cooleo@host86-142-79-241.range86-142.btcentralplus.com) has joined #learn2d touko 22 21:28:29 * LiraNuna sets ban on *!*Cooleo@*.range86-142.btcentralplus.com touko 22 21:28:29 * LiraNuna has kicked Cooleo from #learn2d (You are an asshole troller, blacklisted) touko 22 21:28:33 :D touko 22 21:28:40 blacklist! touko 22 21:28:56 Nikolas: ^ blacklist ftw ^ touko 22 21:29:07 wow touko 22 21:29:09 heh touko 22 21:29:19 Wheee! touko 22 21:29:21 blacklist touko 22 21:29:22 ;D touko 22 21:30:04 * snubber (snubber@seahat.com) has joined #learn2d touko 22 21:30:12 i'm minimizing. for questions, call my nickname touko 22 21:30:37 * Whacko (~Whacko@s5593e92a.adsl.wanadoo.nl) has joined #learn2d touko 22 21:30:46 z0MGWTFBBQ! touko 22 21:31:00 hi2u2 Whacko touko 22 21:34:59 * WntrMute (~wntrmute@cpc1-port4-0-0-cust56.cos2.cable.ntl.com) has joined #learn2d touko 22 21:35:40 :o touko 22 21:36:11 * sgstair (~sgstair@chaoshq.de) has joined #learn2d touko 22 21:36:33 huh touko 22 21:36:42 Liran is teh famous 2D professor touko 22 21:36:46 :o touko 22 21:37:06 * LiraNuna gives voice to WntrMute sgstair touko 22 21:37:17 <[DS]LynxW> like.. Prof. LiraNuna will be teaching a corse on NDS 2D on Monday 5/22 at xx:xx touko 22 21:37:37 lol touko 22 21:37:45 from #mellow? touko 22 21:37:47 :) touko 22 21:37:50 from #ToD2 touko 22 21:37:57 oh yeah touko 22 21:38:17 (+poffy) Nikolas: I was very close at one point to typing "Hey, how do I do sprites?" touko 22 21:38:19 lol ;) touko 22 21:38:25 :D touko 22 21:38:37 hehe :) touko 22 21:38:40 :D Now sg and Wntr can interrupt you while I get annoyed by people asking questions while you're speaking and set +m touko 22 21:38:50 hehe touko 22 21:38:55 * LiraNuna remembers #learn3d touko 22 21:38:55 we're not here to interrupt ;) touko 22 21:39:00 good touko 22 21:39:05 * Nikolas removes voice from sgstair WntrMute touko 22 21:39:12 they here to tease me incase i will say some sort of mistake touko 22 21:39:15 i'm sure ;) touko 22 21:39:20 You won't be needing those then xD touko 22 21:39:20 j/k touko 22 21:39:23 lol touko 22 21:39:36 nah, I'm just here to log and answer questions if any arise :P touko 22 21:39:47 :) touko 22 21:39:53 2D through wifi? :p touko 22 21:39:57 haha touko 22 21:40:05 Heh touko 22 21:40:10 :) touko 22 21:40:19 2D graphics core is amazing on the DS imo touko 22 21:40:24 indeed touko 22 21:40:29 it's useless to render what the DS can do touko 22 21:40:36 * phigsmoke (~pocket@ip68-109-169-37.ph.ph.cox.net) has joined #learn2d touko 22 21:40:39 (i.e using framebuffer) touko 22 21:40:46 yup. touko 22 21:41:03 and it's also useless to use a wrapper library that hides most of the HW touko 22 21:41:07 (i.e palib) touko 22 21:41:20 anyhow - next lesson in 3 minutes touko 22 21:41:44 hope you have an empty project setted up touko 22 21:42:13 Nope :D Just capping the logs touko 22 21:42:15 * Nikolas doubts that touko 22 21:42:34 * StoneCydh (~john@adsl-69-227-3-48.dsl.sndg02.pacbell.net) has joined #learn2d touko 22 21:42:35 you mean have vi open? :) touko 22 21:42:36 StevenH: practical experience is also good touko 22 21:42:53 phigan: with the option to compile :0 touko 22 21:42:55 *:) touko 22 21:43:08 Too tired to code - I've been sitting in a waiting room doing nothing all day Damm Jury Duty touko 22 21:43:09 >LiraNuna< lolol even SC wants to hear your teachings touko 22 21:43:14 this channel became kind of popular touko 22 21:43:41 Yeah, I just wanted to see what you were doing about classes. touko 22 21:43:43 the more the better? touko 22 21:43:51 Looks like nearly everyone in here already understands 2d. touko 22 21:43:54 I think I might post my BMF font thingy at some point... touko 22 21:44:07 Kind of a surprising crowd. touko 22 21:44:14 for me too touko 22 21:44:33 Would you nopaste a log? I learn from watching people learn. touko 22 21:44:47 everyone's ready? i'm about to start the second lesson touko 22 21:44:54 stone: I can, if noone else. touko 22 21:44:57 I'm logging on my other PC at the mo Stone... touko 22 21:44:59 please do. touko 22 21:45:03 sgstair: you missed class one ;P touko 22 21:45:05 sgstair's got it, looks like. touko 22 21:45:06 oh touko 22 21:45:11 true that. touko 22 21:45:11 you can use paste.nintendev.com (has 'diff' ;) touko 22 21:45:13 * Nikolas can post lods touko 22 21:45:16 *logs touko 22 21:45:17 basic theory and terminology touko 22 21:45:21 Nikolas: I'd appreciate it. touko 22 21:45:26 * StoneCydh shuts up. touko 22 21:45:26 I'll sort out posting it somewhere tomorrow touko 22 21:45:28 no problem touko 22 21:46:13 after Nikolas will post the log, we start. touko 22 21:46:18 *-wil touko 22 21:46:24 hmm touko 22 21:46:32 *after Nikolas posts the log, we start touko 22 21:46:33 there touko 22 21:46:39 * [DS]LynxW (~JZAWACKI@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has joined #learn2d touko 22 21:46:53 lo [ds touko 22 21:46:56 +tab touko 22 21:47:17 <[DS]LynxW> I couldn't help myself. touko 22 21:47:24 * phigsmoke has quit (back in my pocket, you.) touko 22 21:47:25 [DS]LynxW: i'm happy to have you here ^_^ touko 22 21:48:08 http://koti.welho.com/plahtin6/files/learn2d.log <-- Logs to this point touko 22 21:48:32 [DS]LynxW: i'm happy to have you here ^_^ <-- or to that point actually touko 22 21:48:54 hehe touko 22 21:49:08 crap, its not live :P touko 22 21:49:23 fuck no, it's a log, not irc feed touko 22 21:49:27 lol touko 22 21:49:31 :D touko 22 21:49:43 ok, everyone's ready? touko 22 21:49:49 yeah touko 22 21:50:10 got a project dir setted up? touko 22 21:50:20 Yup touko 22 21:50:28 ok, were starting touko 22 21:50:54 so you know the basics - cool. touko 22 21:50:56 ARM9 only? touko 22 21:51:04 yes touko 22 21:51:06 StevenH: yes touko 22 21:51:26 so how do i make this knowladge come to life using the DS? touko 22 21:51:58 here i assume eevryone knows how to program and compile touko 22 21:52:09 * zalbag (zalbag@hlfxns01bbg-142068079098.dhcp-dynamic.ns.aliant.net) has joined #learn2d touko 22 21:52:11 s/ev/ve/ touko 22 21:52:18 i'm zalbag touko 22 21:52:49 * Nikolas sets mode +m #learn2d touko 22 21:53:04 to "command" the DS what to do and how, we set bits into "Registers" touko 22 21:53:25 those registers are your interface for commanding the DS touko 22 21:53:38 we talked about video modes on the last lesson touko 22 21:53:55 * zalbag has quit () touko 22 21:54:07 so how to set them up? touko 22 21:54:24 how to actually command the DS to switch to my needed mode? touko 22 21:54:48 the register DISPLAY_CR (pre-defined in libnds) is what you need to set touko 22 21:54:55 (CR is Control Register) touko 22 21:55:09 libnds uses a define for better readability touko 22 21:55:21 we'll use only the main core for now touko 22 21:55:45 to set to a video mode - we use the pre-defined macro: touko 22 21:55:51 videoSetMode(my mode) touko 22 21:55:59 where my mode is: touko 22 21:56:10 MODEx_2D or MODEx_3D touko 22 21:56:21 again, i will not cover 3D here touko 22 21:56:27 * StoneCydh (~john@adsl-69-227-3-48.dsl.sndg02.pacbell.net) has left #learn2d touko 22 21:57:01 so touko 22 21:57:12 this example will use MODE0 touko 22 21:57:22 * Lutggah (Alone@dsl-hkigw7-fe1df900-241.dhcp.inet.fi) has joined #learn2d touko 22 21:57:31 as you (need to) know, mode 0 is 4 text BGs touko 22 21:57:42 but what if we only need to use one of them? touko 22 21:58:01 simple - we use those registers to turn on/off the BGs we need touko 22 21:58:13 using the same macro from libnds: touko 22 21:58:31 videoSetMode(mymode | bgs) touko 22 21:58:53 | is binary OR - if you don't know what it does, condifure it a simple addition touko 22 21:59:00 "mymode and bgs" touko 22 21:59:30 * Lutggah (Alone@dsl-hkigw7-fe1df900-241.dhcp.inet.fi) has left #learn2d touko 22 21:59:37 so touko 22 21:59:51 in this example we will use one of the four avaliable text BGs touko 22 22:00:06 BG0 touko 22 22:00:30 before we start - we should set up power_cr with mandatory touko 22 22:00:43 for those poor guys who bought an M3 ;P touko 22 22:00:44 (j/k) touko 22 22:00:59 POWER_CR = POWER_ALL_2D; touko 22 22:01:13 next up we setting our mode touko 22 22:01:25 * Alone (Alone@dsl-hkigw7-fe1df900-241.dhcp.inet.fi) has joined #learn2d touko 22 22:01:29 videoSetMode(MODE0_2D | DISPLAY_BG0_ACTIVE); touko 22 22:01:52 i'm removing +m so you all can ask questions while i present and explain the code touko 22 22:01:54 * LiraNuna sets mode -m #learn2d touko 22 22:02:12 next up - as disscussed - we need to set up the VRAM banks touko 22 22:02:18 * Alone (Alone@dsl-hkigw7-fe1df900-241.dhcp.inet.fi) has left #learn2d touko 22 22:02:33 since it's a small tech demo, we don't have to worry about size touko 22 22:02:47 so we'll use VRAM bank A (which is as you remember, 128Kbytes) touko 22 22:03:39 as you remember - we set it to the video ram for the main core - 0x6000000 touko 22 22:04:02 vramSetBankA(VRAM_A_MAIN_BG_0x6000000); touko 22 22:04:37 so we got everything setted up (almost). what now? touko 22 22:05:08 remember tilebases and map bases? touko 22 22:05:18 where are they ? touko 22 22:05:38 since we have 4 BGs, each BG has it's own CR (Control register) touko 22 22:05:52 pre-defined in libnds as BGx_CR (replace x with 0-3) touko 22 22:06:12 we are using BG0 - so it's CR is BG0_CR touko 22 22:06:23 so what to set it to? touko 22 22:06:51 i will ignore bit positioning atm, and will use the libnds defines for simplicity touko 22 22:07:05 BGs can have 4 diffrent sizes touko 22 22:07:14 (tile bgs) touko 22 22:07:25 32x32, 32x64, 64x32 and 64x64 touko 22 22:07:48 the sizes are represented in tiles (reminder - 8x8 blocks) touko 22 22:08:21 so to get the size in pixels of that BG - we'll multiply: touko 22 22:08:31 (32x32) x (8x8) = 256x256 touko 22 22:09:10 for this demo we will use the simple 32x32 BG touko 22 22:09:20 * Alone (Alone@dsl-hkigw7-fe1df900-241.dhcp.inet.fi) has joined #learn2d touko 22 22:09:23 up for now, our BG0_CR set up will be like this: touko 22 22:09:46 BG0_CR = BG_32x32; touko 22 22:10:03 we are still missing the tile bases and map bases. where are they? touko 22 22:10:23 as you know, inside a tile base, a tile set is stored touko 22 22:10:36 (tileset is up to 1024 tiles) touko 22 22:10:56 each BG can be setted up to use a diffrent tile set touko 22 22:11:30 BG0_CR = BG_32x32 | BG_TILE_BASE(n); touko 22 22:11:35 so what's n ? touko 22 22:11:56 future lessons will disscuss smart VRAM organizing touko 22 22:12:09 for now we will use the tile base 0 touko 22 22:12:17 which is the first tile base avaliable touko 22 22:12:38 next up - colors. touko 22 22:12:52 BGs can be setted up as 16colors or 256cols touko 22 22:13:19 those colors are indexed - which means they are pre-defined inside a changeable palette touko 22 22:13:27 so we do BG_TILE_BASE(0)? touko 22 22:13:36 Psy|Home: yes, for this demo touko 22 22:14:01 since it's just a single BG, we "don't care" where things are in touko 22 22:14:23 ok, 16cols and 256cols... touko 22 22:14:30 palette... touko 22 22:14:49 as i said - a palette is an array of colors defined in memory touko 22 22:14:53 (0x5000000) touko 22 22:15:20 a palette has 256cols or 16x16 colors for 16col use touko 22 22:15:27 (16palettes of 16cols) touko 22 22:15:39 for this example we will use 256 coloes touko 22 22:15:42 *colors touko 22 22:16:02 that means, we will have to add BG_COLOR_256 to the CR touko 22 22:16:12 BG0_CR = BG_32x32 | BG_TILE_BASE(0) | BG_COLOR_256; touko 22 22:16:15 up untill now touko 22 22:16:27 so we got tiles touko 22 22:16:33 and the tiles are using a palette touko 22 22:16:42 but something is still missing touko 22 22:16:53 how will the video core know what tiles displays where/ touko 22 22:16:59 exactly - the map base touko 22 22:17:27 since we can't use map base 0 (it's overlapping tilebase 0) touko 22 22:17:41 but not only that touko 22 22:17:54 it occupies quite more then that touko 22 22:17:57 some math touko 22 22:18:05 is every map base is 2Kbytes touko 22 22:18:13 and every tile map is 16Kbytes touko 22 22:18:21 how much map bases will fit one tile base? touko 22 22:18:47 ok, no activity... touko 22 22:19:12 it will occupied (16Kbytes / 2Kbytes) == 8Kbytes touko 22 22:19:22 err touko 22 22:19:24 *8 touko 22 22:19:38 so we will start off map base 8 touko 22 22:19:44 that's where the map will be stored touko 22 22:19:51 * sgstair notes you can, in 256-color mode, use up to 64k of tiles touko 22 22:20:09 sgstair: ? touko 22 22:20:22 assuming we use a full tile base touko 22 22:20:26 you're allowed 1024 tiles from whatever tile base you start from touko 22 22:20:29 for now touko 22 22:20:36 so, you could use a lot more or at lot less than just 16k touko 22 22:20:53 sgstair: it's just a simple example to get them to use tiles correctly touko 22 22:20:58 k. touko 22 22:20:58 i'm focusing basic theory touko 22 22:21:17 so up to now we have touko 22 22:21:35 BG0_CR = BG_32x32 | BG_COLOR_256 | BG_TILE_BASE(0) | BG_MAP_BASE(8); touko 22 22:22:20 congradulations! you got a tile BG setted up to use 32x32 256col tile BG! touko 22 22:22:33 * Zielony19 (xoxzielony@bip22.neoplus.adsl.tpnet.pl) has joined #learn2d touko 22 22:22:35 * [1]nyinyo (HydraIRC@ip124-40.cbn.net.id) has joined #learn2d touko 22 22:22:37 but if you compile, you will only get a black screen :( touko 22 22:22:39 why? touko 22 22:22:47 simple - we have nothing to display :0 touko 22 22:22:50 * [1]nyinyo (HydraIRC@ip124-40.cbn.net.id) has left #learn2d touko 22 22:23:05 so how we convert to tiles???????????? you must be asking touko 22 22:23:35 god blessed us with a simple yet powerfull tool called gfx2gba touko 22 22:24:01 you will find yourself worshiping this tool... and.... ahem touko 22 22:24:34 you can of course find an alternative touko 22 22:24:42 assuming you don't know or have gfx2gba, let me find a link touko 22 22:24:56 JaJa_: why for? gfx2gba does it all :0 touko 22 22:25:02 :)* touko 22 22:25:03 doesn't work on Mac X touko 22 22:25:10 unless you are on mac touko 22 22:25:12 :) touko 22 22:25:18 * Zielony19 (xoxzielony@bip22.neoplus.adsl.tpnet.pl) has left #learn2d touko 22 22:25:29 sorry MAC users, i habe no tools for you :( touko 22 22:25:32 *have touko 22 22:25:46 JaJa_ might know of one touko 22 22:26:09 http://www.ohnehirn.de/tools/gfx2gba013.zip < this is gfx2gba touko 22 22:26:35 yeah, I used Graphics Converter ( http://www.lemkesoft.de/en/graphcon.htm ) and http://www.patatersoft.info/hconvert.html touko 22 22:26:35 a tiny program used to convert BMPs to a format the DS can understand (tiles, maps and a palette" touko 22 22:26:56 JaJa_: will you help me explain for mac users? touko 22 22:27:07 maybe, i haven't used it much myself touko 22 22:27:08 i will explain for win32/linux touko 22 22:27:11 oh touko 22 22:27:27 off you all go to grab gfx2gba touko 22 22:27:27 Does anyone in here use a mac anyway? touko 22 22:27:37 if they don't then don't worry touko 22 22:27:41 * LiraNuna thinks channel is dead touko 22 22:27:52 I use mac touko 22 22:28:01 but you can do windows touko 22 22:28:10 i use the same as JaJa touko 22 22:28:30 ok, so i am sorry in advance - i don't know anything about MAC touko 22 22:28:41 thats fine touko 22 22:28:57 yeah, fine. you can't use what you don't have touko 22 22:29:00 so i'm not able to help you convert. but - i will supply the data if you can't get it right currently touko 22 22:30:31 i'm oing to take a 5minutes to myself to rest, eyes hurt touko 22 22:30:33 +s touko 22 22:30:37 *-a touko 22 22:30:38 :o touko 22 22:31:46 brb in 5 minutes touko 22 22:38:06 * neimod (neimod@do.you.dare.screw-with.me.uk) has joined #learn2d touko 22 22:39:02 ok folks, we continue touko 22 22:39:28 O/ touko 22 22:40:01 how to convert a bmp with gfx2gba ? touko 22 22:40:17 gfx2gba is a command line program touko 22 22:41:02 for those who don't know what that means, create a file called conv.bat in the same directory gfx2gba is, fill it with the we will say here touko 22 22:41:21 so we need something to convert touko 22 22:41:55 gfx2gba reads only 256col BMPs and 16cols bmps touko 22 22:42:15 you can create those using paint, gimp, photoshop or psp touko 22 22:42:37 so here's a task to make you moving touko 22 22:42:53 make a 256x256 (32x32) BMP with 256cols touko 22 22:43:04 save it in the same folder as gfx2gba is touko 22 22:43:14 name it myBG.bmp touko 22 22:44:53 i guess you are all lazy touko 22 22:45:17 'i did it touko 22 22:45:23 :) touko 22 22:45:56 try to have something in it, instead of a static color touko 22 22:46:11 it can be an image cropped to 256x256 pixels with 256cols touko 22 22:46:15 i have a picture touko 22 22:46:36 someone else ? touko 22 22:48:31 *sigh* touko 22 22:48:45 I guess it was just me touko 22 22:49:05 so be it touko 22 22:49:45 I have as well touko 22 22:50:00 to convert the image to a "bg" we will tell gfx2gba our options touko 22 22:50:10 (dont freak out) touko 22 22:50:26 gfx2gba -t8 -c256 -pmyBGPal.bin myBG.bmp touko 22 22:50:30 err touko 22 22:50:36 gfx2gba -m -t8 -c256 -pmyBGPal.bin myBG.bmp touko 22 22:50:40 :s touko 22 22:50:58 don't freak out touko 22 22:51:00 let me explain :) touko 22 22:51:10 let's go by option by option touko 22 22:51:24 >LiraNuna< don't mind Alone, he's not here to learn touko 22 22:51:27 -m stands for "map" touko 22 22:51:34 >he's< a friend of mine touko 22 22:51:46 -t8 means, 8x8 tiles touko 22 22:51:53 which is our "normal" tiles touko 22 22:52:12 i will cover "odd" tiles and meta-tiles at another lesson touko 22 22:52:46 -c256 is color 256 touko 22 22:52:55 which is our BG color number touko 22 22:53:15 next up is -pFILENAME touko 22 22:53:21 -p stands for palette touko 22 22:53:43 FILENAME will be a new file the palette will be written to touko 22 22:53:53 last is out bitmap touko 22 22:54:01 try to guess why it's there ;) touko 22 22:54:35 now execute gfx2gba with that command line option touko 22 22:54:41 and you will get 2 files touko 22 22:54:44 *3 files touko 22 22:54:57 myBG.raw touko 22 22:55:00 myBG.map touko 22 22:55:07 myBGPal.bin touko 22 22:55:34 untill now - everyone has what i listed? touko 22 22:55:43 yep touko 22 22:56:16 to keep everything organized, i name my BGs at a nice format touko 22 22:56:24 name.bin - tiles touko 22 22:56:28 namePal.bin - palette touko 22 22:56:33 nameMap.bin - map touko 22 22:56:55 Psy|Home: you doing this on a windows pc? touko 22 22:57:01 right now yeah touko 22 22:57:05 Im at work touko 22 22:57:07 k touko 22 22:57:12 JaJa_: i'm sorry touko 22 22:57:19 don't worry about it touko 22 22:57:24 so do you rename the .raw to .bin? touko 22 22:57:32 Psy|Home: yeah, touko 22 22:57:48 i usually add a ren *.raw *.bin after the call to gfx2gba touko 22 22:57:57 cool touko 22 22:58:08 and rename the .map file to nameMap.bin touko 22 22:58:52 I've got to go... Logging on other PC, I'll read it tomorrow at some point. touko 22 22:58:54 but is it important everything will have the extension .bin touko 22 22:58:57 * StevenH has quit () touko 22 22:59:24 so you got your BG converted touko 22 22:59:28 NOW WHAT?! touko 22 22:59:39 since our BG is already setted up touko 22 22:59:56 we just need to copy out data into the location we setted up touko 22 23:00:27 (don't forget to include the binaries in the data folder, and #include them too) touko 22 23:00:41 someone here has no idea what the #include is for? touko 22 23:00:47 or how to do it touko 22 23:01:40 guess not touko 22 23:01:45 assuming your data is included touko 22 23:01:50 #include myBG_bin.h right? touko 22 23:02:01 along with the others touko 22 23:02:10 #include "myBG_bin.h" touko 22 23:02:11 :) touko 22 23:02:13 yes touko 22 23:02:57 so now to copying! touko 22 23:03:03 first of all palette touko 22 23:03:20 palette adress is pre-defined in libnds as BG_PALETTE touko 22 23:03:47 we will use DMA to copy touko 22 23:04:06 if you don't know what's DMA, it's basicly a fast copying method stored in the HW touko 22 23:04:32 dmaCopy(myBGPal_bin, BG_PALETTE, myBGPal_bin_size); touko 22 23:04:38 now wasn't that easy? touko 22 23:05:21 after the palette touko 22 23:05:26 we'll move on to map touko 22 23:05:54 we need to copy to the map address we used in the BG0_CR touko 22 23:06:27 libnds has a pre-defined macro to calculate the RAM address from a map base touko 22 23:06:55 dmaCopy(myBGMap_bin, (void*)BG_MAP_BASE_RAM(8), myBGMap_bin_size); touko 22 23:07:44 and finally touko 22 23:07:46 the tiles touko 22 23:08:11 i think you can guess how it will look touko 22 23:08:27 dmaCopy(myBG_bin, (void*)BG_TILE_BASE_RAM(0), myBG_bin_size); touko 22 23:08:55 after the copy is done, we need to stop our program from doing anything intresting touko 22 23:09:01 while(1); is effective :) touko 22 23:09:28 that's all for lesson 2! you should have a tiled BG with the image you converted on the main core touko 22 23:09:55 what would the includes be? touko 22 23:10:01 includes? touko 22 23:10:06 i have #include touko 22 23:10:12 and the data touko 22 23:10:14 that's all touko 22 23:10:18 #include "myBG_bin.h" touko 22 23:10:21 #include "myBGPal_bin.h" touko 22 23:10:24 I have those too. touko 22 23:10:25 #include "myBGMap_bin.h" touko 22 23:10:27 that's all touko 22 23:10:39 try to compile and execute touko 22 23:11:13 i get c:/DS/source/test.cpp: In function 'int main()': touko 22 23:11:14 c:/DS/source/test.cpp:8: error: 'MODE0_2D' was not declared in this scope touko 22 23:11:14 c:/DS/source/test.cpp:18: error: 'BG_MAP_BASE_RAM' was not declared in this scop touko 22 23:11:14 e touko 22 23:11:14 c:/DS/source/test.cpp:21: error: 'BG_TILE_BASE_RAM' was not declared in this sco touko 22 23:11:15 pe touko 22 23:11:32 * Ex-Coder (~ET-Coder@212.76.80.23) has joined #learn2d touko 22 23:12:09 err touko 22 23:12:13 BG_TILE_RAM touko 22 23:12:16 BG_MAP_RAM touko 22 23:12:17 sorry touko 22 23:12:33 o/ touko 22 23:12:35 \o touko 22 23:12:47 also a problem with MODE0_2D touko 22 23:12:55 am i allowed in here? touko 22 23:13:13 why ont? touko 22 23:13:15 *not touko 22 23:13:18 No. Go away. joking... touko 22 23:13:27 Psy|Home: MODE_0_2D touko 22 23:13:34 just asking touko 22 23:13:47 Psy|Home: i'm using my own defines, that's why the confusion touko 22 23:14:47 LiraNuna: is there a log of this somewhere?(lesson 1) touko 22 23:15:10 cool touko 22 23:15:24 it appears that it works. touko 22 23:15:56 Psy|Home: check on real HW and have fun with your new knowladge touko 22 23:16:08 i will check when I get home touko 22 23:16:10 thanks touko 22 23:16:18 are you going to do more of this? touko 22 23:16:29 Psy|Home: stay for more, this channel wil cover EVERYTHING i know touko 22 23:16:36 including advanced effects touko 22 23:16:37 Ex-Coder: http://koti.welho.com/plahtin6/files/learn2d.log touko 22 23:17:03 i am going for a walk but I will check back touko 22 23:17:12 just hoping it doesnt go the road of #learn3d... touko 22 23:17:45 Ex-Coder: don't worry touko 22 23:19:04 and umm... I should just shut up by now touko 22 23:19:55 lol touko 22 23:20:30 http://koti.welho.com/plahtin6/files/learn2d.log isn't up anymore touko 22 23:20:36 oh touko 22 23:20:46 http://koti.welho.com/plahtin6/files/EFnet-%23learn2d.log will e the adress from now one touko 22 23:20:48 *on touko 22 23:20:52 *e touko 22 23:20:55 *be touko 22 23:21:02 ffs with this 'b' key touko 22 23:22:25 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 3: Setting up an tile BG:Continue - will start at 23/05/2006 (no time disclosed touko 22 23:27:48 Cool touko 22 23:28:50 did lesson2 just end?:P touko 22 23:28:52 *:O touko 22 23:31:27 Ex-Coder: yep touko 22 23:31:40 is there another log? touko 22 23:33:26 http://koti.welho.com/plahtin6/files/EFnet-%23learn2d.log touko 22 23:33:56 Psy|Home: what's your general impression with the 2D HW? touko 22 23:35:08 gtg touko 22 23:35:10 cya touko 22 23:35:13 * Ex-Coder has quit (Leaving) touko 22 23:40:42 * DarkFader (~DarkFader@chaoshq.de) has joined #learn2d touko 22 23:40:58 damn, I missed lesson 1 and 2 ? touko 22 23:41:17 when is 3D lesson 6 ? touko 22 23:42:09 DarkFader: don't you dare doing what you did in #learn3d touko 22 23:42:55 what do you mean? touko 22 23:44:28 you make it sound like I'm not wanted in here touko 22 23:44:47 (@Nikolas) laZmike was explaining something and DF and neimod asked stupid questions touko 22 23:44:55 DarkFader: no no no!!! :( touko 22 23:45:11 just don't inturrapt people when i'm teaching touko 22 23:45:34 stupid questions? touko 22 23:45:37 what stupid questions? touko 22 23:45:52 perhaps all questions are stupid touko 22 23:45:57 heh, here we go touko 22 23:46:05 a fight^^ touko 22 23:46:08 * Nikolas sets mode +m #learn2d touko 22 23:46:14 How about no touko 22 23:46:14 <_< touko 22 23:46:17 * LiraNuna sets mode -m #learn2d touko 22 23:46:21 whoa touko 22 23:46:22 nikola touko 22 23:46:23 * DarkFader (~DarkFader@chaoshq.de) has left #learn2d touko 22 23:46:33 -_- touko 22 23:47:01 What's his problem... touko 22 23:49:45 stupid because lazmike didn't know the answer? :) touko 22 23:49:58 he was teaching others touko 22 23:50:02 and i was among those others touko 22 23:50:31 i'm sure you know enough to investigate on your own touko 22 23:50:36 btw touko 22 23:50:38 this touko 22 23:50:39 some are afraid to start touko 22 23:50:40 [20:57] i usually add a ren *.raw *.bin after the call to gfx2gba touko 22 23:50:54 you could edit the makefile and add a rule for raw touko 22 23:50:54 what's wrong with that? touko 22 23:51:06 WntrMute: i know, but i like bins touko 22 23:52:01 nice of you to say that for others tho touko 22 23:54:09 * Andrew2k6 (~andrew@CPE00112fca790f-CM000a735d805e.cpe.net.cable.rogers.com) has joined #learn2d touko 22 23:54:22 * Andrew2k6 has quit (Client Quit) touko 22 23:58:49 * [DS]LynxW has quit (Quit: Goin Home) touko 23 00:00:46 * neimod (neimod@do.you.dare.screw-with.me.uk) has left #learn2d touko 23 00:08:52 Bye touko 23 00:08:54 * Alone has quit () touko 23 00:10:33 LiraNuna: sorry I was away. I like the 2D HW alot. touko 23 00:13:53 1) set bits touko 23 00:13:56 2) convert touko 23 00:13:58 3) copy touko 23 00:14:05 nothing is easier then that :) touko 23 00:16:58 yeah it is pretty easy once you know where everything goes touko 23 00:17:28 that's why all the beginners are afraid and use crappy libs such as PAlib touko 23 00:17:53 Not me. I hate it when programs or libs in this case do everything touko 23 00:18:02 http://koti.welho.com/plahtin6/ <-- Click, kthx touko 23 00:18:39 Nikolas: cool touko 23 00:19:16 Psy|Home: libnds does almost nothing. it's just some macroes and defines touko 23 00:19:19 Nikolas: ftw touko 23 00:19:19 * emma4 (~emma4@66.193.233.20) has joined #learn2d touko 23 00:20:06 nice fast advertising touko 23 00:20:35 amsg spam ftw touko 23 00:20:59 lol touko 23 00:21:36 Tales of Eternia for PSP is teh LEET touko 23 00:22:45 Nikolas you put the 24th instead of the 23rd touko 23 00:23:34 i guess it would be close to the 24th for you. touko 23 00:23:42 grr touko 23 00:24:43 fixed touko 23 00:25:27 * [GPF] has quit () touko 23 00:25:31 * luffy (link@cyberpirates.us) has joined #learn2d touko 23 00:26:00 * luffy (link@cyberpirates.us) has left #learn2d touko 23 00:26:50 * emma4 (~emma4@66.193.233.20) has left #learn2d touko 23 00:26:54 :( touko 23 00:27:12 ? touko 23 00:28:45 parts touko 23 00:28:58 oh :( touko 23 00:38:21 * zEcKtA (~benedicto@201.153.95.93) has joined #learn2d touko 23 00:38:41 join #s.o.a.d touko 23 00:38:57 orly? touko 23 00:39:03 does anyone speak spanish? touko 23 00:39:27 i need enter to one channel but i don't know :S:S:S touko 23 00:40:41 Err... this is #learn2d . Learn... 2D... touko 23 00:49:53 * obst][ (~obst]@217.20.127.208) has joined #learn2d touko 23 00:59:05 * zEcKtA (~benedicto@201.153.95.93) has left #learn2d touko 23 00:59:47 * LiraNuna is now known as Lira|ZzzZ **** ENDING LOGGING AT Tue May 23 01:07:42 2006 **** BEGIN LOGGING AT Tue May 23 01:07:42 2006 touko 23 01:14:02 Nikolas: LOL touko 23 01:41:27 * JaJa_ has quit (good night) touko 23 01:48:26 * DarkFader (~DarkFader@chaoshq.de) has joined #learn2d touko 23 01:48:47 phew... he's gone touko 23 01:51:28 Who? touko 23 01:51:30 What? touko 23 01:51:34 When? touko 23 02:02:43 lira touko 23 03:33:57 * snubber has quit (hub.efnet.us irc.easynews.com) touko 23 03:35:55 * snubber (snubber@seahat.com) has joined #learn2d touko 23 04:26:54 * laZmike has quit (Ping timeout: 246 seconds) touko 23 06:22:11 * blergh (~terd@adsl-70-231-192-144.dsl.snfc21.sbcglobal.net) has joined #learn2d touko 23 06:23:30 * blergh has quit (Client Quit) touko 23 06:25:23 * poffy has quit (Quit: poffy) touko 23 07:27:33 * Xandra29 (~bFdwRGuS@201.160.4.250.cableonline.com.mx) has joined #learn2d touko 23 07:27:33 * Xandra29 has quit (Connection closed) touko 23 08:11:06 * j0hanb123 has quit (Ping timeout: 360 seconds) touko 23 09:29:34 * Lira|ZzzZ is now known as LiraNuna touko 23 09:29:36 \o touko 23 09:58:11 Morning Lira touko 23 09:59:52 anyhow, food time and a lesson if anyone's ready touko 23 10:01:13 Well I think everyone's just logging this channel at the moment, I know I am as I've got to go to court soon... touko 23 10:18:12 bit early for a lesson, isn't it? touko 23 10:22:22 * WntrMute has quit (Read error 54: Connection reset by peer) touko 23 10:24:36 * WntrMute (~wntrmute@cpc1-port4-0-0-cust56.cos2.cable.ntl.com) has joined #learn2d touko 23 10:24:48 flipping machine touko 23 10:25:12 locks up occasionally, still nfi why touko 23 10:29:15 * StevenH (~~sharriso@sharriso.gotadsl.co.uk) has joined #learn2d touko 23 10:32:14 What's causing your PC to lock up Wntr? touko 23 10:37:28 * StevenH_D (~StevenH_D@sharriso.gotadsl.co.uk) has joined #learn2d touko 23 10:38:10 * StevenH_D is now known as Sfeven_ds touko 23 10:38:17 * Sfeven_ds has quit (SylphIRC/DS) touko 23 10:40:22 Stupid IRC thing... touko 23 10:40:35 * StevenH has quit () touko 23 10:41:08 Steven_H, uh nfi touko 23 10:53:44 hmm touko 23 10:53:53 how about 16:00 GMT then ? touko 23 10:57:38 LiraNuna, I dunno, you might want to ask some of the US people about the best sort of time touko 23 11:07:05 yeah, thats the problem touko 23 11:09:39 Best thing for you to do Lira is just point to a log of the convo to people that missed the tuts. touko 23 11:10:03 Nikolas is handling that touko 23 11:10:03 Also I'm going to type up the tuts in a nice and easy formatted way at some point... touko 23 11:10:16 hehe nice touko 23 11:10:33 Jury Duty calls - local logging is on :D later touko 23 11:11:14 bye touko 23 11:11:16 o/ touko 23 13:49:06 Never fear, Nikolas is here touko 23 14:49:13 \o touko 23 14:49:38 lesson 3 will start in 2 hours or so, i suppose touko 23 14:53:09 * poffy (~111728-68@cpe-24-27-97-160.houston.res.rr.com) has joined #learn2d touko 23 15:13:32 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 3: Setting up an tile BG:Continue - will start at 23/05/2006 14:00 GMT touko 23 15:13:40 * JaJa_ (~jason@80-41-148-56.dynamic.dsl.as9105.com) has joined #learn2d touko 23 15:13:47 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 3: Setting up a tile BG:Continue - will start at 23/05/2006 14:00 GMT touko 23 15:15:50 rawr touko 23 15:16:01 \o touko 23 15:17:15 http://home.houston.rr.com/poffyprog/burritos.jpg touko 23 15:17:31 heh touko 23 15:38:49 5 minutes to go touko 23 15:39:02 er 12minutes? touko 23 15:40:24 err touko 23 15:40:26 oops touko 23 15:40:29 *15 touko 23 15:40:32 * laZmike (laZmike@cpe-65-185-33-43.columbus.res.rr.com) has joined #learn2d touko 23 15:40:41 no, more than that, i fail at maths touko 23 15:40:46 20 minutes touko 23 15:42:22 w/e touko 23 15:42:23 ! touko 23 15:47:27 30 touko 23 15:48:06 12 minutes..... touko 23 15:48:21 i still have to read the others touko 23 15:48:31 i hope my comp wasn't rebooted in the middle of lesson 2 touko 23 15:48:32 * DarkFader doesn't bother to read the old ones touko 23 15:48:38 they probably suck anyways touko 23 15:48:53 and for n00bs touko 23 15:49:03 o/ touko 23 15:49:10 but I will stay quiet... touko 23 15:49:23 i have no knowledge of the 2d hw touko 23 15:49:42 I know a bit about GBA's touko 23 15:50:00 and less about DS' touko 23 15:50:45 but I guess I could dive into it when I go actually make something touko 23 15:51:38 laZmike: you should read the logs then touko 23 15:52:02 no time, coding my engine touko 23 15:52:23 hehe touko 23 15:55:44 learning by coding is the best touko 23 15:56:33 not ds :/ touko 23 15:56:39 pretty much everything else touko 23 15:56:54 laZmike: DF is right touko 23 15:57:16 at the moment, it supports win32 opengl and dx9, soon to add linux, then ps2 and psp touko 23 15:57:55 psp rulz touko 23 15:58:04 ;P touko 23 15:58:25 my engine will be very handy :) touko 23 15:58:33 what will it do? touko 23 15:58:40 going to be a little tough when i get to ps2 touko 23 15:58:47 fully cross platform touko 23 15:58:58 I want to make some engine too touko 23 15:59:04 multi-platform touko 23 15:59:12 basically a giant API wrapper touko 23 15:59:25 something like SDL ? touko 23 15:59:42 dunno, i've never used sdl touko 23 15:59:51 i guess touko 23 16:00:05 3D functions? touko 23 16:00:11 of course :) touko 23 16:00:27 what 3D functions? touko 23 16:00:34 going to try to add camera and object classes today touko 23 16:00:47 hmm touko 23 16:00:52 anything i can come up with touko 23 16:01:46 so we begin touko 23 16:01:51 in 2 minutes touko 23 16:01:54 k :) touko 23 16:02:20 so we begin 4 minutes late? touko 23 16:02:23 make that -2 minutes touko 23 16:02:24 hehe touko 23 16:02:32 yeah i know touko 23 16:02:36 and you announced it 12 minutes early? touko 23 16:02:38 was playing with my PSP touko 23 16:02:43 heh touko 23 16:02:46 tsk touko 23 16:03:14 so we start touko 23 16:03:16 * DarkFader is currently making some boring windows app touko 23 16:03:24 what's it do touko 23 16:03:28 <_< touko 23 16:03:33 * LiraNuna sets mode +m #learn2d touko 23 16:03:54 last lesson showed you how to set up a simple BG of 256 colors touko 23 16:04:06 * poffy has quit (Quit: poffy) touko 23 16:04:21 but there are more color modes supported by the BGs touko 23 16:04:26 such as 16col touko 23 16:04:58 the major diffrent between 256col BGs and 16col BGs is thier palette settings touko 23 16:05:32 if the BG is 256col, the BG can use only one palette with 255 color entries touko 23 16:05:41 (255cols + 1 trans) touko 23 16:06:05 but in 16 col mode, each tile can have a diffrent palette out of 16 diffrent palettes touko 23 16:06:26 because 256 = 16 x 16 touko 23 16:06:32 the same palette is used touko 23 16:06:52 so where di we set each tile to use each palette? touko 23 16:06:56 *do touko 23 16:07:04 inside the map touko 23 16:07:15 each map tile representation is 16bit per tile touko 23 16:07:48 it's combined out of 10bit tile selection index (1024 tiles), 4 bit palette of the tile (16 diffrent paletes) touko 23 16:08:01 and another 2 flip bits touko 23 16:08:57 now we will start a demo which will use those custom flip bits, and palette diffrences touko 23 16:09:13 * LiraNuna sets mode -m #learn2d touko 23 16:09:25 start up a new project touko 23 16:09:45 and set up mode 0 with BG0 like lest lesson touko 23 16:10:07 but this time, set it to 16col mode (libnds define is BG_COLOR_16) touko 23 16:11:05 anyone with me? touko 23 16:11:43 yep touko 23 16:12:12 we will only work with a single tile this lesson, and we will generate the map with our code touko 23 16:12:31 to understand the internals touko 23 16:13:21 let me create a tile for you all to convert touko 23 16:14:31 http://www.picfront.com/images/twotiles.bmp touko 23 16:14:42 as you will see, there are two tiles in this image touko 23 16:15:02 an empty one - and an arrow facing to the down right touko 23 16:15:28 i chose an arrow for you to show you how flipping works touko 23 16:15:46 convert the image using gfx2gba like in last lesson touko 23 16:15:49 but this time touko 23 16:16:01 don't generate a map or palette touko 23 16:16:09 (remove -m and -tNAME) touko 23 16:16:29 and this time we will use the -c16 (16color) mode touko 23 16:16:39 so the final call is touko 23 16:16:50 gfx2gba -c16 -t8 twotiles.bmp touko 23 16:17:19 you should get a single file called twotiles.raw touko 23 16:17:36 and possibly an additional file called master.pal touko 23 16:18:07 2 files touko 23 16:18:20 take only the .raw then touko 23 16:18:40 this is where the actuall tiles are saved touko 23 16:18:57 *- touko 23 16:18:58 l touko 23 16:19:10 include it to your project touko 23 16:19:23 and copy it to the tilebase your BG is setted to touko 23 16:19:41 * [DS]LynxW (~JZAWACKI@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has joined #learn2d touko 23 16:19:49 so what about the map and the palette? you ask touko 23 16:20:07 sometimes we can save size by auto-generation touko 23 16:20:17 if indeed, it has a pattern touko 23 16:20:43 let's start off with the palette touko 23 16:21:02 as i said, the palette is a 16bit array sized 256 touko 23 16:21:12 pre-defined in libnds as BG_PALETTE touko 23 16:21:43 all colors BG_PALETTE[16N] ( 0 <= N < 16 ) touko 23 16:21:53 will not be visable on the screen touko 23 16:22:01 (in 16col mode ofcourse) touko 23 16:22:37 we will set up 3 diffrent palettes with 3 diffrent colors touko 23 16:23:01 BG_PALETTE[0 + 1] = RPG15(31, 0, 0); // Color red touko 23 16:23:17 BG_PALETTE[16 + 1] = RPG15(0, 31, 0); // Color green touko 23 16:23:39 BG_PALETTE[32 + 1] = RPG15(0, 0, 31); // Color blue touko 23 16:24:14 as a good programmers, we need to check those touko 23 16:24:23 so compile and open the ROM with dualis touko 23 16:24:30 is RPG15 defined in libnds? touko 23 16:24:34 which has a nice palette viewer touko 23 16:24:38 Psy|Home: yes it is touko 23 16:24:51 it takes up 3 RPG values and packs them into a 15bit color format touko 23 16:25:11 as i said touko 23 16:25:20 open the compiled ROM using dualis touko 23 16:25:26 and start up the palette viewer touko 23 16:26:19 you should see three colors right down to each other touko 23 16:26:24 reg, green and blue touko 23 16:26:48 I get RPG15 was not declared touko 23 16:27:58 err... touko 23 16:28:00 RGB touko 23 16:28:07 typo, i'm sorry touko 23 16:28:19 RGB stands for RedGreenBlue touko 23 16:28:32 not a problem that is why i asked earlier touko 23 16:28:40 and it's how color is defined in light touko 23 16:29:59 is the palette writing working? touko 23 16:30:33 you should see three colors right down to each other touko 23 16:30:38 reg, green and blue touko 23 16:30:41 *red touko 23 16:30:43 dualis keeps crashing on me when using the lastest version touko 23 16:30:52 double clicking the ROM? touko 23 16:31:13 try to downgrade touko 23 16:31:14 no I load and executre touko 23 16:31:21 i will downgrade now touko 23 16:31:37 let me tell you what i use touko 23 16:32:04 i use the "2006-03-24" build touko 23 16:32:09 http://dualis.1emulation.com/files/dualis-19.zip touko 23 16:33:12 brb touko 23 16:35:21 in all the versions I can only run in GDI touko 23 16:35:29 but it works touko 23 16:36:10 great touko 23 16:36:25 some more debugging skills with dualis touko 23 16:36:44 if you have coiped the tiles, like you should had touko 23 16:36:57 the tiles should be stored in VRAM bank A touko 23 16:37:03 (we setted them to be there touko 23 16:37:12 open up the tile viewer touko 23 16:37:21 View -> Tiles touko 23 16:37:36 select bank A and color mode 16x16 touko 23 16:37:56 tile 0 should be empty touko 23 16:38:02 and tile 1 should have the arrow inside touko 23 16:38:10 nice touko 23 16:38:26 dualis is quite powerfull for debugging graphics touko 23 16:38:48 i will allways include tips on better graphics debugging with dualis touko 23 16:39:00 so next up - the map touko 23 16:39:15 as i said, the map is a fixed size array of 16bits integers touko 23 16:39:28 to directly write to it, we will use a pointer touko 23 16:39:53 u16* bgMap = (u16*)BG_MAP_RAM(8); touko 23 16:40:09 this will allow us to directly access the map on the VRAM touko 23 16:40:33 as you already know, the maps includes the tile index inside them touko 23 16:40:52 we can use the map to plot tiles on the BG touko 23 16:41:19 try filling bgMap[0] with 1, and the first tile should be a red arrow touko 23 16:41:40 bgMap[0] = 1; touko 23 16:42:05 yep touko 23 16:42:22 now to go a little more advenced touko 23 16:42:29 remember the last 6 bits? touko 23 16:42:45 now let's color our arrow with another palette touko 23 16:43:03 bgMap[2] = 1 | (1<<12); touko 23 16:43:36 * poffy (~111728-68@cpe-24-27-97-160.houston.res.rr.com) has joined #learn2d touko 23 16:43:45 this should display the arrow in a blue color touko 23 16:44:24 erm touko 23 16:44:27 i have to go :( touko 23 16:44:41 so let's get throu it quickly touko 23 16:44:53 bits 14 and 15 are the flip flags touko 23 16:45:02 bit 14 will horisontal flip the tile touko 23 16:45:11 and bit 15 will verticly flip the tile touko 23 16:45:14 bgMap[2] = 1 | (1<<12) | BIT(14); touko 23 16:45:28 i will continue as i will get back touko 23 16:45:32 * LiraNuna is now known as Lira|Away touko 23 16:45:34 sorry touko 23 17:02:13 tralala touko 23 17:02:44 * JaJa_ whistles touko 23 17:06:33 * Vicky12 (CamilleYxq@host113-89.pool8259.interbusiness.it) has joined #learn2d touko 23 17:19:30 * Vicky12 has quit (Read error: Connection reset by peer) touko 23 17:26:22 * JaJa_ is now known as JaJa|Away touko 23 17:29:04 * jnx (jnx@219.94.116.181) has joined #learn2d touko 23 17:29:13 * jnx (jnx@219.94.116.181) has left #learn2d **** BEGIN LOGGING AT Tue May 23 18:20:33 2006 touko 23 18:20:33 * Now talking on #learn2d touko 23 18:20:33 * Topic for #learn2d is: Nintendo DS 2D Hardware courses | Lesson 3: Setting up a tile BG:Continue - will start at 23/05/2006 14:00 GMT touko 23 18:20:33 * Topic for #learn2d set by LiraNuna at Tue May 23 15:13:41 2006 touko 23 18:20:41 * Lira|Away gives channel operator status to Nikolas touko 23 19:55:17 * Psy|Home is now known as Psy|Work touko 23 20:36:26 * JaJa|Away is now known as JaJa_ touko 23 20:59:31 * JaJa_ is now known as JaJa|Food touko 23 21:13:36 * JaJa|Food is now known as JaJa_ touko 23 21:34:56 * Lira|Away is now known as LiraNuna touko 23 21:34:57 o/ touko 23 21:35:07 \o touko 23 21:35:43 minor point touko 23 21:35:45 [14:21] all colors BG_PALETTE[16N] ( 0 <= N < 16 ) touko 23 21:35:45 [14:21] will not be visable on the screen touko 23 21:36:41 on 16col mode touko 23 21:36:48 there was a continue touko 23 21:36:49 those colors are transparent but BG_PALETTE[0] sets the backdrop color ( i.e. the color you see when *all* pixels at a particular position are transparent) touko 23 21:37:09 yeah i was in a hurry and forgot to say that touko 23 21:37:24 :) touko 23 21:37:34 thanks for completing me touko 23 21:37:58 LiraNuna i tried to do the BIT(14) and BIT(15) and it just showed up as a black tile touko 23 21:38:12 huh touko 23 21:38:40 earlier when going over the bgMap[2] = 1 | (1<<12) | BIT(14) touko 23 21:38:56 it would only show up as a black tile and not a flipped tile touko 23 21:39:16 odd... touko 23 21:39:21 let me look up some stuff touko 23 21:39:31 try 1 | BIT(15); touko 23 21:39:39 black would suggest all palette entries for pallette 1 are 0 touko 23 21:39:55 WntrMute: the palette was set touko 23 21:41:06 bgMap[8] = 1 | BIT(15); <-- gets the same black tile touko 23 21:41:08 * StevenH (~~sharriso@sharriso.gotadsl.co.uk) has joined #learn2d touko 23 21:41:20 what about just "1" ? touko 23 21:41:35 shows the arrow touko 23 21:41:42 with a red background touko 23 21:41:55 red background o_O touko 23 21:42:47 oooooh....! the image was set incorrectly touko 23 21:42:49 <_< >_> touko 23 21:42:58 ?? touko 23 21:43:39 the image should have the palette entry 0 set to the transparent color you want (for gfx2gba) touko 23 21:43:47 i didn't set it correctly touko 23 21:43:55 I see touko 23 21:43:58 i'm so sorry, i was in a hurry touko 23 21:44:06 its cool touko 23 21:44:06 (went to a food festival (ftw)) touko 23 21:44:27 let me upload the new bmp touko 23 21:44:34 ok touko 23 21:47:24 http://www.picfront.com/images/twotilesnw1.bmp touko 23 21:52:35 ok the arrows now change colors but the flips still didn't work touko 23 21:53:11 ok that's odd... touko 23 21:53:28 i can no paste if you want to see the code touko 23 21:53:32 sure touko 23 21:54:14 ooooo touko 23 21:54:15 <_< touko 23 21:54:20 ok here's my mistake touko 23 21:54:40 10bits tile index, 2bits flip, 4bits palette touko 23 21:55:02 http://rafb.net/paste/results/dFIsXE18.html touko 23 21:55:19 it was my mistake touko 23 21:55:47 so BIT 10 and 11? touko 23 21:55:55 yes touko 23 21:56:14 then the last nybl is the palette touko 23 21:56:59 ok that worked touko 23 21:57:08 i'm so sorry about that touko 23 21:57:20 not a problem. Just had to change some notes touko 23 21:57:25 : touko 23 21:57:26 *:) touko 23 22:04:25 Luckily my notes will not need changing :D - I'm still writing up tut 1... touko 23 22:05:06 we were meant to be taking notes :O whens the test? touko 23 22:05:08 :P touko 23 22:05:57 test my ass touko 23 22:05:59 * DarkFader (~DarkFader@chaoshq.de) has left #learn2d touko 23 22:06:12 it's positive touko 23 22:06:14 you're an ass touko 23 22:06:25 how much longer is left in the lesson touko 23 22:06:33 lesson 3 ? touko 23 22:06:45 maybe? touko 23 22:06:57 LiraNuna's stomach got in the way touko 23 22:07:03 he went to a food festival touko 23 22:07:10 what? i was in a food festival (ftw) touko 23 22:07:14 want pix ? touko 23 22:07:19 yeah touko 23 22:07:21 of course touko 23 22:07:24 hold on touko 23 22:07:33 pie eating contest touko 23 22:07:34 my cell battery died so i only took some :9 touko 23 22:07:37 *:( touko 23 22:07:45 laZmike: we don't have that here touko 23 22:08:03 good :) touko 23 22:09:15 about the lesson touko 23 22:09:31 i wanted to teach extended palettes, but i'll leave it for now touko 23 22:09:46 flipping and palette settings are a lot imo touko 23 22:11:31 even tho it's minor bit settings, but how map is buit up is important touko 23 22:13:36 i need to reboot touko 23 22:13:40 so hold on if you do anything touko 23 22:13:55 * laZmike has quit (reboot) touko 23 22:14:14 And when he comes back say something about 3D :D touko 23 22:14:26 LOL touko 23 22:14:44 or some advanced 2D stuff touko 23 22:14:45 "we finished lesson 12" touko 23 22:14:48 ; touko 23 22:14:50 ;P touko 23 22:14:51 LOL yup :D touko 23 22:15:08 "and that's how you do sprite rotation" touko 23 22:15:41 lol touko 23 22:16:41 "So using the HBlank interrupt and that simple bit of code I can change the sprites that's in VRAM right - cool that's going in my library code right now..." <-- Going to say that D: touko 23 22:17:01 rofl touko 23 22:17:08 and that's how to rotate a spritelol touko 23 22:17:17 err touko 23 22:17:19 <_< touko 23 22:19:57 * FuzzySlip (~Jack@CPE-72-128-102-221.wi.res.rr.com) has joined #learn2d touko 23 22:20:16 * FuzzySlip (~Jack@CPE-72-128-102-221.wi.res.rr.com) has left #learn2d touko 23 22:21:23 * laZmike (laZmike@cpe-65-185-33-43.columbus.res.rr.com) has joined #learn2d touko 23 22:21:24 and that's how you rotate a sprite touko 23 22:21:36 bastard touko 23 22:21:40 LOL touko 23 22:21:46 i knew it was fake :) touko 23 22:21:51 :O touko 23 22:22:09 ;) touko 23 22:22:11 And I wanted to say "So using the HBlank interrupt and that simple bit of code I can change the sprites that's in VRAM right - cool that's going in my library code right now..." touko 23 22:22:33 HBlank rox touko 23 22:23:02 But too busy playing catch up - still working on part 2's code... touko 23 22:23:58 i will not teach today touko 23 22:24:01 +more touko 23 22:24:42 So were done with the map stuff today? touko 23 22:26:34 yeah, you know all of the basic map stuf touko 23 22:26:43 MODE0 :) touko 23 22:26:45 oh wait touko 23 22:26:54 i still need to cover multiple BG touko 23 22:26:55 +s touko 23 22:27:02 sweet touko 23 22:27:24 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 4: Multiple BGs - 24/05/2006 @ ???? touko 23 22:27:30 sometime tommorow touko 23 22:27:45 ok touko 23 22:28:05 after that, we'll start sprites touko 23 22:28:11 teach me how to blend a 2d layer on top of a 3d layer touko 23 22:28:15 2d needs alpha touko 23 22:28:19 then rotations - BGs and sprites then effects touko 23 22:28:28 laZmike: everything at it's time touko 23 22:28:28 that's all i really need atm touko 23 22:28:40 need it for compo :( touko 23 22:28:44 oh ok touko 23 22:28:46 pm then touko 23 22:28:52 k hehe :) touko 23 22:36:34 oh wait touko 23 22:36:46 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 4: Multiple BGs and scrolling - 24/05/2006 @ ???? touko 23 22:36:49 there touko 23 22:37:41 PICTURES DAMN YOU touko 23 22:37:46 oh right touko 23 22:37:47 hold on touko 23 22:37:50 :P touko 23 22:38:09 my cell was charging touko 23 22:38:40 Never mind pictures how do I get gfx2gba support in the makefile?? touko 23 22:39:03 sorry, that's a question to WntrMute ;P touko 23 22:39:05 write a macro for the extension touko 23 22:39:16 Steven_H: but i don't recommend it touko 23 22:39:24 Why? touko 23 22:39:27 as you will use gfx2gba diffrently every time touko 23 22:39:28 cus it's evil touko 23 22:39:40 trust me - you'll be better while using it on your own touko 23 22:40:02 hmm touko 23 22:40:05 need drivers touko 23 22:40:07 True, and I'm only using it until I get my own tools designed and wrote up... touko 23 22:40:07 hold on touko 23 22:40:49 Steven_H: as i also said, i promiss to teach you tricks to save VRAM and graphics resources touko 23 22:42:13 gfx2gba sometimes plays a huge part of that optimizing touko 23 22:42:20 altho you have to use it smart touko 23 22:42:57 as i said on the introduction - here i will teach everything i know on the 2D HW - including tricks touko 23 22:43:37 damn cell touko 23 22:46:32 my biggest supprise was the rush for sushi..! touko 23 22:46:49 sushi is considured rich food here touko 23 22:47:03 sushi's expensive every where touko 23 22:47:09 * [DS]LynxW pushes LiraNuna back on track. touko 23 22:47:18 [DS]LynxW: no more lesson for today touko 23 22:47:26 GAME OVER touko 23 22:47:31 lol touko 23 22:47:35 <[DS]LynxW> Oh.. /part touko 23 22:47:37 * [DS]LynxW (~JZAWACKI@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has left #learn2d touko 23 22:47:49 there were 7 sushibars booths there touko 23 22:47:55 i felt like food E3 touko 23 22:49:32 stupid sync program touko 23 22:49:43 brb restart touko 23 22:54:14 Psy, did your code work first time for part 2? as my graphic is well it looks like a sliding puzzle :D touko 23 22:54:17 * _LiraNuna (~LiraNuna@IGLD-84-228-244-137.inter.net.il) has joined #learn2d touko 23 22:54:22 <_LiraNuna> o_O touko 23 22:54:36 <_LiraNuna> Nikolas: op plz touko 23 22:55:20 * Nikolas gives channel operator status to _LiraNuna touko 23 22:55:27 StevenH: No it didn't. It was a scrambled up picture touko 23 22:55:32 Lira, I've got a slight problem with the part 2 code, I've got a sliding puzzle effect... touko 23 22:55:45 * LiraNuna has quit (Ping timeout: 360 seconds) touko 23 22:55:47 Ahh so I'm not alone then.... touko 23 22:56:10 I think it may have had something to do with the gba2gfx though touko 23 22:56:24 *gfx2gba touko 23 22:56:58 <_LiraNuna> Steven_H: say what? touko 23 22:57:06 2 ticks touko 23 22:57:15 <_LiraNuna> what's the size of the image you are converting in pixels? touko 23 22:57:21 256x256 touko 23 22:57:39 <_LiraNuna> " sliding puzzle effect..."? ? touko 23 22:58:15 <_LiraNuna> btw let me upload pix touko 23 22:58:25 <_LiraNuna> there are only 4 - as my cell's battery went out <_< touko 23 22:59:06 <_LiraNuna> Steven_H: did you notice later on i said to add the -m option ? touko 23 22:59:15 Lira - http://sharriso.gotadsl.co.uk/nds/dualis01.bmp - that's what I'm getting... the green effect is from the stupid screen capture code on dualis touko 23 22:59:40 * StevenH hunts for a less NSFW pic to try... touko 23 22:59:43 <_LiraNuna> ok that's a wrong setup touko 23 23:00:08 <_LiraNuna> show me the code - the tile copying seems ok touko 23 23:00:13 <_LiraNuna> so is the palette touko 23 23:00:16 <_LiraNuna> only the map is wrong touko 23 23:00:46 <_LiraNuna> http://www.picfront.com/images/P05-23-06_18.38.jpg < I took this image cause "Nonna" sounds like Nuna (and it's written the same in hebrew" touko 23 23:01:42 <_LiraNuna> http://www.picfront.com/images/P05-23-06_18.50.jpg < .nl came to israel ! touko 23 23:02:53 <_LiraNuna> http://www.picfront.com/images/P05-23-06_18.54.jpg < the sprite way touko 23 23:03:20 <_LiraNuna> http://www.picfront.com/images/P05-23-06_18.56.jpg < /jp came too!! mmmm sushy...! touko 23 23:03:27 http://rafb.net/paste/results/BrUEXG20.html <- this gives my scrambled code touko 23 23:03:31 * JaJa_ is now known as JaJa|CSI touko 23 23:04:23 I got identical code to Psy touko 23 23:04:30 <_LiraNuna> i think it's gf2gba then touko 23 23:04:41 <_LiraNuna> show me the command line you set touko 23 23:04:52 <_LiraNuna> code seems fine touko 23 23:05:06 \nds\gfx2gba013\gfx2gba -m -t8 -c256 -pmyBGPal.bin myBG.bmp touko 23 23:05:06 ren *.raw *.bin touko 23 23:05:06 ren *.map *map.bin touko 23 23:05:18 that's the 3 lines of code in my conv.bat touko 23 23:05:21 <_LiraNuna> *map.bin < teh wrong touko 23 23:05:32 * _LiraNuna is now known as LiraNuna touko 23 23:05:40 it still works touko 23 23:05:48 it will give you name.mapname.mapMap.bin touko 23 23:05:50 what is dvd-ram touko 23 23:06:14 there's a dvd burner that also has 5x dvd-ram burner touko 23 23:06:18 Actually it gives - myBG.map.bin touko 23 23:06:27 i renamed my myBGMap.bin touko 23 23:06:34 StevenH: that's the problem touko 23 23:06:37 liran: it says sakurasu touko 23 23:06:54 laZmike: yes touko 23 23:06:55 does it say that in that weird scribble? touko 23 23:06:56 dvd-ram is another propritry(sp) system that is piss poor touko 23 23:07:05 laZmike: that's what's written in hebrew too touko 23 23:07:05 ok touko 23 23:07:09 it's a sushi bar <3 touko 23 23:07:14 sushi FTW touko 23 23:07:17 anyhow touko 23 23:07:42 StevenH: try to rename it to myBGMap.bin touko 23 23:07:48 basically it's a way of using a DVD device as a random access drive, but it's very expensive and crap - it only works in the drive it was wrote in... touko 23 23:07:52 Same thing touko 23 23:08:17 StevenH: are you sure? try to clean the data folder, reconvert the image and copy touko 23 23:08:53 Only thing that changes is the variable name, from myBGMap_bin to myBG_map_bin touko 23 23:09:00 gfx2gba -m -t8 -c256 -pmyBGPal.bin myBG.bmp touko 23 23:09:07 is the command that I gave it touko 23 23:09:27 the only thing that is wrong is the map touko 23 23:09:35 and Psy's getting the same... touko 23 23:09:43 didn't you say yo got it right? touko 23 23:09:59 *yu touko 23 23:10:01 .. touko 23 23:10:02 YOU touko 23 23:10:04 I couldn't test until I got home touko 23 23:10:07 oh touko 23 23:10:15 When I tested on hw it was scrambled touko 23 23:10:34 try changine the map base to 31 touko 23 23:10:44 BG_MAP_BASE(31); touko 23 23:10:46 I just reran the gfx command and here is some output touko 23 23:10:50 Number of tiles before optimization: 1024 touko 23 23:10:50 Number of tiles after optimization: 0593 touko 23 23:10:52 BG_MAP_RAM(31) touko 23 23:11:03 Psy|Work: that's ok touko 23 23:11:34 (@LiraNuna) try changine the map base to 31 touko 23 23:11:46 Lira - http://sharriso.gotadsl.co.uk/nds/dualis00.bmp is new image and http://sharriso.gotadsl.co.uk/nds/myBG.bmp is the image I'm using touko 23 23:12:21 it's a map problem - no doubt touko 23 23:12:24 (@LiraNuna) try changine the map base to 31 touko 23 23:12:33 Does not work touko 23 23:12:33 k touko 23 23:12:43 it worked when i changed base and ram to 31 touko 23 23:12:54 Get scrambled image on left, and lines on right touko 23 23:12:59 ok so here's where i have mistaken touko 23 23:13:05 StevenH: ? touko 23 23:13:25 hang on I'll try again touko 23 23:14:08 meanwhile i'll explain what i have done wrong touko 23 23:14:11 Nope junk touko 23 23:14:25 StevenH: code + screenshot plz touko 23 23:14:25 but hit me anyway Lira I'll get it yet touko 23 23:14:55 tile bases are sized 16Kbytes per base, right? touko 23 23:15:11 while map bases are sized 2Kbytes per pase touko 23 23:15:14 *base touko 23 23:15:33 ok touko 23 23:15:35 when we set map RAM to 8 - we assumed the tileset will take only 16Kbytes touko 23 23:15:41 http://sharriso.gotadsl.co.uk/nds touko 23 23:15:53 screen grab and code are in there touko 23 23:16:09 1024 tiles of 256col will take up 64Kbytes - or 4 tile bases touko 23 23:16:34 StevenH: ... touko 23 23:16:37 (void*)BG_MAP_RAM(31); touko 23 23:16:45 (void*)BG_MAP_RAM(31); touko 23 23:16:58 you copied the map into the wrong locations :) touko 23 23:17:02 *-s touko 23 23:17:03 I know I saved part way though my edit... touko 23 23:17:18 ? touko 23 23:17:29 so 31 on both still doesnt work ? touko 23 23:17:33 Nope touko 23 23:17:39 comeon touko 23 23:17:45 that grab is 31 on both BTW... touko 23 23:19:03 try to comment out the map dma touko 23 23:19:40 screen grab that's on the website touko 23 23:19:53 oh and I'm using 1024 tiles touko 23 23:20:18 ok touko 23 23:20:56 are you sure they are both at 31? touko 23 23:21:11 Yup touko 23 23:21:34 Updated web site touko 23 23:21:59 try using psy's code touko 23 23:22:22 I am using Psy's code :D touko 23 23:22:27 hmmz touko 23 23:22:34 it's a conversion prob then touko 23 23:22:43 or touko 23 23:22:47 change to map base 32 touko 23 23:24:58 nope - garbage on other side of screen now - check dualis01.bmp on my website above touko 23 23:25:36 ok wtf touko 23 23:25:46 what are you calling gfx2gba with? touko 23 23:26:04 gfx2gba -m -t8 -c256 -pmyBGPal.bin myBG.bmp touko 23 23:26:55 i have no idea what's wrong... really touko 23 23:27:04 I'll try another image touko 23 23:27:08 it has to be the conversion touko 23 23:28:41 or something i've forgot <_< touko 23 23:30:04 Must be something stupid - check out the bmp's touko 23 23:31:18 psy got it correctl touko 23 23:31:19 y touko 23 23:32:11 Wonder if it's PSP 9 touko 23 23:32:26 err touko 23 23:32:29 could be touko 23 23:32:33 try ms paint touko 23 23:34:43 Nope even paint's getting werd results touko 23 23:34:53 i used ms paint touko 23 23:35:20 Psy|Work: upload your image touko 23 23:35:44 the 256col one touko 23 23:36:10 try this pic touko 23 23:36:20 www.stlwd.com/myBG.bmp touko 23 23:37:39 It's working - 32 is not a good map base, 31 is tho touko 23 23:37:51 i figured touko 23 23:38:16 it worked with my pic or did you do something different touko 23 23:38:17 it had too much tiles and no place to put the map in touko 23 23:38:25 too many tiles ;( touko 23 23:38:41 i will cover that in the VRAM mannagment section touko 23 23:38:49 how to avoid that kind of situations touko 23 23:38:54 *those touko 23 23:39:14 too many tiles - I just retried with the original image touko 23 23:39:35 was it something with the way that it converted? touko 23 23:39:47 no no touko 23 23:40:19 BGx_CR register has just 5 bits for map/tile bases (each) touko 23 23:40:28 that limits to you 0-31 bases touko 23 23:40:38 even tho the bank can take more touko 23 23:42:15 PSP 9 works, as long as you do not use too many tiles touko 23 23:42:35 try to disable diffusion when reducing the color coun touko 23 23:42:35 404 tiles in my test image now touko 23 23:42:40 LOL touko 23 23:42:51 compared to >600 before touko 23 23:42:57 actually 1023 :D touko 23 23:43:28 :( touko 23 23:43:42 i will teach dynamic tile mapping on the future touko 23 23:44:04 http://sharriso.gotadsl.co.uk/nds/dualis00.bmp - GAH dualis needs some better screen grabs touko 23 23:44:05 and bigger maps touko 23 23:44:34 StevenH: it saves them ok - it's window's pic viewer's problem touko 23 23:44:41 try opening the image using paint touko 23 23:46:24 Try opening the pic in ANY picture view it's out by 5 pixels touko 23 23:46:48 actually 4.7 pixels touko 23 23:47:32 lol touko 23 23:47:52 so open in paint, save in paint and it fixes the header - Dualis need to re-code it's BMP headers touko 23 23:48:33 bbs, need to walk the dog touko 23 23:48:39 yeah touko 23 23:50:29 DS lite Black Announced For Europe touko 23 23:50:31 O_____O touko 23 23:54:20 * bl0pa (bl0@217.172.33.50) has joined #learn2d touko 23 23:57:01 * JaJa|CSI is now known as JaJa_ touko 24 00:06:02 Back touko 24 00:06:49 I noticed that the ds lite was in white and black, I think they are out next month... might purchase one, as well as a no-pass of some sort... touko 24 00:07:18 BLACK DSLITE FTW touko 24 00:08:15 * LiraNuna is now known as Lira|ZzzZ touko 24 00:09:27 TURN THE LIGHT OUT touko 24 00:12:52 lol touko 24 00:19:41 YEAH I got part 2 to work with 1018 tiles :D touko 24 00:20:18 Just use Tile base 1, and Map base 0 :D touko 24 00:25:04 nice touko 24 00:27:42 * iknowu (fantastic@24-180-57-126.dhcp.rvsd.ca.charter.com) has joined #learn2d touko 24 00:28:57 i wasted a few hours touko 24 00:29:32 * iknowu has quit () touko 24 00:41:30 Hmm, having trouble with Part3 tho, I can get it to work with tile base 0, map base 8, but not tile base 1, map 0... touko 24 00:42:08 * Nikolas hits the bed too touko 24 00:42:19 g'night **** ENDING LOGGING AT Wed May 24 00:42:23 2006 **** BEGIN LOGGING AT Wed May 24 13:55:11 2006 touko 24 13:55:11 * Now talking on #learn2d touko 24 13:55:11 * Topic for #learn2d is: Nintendo DS 2D Hardware courses | Lesson 4: Multiple BGs and scrolling - 24/05/2006 @ ???? touko 24 13:55:11 * Topic for #learn2d set by LiraNuna at Tue May 23 22:36:40 2006 touko 24 13:59:15 * chishm (chishm@202-161-29-41.dyn.iinet.net.au) has joined #learn2d touko 24 13:59:23 hehe touko 24 13:59:32 /mode +o chishm touko 24 14:00:24 haha no ops touko 24 14:01:08 Liran's internet connection isn't actually trustworthy touko 24 14:06:48 Nikolas, try and stay here for a bit touko 24 14:07:11 chanfix has been here a couple of times so it might reop you on the next cycle touko 24 14:07:15 http://www.efnet.org/chanfix/#opless touko 24 14:07:18 oh touko 24 14:07:50 it won't reop lira cos he has no ident touko 24 14:09:26 Hmm, no ident? touko 24 14:09:46 how long have we been opless? touko 24 14:09:58 Doesn't mIRC have some sort of ident server built into it? touko 24 14:10:31 well, either he doesn't have it enabled or he has the port closed on his router touko 24 14:10:42 dunno what's up with mine either touko 24 14:10:52 * WntrMute is running oidentd touko 24 14:11:15 * Nikolas uses x-chats ident thingy touko 24 14:11:50 well, you still need to forward ports & stuff if you're on a network touko 24 14:12:00 oidentd is handy for that touko 24 14:12:16 :P touko 24 14:13:12 heh, watching prime ministers question for some reason. he's avoiding the questions a lot touko 24 14:13:31 * JaJa_ wants Tony Blair ut touko 24 14:13:35 *out touko 24 14:14:31 how do you do ident on someone? touko 24 14:14:56 "why has the person deemed to incompetent to run immigration office, been put in charge of the police?" and he starts talking about how they've banned handguns touko 24 14:15:43 and now he's talking about employment touko 24 14:16:23 unemployment has only gone down because they've introduced loads of well paid 'facilitator' jobs touko 24 14:18:17 chishm, /whois touko 24 14:18:31 it's the bit before the @ touko 24 14:18:39 oh, ok touko 24 14:18:46 ~ is no identd touko 24 14:18:47 I thought that was part of my hostmask touko 24 14:18:54 ah touko 24 14:18:59 no, it's your username touko 24 14:19:02 I got ident setup properly touko 24 14:19:32 is anyone using ident? touko 24 14:19:38 well, I have ident on freenode but not here for some reason touko 24 14:20:17 * WntrMute chuckles touko 24 14:20:31 I wonder how the palib crew will cope with the next update touko 24 14:21:03 does breakage ensue? touko 24 14:21:29 not for people who have learned the WntrMute way touko 24 14:22:01 * WntrMute is quite impressed with himself actually touko 24 14:22:18 I'm shifting devkitARM to arm-eabi touko 24 14:23:13 every single piece of code I've written wasn't even slightly upset by the move touko 24 14:23:26 didn't have to edit a single thing touko 24 14:24:34 * Nikolas bets that palib breaks down and all palibbers get angry at WntrMute touko 24 14:24:57 I'd say there'd be pretty high odds of that touko 24 14:25:10 "OMGWTFBBQ u allwus break our code!!!!1" touko 24 14:25:22 for people who use the templates the transition will be utterly painless touko 24 14:26:28 what's arm-eabi? touko 24 14:27:01 latest ARM embedded ABI touko 24 14:27:25 interworking is standard so there are only 2 sets of libs now touko 24 14:27:42 ooh touko 24 14:27:46 Does my code work? touko 24 14:27:52 and we'll be able to build 946e-s code with no farting around touko 24 14:28:09 or do I have to work extra hard on the next update? touko 24 14:29:17 hmm, interworking slows down function calls by a few cycles, does it not? touko 24 14:29:20 should be fine, I haven't found any particular gotchas yet touko 24 14:30:09 ok, that's good to know touko 24 14:30:18 we're already using interworking code touko 24 14:30:28 even though I am rewriting it, I don't want to have to do it quickly touko 24 14:30:55 ewram is 16bit so ARM code has a slight penalty as it did on GBA touko 24 14:31:09 cache kind of compensates touko 24 14:31:21 yeah. Cache is nice, except for DMA touko 24 14:31:29 but with thumb code the cache is effectively twice as big touko 24 14:32:05 well, 1.6 times wasn't it? touko 24 14:32:15 huh? touko 24 14:32:39 I dunno touko 24 14:33:27 since lsr is another instruction, and no conditional excecution touko 24 14:34:33 well I'll continue another time touko 24 14:45:24 * CHANFIX (chanfix@services.int) has joined #learn2d touko 24 14:45:24 * services.int gives channel operator status to CHANFIX touko 24 14:45:24 * CHANFIX gives channel operator status to Nikolas touko 24 14:45:24 1 client should have been opped. touko 24 14:45:24 * CHANFIX (chanfix@services.int) has left #learn2d touko 24 14:45:46 there ya go :) touko 24 14:45:58 * Nikolas gives channel operator status to LiraNuna touko 24 14:46:10 \o/ touko 24 14:51:07 whoohoo touko 24 14:51:24 \o touko 24 14:51:30 o/ touko 24 14:51:30 chemistry final was today touko 24 14:51:32 LEEEET touko 24 14:51:33 \o/ touko 24 14:51:36 /o/ touko 24 14:51:37 \o\ touko 24 14:51:38 go well? touko 24 14:51:39 :P touko 24 14:51:43 amazing touko 24 14:51:49 and my op is back touko 24 14:51:49 \o/ touko 24 14:51:56 yeah, I opped you touko 24 14:52:01 yeah how touko 24 14:52:03 chanfix dropped by touko 24 14:52:06 oh chanfix touko 24 14:52:08 lol touko 24 14:52:15 * JaJa_ looks at the open psychology book on his desk touko 24 14:52:27 JaJa_: psycology? LOL touko 24 14:52:32 chem ftw touko 24 14:52:41 i do that too touko 24 14:53:23 yes i know touko 24 14:53:30 polyma touko 24 14:53:33 +res ftw touko 24 14:53:44 polymerisation too touko 24 14:53:46 why is the channel so full :P touko 24 14:54:02 everyone wants to learn 2D touko 24 14:54:07 or log this channel touko 24 14:54:40 :) touko 24 14:54:49 anyhow now is 12GMT touko 24 14:54:52 *13 touko 24 14:55:00 i agree with you there touko 24 14:55:03 LUNCH TIME touko 24 14:55:05 lol touko 24 14:55:08 * JaJa_ runs to the kitchen touko 24 14:55:31 i was about to say - i'll go to eat and then we might continue with multiple BGs touko 24 14:55:47 and scrolling touko 24 14:55:50 will be a nice demo touko 24 14:55:58 Liran, are you aware that your ident is broken? touko 24 14:56:03 yes touko 24 14:56:06 fix it! touko 24 14:56:09 mIRC can't run it...!? touko 24 14:56:22 it's a trap touko 24 14:56:26 oh it's using port 113 touko 24 14:56:33 i should forward it touko 24 14:56:46 yes :) touko 24 14:56:56 chanfix will only reop you if you have working ident. touko 24 14:57:00 i have a bad feeling about this touko 24 14:57:13 i'll open that port touko 24 14:57:26 but i need to restart the router for changes to take effects touko 24 14:57:34 orlY? touko 24 14:57:34 which means d/c again ;/ touko 24 14:57:48 Nikolas: save teh op touko 24 14:58:05 k touko 24 14:58:23 * Nikolas sets mode -o Nikolas touko 24 14:58:26 lol touko 24 14:58:39 Firefox can't establish a connection to the server at 192.168.123.254 touko 24 14:58:40 o__O touko 24 14:58:45 ufail touko 24 14:58:48 lol touko 24 14:59:02 is that the right address? touko 24 14:59:05 yes touko 24 14:59:15 there it's working again touko 24 14:59:17 YOU START AT 1 DAMNIT touko 24 14:59:30 not 254 touko 24 15:00:53 * _LiraNuna (LiraNuna@IGLD-83-130-207-145.inter.net.il) has joined #learn2d touko 24 15:00:55 well at least i always do touko 24 15:00:56 <_LiraNuna> am i now ? touko 24 15:01:02 <_LiraNuna> yay touko 24 15:01:05 <_LiraNuna> no more ~ touko 24 15:01:13 yep touko 24 15:01:18 * Nikolas gives channel operator status to _LiraNuna touko 24 15:01:20 * _LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 4: Multiple BGs and scrolling - 24/05/2006 @ ??? touko 24 15:01:33 <_LiraNuna> yay ident touko 24 15:01:41 * _LiraNuna has kicked LiraNuna from #learn2d (Absence makes the heart grow fonder) touko 24 15:01:52 <_LiraNuna> xD touko 24 15:02:25 <_LiraNuna> i've never imagined that i will open a channel and it will have >10 users touko 24 15:02:29 <_LiraNuna> even >5 touko 24 15:02:53 <_LiraNuna> #ToD2 has 8 but that's another story touko 24 15:03:07 quickly everyone leave touko 24 15:03:12 2d has been discussed time and time again in the dev channels. people want to learn it touko 24 15:03:23 <_LiraNuna> Duo: you too? touko 24 15:03:36 =) I tend to be on the teaching side touko 24 15:03:44 <_LiraNuna> yeah i know that touko 24 15:05:01 http://www.flickr.com/photos/pete/152018199/in/set-72057594143224765/ <-- $100 laptops touko 24 15:05:17 <_LiraNuna> 50MHz i bet touko 24 15:05:20 http://laptop.org touko 24 15:05:29 they're for children in developing countries touko 24 15:05:39 <_LiraNuna> omg cute touko 24 15:05:45 i kow touko 24 15:05:47 *know touko 24 15:05:51 loads of people want them touko 24 15:05:58 they remind me a little of the old iBooks touko 24 15:06:50 "The laptop will have a 500MHz processor and 128MB of DRAM, with 500MB of Flash memory; it will not have a hard disk, but it will have four USB ports." touko 24 15:07:02 they had a laptop prototype with a hand crank battery charger =P touko 24 15:07:08 it's got 400mhz in their wiki touko 24 15:07:09 for developing countries touko 24 15:07:20 give those dumb kids something to do besides reproduce touko 24 15:07:34 yeah, or farm touko 24 15:07:39 <_LiraNuna> LOL touko 24 15:08:00 I'm quite happy with my 1GHz laptop =P touko 24 15:08:12 <_LiraNuna> i hate leptops touko 24 15:08:18 they'd be happy with a dell touko 24 15:08:19 <_LiraNuna> i rather carry my DS/PSP touko 24 15:08:20 why? touko 24 15:08:36 <_LiraNuna> they are big touko 24 15:08:55 they run ubuntu touko 24 15:09:10 oh noes, the third world kids are going to become linux hackers touko 24 15:09:41 they have small laptops touko 24 15:09:45 fairly powerful ones too touko 24 15:10:00 <_LiraNuna> lo touko 24 15:10:09 <_LiraNuna> they will sit all day learning to hax touko 24 15:10:15 lol touko 24 15:10:44 and how to warez touko 24 15:11:01 they have wireless built into the machines, shame there aren't any networks touko 24 15:11:03 two wagons will be going down a dirt road... one pulled by a donkey, one powered by gasoline... and the donkey guy will scream HAX! touko 24 15:11:17 no, he'll get another donkey touko 24 15:11:45 JaJa_, all the computers will form an ad-hoc network with each other touko 24 15:11:55 <_LiraNuna> ethernet touko 24 15:12:01 no ethernet touko 24 15:15:40 * [GPF] is now known as GPFaway touko 24 15:18:10 * _LiraNuna is now known as LiraNuna touko 24 15:24:44 * pepsiaway is now known as pepsiman_ touko 24 15:42:26 * pepsiman_ is now known as pepsiaway touko 24 15:58:50 * chishm has quit ( good niight) touko 24 17:09:19 Is there a lesson today? touko 24 17:10:22 I guess so touko 24 17:10:33 "Lesson 4: Multiple BGs and scrolling - 24/05/2006 @ ???" touko 24 17:11:58 I've a question from the example in the previous lesson touko 24 17:12:34 Fire away touko 24 17:12:57 After running a bitmap through gfx2gba and running the prog on my ds, I see tiles but not the complete picture touko 24 17:13:06 Seems like the map is no good touko 24 17:15:31 Lira, i sorted my garbage display out last night touko 24 17:15:35 you know the one with the 1021 tiles in the image touko 24 17:16:18 rodsa, paste your code http://rafb.net/paste/ there and tell me what command you used to convert the image with gfx2gba touko 24 17:16:21 rodsa how many tiles does your image make when you ran it though the gfx2gba prog? touko 24 17:17:04 * StevenH (~~sharriso@sharriso.gotadsl.co.uk) has joined #learn2d touko 24 17:19:49 Nikolas, Done touko 24 17:20:01 And then give me the link to it touko 24 17:20:27 Also rodsa how many tiles did gfx2gba tell you was in your image? touko 24 17:21:09 Nikolas, http://rafb.net/paste/results/YOh88T46.html touko 24 17:21:25 if it's more than 500 you need to change the memory around, to tile 1 and map 0 - that will fix it :D touko 24 17:21:49 back soon touko 24 17:21:55 Steven, first try 15 tiles after optimization touko 24 17:22:13 rodsa, you didn't set the map base touko 24 17:22:53 oops, I'll try again......Thanks touko 24 17:23:29 :) touko 24 17:35:52 * Balleke (noone@d54C1A32C.access.telenet.be) has joined #learn2d touko 24 17:35:52 Gamers needed on WWW.SMISSIE.COM. Register now! touko 24 17:35:52 * Balleke (noone@d54C1A32C.access.telenet.be) has left #learn2d touko 24 17:35:56 Now I get All tiles next to eachother, And then random tiles....Is that what it should look like? touko 24 17:41:29 rodsa: was your image 256x256? touko 24 17:41:49 no 32x32 touko 24 17:50:02 ok I think because your image was 32pixels x 32 pixels your map data isn't big enough. When you set BG_32x32 it is expecting 32 tiles x 32 tiles resulting in an image 256pixelsx256pixels touko 24 17:50:19 Psy know all :D touko 24 17:50:24 heh touko 24 17:50:28 i wish touko 24 17:50:30 got to head to work, back later touko 24 17:50:36 see ya touko 24 17:50:39 you know all about part 1-3 :D touko 24 17:50:49 somewhat touko 24 17:50:52 * StevenH has quit (Read error: Connection reset by peer) touko 24 18:06:39 ... touko 24 18:06:47 * LiraNuna sets mode +p #learn2d touko 24 18:06:58 ok, lesson in half hour? touko 24 18:07:03 yeah touko 24 18:07:13 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 4: Multiple BGs and scrolling - 24/05/2006 @ 16:30 GMT touko 24 18:08:32 * laZmike (laZmike@cpe-65-185-33-43.columbus.res.rr.com) has joined #learn2d touko 24 18:11:39 * poffy (~111728-68@cpe-24-27-97-160.houston.res.rr.com) has joined #learn2d touko 24 18:14:53 LiraNuna, set +s too touko 24 18:15:39 where's the channel log at? touko 24 18:16:32 in my PC ;P touko 24 18:16:40 i'll export to HTML touko 24 18:16:44 hold on touko 24 18:18:07 * Anonymous has quit (Read error: Connection reset by peer) touko 24 18:18:37 * LiraNuna sets mode +s #learn2d touko 24 18:19:09 s'alright I found Nik's touko 24 18:19:12 http://koti.welho.com/plahtin6/files/EFnet-%23learn2d.log touko 24 18:20:34 http://LiraNuna.drunkencoders.com/DS2D.html touko 24 18:20:37 this is the newer touko 24 18:20:40 http://forum.gbadev.org/viewtopic.php?p=84757#84757 touko 24 18:20:54 :) touko 24 18:27:55 1-2 minutes to go touko 24 18:28:24 My problem is fixed (Corel Photopaint BMP export problem), Thanks Psy, Nikolas and StevenH touko 24 18:30:04 what was the problem? touko 24 18:30:39 ok were starting touko 24 18:30:42 The Tiles were not in the correct position touko 24 18:31:22 i see touko 24 18:31:38 ok we start touko 24 18:32:02 someone needs more time to set up? touko 24 18:32:18 please have the first demo we made avaliable touko 24 18:33:07 last lesson we were talking about 16col BGs and flipping flags touko 24 18:33:35 the second lesson was about 256col BGs touko 24 18:33:50 but those were with single BG on the screen touko 24 18:34:08 what if we want to display two or more? touko 24 18:34:26 the DS supports up to 4 BGs on screen - depends on the current video mode touko 24 18:35:12 remember tile bases and map bases? touko 24 18:35:26 no touko 24 18:35:28 lol touko 24 18:35:29 * eKid (~mukunda51@c-67-172-206-10.hsd1.tx.comcast.net) has joined #learn2d touko 24 18:35:34 * LiraNuna sets mode +m #learn2d touko 24 18:35:35 <_< touko 24 18:36:09 those are the key for multi-layered display touko 24 18:36:25 in this example we will use BGs 0 and 1 touko 24 18:37:03 in the first demo - we had enabled BG0 using diplay_cr touko 24 18:37:08 *display touko 24 18:37:15 * Gambit- (gambit@rasterburn.org) has joined #learn2d touko 24 18:37:44 wrapped using libnds its called videoSetMode touko 24 18:37:57 we enabled BG0 by setting it's enable bit - DISPLAY_BG0_ACTIVE touko 24 18:38:11 so we set more - DISPLAY_BG0_ACTIVE | DISPLAY_BG1_ACTIVE touko 24 18:38:45 so the call changes to: touko 24 18:38:59 videoSetMode(MODE_0_2D | DISPLAY_BG0_ACTIVE | DISPLAY_BG1_ACTIVE); touko 24 18:39:21 the BG is active, but not setted up touko 24 18:39:58 we will use our knowladge aboue 16bit color palette sellection to set up 2 BGs and scrolling them touko 24 18:40:08 let me make up an image touko 24 18:40:11 * LiraNuna sets mode -m #learn2d touko 24 18:42:34 * shleeshle (BIGKING@58-84-64-91.dial-lns1.sa.chariot.net.au) has joined #learn2d touko 24 18:43:38 this will take a while... touko 24 18:43:56 photoshop is being gay touko 24 18:44:31 Lira, maybe just use one of the programtic plain color ones from the sprite bitmap example? touko 24 18:45:30 i want an example which will show the scrolling touko 24 18:47:20 sorry for the holdup, here's the image http://www.picfront.com/images/BG.bmp. touko 24 18:47:23 http://www.picfront.com/images/BG.bmp touko 24 18:47:50 download and convert it using gfx2gba - but don't save the palette touko 24 18:48:18 16col mode touko 24 18:49:18 after you've done it, use the second example and set up the BG to show (don't forget to copy the map + set up a palette color in index 1) touko 24 18:50:12 someone's actually with me? touko 24 18:50:36 i just downloaded it touko 24 18:50:40 cool touko 24 18:50:41 I guess I missed a lesson......... touko 24 18:50:48 rodsa: yeah, touko 24 18:51:07 want some time to catch up? touko 24 18:51:30 No, Just continue ....I'll catch up later touko 24 18:51:35 ok touko 24 18:52:16 now that you got the BG showing, touko 24 18:52:33 two more mins touko 24 18:52:40 ok... touko 24 18:54:14 are we replacing the bmps that we used the first time? touko 24 18:54:38 yeah, just replacing for now touko 24 18:56:07 Is the source you're using up somewhere? touko 24 18:56:33 Psy|Work: mind posting it? touko 24 18:57:02 i can in a min touko 24 18:57:08 ok touko 24 18:57:09 i am setting up the palette now touko 24 18:58:12 * shleeshle has quit (Quit: Changed by popular Request - "I am the heart of your darkness, you stinking oompa-loompa morons!") touko 24 18:58:42 this should do right BG_PALETTE[1] = RGB15(31, 0, 0); touko 24 18:58:50 yeah touko 24 19:00:33 * _LiraNuna (LiraNuna@IGLD-83-130-207-145.inter.net.il) has joined #learn2d touko 24 19:00:50 <_LiraNuna> ok that sux touko 24 19:01:19 hummm. I will post code but maybe I didn't convert the bmp touko 24 19:01:22 correctly touko 24 19:01:35 <_LiraNuna> tell me what you have used touko 24 19:01:57 http://rafb.net/paste/results/0Q6O5n14.html touko 24 19:02:13 gfx2gba -m -t8 -c16 BG.bmp touko 24 19:02:33 i see the problem touko 24 19:02:36 i think touko 24 19:03:10 ok. i forgot to change the BG_COLORS_256 to _16 touko 24 19:03:16 *-S touko 24 19:03:19 <_LiraNuna> :) touko 24 19:03:24 it works touko 24 19:03:58 <_LiraNuna> cool, great touko 24 19:04:17 <_LiraNuna> now we set up the same BG but colored green touko 24 19:04:23 <_LiraNuna> we will use BG1 for that touko 24 19:05:03 <_LiraNuna> since the BGs are using the same tileset - but we will use diffrent maps for diffrent palette settings - as learnt on last lesson touko 24 19:05:49 * LiraNuna has quit (Ping timeout: 360 seconds) touko 24 19:05:58 <_LiraNuna> set up BG1_CR to use 16col, 32x32 in size using the same tileset but diffrent map base touko 24 19:07:02 <_LiraNuna> you will not see the BG yet - touko 24 19:07:07 <_LiraNuna> as the first one will hide i touko 24 19:07:09 <_LiraNuna> *it touko 24 19:08:09 <_LiraNuna> but using dualis's map viewer - you should see it touko 24 19:08:13 so like this? BG0_CR = BG_32x32 | BG_TILE_BASE(0) | BG_COLOR_16 | BG_MAP_BASE(31); touko 24 19:08:13 BG1_CR = BG_32x32 | BG_TILE_BASE(0) | BG_COLOR_16 | BG_MAP_BASE(8); touko 24 19:08:39 <_LiraNuna> nice touko 24 19:09:00 <_LiraNuna> so now to set up the second BG to use the same map - but diffrent touko 24 19:09:17 we didn't set a map for BG1 so how would we see it touko 24 19:09:17 <_LiraNuna> we will loop and copy the original map - but with the palette settings touko 24 19:09:24 <_LiraNuna> :) touko 24 19:09:46 nevermind touko 24 19:09:48 mis read touko 24 19:10:12 <_LiraNuna> for(int i=0; i<32*32; ++i) { ((u16*)BG_MAP_RAM(8))[i] = bgMap_bin[i] | BIT(12); } touko 24 19:10:20 <_LiraNuna> anyone doesn't understand what i just did? touko 24 19:10:47 of course touko 24 19:10:59 <_LiraNuna> you do - or do not? touko 24 19:13:04 <_LiraNuna> i guess you do touko 24 19:13:39 <_LiraNuna> using dualis's map editor - you should see the BG that is hidden - BG1 touko 24 19:13:46 oops, i read it as "anyone understand what i just did?" touko 24 19:14:13 <_LiraNuna> hehe touko 24 19:14:45 <_LiraNuna> now for scrooling touko 24 19:15:03 <_LiraNuna> scrolling is a special feature allows us to change the position of the BG touko 24 19:15:24 <_LiraNuna> the BG is wrapable - there's no way to change that (except for affine BG or extended affine BGs) touko 24 19:15:52 <_LiraNuna> wrapable means that the BG itslef will be a huge tile and will repeate itself over and over again touko 24 19:16:22 <_LiraNuna> there are 8 scroll registers touko 24 19:16:30 <_LiraNuna> BGx_X0 and BGx_Y0 touko 24 19:16:49 <_LiraNuna> they a re both 16bit - but not everything is used touko 24 19:17:13 <_LiraNuna> those registers are write only touko 24 19:17:26 <_LiraNuna> that means we can't do BG0_X0++; touko 24 19:17:43 <_LiraNuna> we need a variable to keep track of the current position of the BG touko 24 19:18:16 <_LiraNuna> why don't create 4 variable - posX1, posX2, posY1 and posY2 touko 24 19:18:28 <_LiraNuna> all of them typed u16 touko 24 19:18:47 <_LiraNuna> those will be used to keep track of the curent position touko 24 19:19:02 <_LiraNuna> we will also change those variables touko 24 19:19:10 <_LiraNuna> and write them directly to the registers touko 24 19:19:18 <_LiraNuna> BG0_X0 = posX0; touko 24 19:19:24 <_LiraNuna> BG1_X0 = posX1; touko 24 19:19:34 <_LiraNuna> BG0_Y0 = posY0; touko 24 19:19:40 <_LiraNuna> BG1_Y0 = posY1; touko 24 19:20:10 <_LiraNuna> yes - it's that easy touko 24 19:20:48 <_LiraNuna> to infintly scroll a BG touko 24 19:21:01 <_LiraNuna> just increase the variable touko 24 19:21:20 <_LiraNuna> but when you will do that - you will notice that the BG will be teared touko 24 19:21:28 <_LiraNuna> so we have to wait for VBlank touko 24 19:21:46 <_LiraNuna> VBlank accures everytime the HW finished drawing a vertical line of the screen touko 24 19:21:52 <_LiraNuna> which means - a whole frame touko 24 19:22:14 * _LiraNuna is now known as LiraNuna touko 24 19:22:29 that will render us the BGs at a nice 60FPS touko 24 19:22:43 to enable the Vblank IRQ and wait touko 24 19:22:55 we will use libnds's (crappy) IRQ handler touko 24 19:23:19 irqInit() // Call this after the setup of POWER_CR touko 24 19:23:28 irqEnable(IRQ_VBLANK); touko 24 19:23:49 by this you enabled the VBlank IRQ - and let the HW know you will use it touko 24 19:24:03 but this will still won't render your frames at 60 fps touko 24 19:24:32 inside your main loop, where you scroll the BG, add swiWaitForVBlank(); touko 24 19:24:56 this BIOS call will halt the CPU untill the frame finished drawing touko 24 19:26:33 try scrolling the BGs using diffrent speeds touko 24 19:26:39 (diffrent increase rates) touko 24 19:26:48 and see the BGs scroll behind each other touko 24 19:27:21 now i will give the new users time to catch up touko 24 19:27:50 ouch that hurts my eyes touko 24 19:28:30 * _LiraNuna (LiraNuna@IGLD-83-130-207-145.inter.net.il) has joined #learn2d touko 24 19:28:41 <_LiraNuna> ... touko 24 19:28:56 * _LiraNuna points at mr. internet - YOU SUCK touko 24 19:29:58 <_LiraNuna> (Psy|Work) ouch that hurts my eyes touko 24 19:30:35 Psy|Work, care to put up a copy? touko 24 19:33:49 * LiraNuna has quit (Ping timeout: 360 seconds) touko 24 19:34:14 * _LiraNuna is now known as LiraNuna touko 24 19:37:53 is that the end of lesson 4 touko 24 19:38:03 yes touko 24 19:38:29 it might not be a lot, but i better give out small parts touko 24 19:38:31 need to find time to read these touko 24 19:39:32 quite boring writing tons of operator functions touko 24 19:45:35 http://www.stlwd.com/DS.nds touko 24 19:47:40 Psy, I meant the source :) touko 24 19:48:12 yeah touko 24 19:48:37 ouch my eyes touko 24 19:48:40 ;p touko 24 19:48:56 http://rafb.net/paste/results/eAhfk951.html touko 24 19:51:10 LiraNuna: When do you think the next one will be? touko 24 19:52:19 basic techniques touko 24 19:52:21 i guess touko 24 19:52:30 i still got lots of basics to cover touko 24 19:52:35 such as 64x64 maps touko 24 19:53:18 or extended paletter touko 24 19:53:20 *s touko 24 19:54:17 * Psy|Work is now known as Psy|Away touko 24 19:54:53 bbl. I have loggin on so if you teach I will have it. touko 24 19:55:59 ok touko 24 20:03:30 now to clean up my r00m touko 24 20:11:16 * LiraNuna pokes Nikolas with auto-op touko 24 20:11:23 * Nikolas gives channel operator status to LiraNuna touko 24 20:13:36 * LynxNet01 (~LynxNet01@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has joined #learn2d touko 24 20:13:44 * [DS]LynxW (~jzawacki@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has joined #learn2d touko 24 20:14:12 <[DS]LynxW> op net01 to see what it does. touko 24 20:14:43 * [DS]LynxW pokes LiraNuna touko 24 20:15:16 * Nikolas gives channel operator status to [DS]LynxW touko 24 20:15:25 * Nikolas gives channel operator status to LynxNet01 touko 24 20:15:28 * Nikolas removes channel operator status from [DS]LynxW touko 24 20:15:29 * LynxNet01 gives channel operator status to [DS]LynxW touko 24 20:15:47 <[DS]LynxW> :/ touko 24 20:16:05 <[DS]LynxW> hold on touko 24 20:17:04 * LynxNet01 removes channel operator status from [DS]LynxW touko 24 20:17:19 * [DS]LynxW (~jzawacki@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has left #learn2d touko 24 20:17:28 * [DS]LynxW (~jzawacki@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has joined #learn2d touko 24 20:18:58 * LynxHome (~LynxHome@c-71-201-239-33.hsd1.il.comcast.net) has joined #learn2d touko 24 20:19:16 <[DS]LynxW> hold touko 24 20:19:37 * pepsiaway is now known as pepsiman_ touko 24 20:20:43 * LynxNet01 gives channel operator status to LynxHome touko 24 20:23:13 * LynxNet01 (~LynxNet01@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has left #learn2d touko 24 20:23:29 * LynxNet01 (~LynxNet01@adsl-68-20-197-90.dsl.chcgil.ameritech.net) has joined #learn2d touko 24 20:23:52 <[DS]LynxW> hold touko 24 20:23:55 * LynxHome gives channel operator status to LynxNet01 touko 24 20:23:57 <[DS]LynxW> :) touko 24 20:24:11 <[DS]LynxW> should be all set. touko 24 20:26:39 :) touko 24 20:26:50 back touko 24 20:26:54 thanks touko 24 20:29:34 :O a bot? touko 24 20:29:43 yes touko 24 20:29:44 what flavor? touko 24 20:29:52 strawberry touko 24 20:31:38 i want vanilla touko 24 20:32:02 Bot->setFlavor(vanilla); touko 24 20:32:06 happy? touko 24 20:32:21 sprinkles? touko 24 20:32:39 Bot->setSprinkles(true); touko 24 20:32:46 \o/ touko 24 20:32:59 * JaJa_ eats the bot touko 24 20:35:26 * Anonym (cedric@c01v-212-194-170-190.n.club-internet.fr) has joined #learn2d touko 24 20:36:05 * Anonym (cedric@c01v-212-194-170-190.n.club-internet.fr) has left #learn2d touko 24 20:54:52 :o touko 24 20:55:01 * Whacko eats the pizza touko 24 20:55:44 PIZZA? touko 24 20:55:55 i wish i had a pizza :( touko 24 20:57:20 grr touko 24 20:57:25 i want piza too :( touko 24 20:57:27 +z touko 24 20:57:54 its in teh oven :P touko 24 20:58:04 * Whacko checks on it touko 24 21:01:39 its not delivery? touko 24 21:01:57 * Psy|Away is now known as Psy|Work touko 24 21:02:06 not today :P touko 24 21:02:59 i had to have an excuse to go to the sup[ermarket :P theres a cute girl who works there :) touko 24 21:03:15 its digiorno! touko 24 21:03:29 digiorno? touko 24 21:03:33 heh. Good reason touko 24 21:03:54 ;) touko 24 21:04:04 We have commercials that says it not delivery it's digiorno touko 24 21:04:10 oh touko 24 21:04:12 its a fact. Look it up touko 24 21:04:20 I heard it on the radio touko 24 21:04:47 really? i heard it on the news touko 24 21:05:25 "Check the facts folks, 1987." touko 24 21:05:28 "Digiornio has taken responsibility for todays actions... in other news ..." touko 24 21:11:00 btw... is there somewhere where I can learn DS 2D programming? like a chan or something? >=] touko 24 21:14:53 omg funny touko 24 21:16:29 when do we get to #learn3d? touko 24 21:16:45 now touko 24 21:16:46 :P touko 24 21:17:49 pepsiman_, laZmike did one a while ago touko 24 21:18:24 <[DS]LynxW> this stuff needs to be published better.. touko 24 21:18:28 <[DS]LynxW> or.. advertised better.. touko 24 21:19:02 http://koti.welho.com/plahtin6/index.html#learn2d touko 24 21:19:19 just submit it to nintendev.com :P youll have 2 viewers everyday ;P touko 24 21:19:37 err touko 24 21:19:49 http://LiraNuna.drunkencoders.com/DS2D.html touko 24 21:19:54 mine is updated ;P touko 24 21:20:06 <[DS]LynxW> I mean.. prior to the actual event. touko 24 21:20:35 Liran, I post my log in my site once in a while too touko 24 21:20:42 oh ok touko 24 21:20:43 <[DS]LynxW> aka = 06/24/2006, LiraNuna will be providing a free course on NDS 2D development.. touko 24 21:20:46 just updated a minute ago touko 24 21:20:47 i export it to HTML touko 24 21:21:42 <[DS]LynxW> And then get it posted to a bunch of sites. touko 24 21:21:49 any courses tomorrow? touko 24 21:23:34 pepsiman_: Lost finale tonight right? :P i hate you for seeing it first :( touko 24 21:23:34 yeah touko 24 21:23:47 you acn allways ask for questions too touko 24 21:24:02 Whacko, i'm in the UK touko 24 21:24:20 LiraNuna: nah... i just wanna be there when you give one :P touko 24 21:24:27 pepsiman_: oh :P touko 24 21:24:31 :P touko 24 21:24:32 lost was last night touko 24 21:24:38 was it? touko 24 21:24:47 episode 5 of series 2 touko 24 21:24:48 isnt it wednesday nights? touko 24 21:24:53 oh :P touko 24 21:25:14 wednesday is desperate housewives series 2 touko 24 21:26:07 ascension day tomorrow :D touko 24 21:26:17 that means i have a day off :D touko 24 21:32:13 woot touko 24 21:32:36 w00d touko 24 21:33:28 how much bandwidth do i get to suck up on ekid.nintendev.com? touko 24 21:33:55 theres no limit... but my domain has a 50GB limit p/mo touko 24 21:34:21 mmkay :) touko 24 21:36:44 now eKid uploads 20 Gigs of porn to his site and posts the adress to teh interweb touko 24 21:37:05 he already did ;) touko 24 21:37:16 lol touko 24 21:37:27 only 20gig? touko 24 21:37:27 its eKiddy-pr0n :P touko 24 21:37:33 lol touko 24 21:37:34 er... touko 24 21:37:44 <_< touko 24 21:37:50 ^_^ touko 24 21:37:53 just joking :P touko 24 21:37:54 >_> touko 24 21:37:59 >_> touko 24 21:38:06 damn, is there an upside down ^? touko 24 21:38:15 v_v touko 24 21:38:20 gay touko 24 21:38:29 yes you are touko 24 21:38:32 :o touko 24 21:38:36 >_< touko 24 21:38:42 <_> touko 24 21:38:52 touko 24 21:39:09 \o> touko 24 21:39:18 eeeeeeeeeey macarena touko 24 21:39:21 haay touko 24 21:39:43 the body will pose a problem touko 24 21:39:59 put it in a wheelchair :P touko 24 21:40:05 * JaJa_ improvises touko 24 21:40:08 \o/ touko 24 21:40:09 \o/ touko 24 21:40:09 |u| touko 24 21:40:11 \o\ touko 24 21:40:13 ... touko 24 21:40:22 /o/ touko 24 21:40:37 touko 24 21:41:03 ... touko 24 21:41:04 and the finale touko 24 21:41:05 \o/ touko 24 21:41:40 you should be a cheerleader for textmatches touko 24 21:41:42 :x touko 24 21:42:03 lol touko 24 21:42:13 spellingBee cheeleader >_<; touko 24 21:42:18 +r touko 24 21:45:40 porno cheerleader touko 24 21:46:13 -_- touko 24 21:46:41 * Gambit- (gambit@rasterburn.org) has left #learn2d touko 24 21:49:53 I CAN HEAR YOU TYPING touko 24 21:49:59 STOP TYPING touko 24 21:50:33 naked blood is an interesting movie touko 24 21:51:01 this girl cuts off her labia, a nipple, and forks her eye touko 24 21:51:04 then eats it all touko 24 21:51:18 awesome touko 24 21:51:23 from 95 touko 24 21:51:31 i think i heard about it before touko 24 21:51:43 and near the end, these two people have sex while they both have virtual reality helmets on..... touko 24 21:53:36 http://antiotter.livejournal.com/144625.html touko 24 21:53:45 ^ guy nearly got shot playing WoW touko 24 21:55:36 that sucks touko 24 21:56:46 heh, love this comment "pretty tough when yer neighbor plays CS in real life. and is a wallhacker to boot..." touko 24 21:56:49 wtf touko 24 22:01:31 hahe touko 24 22:02:06 hahaha touko 24 22:02:31 sent my friend a clip from the movie, he was like "omfgbrbbbq WTF?!!?!?!?!" touko 24 22:03:17 NEDM touko 24 22:03:23 nedm? touko 24 22:03:39 You're not into YTMND stuff? touko 24 22:03:54 no, most are terrible touko 24 22:03:57 * Tharo41 (~Miranda@pD9E0615F.dip.t-dialin.net) has joined #learn2d touko 24 22:04:05 Not all of them touko 24 22:04:16 "most are terrible" touko 24 22:04:28 http://gapinganusmickey.ytmnd.com/ touko 24 22:04:32 hi. i have some questions touko 24 22:05:17 it's a mickey mouse camera with text that says click touko 24 22:05:23 that is the most terrible one _ever_ touko 24 22:05:25 ... touko 24 22:05:26 Fire away Tharo41 touko 24 22:05:45 It's a goatse reference touko 24 22:05:52 that is the most terrible one _ever_ touko 24 22:06:28 http://mathpwned.ytmnd.com/ touko 24 22:06:31 i don't look at guys doing weird stuff to their assholes touko 24 22:07:01 http://tcruiseko.ytmnd.com/ touko 24 22:07:52 LOL touko 24 22:13:39 * Tharo41 has quit (Ping timeout: 360 seconds) touko 24 22:22:14 * Tharo41 (~Miranda@pD9E053B0.dip.t-dialin.net) has joined #learn2d touko 24 22:27:34 * Alone (Alone@dsl-hkigw7-fe1df900-241.dhcp.inet.fi) has joined #learn2d touko 24 22:55:00 you all fail at ytmnd touko 24 22:56:06 :o touko 24 22:56:12 damn, wheres the timetravller oe touko 24 22:56:43 http://timetraveler.ytmnd.com/ touko 24 22:57:31 lol touko 24 23:01:08 Push it to the limit touko 24 23:01:41 * StevenH (~~sharriso@sharriso.gotadsl.co.uk) has joined #learn2d touko 24 23:01:57 Damm did I miss the leasson today? touko 24 23:02:04 lesson 4 touko 24 23:02:09 yeah touko 24 23:02:20 * LiraNuna has changed the topic to: Nintendo DS 2D Hardware courses | Lesson 5: Disclosed touko 24 23:02:23 You are a bad student :) touko 24 23:02:54 GAH - Thankfully I have another me logging it :D touko 24 23:03:19 :) touko 24 23:07:12 A substitute touko 24 23:07:29 I hope i would have one at merchant school :D touko 24 23:17:18 Nicolaaaaaa touko 24 23:17:40 <_< touko 24 23:17:52 That was a message for nikolas touko 24 23:18:06 there's this thing called P< touko 24 23:18:08 *PM touko 24 23:18:14 Oh really :o touko 24 23:18:26 It was a public message touko 24 23:34:46 * pepsiman_ is now known as pepsiaway tou