Search found 93 matches

by Gary13579
Mon Feb 01, 2010 8:13 am
Forum: PSP Development
Topic: Calling SDK functions from within uCLinux
Replies: 4
Views: 3777

Is it really impossible/at least very hard to call PSP functions from within uCLinux? I'd have assumed it would be relatively easy, since the PSP's firmware should still be loaded, underneath uCLinux. I'm afraid that as soon as uCLinux starts up, it wipes the firmware out of memory entirely and run...
by Gary13579
Mon Feb 01, 2010 7:10 am
Forum: PSP Development
Topic: Calling SDK functions from within uCLinux
Replies: 4
Views: 3777

My question is, how can I link the PSPSDK libraries against programs compiled to run in Linux? In general, you can't. Most Linux source code/programs are not immediately suitable for compilation/execution on PSP. Usually there's at least a little bit, and often quite a lot of work needs to be done....
by Gary13579
Sun Jan 31, 2010 7:20 pm
Forum: PSP Development
Topic: Calling SDK functions from within uCLinux
Replies: 4
Views: 3777

Calling SDK functions from within uCLinux

Long time no post :). Rambling around in my room, found the old PSP, and was curious what happened in the scene. From what I can tell, nothing. Anyway, I successfully setup a cross compiler, and got applications running on Linux on the PSP (albeit no C++... sad :( ). My question is, how can I link t...
by Gary13579
Mon Oct 15, 2007 5:57 pm
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 25819

So there would be no need for a server to connect to the db file? I'm not very familiar with how SQLite works but with MySQL, its API requires that you connect to a MySQL server to access a database. I am interested in this because I was working on a program to deal with MySQL databases, but indire...
by Gary13579
Mon Oct 15, 2007 12:13 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 25819

VERY nice work, I plan on using this in my projects from now on (beats INI files by a long shot). Quick Q...is this an api that lets you run a database on a computer or can it work internally for the PSP so you can do admin work without the need for a computer? From what I can tell, the database is ...
by Gary13579
Mon Jul 24, 2006 6:36 am
Forum: General Discussion
Topic: Synthesis 3DMax (Formaly Raptor 3D) Commercial pc version.
Replies: 20
Views: 18101

Nicely done, will look forward to this.
by Gary13579
Wed May 31, 2006 12:15 am
Forum: PSP Development
Topic: Stupid beginner question
Replies: 4
Views: 2043

Visit this site http://jonny.leffe.dnsalias.com/ and read the top most news entry, esp. the second line written in capitals. Sorry, PMPMod currently isn't runable on > 1.5 FW and most likely won't be for a long long time. With the 2.01 release, it looks like it's possible to see this on 2.0+ soon. ...
by Gary13579
Wed May 31, 2006 12:05 am
Forum: PSP Development
Topic: libPBP ver. 0.01
Replies: 6
Views: 4551

Okay, so you can't change the contents of the header (at least add other files to it).
I don't see how this could make kxploit cleaner though... the non-% folder still needs to be a raw ELF (DATA.PSP), I'm pretty sure if you add any headers or other files it won't load...
by Gary13579
Mon May 29, 2006 2:42 pm
Forum: PSP Development
Topic: libPBP ver. 0.01
Replies: 6
Views: 4551

Nice! I understand more about the PBP format just by reading your post, but one question I have is can we add more files to the PBP, and put the file/offets into the header? Would the PSP still run it if it reads the file BLAH.PNG in the header, or would we have to sceIoLseek/sceIoRead manually to t...
by Gary13579
Mon May 29, 2006 2:28 pm
Forum: PSP Development
Topic: Portage of Nehe tutorials 1 to 10 for PSPGL (v0.1)
Replies: 10
Views: 10117

Someone actually did it, heh... Good job :D

Now, someone get display lists working!
by Gary13579
Tue May 23, 2006 10:37 am
Forum: PSP Development
Topic: How to play avi/mp4 etc, programmatically
Replies: 14
Views: 5744

Hmm.. Wouldn't it be possible to load the static MP3 stuff in the very begining of your program (pass a special argument to the PRX), then let the PRX run in the background?
Somehow communicate to the PRX, using message boxes (if possible).

Not sure if any of this is possible, just speculation.
by Gary13579
Tue May 23, 2006 6:02 am
Forum: PSP Development
Topic: pspgl-test doesn't compile...
Replies: 10
Views: 4280

No idea... do the samples compile?
Or is this one of the samples?
by Gary13579
Tue May 23, 2006 5:59 am
Forum: PSP Development
Topic: Cygwin problem.
Replies: 14
Views: 5038

Try the official tutorial for setting up the toolchain.
I've used it many times, never had a problem yet.
by Gary13579
Tue May 23, 2006 5:38 am
Forum: PSP Development
Topic: How to play avi/mp4 etc, programmatically
Replies: 14
Views: 5744

you can use PMPMod, but there are some consequences: - release your work under GPL licence - your executables size will raise of about 2MB - works only on fw 1.5 Compile PMPMod as a PRX, and let your program pass an argument to the PRX to start the video. Then just release the PRX + source code. Th...
by Gary13579
Sat May 20, 2006 8:55 am
Forum: PSP Lua Player Development
Topic: image sizes
Replies: 8
Views: 4602

Image.load calls the C function loadImage, does it not? That then checks to see if the image is a PNG. If it is, it calls loadPngImage. This code is right in graphics.cpp... if (width > 512 || height > 512) { free(image); fclose(fp); png_destr...
by Gary13579
Sat May 20, 2006 6:00 am
Forum: PSP Development
Topic: pspgl-test doesn't compile...
Replies: 10
Views: 4280

Hmm.. post your makefile?
by Gary13579
Sat May 20, 2006 5:59 am
Forum: PSP Development
Topic: LUA strings in my C program...
Replies: 2
Views: 2058

Grab the LuaPlayer source code, make sure you can compile that, add all of the libs into your Makefile, copy over the source folder and rename it to "lua" in your project, and just find the function that runs Lua programs. Edit that to load a file from the MS, and take the filename from a ...
by Gary13579
Fri May 19, 2006 6:03 am
Forum: PSP Development
Topic: pspgl-test doesn't compile...
Replies: 10
Views: 4280

Check the folder /usr/bin/local/pspdev/psp/libs (it should be somewhere around there... can't remember the exact path as I don't have access to my dev PC right now). Make sure the file ligGL.a is in there. I'm thinking that the lib isn't there.
by Gary13579
Fri May 19, 2006 6:00 am
Forum: PSP Lua Player Development
Topic: image sizes
Replies: 8
Views: 4602

In the PSP LuaPlayer, it won't allow you to load an image over 512x512 pixels (the loadImage function in graphics.c checks and returns null if it didn't load, the Lua function then spits out an error on a debug screen). I don't think I've ever tried an image bigger then 272 on LuaPlayer though... Hm...
by Gary13579
Fri May 19, 2006 5:56 am
Forum: PSP Development
Topic: compile error, plz T.T (cygwin + pspsdk + sdl + toolchain)
Replies: 2
Views: 1543

No offense, but good luck finding someone to read all that code.. especially when you don't paste the EXACT error it gives you when compiling.
by Gary13579
Fri May 19, 2006 5:53 am
Forum: PSP Development
Topic: Gmax2PSP
Replies: 2
Views: 2226

If I read this right, it's for use in Lua? So shouldn't it be in the Lua Player forum?
by Gary13579
Thu May 18, 2006 6:01 am
Forum: PSP Development
Topic: libXml2 for psp
Replies: 4
Views: 3009

When I compiled libxml2, I didn't need to edit any extra files. I just had to pass a few options to the configure script.. Let me try to find it. Another lib you may want (although it may be a bit big) is libxml2 http://xmlsoft.org You can build it (atleast version 2.6.22) with the following lines: ...
by Gary13579
Thu May 18, 2006 5:57 am
Forum: PSP Development
Topic: Homebrew for PSP Publishers
Replies: 12
Views: 6240

PBP cannot be loaded nonwhatsoever the devunits do not know about pbp loading and pbps are done on sony side so best bet is to stick to good ol' elf/prx as those work fine also you would do best to not have such magic keywords in your elf like ms0:/ and lsfatms0:/ as another user has suggested crea...
by Gary13579
Thu May 18, 2006 5:55 am
Forum: PSP Development
Topic: PSPSDK Setup....
Replies: 12
Views: 6956

As far as I can tell, $PSPSDK isn't getting set properly. Try typing in "echo $PSPDEV".
by Gary13579
Thu May 18, 2006 5:48 am
Forum: PSP Development
Topic: Loading textures from PNG (or other image formats)
Replies: 6
Views: 3245

libpng for sure, and likely zlib.
by Gary13579
Wed May 17, 2006 6:04 am
Forum: PSP Development
Topic: PSPSDK Setup....
Replies: 12
Views: 6956

Then open up c:\cygwin\home\tous\.bashrc and add what he said to the end of it.
Also try using the command "psp-gcc -v". This should show some info about the PSP GCC compiler, else spit out an error about command not found.
by Gary13579
Wed May 17, 2006 6:01 am
Forum: PSP Development
Topic: Homebrew for PSP Publishers
Replies: 12
Views: 6240

You don't have to bother with the memory sticks, the dev units can load data off a remote host. Just get rid of the KXploit and you should be able to just email it to them (Although turning up with it burnt onto a CD would probably be more professional. ;)) edit: Oh, and as far as I know you'll nee...
by Gary13579
Wed May 17, 2006 5:56 am
Forum: PSP Lua Player Development
Topic: Help with screen:blit...
Replies: 6
Views: 4887

Re: Help with screen:blit...

arrow = Image.load("arrow.png") grass = Image.load("grass.png") screenwidth = 480 - arrow:width() screenheight = 272 - arrow:width() arrow = {} arrow[1] = { x = 200, y = 50} --***** Main Loop ***** while true do pad = Controls.read() screen:clear() for a = 0, 14 do for b = 0,8 d...
by Gary13579
Tue May 16, 2006 1:41 pm
Forum: PSP Development
Topic: Semi Noob Question About Downgrade future
Replies: 2
Views: 3321

Isn't there a rule about no downgrade questions like this? If not, there should. I mean there is a rule for every other semi-legit question (sorry, cheap shot). I gotta ask this. Doesn't flash ROM mean you can't write to it (read only memory)? How would you write to it? The problem that prevents us ...
by Gary13579
Tue May 16, 2006 1:35 pm
Forum: PSP Development
Topic: pspgl test programs won't compile under cygwin
Replies: 5
Views: 4982

After installing among others ImageMagic, zlib, and pngtools, I got the makefile to output .elf files. Now in the old days when I was working on p-sprint, I could just copy these to anywhere on my memorystick, and run them with FileAssistant+ However, I can't anymore. I get an auto-shutdown when I ...