Search found 45 matches

by zilt
Mon Feb 16, 2009 1:04 pm
Forum: PSP Development
Topic: problem with libraries.sh from svn's psplibraries
Replies: 2
Views: 1205

That gentoo error message "*** [Gentoo] sanity check failed! *** " has always annoyed the hell out of me - one day I might look at a proper fix, but this is what I do to workaround it:

cd build/libogg
autoreconf --install --force
rm config.sub
svn up
cd ../..
./libraries.sh
by zilt
Fri Mar 07, 2008 3:50 am
Forum: PSP Development
Topic: how can i build cal3D with the latest sdk?
Replies: 2
Views: 2182

I'll have to update the readme. Use the following: LDFLAGS="-L$(psp-config --psp-prefix)/lib -L$(psp-config --pspsdk-path)/lib" LIBS="-lc -lstdc++ -lpsplibc -lpspuser" ./configure --host=psp --disable-shared --prefix=$(psp-config --psp-pref...
by zilt
Sun Feb 17, 2008 12:30 pm
Forum: PSP Development
Topic: Prebuilt uCLinux 0-22 on A psp
Replies: 1
Views: 1229

You need to install a custom firmware to run any homebrew (that includes uCLinux). There's a fairly decent howto here on using Pandora's Battery to do the install of a cfw (I'd recommend M33-3.90) : http://forums.qj.net/f-psp-pandora-discussion-207/t-guide-make-the-perfect-pandoras-battery-124530.ht...
by zilt
Wed Jan 16, 2008 4:49 am
Forum: PSP Development
Topic: Any gotchas with developing on a 64 bit OS?
Replies: 12
Views: 5947

I'm running 64bit Linux: $ uname -a Linux trinity 2.6.23.11 #1 SMP PREEMPT Mon Dec 17 21:44:20 EST 2007 x86_64 Dual Core AMD Opteron(tm) Processor 270 AuthenticAMD GNU/Linux I also probably update and rebuild the full toolchain once a month or so - and have no problems compiling any PSP programs. My...
by zilt
Sat Jan 12, 2008 12:15 pm
Forum: PSP Development
Topic: Adhoc wifi
Replies: 7
Views: 2750

Here's a bit of code i use to load the network modules depending on firmware version: // setup the net environment int ret; #ifdef PSPFW3X printf("[main]: initing PSP 3.x network... \n"); if( (ret = sceUtilityLoadNetModule(1&a...
by zilt
Sat Jan 12, 2008 5:33 am
Forum: PSP Development
Topic: help with timing
Replies: 6
Views: 1937

hmm.. I guess you must be bnc9 over in qj since you posted the exact same question:

http://forums.qj.net/f-psp-development- ... 32245.html

For your current level of C++ expertise, you'll probably get more help there. These really are basic questions you're asking.
by zilt
Fri Dec 14, 2007 12:17 pm
Forum: PSP Development
Topic: Made a "How to setup the psptoolchain" tutorial...
Replies: 13
Views: 6591

The 01c9 is hardcoded in the usbhostfs code and will only be different if you alter the source and recompile. Not always. You can change the 01c9 value for usbhostfs_pc by adding the '-p <value>' option and changing the 'pid' value in psplink.ini. You only really need to do this if you have more th...
by zilt
Thu Jun 07, 2007 2:32 pm
Forum: PSP Development
Topic: Ok, I REALLY need help getting back into PSP development...
Replies: 6
Views: 3235

1) Linux

2) Use psplink - no need to copy the eboot/elf over any more. Plus, remote debugging works great with psp-gdb
by zilt
Sat May 26, 2007 3:53 pm
Forum: PSP Development
Topic: PSP Toolchain error
Replies: 10
Views: 3839

Your build directory was owned by root, so your user wasn't able to write into it. Also, it looks like your group is 'eric' not 'users' like alot of linux systems - so you'll need to change the 'chown' command to 'chown -R eric:eric' instead to set the correct group for your account. What I don't re...
by zilt
Sat May 26, 2007 3:36 pm
Forum: PSP Development
Topic: PSP Toolchain error
Replies: 10
Views: 3839

