Search found 106 matches

by NoEffex
Wed Apr 01, 2009 11:29 am
Forum: PSP Development
Topic: compiling toolchain fails at script 4
Replies: 7
Views: 2424

try

sudo apt-get install compat-gcc*

and do the ls *gcc* thing.

(Compat is way back like 3.4).
by NoEffex
Tue Mar 31, 2009 3:56 pm
Forum: PSP Development
Topic: compiling toolchain fails at script 4
Replies: 7
Views: 2424

Try and install compat-gcc via apt or synaptic and head into /usr/bin then type

ls *gcc*

and post the output, assuming you got compat-gcc installed.

I had to use an older version of gcc on both the psptoolchain and ps2toolchain.
by NoEffex
Tue Mar 31, 2009 3:54 pm
Forum: PSP Development
Topic: error code in compiling
Replies: 20
Views: 4642

What do you mean? If you mean changing test_buffer and size and such, then test_buffer and the size argument would just be changed to the buffer containing the binary(and if it was large, you'd do a loop) i.e. int flash_file(char *filedest, char *filesrc) { int fd0 = sceIoOp...
by NoEffex
Tue Mar 31, 2009 7:31 am
Forum: PSP Development
Topic: error code in compiling
Replies: 20
Views: 4642

I think it's because you're writing test_buffer, which is empty. I'm almost positive this is the problem. To confirm, do something like sprintf(test_buffer, "Test"); right before flash_file("flash0.... okay, that works, it flashes the text what ever is in the brackets, but how do i u...
by NoEffex
Tue Mar 31, 2009 5:18 am
Forum: PSP Development
Topic: error code in compiling
Replies: 20
Views: 4642

I think it's because you're writing test_buffer, which is empty. I'm almost positive this is the problem.

To confirm, do something like

sprintf(test_buffer, "Test");

right before flash_file("flash0....
by NoEffex
Tue Mar 31, 2009 5:11 am
Forum: PSP Development
Topic: PSP3001 hacked for cfw yet
Replies: 21
Views: 5029

Yeah, it's not so much has it been hacked as much as has the hack been released.
by NoEffex
Tue Mar 31, 2009 5:10 am
Forum: PSP Development
Topic: [Solved] Module Manager busy?
Replies: 10
Views: 2416

I figured as much. The problem is that never happens. With your code in there it ends in a endless loop. Have you tried it? It's always worked fine for me. In english: "Lets check if sceKernelLibrary is loaded, you know, the kernel. If it is, lets go ahead and skip this delay here, else we'll ...
by NoEffex
Mon Mar 30, 2009 7:37 am
Forum: PSP Development
Topic: error code in compiling
Replies: 20
Views: 4642

Just a shot in the dark, but in the if(fd < 0) in the flash_file function, try

if(fd <= 0)

because it looks fine, writewise.
by NoEffex
Mon Mar 30, 2009 7:33 am
Forum: PSP Development
Topic: [Solved] Module Manager busy?
Replies: 10
Views: 2416

Can't be the plugins, the only one in game.txt is my kernelmodule.prx - which attempts to load usermodule.prx. Edit : I exchanged the ku one for the normal sceKernelLoadModuleMS and now I get the error code 0x8002013A which equals the constant SCE_KERNEL_ERROR_LIBRARY_NOT_YET_LINKED. But how can th...
by NoEffex
Sun Mar 29, 2009 11:10 am
Forum: PSP Development
Topic: [Solved] Module Manager busy?
Replies: 10
Views: 2416

Could try

Code: Select all

while&#40;!sceKernelFindModuleByName&#40;"sceKernelLibrary"&#41;&#41; sceKernelDelayThread&#40;100000&#41;;
by NoEffex
Sat Mar 28, 2009 8:21 am
Forum: PSP Development
Topic: psp sdk dunctions source
Replies: 7
Views: 2050

Anything with sce* is just an import, there is no source. The headers, however, are in /usr/local/pspdev/psp/sdk/include and such.
by NoEffex
Thu Mar 26, 2009 9:33 am
Forum: PSP Development
Topic: Debug PRX
Replies: 8
Views: 2351

Be creative :).
by NoEffex
Wed Mar 25, 2009 8:25 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6659

Torch... that's... a brilliant idea! Why didn't I think of that possibility before? I can already patch the function memory properly... the only thing left to do is create a usermode module and launch it side by side with mine. But seriously. I would far more prefer doing it over syscalls directly ...
by NoEffex
Tue Mar 24, 2009 7:28 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6659

Another thing you could do(99% sure) is be epicly ghetto about it and find an import syscall of whatever usermode thing you want to do, and just hook the desired function to that syscall, but then hook that syscall to your kernel mode function. For example, in my case, I could hook your usermode fun...
by NoEffex
Tue Mar 24, 2009 7:23 am
Forum: PSP Development
Topic: Questions about prx
Replies: 4
Views: 1362

1. I'd ask someone besides myself, lol
2. sceKernelLoadModule, sceKernelStartModule
3. kubridge from the cfw sdk?
by NoEffex
Tue Mar 24, 2009 7:18 am
Forum: PSP Development
Topic: [problem] usbhostfs_pc/pspsh in Eclipse
Replies: 2
Views: 1045

Likewise with source compiled.
by NoEffex
Mon Mar 23, 2009 4:37 pm
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6659

From my experience, if you patch the syscalls(via sctrlHENFindFunction, sctrlHENPatchSyscall) they can do it flawlessly, without all the jabber.
by NoEffex
Fri Mar 20, 2009 6:35 am
Forum: PSP Development
Topic: RemoteJoyLite port to Linux based system
Replies: 12
Views: 3652

Rich43 wrote:I think the ps2dev remote joy only does nethostfs?
No, it works with like all of the *hostfs's, last I checked. I know for sure it works with usbhostfs, though.
by NoEffex
Tue Mar 17, 2009 6:25 am
Forum: PSP Development
Topic: OpenAL
Replies: 12
Views: 5970

Have I ever told you I want to bear your children? Because I do.
by NoEffex
Fri Mar 13, 2009 10:56 am
Forum: PSP Development
Topic: New at c++/need to know some things about prxtool
Replies: 8
Views: 2570

svn checkout svn://svn.ps2dev.org/psp/trunk/prxtool
cd prxtool
sh bootstrap
sh configure
make
make install
make clean


Should work.
by NoEffex
Fri Mar 13, 2009 10:54 am
Forum: PSP Development
Topic: PSP development on Linux - Your preferred distro?
Replies: 31
Views: 12235

I'm using fedora 10 with countless things compiled from source, some packages, some this and that, and it's worked fine for me so far.

Is your OS 64 or 32 bit?
by NoEffex
Wed Mar 11, 2009 4:44 pm
Forum: PSP Development
Topic: How to use the "sceI2cMasterTransmit" function in
Replies: 7
Views: 2772

Why are you in the flash? Can you get to the recovery menu? Try to add to the makefile "LIB = -lpspi2c_driver"?[/url] He has the library loaded compiler-side, just not prx-side, similar as if you were to try to make a usb connection with none of the usb modules loaded. I'd borrow loadstar...
by NoEffex
Wed Mar 11, 2009 4:40 pm
Forum: PSP Development
Topic: New at c++/need to know some things about prxtool
Replies: 8
Views: 2570

Another thing is that you're going to have to learn some MIPS to be able to understand what all of the prxtool stuff does, as it doesn't output in C/C++.
by NoEffex
Wed Mar 11, 2009 4:38 pm
Forum: PSP Development
Topic: psptoolchain broken?
Replies: 15
Views: 7518

Just a note, but for some reason(Well, for very clear reasons in that it's just not compatible) the toolchain compiles perfectly with no previous psp* stuff installed, while it fails with the older stuff already installed.
by NoEffex
Sat Mar 07, 2009 7:28 am
Forum: PSP Development
Topic: Hooks?
Replies: 12
Views: 4281

In the CFW systemctrl_kernel library(probably others too, but that's the one I know off the top of my head), you can hook syscalls like

int func_addr = sctrlHENFindFunction(modname, libname, nid);
sctrlHENPatchSyscall(func_addr, &function_name);

That's one of the easier ways to do it.
by NoEffex
Sun Feb 22, 2009 10:25 am
Forum: PSP Development
Topic: a new sample to decode all psp supported MP4AVC
Replies: 8
Views: 12230

slasher2661996 wrote:WARNINGS DO! MATTER!!![/i][/b]
Sometimes. Other times they are indeed just warnings and are more of an annoyance than anything.

Anyways, very nice, and thank you for sharing this..complex piece of code, and licensing it under the GPL :D.
by NoEffex
Sun Feb 22, 2009 10:22 am
Forum: PSP Development
Topic: How do i read a crash report from psplink?
Replies: 8
Views: 2820

It tells you where the exception happened and dumps all the registers so you can read what is in what register. This is more useful to the projects developers in my opinion as they know more of what's going on, but, usually it'll give a hint as to what triggered what, just gotta somewhat understand ...
by NoEffex
Sun Feb 22, 2009 10:11 am
Forum: PSP Development
Topic: How to decrypt a prx
Replies: 6
Views: 2932

To decompress a gzipped one:

Delete the first 0x150(or until the 0x150 mark) then rename to .gz. Works like a charm for me.
by NoEffex
Wed Feb 18, 2009 7:56 am
Forum: PSP Development
Topic: to that dude who wanted psp as wifi for pc
Replies: 5
Views: 2056

Oh, my bad. Sorry 'bout that.
by NoEffex
Tue Feb 17, 2009 7:28 am
Forum: PSP Development
Topic: to that dude who wanted psp as wifi for pc
Replies: 5
Views: 2056

jojojoris wrote:yeah... it was me!!!

But i'm not a good coder. I don't think i am able to finish this project.
No, it was not you, it was SANiK.