Search found 36 matches

by Mon Ouïe
Sat Jan 02, 2010 4:45 am
Forum: PSP Development
Topic: Will PSPLink be updated for 5.50-gen?
Replies: 6
Views: 4775

Criptych : Are you sure that it works with the 5.50 Gen-D2 ? As far as I know, it had only been fixed in the D3 (with a PSP 2000 too). Anyway, it should work with their latest firmware.
by Mon Ouïe
Thu Dec 31, 2009 12:14 am
Forum: PSP Development
Topic: Help Please...lost all cpp files...how to decompile from .o?
Replies: 4
Views: 3841

If you have all the *.o files, you can build the ELF easily; you could also use psp-objdump.
by Mon Ouïe
Mon Nov 30, 2009 5:12 am
Forum: PSP Development
Topic: Http file download, howto
Replies: 9
Views: 6060

I guess the order is wrong (but -lz is correct): A library which depends on other has to be linked before the libraries it depends on. So, it should be :

Code: Select all

-lcurl -lz
by Mon Ouïe
Fri Nov 27, 2009 4:43 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

Yeah, but remove the 1.9 folder from it though. It'll never be used ;)
I tried to work with Joyau (simple things, just experimenting): this is awesome, no joke!
Thanks :)
by Mon Ouïe
Fri Nov 27, 2009 1:54 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

No, you're right :) But don't forget internal dependencies, like joyau/inherited required in other files (e.g. joyau/viewport ). Notice that Joyau adds the following directory to the include path : - ./ruby/1.8/ - ./ruby/site_ruby/ - ./ruby/site_ruby/1.8/ - ms0:/ruby/1.8/ - ms0:/ruby/site_ruby/ - ms...
by Mon Ouïe
Wed Nov 25, 2009 2:03 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

I tried your with the EBOOT ( I use rather the PRX, inside psplink ). Your simple should put the text in stdout, which cannot be read from the PSP. I tried some samples, they all worked fine. Are you sure you put all the files in the correct folder ? Did you put the site_ruby ? Because many samples ...
by Mon Ouïe
Tue Nov 24, 2009 3:11 am
Forum: PSP Development
Topic: Sudo make install pspsdk problem
Replies: 13
Views: 14805

You could also put your export in the /etc/profile. According to man sudo, -E work even when there is an env_reset in sudoers : The -E (preserve environment) option will override the env_reset option in sudoers(5)). It is only available when either the matching command has the SETENV tag or the sete...
by Mon Ouïe
Sat Oct 31, 2009 2:55 am
Forum: PSP Development
Topic: Not enough memory with Ruby 1.9
Replies: 5
Views: 3892

Thanks, but it doesn't work either. It hangs at the same point. The result is the same with PSP_HEAP_SIZE_MAX.

Should I trace memory allocation in order to find out if and where there is a problem ?
by Mon Ouïe
Fri Oct 30, 2009 7:14 am
Forum: PSP Development
Topic: Not enough memory with Ruby 1.9
Replies: 5
Views: 3892

I tried those macros like :

Code: Select all

PSP_HEAP_SIZE_KB(1024 * 32);
And yes, the program run longer. It ends somewhere in ruby_thread_init_stack. It really looks like a lack of memory, but I can't understand how this could take as much memory - therefore, I just belive it doesn't...
by Mon Ouïe
Fri Oct 30, 2009 6:01 am
Forum: PSP Development
Topic: Not enough memory with Ruby 1.9
Replies: 5
Views: 3892

Not enough memory with Ruby 1.9

Hi, I'm trying to run Ruby 1.9. The problem I get is a "[FATAL] failed to allocate memory". It seems to be outputed by a xmalloc2. Since Ruby isn't totally initialized, it'd be really strange if we have not enough memory for this. Therefore I belive the problem is in my code. I have : PSP_...
by Mon Ouïe
Fri Oct 23, 2009 1:13 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

I've never had linkings errors for Ruby. Perhaps is -lc (after -lruby ) needed and missing ?

Youu can effectively use Ruby's script for your game this way. You'll just have to use another way in order to run your scripts.

Check that too if you haven't done it yet :)
by Mon Ouïe
Tue Sep 22, 2009 5:13 am
Forum: PSP Development
Topic: Boost::shared_ptr
Replies: 4
Views: 2198

It's working : #include <pspkernel.h> #include <vector> #include <set> #include <iostream> #include <algorithm> #include <boost/shared_ptr.hpp> PSP_MODULE_INFO&#40;"boost test", 0, 1, 0&#41;; struct Foo &#123; Foo&#40;int _x&#41;&#58; x&#40;_x&#41; &#123...
by Mon Ouïe
Tue Sep 22, 2009 3:24 am
Forum: PSP Development
Topic: Boost::shared_ptr
Replies: 4
Views: 2198

