Search found 22 matches

by elevationsnow
Thu Jan 26, 2006 1:56 pm
Forum: PSP Development
Topic: Help with an Endless Loop
Replies: 4
Views: 1681

Help with an Endless Loop

Im using the graphic headers from lua player and i wrote this function to fill an image it works if im fill a small area but if i try to fill a larger area it freezes up on me except it doesnt completley freeze /* simple flood fill * @xx location in image x * @yy location in image y * @fcolor color ...
by elevationsnow
Tue Oct 18, 2005 8:05 am
Forum: PSP Development
Topic: more than one sound
Replies: 2
Views: 1721

more than one sound

is it possible to load more than one sound at a time if so how would i do it
do i have to load them on different chanels or what?
also is it possible to compile a sound into a c file and play it from there?
by elevationsnow
Fri Oct 14, 2005 12:08 pm
Forum: PSP Development
Topic: Faster PNG loader
Replies: 1
Views: 1181

Faster PNG loader

is there any faster png loader than: void user_warning_fn(png_structp png_ptr, png_const_charp warning_msg) { // ignore PNG warnings } void loadImage(const char* filename,int xx,int yy) { u32* vram32; u16* vram16; int bufferwidth; int pixelf...
by elevationsnow
Thu Sep 29, 2005 1:10 pm
Forum: PSP Development
Topic: Cursor Without Refreshing the screen
Replies: 3
Views: 1416

im kinda a newbie how would you do that?
cause right now im ploting pixels directly to the vram and then trying to blit a cursor over it
could you perhaps paste some sample code or atleast how to plot pixels to a texture
by elevationsnow
Thu Sep 29, 2005 12:39 pm
Forum: PSP Development
Topic: Cursor Without Refreshing the screen
Replies: 3
Views: 1416

Cursor Without Refreshing the screen

im developing a programing called crazypaint and i need a cursor so you can see where you are when your not drawing. right now i tryed making a cursor with the blit code from shines pg.h and you have to refresh the screen so the cursor doesnt duplicate its self. which causes my picture to be erased ...
by elevationsnow
Thu Sep 29, 2005 9:37 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

btw i got mine working thanks ne ways
by elevationsnow
Thu Sep 29, 2005 9:36 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

yeah the compiler is a bitch and wants different order of libs for different programs
jasons optical chaos
-lz -lpng
my program
-lm -lpng -lz
by elevationsnow
Thu Sep 29, 2005 6:59 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

nope didnt work it seems the undefines are in png.c and etc
by elevationsnow
Thu Sep 29, 2005 6:53 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

haha good job btw i think that may fix it i had "png.h" instead of <png.h>
not sure why...
lol ive only been doing this for 2 weeks or so
by elevationsnow
Wed Sep 28, 2005 10:42 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

i installed both zlib and libpng
in that order

i did make, make install for zlib
and make, make install for libpng

i had the zlib and libpng folders in the psptoolchain folder im using cygwin
by elevationsnow
Wed Sep 28, 2005 9:01 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

undefined reference to "deflate..." undefined reference to "inflate..." undefined reference to "crc32" a bunch of stuff that looks like that what am i doing wrong? make file : TARGET = crazypaint2 OBJS = main.o INCDIR = CFLAGS = -O2 -G0 -Wall CXXFLAGS = $&#40;CFLAGS...
by elevationsnow
Fri Sep 16, 2005 8:09 am
Forum: PSP Development
Topic: How Does this code Look
Replies: 8
Views: 2598

btw while were talking does the pspsdk not have assert.h and thats why you made your own?
by elevationsnow
Fri Sep 16, 2005 8:03 am
Forum: PSP Development
Topic: How Does this code Look
Replies: 8
Views: 2598

lol im not sure if it was me or another homebrew app that f ed up my psp but now i have a 2.0 cause i up'd it thinking it would fix it and it mostly did but my r button is still fed up it freezes on and then if i tap it real fast about 3 times it un freezes :-/^2 but i dont wanna f up my friends psp...
by elevationsnow
Fri Sep 16, 2005 7:56 am
Forum: PSP Development
Topic: How Does this code Look
Replies: 8
Views: 2598

wait so you made file assistant and you cant tell me if that code would work or not :-P jk jk well thanks ne ways btw how does file assistant do it cause i looked through all of your code 100+ pages and didnt comprehend any thing except the printfs but then again flash0 is read only but i figured yo...
by elevationsnow
Fri Sep 16, 2005 7:19 am
Forum: PSP Development
Topic: How Does this code Look
Replies: 8
Views: 2598

How Does this code Look

#include <pspkernel.h> #include <pspctrl.h> #include <pspdebug.h> #include <pspdisplay.h> #include <string.h> PSP_MODULE_INFO&#40;"menreplace", 0, 1, 1&#41;; #define printf pspDebugScreenPrintf /* Exit callback */ int exit_callback&#40;int arg1, int arg2, void *common&#41;...
by elevationsnow
Tue Sep 13, 2005 10:17 am
Forum: PSP Development
Topic: Help With Libs?
Replies: 0
Views: 909

Help With Libs?

i need install zlib and libpng and i have no idea how will some one please help me im using the latest toolchain and cygwin.
i have already downloaded them and when i try to install them it installs them into the wrong place i think
by elevationsnow
Mon Sep 12, 2005 1:57 am
Forum: PSP Development
Topic: Creating a PSP Library
Replies: 5
Views: 2769

could you tell me how you succefully installed libpng im using cygwin and it just doesnt want to install
by elevationsnow
Sun Sep 11, 2005 5:15 am
Forum: PSP Development
Topic: Most efficient cursor method
Replies: 2
Views: 1419

where would you place your cursor image and what would you name it?
sorry im new to c and stuff
by elevationsnow
Sun Sep 11, 2005 4:32 am
Forum: PSP Development
Topic: Launch SonyOS from homebrew application!!!
Replies: 15
Views: 10738

a good way to check would be to change (in the firmware on your ms) the boot up video and see which one it uses
by elevationsnow
Sat Sep 10, 2005 2:24 pm
Forum: PSP Development
Topic: tan functions
Replies: 1
Views: 1428

tan functions

need help using atan2 function code so far just excerpts #include <math.h> #define PI 3.14159265 while&#40;1&#41;&#123; sceCtrlReadBufferPositive&#40;&pad, 1&#41;; x= pad.Lx - 130; y= pad.Ly - 130; rotation = float atan2 &#40;x,y&#41; /&#40;PI/180&#41;; for&am...
by elevationsnow
Sat Sep 10, 2005 7:05 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 25757

Shine wrote:I don't know which pspsdk installation you are using, I'm using the source from svn. You can checkout it like this:

svn co svn://svn.ps2dev.org/psp/trunk/zlib
svn co svn://svn.ps2dev.org/psp/trunk/libpng
having trouble making this work could some one please explain how to do that
by elevationsnow
Sat Sep 10, 2005 6:46 am
Forum: PSP Development
Topic: Launch SonyOS from homebrew application!!!
Replies: 15
Views: 10738

if that kid gets that psp emulator for computer running we can just run the 2.0 update on it right and then just get the new firmware off our computers