tag:blogger.com,1999:blog-62379416599337750492023-11-15T23:29:43.004-08:00pbsds's blogA random programmer's blog.pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-6237941659933775049.post-13602137728851020352011-04-15T11:35:00.001-07:002012-03-12T08:23:36.820-07:00lol, i forgot! :PI forgot i still have this blog. :P<br />
I have fully moved over to <a href="http://pbsds.tk/">pbsds.</a>tk, which i now feel is good enought to call my personal website. :)<br />
Bye blogspot!<br />
<br />
EDIT: .tk decided to be a douche, so now the website is <a href="http://pbsds.net/">pbsds.net</a>pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-25034746355454835832011-02-18T12:41:00.000-08:002011-02-18T12:42:55.435-08:00Website under development.I have set up my laptop to be my temporary server, and it's hosting my website at <a href="http://pbsds.tk/">pbsds.tk</a>!<br />
Currently, there is a VERY basic blog, file share, info about my projects(still adding!) and a code base.<br />
Try it out!pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com4tag:blogger.com,1999:blog-6237941659933775049.post-3340408198458208242011-01-26T14:00:00.000-08:002011-01-26T14:00:39.219-08:00Setting up server...Yesterday, I've have finally switched out the modem which wouldn't let me port forward!<br />
But sadly, i can't login into the settings of the modem! (login ain't admin/admin)<br />
So i'm goint to contact the guy who installed it and get my username and password...<br />
<br />
The the server for my game is in development, and i've also taken the liberty to make my own site:<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="clear: left; float: left; margin-bottom: 1em; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWsv3HHTFBWYp7KC6rJ_Aer5AZcmtB3REQul-7WqshVPJXKZW4ofkKfULhyFGBrw5r0ho2i9-RGm9_5XmzNf1_AhUwhcbprd0jYFzuNPe9ZwK91rMThQxooV0eXkkpI0tt4A5_3kZocQTe/s1600/Uten+navn.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWsv3HHTFBWYp7KC6rJ_Aer5AZcmtB3REQul-7WqshVPJXKZW4ofkKfULhyFGBrw5r0ho2i9-RGm9_5XmzNf1_AhUwhcbprd0jYFzuNPe9ZwK91rMThQxooV0eXkkpI0tt4A5_3kZocQTe/s320/Uten+navn.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Current state of the template</td></tr>
</tbody></table><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
I'm going to purchase the domain pbsds.net too!<br />
Please don't steel it! :P<br />
<div class="separator" style="clear: both; text-align: center;"></div>pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-29295473524743561852010-12-13T07:03:00.000-08:002011-01-26T14:03:39.391-08:00Game rewrite and MinecraftThegame I'm making has ended up being full of bugs, and the engine wasn't so well planned, so i have started rewriting it, using "twisted" networking module, instead of sockets. Maybe i'll use threads too...<br />
<br />
On the other hand, i have become addicted to Minecraft :P<br />
It's a really great game, and you should try it too: <a href="http://www.minecraft.net/">www.minecraft.net</a><br />
I've settled down on the norwegian <a href="http://www.diskusjon.no/index.php?showtopic=1256916&st=0">Hardwork</a> server, and become a guard! Join me if you want to! :)pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com3tag:blogger.com,1999:blog-6237941659933775049.post-3244262993326872162010-11-15T10:28:00.000-08:002011-01-26T14:02:18.746-08:00A little busyI've been busy lately, and haven't got much time on developing. <br />
And I don't have anything new to add here, since I'm still working on it.<br />
I don't want to make a big deal of it, since it might end up with me discontinuing the project, and leave people sad.<br />
So, it might not end up being released, but here is a mockup of how it will look:<br />
<br />
<div style="text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-d3iTs3keT59baeEK4iJyPSEo62ggxd43HYhejrnCeUNbRKlNc1ydJo3oxn-eG4lTspe9vwOIC_8D4_GcfEfE_ivC9_CnQ2Nq3f-VqyJ-WpPsYj4pJwCIjvCd5tjCNTaMqUjFQ25JY6Pg/s1600/Mockup.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-d3iTs3keT59baeEK4iJyPSEo62ggxd43HYhejrnCeUNbRKlNc1ydJo3oxn-eG4lTspe9vwOIC_8D4_GcfEfE_ivC9_CnQ2Nq3f-VqyJ-WpPsYj4pJwCIjvCd5tjCNTaMqUjFQ25JY6Pg/s320/Mockup.png" width="320" /></a></div>pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-51811293072258942052010-08-27T07:52:00.000-07:002010-10-02T13:08:23.757-07:00New app, and updates!Here, i present U8.py!<br />
U8.py is a module/program which packs, and unpacks U8 archives.(Common in Wii channels, WAD files)<br />
And no, this do NOT support IMET headers, yet. Which means it won't work for 00000000.app and Opening.bnr.<br />
Download source and compile(EXE) here: <a href="http://www.mediafire.com/?h4wxwhznlb9h7hl">http://www.mediafire.com/?h4wxwhznlb9h7hl</a><br />
<br />
And now for the updates:<br />
The development for PPMviewer and PPM.py's sound decoding goes slow at the moment...<br />
But there has been a lot of progress since last release of PPM.py, but at the moment, I'm stuck...<br />
So i might end up asking Megazig, Squidman or somebody else for help. But there is still some stuff i haven't tried yet. But it would be a problem if it's compressed with something else than ADPCM or DPCM...<br />
Update: Project discontinued... <br />
<br />
I would also like to say to you guys that i have begun with python modules for YAZ0, LZ77, video files. And I have a lot of other ideas too! And i may even take requests! ;)pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-45074470311648961012010-08-09T08:34:00.000-07:002010-08-09T08:34:33.083-07:00Going on family vacation!Tommorow, at 8:00 am, im going to spain with my family.<br />
I was hoping i could get something ready to be released before i whent, but i didn't, and im sorry...pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-84629725510823184792010-07-19T03:34:00.000-07:002010-07-19T03:34:47.054-07:00I'll be gone for a while...I'm going to a scouts camp in Denmark for 10 days, so i won't be able to work on my projects... :(<br />
I'll be back the 29'th!pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-91192749927445835312010-07-02T08:00:00.000-07:002010-10-02T13:07:54.407-07:00Progress on PPM.py + a preview on a Flipnote playerI have learned a bit about how the sound works in the PPM file.<br />
I have documented what i found out in the sound header here: <a href="http://www.dsibrew.org/wiki/Flipnote_Files/PPM#Sound_data_section">http://www.dsibrew.org/wiki/Flipnote_Files/PPM#Sound_data_section</a><br />
I have also been able to extract all the sounds, but their all very static sounding.<br />
<br />
I'll give you a little taste of how far i've come:<br />
<br />
Original Flipnote:<br />
<a href="http://flipnote.hatena.com/930EDBE0CC6FF483@DSi/movie/6FF483_0948E7A5F44D5_000">http://flipnote.hatena.com/930EDBE0CC6FF483@DSi/movie/6FF483_0948E7A5F44D5_000</a><br />
Extracted sound, only multiplied every byte by 16(RAW-ish):<br />
<a href="http://www.mediafire.com/?dgxd20yqmjd">http://www.mediafire.com/?dgxd20yqmjd</a><br />
Extracted sound, how far i've come so far(See below for details)<br />
<a href="http://www.mediafire.com/?omuyjwyxbog">http://www.mediafire.com/?omuyjwyxbog</a><br />
<br />
I have found out that if you multiply each byte by 16, and play it as a 32000Hz PCM data, you get about the correct speed.<br />
<br />
And here is my decoder in Python:<br />
<div style="background-color: #eeeeee; color: black;">Output = <span style="color: #351c75;">[]</span></div><div style="background-color: #eeeeee; color: black;"><span style="color: blue;">for</span> i <span style="color: blue;">in</span> Input: </div><div style="background-color: #eeeeee; color: black;"> i1 <span style="color: blue;">=</span> <span style="color: #0b5394;">ord</span><span style="color: #351c75;">(</span>i<span style="color: #351c75;">)&</span><span style="color: #cc0000;">0xF</span></div><div style="background-color: #eeeeee; color: black;"> i2 <span style="color: blue;">=</span> <span style="color: #351c75;">(</span><span style="color: #0b5394;">ord</span><span style="color: #351c75;">(</span>i<span style="color: #351c75;">)>></span>4<span style="color: #351c75;">)&</span><span style="color: #cc0000;">0xF</span></div><div style="background-color: #eeeeee; color: black;"></div><div style="background-color: #eeeeee; color: black;"> <span style="color: blue;">if</span> <span style="color: #351c75;">(</span>i1<span style="color: #351c75;">&</span><span style="color: #cc0000;">0x8</span><span style="color: #351c75;">)</span>: i1 = <span style="color: #cc0000;">0xF</span><span style="color: #351c75;">-(</span>i1<span style="color: #351c75;">&</span><span style="color: #cc0000;">0x7</span><span style="color: #351c75;">)</span></div><div style="background-color: #eeeeee; color: black;"> <span style="color: blue;">if</span> <span style="color: #351c75;">(</span>i2<span style="color: #351c75;">&</span><span style="color: #cc0000;">0x8</span><span style="color: #351c75;">)</span>: i2 = <span style="color: #cc0000;">0xF</span><span style="color: #351c75;">-(</span>i2<span style="color: #351c75;">&</span><span style="color: #cc0000;">0x7</span><span style="color: #351c75;">)</span></div><div style="background-color: #eeeeee; color: black;"></div><div style="background-color: #eeeeee; color: black;"> Output.<span style="color: #0b5394;">append</span><span style="color: #351c75;">(</span>chr<span style="color: #351c75;">(</span>i1 <span style="color: #351c75;">*</span> <span style="color: #cc0000;">0x10</span> + i2 <span style="color: #351c75;">)*</span><span style="color: #cc0000;">16</span><span style="color: #351c75;">)</span></div><div style="background-color: #eeeeee; color: black;"></div><div style="background-color: #eeeeee; color: black;">Output = <span style="color: #666666;">""</span>.<span style="color: #0b5394;">join</span><span style="color: #351c75;">(</span>Output<span style="color: #351c75;">)</span></div><br />
<br />
And here is the preview of the Flipnote player I'm also making:<br />
<br />
<object height="364" width="445"><param name="movie" value="http://www.youtube.com/v/eSAmySbAafM&hl=en_US&fs=1?color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/eSAmySbAafM&hl=en_US&fs=1?color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object><br />
Update: Project discontinued(PPM.py,and PPMplayer)pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com7tag:blogger.com,1999:blog-6237941659933775049.post-31670012444766959292010-06-05T12:44:00.000-07:002010-06-05T12:44:44.482-07:00New versions of both TPL.py and PPM.py with source! :DI am happy about how far i have come in developing these applications and I'm releasing the full version of both TPL.py and PPM.py!<br />
<br />
Downloads: <a href="http://www.mediafire.com/?clt4ad2wcmh">PPM.py</a> and <a href="http://www.mediafire.com/?mlwtmzmzjwz">TPL.py</a><br />
<br />
<br />
Enjoy!pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-54841082913752564352010-05-24T08:56:00.000-07:002010-05-24T08:56:05.692-07:00New designAs you may have noticed, i have redesigned the blog.<br />
This design is just a modified version of the one that i had before.<br />
i just changed the colors and the pictures.<br />
<br />
If you have any comment on stuff that may not seem right, then post it in the comment section below!pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com3tag:blogger.com,1999:blog-6237941659933775049.post-42854268096418243772010-05-18T08:21:00.000-07:002010-05-20T11:38:03.801-07:00PPM.exeI have just finished the PPM code which i wrote about in <a href="http://pbsds.blogspot.com/2010/03/flipnote-studios-ppm-file-format.html">Flipnote Studio's PPM file format.</a><br />
Without further ado, here: <a href="http://pbsds.blogspot.com/2010/03/flipnote-studios-ppm-file-format.html">Download</a><br />
<br />
A screenie: <br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf8tre9TEYsIMDLA5alrtL-xecyyVhvlkBpPztUBIEd6zzBrU8NagIUmDS-iLPppA4TEXRSe7LGabxLBxfKZ7S5oK_uLLhuYIMIIdmQTZASeeNlfpRL7XzII_z7wTKROWWQtd_hnboxTMi/s1600/Frame_1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf8tre9TEYsIMDLA5alrtL-xecyyVhvlkBpPztUBIEd6zzBrU8NagIUmDS-iLPppA4TEXRSe7LGabxLBxfKZ7S5oK_uLLhuYIMIIdmQTZASeeNlfpRL7XzII_z7wTKROWWQtd_hnboxTMi/s320/Frame_1.png" /></a></div>pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com4tag:blogger.com,1999:blog-6237941659933775049.post-10828412716559898132010-05-17T08:07:00.000-07:002010-05-20T11:38:31.224-07:00S3TC TPL'sI just recently made a TPL converter which is the only one(currently) supporting PNG to CMP!<br />
It's was actually a bit of a fun challenge. Since S3TC compression doesn't have much documentation.<br />
I ended up using nothing but <a href="http://hitmen.c02.at/files/yagcd/yagcd/chap17.html#sec17.14">YAGCD's documentation</a> and the code for converting CMP TPL's to PNG in Wii.py(google ;) )<br />
<br />
Download: <a href="http://www.mediafire.com/?ydzynn21yu1">here</a><br />
<br />
EDIT: BTW, this isn't yet fully tested on the Wii/GC, but it seems fine in the hex editor :)pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-67910078878785393732010-04-19T13:33:00.000-07:002010-04-19T13:33:26.831-07:00New shitzOkay, there hasn't been much improvements with the PPM file format, so i have put that aside for now.<br />
But i have been working on a lot of things lately, like the mii format.<br />
<br />
What i try to say is that there isn't a project i'm working on at the moment, and i need some ideas!<br />
Post an idea of what you would like to see in the comment section below.pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-76601405973416241352010-03-25T07:47:00.000-07:002010-03-26T11:21:43.745-07:00Flipnote Studio's PPM file formatDocumentation of the format can be found here: <a href="http://www.dsibrew.org/wiki/Flipnote_Files/PPM">DSiBrew - PPM</a><br />
<div style="text-align: left;">I'm relatively new to Python and this will be my "Hello world"<br />
i already have code for extracting the preview image and only have a bit left for frames. :)</div><br />
<div style="text-align: left;">Preview's:<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmFSy5ewKm8zOz6-iWZfzRpo0LNxPiryYshO1kernuF4ZrmrLd3CFg7YJmO_tCvoeECL_SoEMCA1b343ULQ2bwsSsdA7P-ip-gcGaGzB7lN_gkVOsIo4EM7FMk8zVbHS6cbessZeZC2Juk/s1600/Frame_1.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5452584623014062418" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmFSy5ewKm8zOz6-iWZfzRpo0LNxPiryYshO1kernuF4ZrmrLd3CFg7YJmO_tCvoeECL_SoEMCA1b343ULQ2bwsSsdA7P-ip-gcGaGzB7lN_gkVOsIo4EM7FMk8zVbHS6cbessZeZC2Juk/s320/Frame_1.png" style="cursor: pointer; float: left; height: 192px; margin: 0pt 10px 10px 0pt; width: 256px;" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiut2Wir5lNfP_V1hPlq12SNMidXsPTGwQbftsh0nnzi5JPA9e_p325ux17yZDUbEyofPvJ7KvFOhKYsoMoD41QypnqSJjKEjChHmgJ9isIGPnMV2F82-lZ6Xw3y-nmBkaEIjAy9KVEnQ5Z/s1600/out.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5452584628575972434" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiut2Wir5lNfP_V1hPlq12SNMidXsPTGwQbftsh0nnzi5JPA9e_p325ux17yZDUbEyofPvJ7KvFOhKYsoMoD41QypnqSJjKEjChHmgJ9isIGPnMV2F82-lZ6Xw3y-nmBkaEIjAy9KVEnQ5Z/s320/out.png" style="cursor: pointer; float: left; height: 48px; margin: 0pt 10px 10px 0pt; width: 64px;" /></a><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Update:<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiJvnhVBnFg6iEKGy3v3Y9hDy-mxbPuQs1-pW8CmBWt7T81CwgSYy8SrTslmVStYgPqJwBXWZZ1RS74dRt87tylYEPx_Iq9CjFtrUwIhP5OSmlDWtmb-421YvJVuj7dPKNcfbEFovux9iS/s1600/Frame_1.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5452671571552853698" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiJvnhVBnFg6iEKGy3v3Y9hDy-mxbPuQs1-pW8CmBWt7T81CwgSYy8SrTslmVStYgPqJwBXWZZ1RS74dRt87tylYEPx_Iq9CjFtrUwIhP5OSmlDWtmb-421YvJVuj7dPKNcfbEFovux9iS/s320/Frame_1.png" style="cursor: pointer; float: left; height: 192px; margin: 0pt 10px 10px 0pt; width: 256px;" /></a></div>pbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0tag:blogger.com,1999:blog-6237941659933775049.post-91111011938894275352010-03-25T07:43:00.000-07:002010-04-01T14:31:02.061-07:00Meh, why not :PI just made this blog! :D<br />
I don't know what to do with it yet, but i was aiming for something like hackmii and Arikado's blog. :Ppbsdshttp://www.blogger.com/profile/00912332393324533755noreply@blogger.com0