I've not tried shared_ptr, but I'm pretty sur the "header only" part of boost can be used. ( I've already compiled the multi_array sample ^^ )
by Mon Ouïe
Mon Aug 24, 2009 7:27 pm
Forum: PSP Development
Topic: [SOLVED]What to code?
Replies: 15
Views: 6599

No one can say what you should code. If you want to create a game, and if you think you can do it, then do that game.
by Mon Ouïe
Mon Aug 24, 2009 1:21 am
Forum: PSP Development
Topic: Compiling error - Ubuntu 9.04
Replies: 5
Views: 2355

Yeah. No one'd create a library using the same files as OpenGL.
Well, I don't think they've put these libs without any reason. You can try to remove them, but you'll probably get undefined references.
by Mon Ouïe
Sun Aug 23, 2009 4:35 pm
Forum: PSP Development
Topic: Compiling error - Ubuntu 9.04
Replies: 5
Views: 2355

This means the libGL is missing. You should recompile OpenGL.
by Mon Ouïe
Sun Aug 23, 2009 4:30 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

Hey, Now, OSK and USB connections are supported. I've changed alot of construcors too. Now, you can write things like : sprite = Sprite.new&#40;"sprite.png"&#41; cursor = Cursor.new&#40;"cur.png", 40&#41; map = GameMap.new&#40;"atileset.png", "a...
by Mon Ouïe
Tue Aug 11, 2009 4:59 am
Forum: PSP Development
Topic: [SOLVED] Strange VLF crash
Replies: 9
Views: 3655

I have never used the vlf, but you should use psplink. You'll get a better backtrace (because you'll be able to use gdb).
by Mon Ouïe
Mon Aug 10, 2009 11:36 pm
Forum: PSP Development
Topic: How to reinstall libstdc++
Replies: 4
Views: 2119

Well... Exactly as when you compiled it, probably with the psptoolchain script.
by Mon Ouïe
Mon Aug 10, 2009 7:12 pm
Forum: PSP Development
Topic: How to reinstall libstdc++
Replies: 4
Views: 2119

Juste recompile gcc, but I don't think it'll solve your problem. Are you sure your code and your makefile are both corrects ?
by Mon Ouïe
Wed Aug 05, 2009 10:25 pm
Forum: PSP Development
Topic: PSPLink and 80020148 error (could not be started) [SOLVED]
Replies: 7
Views: 3730

Well, you can build your version from source ( it's in the svn repository ). psplink_manual.pdf says it's the version 3.0 thus...
by Mon Ouïe
Wed Aug 05, 2009 8:52 pm
Forum: PSP Development
Topic: PSPLink and 80020148 error (could not be started) [SOLVED]
Replies: 7
Views: 3730

No, that's not that. There's a psplink eboot which requires the kernel mode, and you shouldn't use it. In my installation, the "good" eboot is at (pspdev location)/psplink/psp/oe.

And, there is a 3.0 version, no ? Why don't you use it ?
by Mon Ouïe
Wed Aug 05, 2009 1:56 am
Forum: PSP Development
Topic: How can I find out the path of the homebrew
Replies: 8
Views: 4226

man getcwd ?
It's in unistd.h, and you already have its prototype.
by Mon Ouïe
Tue Aug 04, 2009 6:14 pm
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

Yes, that's normal. In older version, I've used a function which allows \n, etc. and which is always drawed so. However, now, the only way to do this is using DrawableText#toggleScripted. I did that because the "scripted" mode can't be used in other color. If it is just for the background,...
by Mon Ouïe
Tue Aug 04, 2009 5:23 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

Well, I've uploaded two new version after 0.10, you could try the last one ^^ And yeah, the developement continues :P For the USB... Well, I did it right after I read your message. It seems to work, but I don't know how it can be used. You can init the usb connection, and get the usb state; that's a...
by Mon Ouïe
Thu Jul 30, 2009 6:33 pm
Forum: PSP Development
Topic: "psp-gcc: Command not found" psplink
Replies: 3
Views: 2403

It has the same output simply because $PATH is parsed by your shell, and it won't use the root variable if you're not already root.
by Mon Ouïe
Thu Jul 23, 2009 5:47 pm
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

The Ruby socket class need to be built as a separate extension, so you can't use it ( even if, since berkley socket should work, recompiling it with Joyau is perhaps possible, it's just the psp-specific part... ) I'd look at some samples (simple_prx seems to do that), but I'm not sure I'll implement...
by Mon Ouïe
Wed Jul 15, 2009 2:59 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

All the USB code you have is kernel level. Think I spotted a few in Kernel.cpp too. Anyway, the USB functions aren't working. They may be removed. Well, I tried your version, and it compile well ;) I've tried right now, and it runs too. The only thing which I'd like to use is the function about ebo...
by Mon Ouïe
Tue Jul 14, 2009 6:11 pm
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

Well, I don't really understand what's called a library for the PSP, since we don't use static links. Anyway, I've done a tarball which contains : - Joyau ( the last experimental version ) - freealut ( The one with yur patches ^^ ) - openAL - the devslib - ruby - ogg and vorbis ( I don't think the p...
by Mon Ouïe
Tue Jul 14, 2009 4:50 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 36755

Well, when I compile the eboot so I get the 8002013C error.

I've tried to remove the callbacks and to use the oslib ones ( and thus, I remove the stdoutInit function too ), but it doesn't work.

I don't know how I could use a prx in that case, since I need functions pointers for the ruby library.