In your /home/eric/Desktop/psptoolchain, can you type "ls -al" and post the results. It almost seems as though that directory isn't owned by you so the script fails to save the files. I can't think of what else it might be.
by zilt
Sat May 26, 2007 3:16 pm
Forum: PSP Development
Topic: PSP Toolchain error
Replies: 10
Views: 3839

Just make /usr/local/pspdev owned by your user account. Become root and do the following commands: mkdir /usr/local/pspdev chown -R eric&#58;users /usr/local/pspdev Then, leave root and rerun the toolchain.sh script with your regular account. The other option is to just to do the full install as...
by zilt
Sat May 26, 2007 11:29 am
Forum: PSP Development
Topic: PSP Toolchain error
Replies: 10
Views: 3839

Maybe running it as 'sudo' isn't using the same path settings his regular user account. Try running it directly as root - or do as I do, just set it up with your regular user account.
by zilt
Sat Jul 15, 2006 1:48 pm
Forum: General Discussion
Topic: Antimass 3D client
Replies: 3
Views: 3266

The cal3D lib is now in svn.ps2dev.org/psp/trunk/cal3D Check the README.PSP file for details on building - have fun with it! I'll be commiting performance updates to it over the next little while. Also, remember that it is 3d api agnostic. I'm personally using it with pspgl since I've been coding op...
by zilt
Thu Jul 13, 2006 9:36 pm
Forum: PSP Development
Topic: ATRAC3 Player Sample
Replies: 76
Views: 52367

Nevermind about the streaming - I've worked around it by adding a separate thread that keeps a double buffer filled ( reduced the internal buffer down to 512k for dual atrac3 streams). I've also found that I can blend 2 concurrent atrac3 samples ( on separate channels ) with almost no drop in 3d fra...
by zilt
Thu Jul 13, 2006 9:05 pm
Forum: General Discussion
Topic: Antimass 3D client
Replies: 3
Views: 3266

Yes - I'll be releasing the full source for the client after the next release or two under the GPL license.

[Edit] - but I'm trying to get the cal3D lib into the svn repos today/tomorrow. Just trying to get a svn account at the moment.
by zilt
Thu Jul 13, 2006 6:49 am
Forum: PSP Development
Topic: It cannot allocate enough memory, ok, now how to fix it?????
Replies: 12
Views: 4130

sg57 - you'll learn eventually that you can't just cut & paste code all the time and assume it'll work without even understanding what it does. As Raphael said, memset and malloc perform two entirely different functions and shows a fundamental lack of understanding of those features. After your ...
by zilt
Thu Jul 13, 2006 4:30 am
Forum: PSP Development
Topic: I Need a tut.
Replies: 4
Views: 1973

Go here: http://forums.qj.net/forumdisplay.php?f=11

They've got lots of stickies on how to set things up and tutorials.
by zilt
Thu Jul 13, 2006 4:22 am
Forum: PSP Development
Topic: ATRAC3 Player Sample
Replies: 76
Views: 52367

moonlight: Any luck with figuring out atrac3 streaming? I'm adding music/sound support to my 3d world ( www.antimass.org/zilt ) based on your atrac3sample3.zip and the streaming would help free up memory. Thanks,

Zilt
by zilt
Thu Jul 13, 2006 3:43 am
Forum: PSP Development
Topic: GetTickCount equilivent?
Replies: 7
Views: 2968

Are you unable to do even the most basic searching of the psp include files? Try grepping for 'tick' in the psp include files directory. You might even find a function you're looking for.
by zilt
Thu Jul 13, 2006 3:13 am
Forum: PSP Development
Topic: Error in log.txt from pspgl
Replies: 2
Views: 1512

A 0x0501 is a GL_INVALID_VALUE error. Most likely it's due to your third param, '3'. It should be one of GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA - none of which are '3'. It could also be your width or height if there aren't 2^n
by zilt
Wed Jul 12, 2006 4:21 am
Forum: General Discussion
Topic: Antimass 3D client
Replies: 3
Views: 3266

Antimass 3D client

Here's a _very_ early release of my multiuser 3d world client. I wasn't planning on releasing this for another couple of weeks until more features were completed, however, that doesn't seem to be the psp homebrew way :) So, with this release, you can see 3 skeleton based 3D animated characters. Two ...
by zilt
Tue Jul 11, 2006 12:18 pm
Forum: PSP Development
Topic: Installing PSPGL [SOLVED]
Replies: 3
Views: 1579

