Search found 197 matches
- Sun Oct 15, 2006 1:23 am
- Forum: PSP Development
- Topic: Question regarding directory grabbing..
- Replies: 2
- Views: 3313
Ok, this is a code snippet from my .zip extractor. It reads PSP/GAME and reads every entry into a string: Code: struct GameEntry { char *name; //char ratio[16]; }; int gameEntriesTotal = 0; int gameDirSelected = 0; #define MAX_ENTRIES 1000 struct GameEntry gameEntry[MAX_ENTRIES]; void recacheGameDir...
- Thu Oct 05, 2006 4:55 am
- Forum: General Discussion
- Topic: Unzip/Unrar utility source
- Replies: 0
- Views: 2514
Unzip/Unrar utility source
I meant to do this earlier, but nonetheless, here is the source code to my .zip and .rar extraction application I released a few months ago.
www.anonymoustipster.com/TipsterUnzipUnrar03source.zip
www.anonymoustipster.com/TipsterUnzipUnrar03source.zip
- Mon Aug 28, 2006 7:10 pm
- Forum: PSP Development
- Topic: AT3 replay via Audiocodec.prx on 1.5
- Replies: 13
- Views: 10998
- Wed Aug 23, 2006 5:53 am
- Forum: PSP Development
- Topic: Hanging in libcurl
- Replies: 0
- Views: 1190
Hanging in libcurl
I'm currently using libcurl to do some form submitting to a .php script periodically. This is done every minute in the game to keep the serverlist up to date. Usually this works fine, and there's a slight pause (0.5seconds) when uploading the data. Sometimes however, it hangs indefinitely. This happ...
- Thu Aug 17, 2006 11:16 pm
- Forum: PSP Development
- Topic: Using Wi-Fi
- Replies: 4
- Views: 2547
- Tue Aug 15, 2006 7:40 am
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
I've decided to drop TCP in favour of UDP, which should suit my needs better. Problem is that sceNetInetRecvfrom() always returns -1 with an errno of 11, which is supposed to be Resource Temporarily Unavailable. EDIT: I've found elsewhere that errno 11 is EAGAIN, saying that it would block if it was...
- Sat Aug 12, 2006 11:56 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
- Tue Aug 08, 2006 9:13 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
- Sat Aug 05, 2006 7:26 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
Ok, good news is that I've managed to get the above code fragment to work with port 55555 (I realised it was invalid, so changed it). Your collective responses were correct, my Wifi setup wasn't working correctly as a server. I used LordSturm's PSP as the server which connected to me perfectly and h...
- Sat Aug 05, 2006 4:22 am
- Forum: PSP Development
- Topic: Free memory available functions
- Replies: 19
- Views: 11552
Actually, iRShell resides almost entirely in kernel memory space and only breaks into user space with wifi and image viewing functions. I think a better way to detect if running from a shell is to look at the psplink source to find what modules are running, and see if there are any more than usual. ...
- Sat Aug 05, 2006 1:58 am
- Forum: PSP Development
- Topic: how do you determine how much ram is left?
- Replies: 12
- Views: 4220
- Sat Aug 05, 2006 12:03 am
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
The way I have the network set up is as follows: The modem is connected to a switch, and the PCs are connected to this switch. The wifi router/AP is then connected to this switch. When my PSP connects to my wifi AP, it goes through the AP, through the switch and through the modem. I know that the sw...
- Fri Aug 04, 2006 10:10 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
Ok, I tried to find out my 'real' IP address by calling this script: www.anonymoustipster.com/myip.php then getting the client to connect to that IP. The client appeared to pass the connect(), so it should send a little hello message, but my server didn't receive it. After connecting to the hotspot,...
- Fri Aug 04, 2006 6:01 am
- Forum: PSP Development
- Topic: how do you determine how much ram is left?
- Replies: 12
- Views: 4220
- Fri Aug 04, 2006 3:06 am
- Forum: PSP Development
- Topic: how do you determine how much ram is left?
- Replies: 12
- Views: 4220
That looks like an awesome tool Raphael, thanks for the link. I tried to compile mmgr.cpp (with a makefile used for a c++ app) but it fails around new_handler. The docs say to replace std::set_new_handler with set_new_handler, but that doesn't help because new_handler is still not found. Where is ne...
- Fri Aug 04, 2006 2:04 am
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
Right, so (if I understand correctly) I need to code a script in ASP (would PHP work?) that will get the reply IP+port of a PSP when it queries the script. This IP/port would be stored by the server and could be retrieved by another PSP wishing to connect to the first PSP. A question: PSPA queries s...
- Thu Aug 03, 2006 8:06 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
Well it would at least be worth replicating the more useful communication features of netlib, as C developers are definitely going to want to add online multiplayer to their games sometime, and I think it's better if this gets started sooner than later. As far as I can tell, netlib 1.3 (TCP) communi...
- Thu Aug 03, 2006 7:26 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
That's pretty much what I want to do SG57, except I plan to have some scripts on the server keep track of IP addresses of the 'server psps'. The client grabs this from the server, and picks the server it wants to connect to, and does so. The remainder of the communication is PSP->PSP. After looking ...
- Thu Aug 03, 2006 5:49 am
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
- Wed Aug 02, 2006 11:30 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
Thanks for the response, Psppet. What I did was modify the simple wifi sample to add a client mode, so either you choose server, which runs the telnetD code, or client, which allows input of an IP, which it then connects to and sends a message. The problem is that if the client tries to connect to 1...
- Tue Aug 01, 2006 7:36 pm
- Forum: PSP Development
- Topic: Infrastructure PSP->PSP communication
- Replies: 23
- Views: 12179
Infrastructure PSP->PSP communication
I've been trying to modify PSPet's Simple Wifi sample to allow basic communication between two PSPs via a stream socket, but upon connection, sceNetApctlGetInfo(8, szMyIPAddr) gives me 192.168.1.100, and upon testing with another persons PSP on a different router, it gave him a local IP too. How can...
- Wed Jul 26, 2006 8:07 am
- Forum: PSP Development
- Topic: Video Playback Help...
- Replies: 16
- Views: 4278
- Tue Jul 25, 2006 1:04 am
- Forum: PSP Development
- Topic: 3D question max vertex/poly count
- Replies: 7
- Views: 3136
Pnglib will work fine for textures, but you don't get any dither scaling or quantization functions with it. I'm working on porting some that will work with pnglib though. Using the quantization with jpegs means they take fractionally longer to load, but render-wise, T8 textures are usually faster th...
- Mon Jul 24, 2006 7:56 pm
- Forum: PSP Development
- Topic: 3D question max vertex/poly count
- Replies: 7
- Views: 3136
If you're wanting to reduce the V/RAM usage and want to keep the texture size up, I'd suggest using the libjpeg's quantization function, as that can scale to 256 colours easily, and gives good results at a quarter of the RAM usage. You can encode lossless jpegs too, so the format itself isn't a prob...
- Mon Jul 24, 2006 7:49 pm
- Forum: PSP Development
- Topic: fpu exception?
- Replies: 7
- Views: 3328
- Mon Jul 24, 2006 5:06 pm
- Forum: PSP Development
- Topic: fpu exception?
- Replies: 7
- Views: 3328
Nope. Some of the registers are set to DEADBEEF so you know if they've been changed.
http://forums.ps2dev.org/viewtopic.php?t=6013
http://forums.ps2dev.org/viewtopic.php?t=6013
- Mon Jul 24, 2006 4:46 pm
- Forum: PSP Development
- Topic: fpu exception?
- Replies: 7
- Views: 3328
- Wed Jul 19, 2006 4:46 pm
- Forum: PSP Development
- Topic: New file standard for PSP homebrew?
- Replies: 13
- Views: 7040
I agree with dot_blank. It's already possible to extract both .zip and .rar files to the memory stick, straight from downloading via a browser. All you need then is a file management program to move the folders into the right place, if not already. Or you could just download from somewhere like pspb...
- Sun Jul 16, 2006 9:30 pm
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 305371
- Wed Jul 05, 2006 3:11 am
- Forum: PSP Development
- Topic: sceAudiocodec anyone ?
- Replies: 33
- Views: 17746