[SOLVED]What to code?
[SOLVED]What to code?
Hello
I really want to extend my C(++) knowledge and the best way to do this is to work on a project. Are there any suggestions what I could code? It shouldn't be too hard, but also it shouldn't be too easy.
Thanks in advance!
I really want to extend my C(++) knowledge and the best way to do this is to work on a project. Are there any suggestions what I could code? It shouldn't be too hard, but also it shouldn't be too easy.
Thanks in advance!
Last edited by Producted on Mon Aug 31, 2009 9:57 am, edited 1 time in total.
I'm not really someone who's into developping games. I was looking into the WLAN stuff, but it seems to be a complete mistery to me. Anyone got a good example? And yes, I've seen the \sdk\samples\net\simple but as I've mentioned, it looks like a mystery to me. Or a good page in the docs (couldn't find a search function).
That means someone (in this case: me :p) should code or port an existing codec and then 'put' it in the firmware.Viper8896 wrote:Just ask what people really want out of there psps.
For me:
Do you have any experience in customizing the firmware? I have always wanted to play xvid avi's directly from the xmb but afaik no one has yet done this and a custom player is still required.
This falls under the category "It shouldn't be too hard". Sorry :(
That may be because you don't know the internals of 802.11. What's you don't understand in the code you looked at?Producted wrote:I was looking into the WLAN stuff, but it seems to be a complete mistery to me.
Useless IMHO, as the player already exists. Easy and simple: why would you make the XMB unnecessary bigger and hence buggier, slower and more memory consuming, if you can use an external app or even convert Xvid to PSP's MP4?Viper8896 wrote:I have always wanted to play xvid avi's directly from the xmb
Nah, you just insert that player's code into the VSH :PProducted wrote:That means someone (in this case: me :p) should code or port an existing codec and then 'put' it in the firmware.
The Incredible Bill Gates wrote:The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
If I were to do that then is there any existing software to trim down and speed up the xmb?m0skit0 wrote: Useless IMHO, as the player already exists. Easy and simple: why would you make the XMB unnecessary bigger and hence buggier, slower and more memory consuming, if you can use an external app or even convert Xvid to PSP's MP4?
Also if you're not playing a xvid then there is no need to have a noticeable drop in performance. If I were to use another player then I would have to choose it, wait for it to load with that PSP logo that seems to take ~ 10 seconds and then quit again when finished ~ 5 seconds.
To create a Bittorrent client, I first have to get known to the protocol etc. It's obvious that it will take a lot of time, and to be honest I cba. :p
Your other two ideas don't have anything to do with WLAN so I just ignored them.
Anyway, I studied the net samples and I also found something on the webs (no idea if it's from the samples) which is really understandable for me. Clicky. As you see, it's really a mess so I'm modifying the code which makes it better for re-usage.
My question is; is this a good way to do this? I don't have everything ported yet, but I really want to have an opinion before I go further with it and later even expanding it.
There is a chance that I'm just reinventing the wheel, please note me if this is the case.
Note that I haven't tested it yet, It might not be even working.
Your other two ideas don't have anything to do with WLAN so I just ignored them.
Anyway, I studied the net samples and I also found something on the webs (no idea if it's from the samples) which is really understandable for me. Clicky. As you see, it's really a mess so I'm modifying the code which makes it better for re-usage.
My question is; is this a good way to do this? I don't have everything ported yet, but I really want to have an opinion before I go further with it and later even expanding it.
There is a chance that I'm just reinventing the wheel, please note me if this is the case.
Note that I haven't tested it yet, It might not be even working.
Code: Select all
int InitWLAN()
{
int Errors = pspSdkInetInit();
if(Errors != 0)
{
return Errors;
}
else
{
return 0;
}
}
char getConnections()
{
int temp;
char *returnArray[];
for(temp = 1; temp < 100; temp++)
{
if(sceUtilityCheckNetParam(i) != 0)
{
break;
}
char connectionName[64];
sceUtilityGetNetParam(i, 0, (netData*) connectionName);
returnArray[int] = name;
}
}
int connect()
{
int Errors = sceNetApctlConnect(1)
if(Errors != 0)
{
return Errors;
}
else
{
return 0;
}
}
char resolveIP()
{
char pspIPAddr[32];
int Errors = sceNetApctlGetInfo(8, pspIPAddr);
if(Errors != 0)
{
return Errors
}
else
{
return 0;
}
}
int resolveHost(){}
I'm already aware that the almost all the time would be spent joining the codec code to the firmware code but this the hard part about it.Producted wrote: That means someone (in this case: me :p) should code or port an existing codec and then 'put' it in the firmware.
This falls under the category "It shouldn't be too hard". Sorry :(
You didn't specify that you only were interested in wlan but if that's the case:Producted wrote:Your other two ideas don't have anything to do with WLAN so I just ignored them.
Wifi spectrum analysis, packet capture, cracking tools, jammers (some of these may not be possible giving the encapsulation but that's another topic)
When you say wlan do you just mean any app that uses tcp/ip communication? I don't think a torrent client would be very useful because of the limited bandwidth, file storage, system specs if doing a lot of seeding and that CTorrentPSP already exists. The only reason I can think off the top of my head is that maybe it could become a low power way of downloading any file.
Most server apps wouldn't be of any use so try to focus on either client, or peer to peer apps with some exceptions of course.
If you are only looking for a hard project to start up then the psp could do with another browser whether port or from scratch as netfront is crap. fennec depends on glib, gtk, cairo, among other things but there should be many easier ones too if you just search for embedded browser.
Yeah I know that netfront is crap, I should really contact Sony once with a wish to make a better browser (not that they'll listen..). I just can't code a browser from scratch as it's way too hard. You need to code all the parsers etc.
Porting an existing leightweight browser is an idea. I could look into it. But it's still a hard thing to do. :p Peer to peer... Hm, I could a write a filesharing system or something like that. To keep it legal I'll restrict it to images. We'll see...
Porting an existing leightweight browser is an idea. I could look into it. But it's still a hard thing to do. :p Peer to peer... Hm, I could a write a filesharing system or something like that. To keep it legal I'll restrict it to images. We'll see...
Okay, I now know what to code: a multiplayer pong game (over the interwebs). I thought that it'd be a good idea, that even before I start to code the multiplayer stuff, that I should code a offline version.
I managed to get one bat to move on the screen (with the shoulder buttons). But now I've no idea how to let the ball jump and interact with one bat, and later, ofcourse, two bats.
How would I do this? (btw, do I need to create a new topic for this?)
EDIT: I'll create a new thread :)
I managed to get one bat to move on the screen (with the shoulder buttons). But now I've no idea how to let the ball jump and interact with one bat, and later, ofcourse, two bats.
How would I do this? (btw, do I need to create a new topic for this?)
EDIT: I'll create a new thread :)