--- Log opened Tue Mar 11 00:00:01 2008 00:02 < Keripo> will using "unlink()" on a non-symlinked file have any consequences? 00:05 -!- syamajala2 [n=syamajal@c-75-68-225-205.hsd1.vt.comcast.net] has quit [] 00:21 -!- amiconn [n=jens@rockbox/developer/amiconn] has quit [Nick collision from services.] 00:21 -!- amiconn [n=jens@rockbox/developer/amiconn] has joined #ipodlinux 00:29 < Keripo> I can't seem to upload a patch file to trac >_< 00:34 -!- syamajala2 [n=syamajal@c-75-68-225-205.hsd1.vt.comcast.net] has joined #ipodlinux 00:35 < Keripo> "Trac detected an internal error: OSError: [Errno 13] Permission denied: '/var/extras/ipltrac/attachments/ticket/74' " 00:35 -!- calamari [n=calamari@ip24-255-58-177.tc.ph.cox.net] has joined #ipodlinux 00:35 < calamari> c 00:35 -!- calamari [n=calamari@ip24-255-58-177.tc.ph.cox.net] has left #ipodlinux ["Leaving"] 00:41 -!- dandaman32 [n=dan@h63.59.17.98.ip.alltel.net] has joined #ipodlinux 00:43 < dandaman32> random thought relating to nano 2g: "We could stick the linux kernel on there, but it would try to decrypt it as it booted, which would be futile because we didn't encrypt it in the first place." (forum quote from imphasing) -- or, stick a bunch of nul bytes on there and see what it decrypts to if jtag is working. 00:47 -!- uwe_ [n=uwe@dslb-084-056-028-126.pools.arcor-ip.net] has joined #ipodlinux 00:49 < Keripo> you say "see what it decrypts to". the problem is that theres no way to get the output ; ) 00:49 < dandaman32> which is why i added "if jtag is working" 00:49 < dandaman32> ;-) 00:51 < Keripo> do you by any chance have the hardware for reading? (crosses fingers) 00:53 < dandaman32> no -- but i do have a second gen nano that i _might_ be looking to get rid of soon 00:54 * Keripo points to davidc 00:54 < Keripo> If I remember correctly, he's the one with all the hardware tools 00:55 < Keripo> the more iPods available for (destructive) reverse engineering, the better ; ) 01:00 -!- uwe__ [n=uwe@dslb-084-056-042-147.pools.arcor-ip.net] has quit [Read error: 113 (No route to host)] 01:03 < Keripo> http://ipl.nonb.org/ticket/74 01:04 < Keripo> courtc: please please pretty please ; ) 01:10 < Keripo> forks = bad, therefore I shall keep bugging about #74 here until I either get a yay or nay ; ) 01:15 -!- syamajala2 [n=syamajal@c-75-68-225-205.hsd1.vt.comcast.net] has quit [] 01:46 < dandaman32> i suppose it's safe to assume that people have already tried sticking a NUL byte into a note? 01:47 < Keripo> not sure exactly what was tried and what has yet to be tried but feel free to go ahead and try anyway 01:47 < Keripo> IRC is usually a very quiet place so unless you PM a dev directly, you're unlikely to receive a response within 5 hours ; ) 01:48 < Keripo> (timezone differences too) 01:48 < dandaman32> understandable :) heck i never get around to replying in my own channels on here. 01:48 < dandaman32> i might give a go at loading a hacked PNG onto there. i know a bit about the PNG spec and it would in theory be easy to lie about the length of a stream 01:54 < Keripo> if you have an iPod with iTunes games, you can try playing around with the splash images 01:54 -!- GPT [n=GPT@unaffiliated/gpt] has joined #ipodlinux 01:54 < Keripo> I remember reading a while back about how you can edit the splash images and it'll still load, but game-images don't or something like that 01:55 < Keripo> very much doubt that you'll be able to exploit it somehow but the image format isn't standard so you might be able to somehow poke a hole somewhere 01:55 < dandaman32> ok, thanks. 02:02 -!- Keripo [n=Keripo@CPE001111e441f8-CM001a6680d4fe.cpe.net.cable.rogers.com] has quit [Read error: 104 (Connection reset by peer)] 03:02 -!- flynux [n=flynux@2a01:38:0:0:0:0:0:1] has quit [simmons.freenode.net irc.freenode.net] 03:02 -!- uwe_ [n=uwe@dslb-084-056-028-126.pools.arcor-ip.net] has quit [simmons.freenode.net irc.freenode.net] 03:02 -!- iT|Freel [n=iT|Freel@jupiter.hagric.net] has quit [simmons.freenode.net irc.freenode.net] 03:02 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has quit [simmons.freenode.net irc.freenode.net] 03:02 -!- fxb__ [n=felixbru@h1252615.stratoserver.net] has quit [simmons.freenode.net irc.freenode.net] 03:02 -!- HardDisk_WP [n=Marco@wikipedia/harddisk] has quit [simmons.freenode.net irc.freenode.net] 03:02 -!- Bi-noix [n=Binoix@nor75-3-82-226-37-131.fbx.proxad.net] has quit [simmons.freenode.net irc.freenode.net] 03:03 -!- uwe_ [n=uwe@dslb-084-056-028-126.pools.arcor-ip.net] has joined #ipodlinux 03:03 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has joined #ipodlinux 03:03 -!- Bi-noix [n=Binoix@nor75-3-82-226-37-131.fbx.proxad.net] has joined #ipodlinux 03:03 -!- fxb__ [n=felixbru@h1252615.stratoserver.net] has joined #ipodlinux 03:03 -!- flynux [n=flynux@2a01:38:0:0:0:0:0:1] has joined #ipodlinux 03:03 -!- iT|Freel [n=iT|Freel@jupiter.hagric.net] has joined #ipodlinux 03:03 -!- HardDisk_WP [n=Marco@wikipedia/harddisk] has joined #ipodlinux 03:04 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has quit [SendQ exceeded] 03:05 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has joined #ipodlinux 03:05 -!- uwe_ [n=uwe@dslb-084-056-028-126.pools.arcor-ip.net] has quit [Remote closed the connection] 03:08 -!- uwe_ [n=uwe@dslb-084-056-028-126.pools.arcor-ip.net] has joined #ipodlinux 03:37 -!- McEnroe [n=eduard@adsl-69-152-144-3.dsl.elpstx.swbell.net] has joined #ipodlinux 03:38 < McEnroe> Hi. I have a problem with MPD. ipl freezes with the "Initializing Modules\nMPD" screen. 03:46 < McEnroe> I found the reason... the mpd binary is missing... 03:53 -!- GPT [n=GPT@unaffiliated/gpt] has quit ["oh no, my computer fell asleep!"] 04:02 -!- brokenbin [n=brokenbi@bas3-toronto47-1279428085.dsl.bell.ca] has joined #ipodlinux 04:02 < brokenbin> does anyone have nano 3G here? 04:09 -!- ionics [n=ionics@bas3-toronto47-1279428085.dsl.bell.ca] has joined #ipodlinux 04:09 < ionics> hi 04:09 < ionics> can someone help me restoring my ipod? 04:10 -!- lilpope [n=lilpope3@63.228.188.15] has joined #ipodlinux 04:10 -!- ionics [n=ionics@bas3-toronto47-1279428085.dsl.bell.ca] has quit [Client Quit] 04:11 -!- brokenbin [n=brokenbi@bas3-toronto47-1279428085.dsl.bell.ca] has quit [] 04:14 < lilpope> anything new in ipl community? 04:28 < courtc> K 04:29 < courtc> Keripo: (if you are a log reader...) I don't really like thge way you do it, but I'll fix it up and ci on the morrow. 04:33 -!- GPT [n=GPT@unaffiliated/gpt] has joined #ipodlinux 04:37 < GPT> I've seen all kinds of different ways to put timers into applications... what's the best way to do it? I've gotten myself all confuzzled over it and ended up with PodPool crashing two seconds after I run it >_< 04:39 -!- lilpope [n=lilpope3@63.228.188.15] has quit [Read error: 104 (Connection reset by peer)] 06:01 -!- kevipapo [n=chatzill@ppp-71-139-33-136.dsl.snfc21.pacbell.net] has joined #ipodlinux 06:01 -!- kevipapo [n=chatzill@ppp-71-139-33-136.dsl.snfc21.pacbell.net] has left #ipodlinux [] 06:52 -!- Mathiasdm [n=Mathias@vpnc120.ugent.be] has joined #ipodlinux 06:52 -!- Mathiasdm [n=Mathias@vpnc120.ugent.be] has quit [Read error: 104 (Connection reset by peer)] 07:19 < rvvs89> GPT: You got the memos right? 07:20 < rvvs89> GPT: The best way to impl a timer depends entirely on what you're trying to do 07:29 -!- GPT [n=GPT@unaffiliated/gpt] has quit [""Evolution of the smiley: ._. o_o O_O 0_0 (•)_(•) (#)_(#)" ~GPT"] 07:53 -!- Mathiasdm [n=Mathias@d54C1AA49.access.telenet.be] has joined #ipodlinux 08:08 -!- GPT [n=GPT@unaffiliated/gpt] has joined #ipodlinux 08:34 < GPT> I did a search and couldn't find anything, so here goes: make'ing podzilla2 gives me a warning: "podpool.c:83: warning: passing arg 5 of `pz_old_window' from incompatible pointer type". arg 5 is "draw_podpool". draw_podpool is static, returns void, and accepts PzWidget *wid and ttk_surface srf. any ideas what could be causing this? 08:39 < rvvs89> Could you paste podpool.c in a pastebin? 08:39 < GPT> yeah, h/o 08:41 < GPT> http://gpt.pastey.net/83610 08:41 < GPT> it's messy and long, sorry... first program I've written since Hello World five years ago. ^_^ 08:44 < rvvs89> :O lines 456-459 08:44 < GPT> ^_^ 08:44 < rvvs89> You might want to use some #defines to make that more readable 08:44 < GPT> heh, I forgot about #defines 08:45 < GPT> it used to be like ten or twelve reasonably short lines in the code miz dawg provided... but I didn't feel like declaring a couple extra variables, so I did that instead. like I say, it's messy... 08:50 < rvvs89> Oh, I see, you're using PZ_COMPAT 08:51 < GPT> is that a bad thing? I really have no idea what it does, just realized it lets me do "static GR_TIMER_ID podpool_timer_id;" 'cause I'm trying to shove in a timer, or something... and I got meself all confused between that and pz_widget_set_timer 08:53 < rvvs89> That exists because podzilla0 uses a different API, and people writing TTK wanted it to be compatible with that 08:53 < rvvs89> By defining that, pz_new_window no longer returns a Pz_Window 08:53 < GPT> oh... so it's sort of almost deprecated, sort of thing? 08:53 < rvvs89> Yar 08:54 < GPT> oh, now line 83's comment makes a bit more sense, heh 08:54 < rvvs89> It changes a lot of things, you don't want to use it unless you were using it from the start 08:54 < GPT> from the start, I went off of [[Modifying Podzilla]] and made my own loop_podpool function and went from there. 08:59 < rvvs89> Ok, you need to create a widget, which is basically a GUI control 08:59 < rvvs89> And set the event handlers of the widget to those you're setting for the window currently 09:01 < GPT> so something like... "PzWidget *wid;" "wid = pz_widget_set_timer(pz_add_widget(ret, draw_podpool, event_podpool), 100);"? 09:02 < rvvs89> Not quite, because pz_widget_set_timer doesn't return anything, according to the documentation 09:03 < rvvs89> "wid = pz_add_widget(ret, draw_podpool, event_podpool);" "pz_widget_set_timer(wid, 100);" "wid->timer = loop_podpool;" 09:04 < GPT> o, I see... 09:06 < GPT> so now, with those lines in place, I can just take out the entire "case GR_EVENT_TYPE_TIMER:" section from lines 125 to 131, right? 09:07 < rvvs89> Yeah 09:07 < rvvs89> Also, be sure to add the widget to the window 09:08 < GPT> Widgets completely throw me off, btw... what does that mean? >_< 09:09 < GPT> oh wait... "pz_add_widget(ret, draw_podpool, event_podpool);"? 09:10 < rvvs89> ^wYeah, my bad, you're already adding it 09:10 < GPT> o 09:10 < GPT> oh, hey, I am, cool ^_^ 09:11 < GPT> now I'm getting "podpool.c:85: warning: assignment from incompatible pointer type". line 85 is: "wid->timer = loop_podpool;" 09:12 < rvvs89> change the function declaration for loop_podpool to "static void loop_podpool(PzWidget wid);" 09:14 < GPT> didn't fix it... but cube.c, which has "wid->timer = cube_loop;", has cube_loop as an int... should loop_podpool be an int instead? 09:15 < GPT> yep, making it an int fixed it. 09:15 < rvvs89> Err, static void loop_podpool(PzWidget *wid); 09:16 < GPT> O_o odd, that's what I typed... yay, I think I'm getting the hang of this! \o/ 09:16 < rvvs89> I don't have much of a development environment here :P 09:17 < rvvs89> Or, I do, I just don't know how to use vim 09:19 < GPT> alright... PodPool is in the menu, it loads, it draws everything... and either the event handler isn't doing its job or the drawer isn't doing its job. pressing "m" goes back to the menu, so I'm inclined to think it's the drawer 09:19 < GPT> thanks for all your help, by the way... I got your memo, and I've managed to build podzilla for my desktop--saves me a *lot* of time in debugging. :) 09:20 < rvvs89> Yeah, rebooting, diskmode, rebooting, boot linux, takes far too long 09:22 < GPT> actually, it looks like there are *two* things the draw handler might be doing wrong... the fact that it just sits there, and now also starting at line 194, even though playerOneBall and playerTwoBall are both "0", oneBall is being drawn there... which should only happen "if(playerOneBall = 1)" or "if(playerOneBall = 2)"... :( 09:24 < rvvs89> Well, at least you know it's not stuck in an infinite loop 09:24 < rvvs89> Or else you wouldn't have got back to the menu 09:24 < GPT> yeah 09:26 < rvvs89> Does it draw anything at all? 09:26 < GPT> it draws the header, the table, all the balls, "Player 1" at the top left, a solid ball at the top right (which it shouldn't be doing) and most of the cue (which I'm looking into right now). 09:27 < GPT> which is really a lot more than I was ever sure I would get when I first started ^_^ 09:28 < rvvs89> :P 09:28 < rvvs89> Well, good luck debugging that, looks like hours of fun 09:28 < GPT> thanks 09:45 -!- Mathiasdm [n=Mathias@d54C1AA49.access.telenet.be] has quit ["Yuuw!"] 09:47 -!- perror [n=fleury@aldebaran.labri.fr] has joined #ipodlinux 10:44 -!- GPT [n=GPT@unaffiliated/gpt] has quit [""Evolution of the smiley: ._. o_o O_O 0_0 (•)_(•) (#)_(#)" ~GPT"] 10:51 -!- Luke [n=luke@c-98-223-82-133.hsd1.in.comcast.net] has quit [Read error: 110 (Connection timed out)] 11:36 -!- Mathiasdm [n=Mathias@d54C1AA49.access.telenet.be] has joined #ipodlinux 13:15 -!- Luke [n=luke@c-98-223-82-133.hsd1.in.comcast.net] has joined #ipodlinux 13:15 -!- mode/#ipodlinux [+o Luke ] by ChanServ 13:32 -!- RedDak [n=dak@79.3.89.65] has joined #ipodlinux 14:00 -!- CIA-46 [n=CIA@208.69.182.149] has quit [] 14:01 -!- Luke [n=luke@c-98-223-82-133.hsd1.in.comcast.net] has quit [Read error: 113 (No route to host)] 14:03 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has quit [Client Quit] 14:04 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has joined #ipodlinux 14:11 -!- CIA-45 [n=CIA@208.69.182.149] has joined #ipodlinux 14:13 -!- Mathiasdm [n=Mathias@d54C1AA49.access.telenet.be] has quit ["Yuuw!"] 14:46 -!- RedDak [n=dak@79.3.89.65] has quit [Remote closed the connection] 15:00 -!- imphasing [n=imphasin@209.155.68.130] has joined #ipodlinux 15:13 -!- RedDak [n=dak@host65-89-dynamic.3-79-r.retail.telecomitalia.it] has joined #ipodlinux 15:57 -!- RedDak [n=dak@host65-89-dynamic.3-79-r.retail.telecomitalia.it] has quit [Remote closed the connection] 16:30 -!- Mathiasdm [n=Mathias@vpnd020.ugent.be] has joined #ipodlinux 16:52 -!- Mathiasdm [n=Mathias@vpnd020.ugent.be] has quit ["Yuuw!"] 16:54 -!- Mathiasdm [n=Mathias@vpnd020.ugent.be] has joined #ipodlinux 17:28 -!- Mathiasdm [n=Mathias@vpnd020.ugent.be] has quit ["Yuuw!"] 18:15 -!- GPT [n=GPT@unaffiliated/gpt] has joined #ipodlinux 18:32 -!- syamajala2 [n=syamajal@c-75-68-225-205.hsd1.vt.comcast.net] has joined #ipodlinux 18:33 -!- imphasing [n=imphasin@209.155.68.130] has quit [Client Quit] 19:01 -!- imphasing [n=imphasin@209.155.68.130] has joined #ipodlinux 19:01 -!- perror [n=fleury@aldebaran.labri.fr] has quit ["Ex-Chat"] 19:27 < GPT> now *everything* in PodPool seems to be working... except the draw function. I see no difference between the way my new_module_window, PzWindow, and PzWidget work and the way the same in cube.c work... but, if I put "pz_message("hi");" in the middle of each program's draw function, the message box pops up *every* frame when I run Cube... and only when I first launch PodPool. 19:27 < GPT> can someone take a look and try to find out what's wrong for me? thanks. http://gpt.pastey.net/83639 19:28 < GPT> and sorry for asking for help so much... I'm kinda new to coding and picked a really hard first program to write. :S 20:42 -!- RedDak [n=dak@79.3.89.65] has joined #ipodlinux 21:02 -!- imphasing [n=imphasin@209.155.68.130] has quit ["Leaving"] 21:16 -!- Keripo [n=Keripo@CPE001111e441f8-CM001a6680d4fe.cpe.net.cable.rogers.com] has joined #ipodlinux 21:28 -!- GPT [n=GPT@unaffiliated/gpt] has quit [""Evolution of the smiley: ._. o_o O_O 0_0 (•)_(•) (#)_(#)" ~GPT"] 21:51 -!- syamajala2 [n=syamajal@c-75-68-225-205.hsd1.vt.comcast.net] has quit [] 21:58 -!- RedDak [n=dak@79.3.89.65] has quit [Remote closed the connection] 22:16 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has quit [Client Quit] 22:16 -!- Rprp [n=Rprp@cc763024-b.groni1.gr.home.nl] has joined #ipodlinux 23:19 -!- GPT [n=GPT@unaffiliated/gpt] has joined #ipodlinux 23:58 -!- HellDragon [i=jd@unaffiliated/helldragon] has quit [Read error: 104 (Connection reset by peer)] 23:59 -!- syamajala2 [n=syamajal@75.68.225.205] has joined #ipodlinux --- Log closed Wed Mar 12 00:00:00 2008