I'd say that your psp sdk isn't setup correctly - make can't find pspvfpu.h which is located in "/usr/local/pspdev/psp/sdk/include/" which _is_ being included in your build. So - is pspvfpu.h in that dir on your system? If not, where is it? Also, type the following command to see where the...
by zilt
Tue Jul 11, 2006 4:31 am
Forum: PSP Development
Topic: PSPGL Question
Replies: 4
Views: 1555

Kojima is correct - pspgl does not support GL_FRONT_AND_BACK. From glCullFace.c: case GL_FRONT_AND_BACK&#58; default&#58; GLERROR&#40;GL_INVALID_ENUM&#41;; And since you brought up glMaterial.c, if you actually looked through the code, you'd see the the first param (GL_FRONT_AND_BACK...
by zilt
Mon Jul 10, 2006 8:25 am
Forum: PSP Development
Topic: GL_TRIANGLES needing resetting as GL_QUADS? Quick question
Replies: 2
Views: 1290

Quick answer - no. Each GL_TRIANGLES element is independent from the previous triangle. However, trying to reuse the same veritces in the following triangle sometimes allows the low level driver/hardware to speed up the triangle rendering by converting the GL_TRIANGLES into a GL_TRIANGLE_STRIP - but...
by zilt
Mon Jul 10, 2006 6:17 am
Forum: PSP Development
Topic: wtf? PSPGL + Building Lists = undefined, but not implicate??
Replies: 8
Views: 3043

Depends on what you're trying to do. For instance, in my font rendering code ( a common place for display lists), I generate a vertex array to store the required vertices and texcorrdinates for the text string - you only need to do this once for the string. Then you just need to do a glDrawArrays() ...
by zilt
Mon Jul 10, 2006 3:17 am
Forum: PSP Development
Topic: [Solved] Compiler bug was in fact optimizier bug.
Replies: 13
Views: 4946

I'm glad that it's working for you now. However, as far as I'm aware, '-O2' should be a safe optimizing level. I'll have to read up on it a bit. Try with just "-O" - that should be safe.
by zilt
Mon Jul 10, 2006 2:56 am
Forum: PSP Development
Topic: [Solved] Compiler bug was in fact optimizier bug.
Replies: 13
Views: 4946

I can't see anything obviously wrong with the code. Try compiling without -O2 to see if it makes a difference (you currenlty add it in twice - and there might be a bug in the optimizer). Other then that, it's looks ok. I also wouldn't redefine

Code: Select all

new
.
by zilt
Mon Jul 10, 2006 1:53 am
Forum: PSP Development
Topic: [Solved] Compiler bug was in fact optimizier bug.
Replies: 13
Views: 4946

Most likely it's a bug in your code. I have dozens of classes with 0-6 virtual methods in each class, and I've _never_ had any problem with g++. And this is not some toy engine - it does substantial 3D code with blended skeleton 3d character animation, bezier curves, hardware lighting, transparent 2...
by zilt
Mon Jul 10, 2006 1:48 am
Forum: PSP Development
Topic: wtf? PSPGL + Building Lists = undefined, but not implicate??
Replies: 8
Views: 3043

Re: wtf? PSPGL + Building Lists = undefined, but not implica

because the PSPGL DOES in fact have the List commands No - PSPGL does NOT have List commands. Why not bother checking the documentation and the source code next time. glNewList, glEndList, and glCallList are declared but have _no_ definitions in the pspgl source code. glGenLists has a definition, b...
by zilt
Fri Jul 07, 2006 11:43 pm
Forum: PSP Development
Topic: PSPGL - Compiled lib ok, demos not so much[Solved]
Replies: 14
Views: 4345

From looking at the pspgl source, gluOrtho2D doesn't appear to be implemented. Use glOrtho() instead. Here's my method for setting up 2D space for the gui: void pspRenderer&#58;&#58;setup2D&#40;&#41; &#123; GLCHK&#40;glViewport&#40; 0, 0, 480, 272 &#41;&#41;; GLCH...