• Steam recently changed the default privacy settings for all users. This may impact tracking. Ensure your profile has the correct settings by following the guide on our forums.

New v2.51 Custom Firmware Loader for ChickHEN (only slim 2000)

Oh yeah, another reason...

I'm too damned lazy xD
 
Code:
/*
	Eboot.pbp
	Relative pseudo C
*/

int Exit(char *message)
{
	printf("%s", message); //genius work, really
	sceKernelDelayThread(0x3D0900);
	sceKernelExitGame();
}

int WriteFile(const char *file, void *buffer, SceSize size) //Awesome error handling ;)
{
	SceUID fd = sceIoOpen(file, PSP_O_CREAT | PSP_O_TRUNC | PSP_O_WRONLY, 511);
	int ret = sceIoWrite(fd, buffer, size);
	
	sceIoClose(fd);
	return ret;
}

void FlashFiles() //bet you had fun writing this ;)
{
	if (WriteFile("flash0:/kd/vshctrl.prx", vshctrl, size_vshctrl) != size_vshctrl)
	{
		Exit("Error writting vshctrl.");
	}
	
	if (WriteFile("flash0:/kd/galaxy.prx", galaxy, size_galaxy) != size_galaxy)
	{
		Exit("Error writting galaxy.");
	}
	
	if (WriteFile("flash0:/kd/march33.prx", march33, size_march33) != size_march33)
	{
		Exit("Error writting march33.");
	}
	
	if (WriteFile("flash0:/kd/popcorn.prx", popcorn, size_popcorn) != size_popcorn)
	{
		Exit("Error writting popcorn.");
	}
	
	if (WriteFile("flash0:/kd/idcanager.prx", idcanager, size_idcanager) != size_idcanager)
	{
		Exit("Error writting idcanager.");
	}
	
	if (WriteFile("flash0:/kd/usbdevice.prx", usbdevice, size_usbdevice) != size_usbdevice)
	{
		Exit("Error writting usbdevice.");
	}
	
	if (WriteFile("flash0:/vsh/module/satelite.prx", satelite, size_satelite) != size_satelite)
	{
		Exit("Error writting satelite.");
	}
	
	if (WriteFile("flash0:/kd/systemctrl_02g.prx", systemctrl_02g, size_systemctrl_02g) != size_systemctrl_02g)
	{
		Exit("Error writting systemctrl.");
	}
	
	if (WriteFile("flash0:/kd/pspbtlnf_02g.bin", pspbtlnf_02g, size_pspbtlnf_02g) != size_pspbtlnf_02g)
	{
		Exit("Error writting pspbtlnf.");
	}
	
	if (WriteFile("flash0:/kd/pspbtlnf_02g.bin", pspbtdnf_02g, size_pspbtdnf_02g) != size_pspbtdnf_02g)
	{
		Exit("Error writting pspbtdnf.");
	}
	
	if (WriteFile("flash0:/kd/pspbtjnf_02g.bin", pspbtjnf_02g, size_pspbtjnf_02g) != size_pspbtjnf_02g)
	{
		Exit("Error writting pspbtjnf.");
	}
	
	if (WriteFile("flash0:/kd/pspbtknf_02g.bin", pspbtknf_02g, size_pspbtknf_02g) != size_pspbtknf_02g)
	{
		Exit("Error writting pspbtknf.");
	}
}

int main() //why store strings in vars?
{
	SceIoStat stat;
	SceCtrlData pad;
	
	int model; //initalize?
	pspDebugScreenInit();
	
	printf("Hen de los huevos, como falla el cabron. Custom Firmware Enabler 1.0\nBy Xenogears and Becus25\n\n");
	printf("Press O to flash M33 custom firmware files into the flash.\nPress X to run the custom firmware.\nPress R to exit.\n");
	
	while (1)
	{
		sceCtrlReadBufferPositive(&pad, 1);
		
		if (pad.Buttons & PSP_CTRL_CROSS)
		{
			pspDebugScreenClear();
			printf("\nLoading henctrl.prx...");
			
			SceUID modid = sceKernelLoadModule("henctrl.prx", 0, NULL);
			
			if (modid < 0)
			{
				Exit(" Error loading henctrl.prx");
			}
			
			printf("\nStarting henctrl.prx...");
			sceKernelStartModule(modid, strlen("henctrl.prx") + 1, "henctrl.prx", NULL, NULL, NULL);
			
			printf("Wait 5 seconds...")'
			sceKernelDelayThread(0x4C4B40);
			sceKernelExitGame();
		}
		
		else if (pad.Buttons & PSP_CTRL_CIRCLE)
		{
			if (sceIoUnassign("flash0:") < 0)
			{
				Exit("Error unassigning flash0:");
			}
			
			if (sceIoAssign("flash0:", "lflash0:0,0", "flashfat0:", IOASSIGN_RDWR, NULL, 0) < 0)
			{
				Exit("Error assigning flash0:");
			}
			
			if (!sceIoGetstat("flash0:/kd/loadexec_01g.prx", &stat)) //hello? sceKernelGetModel? >.>
				model = 0;
			
			if ((ret = sceIoGetstat("flash0:/kd/loadexec_02g.prx", &stat)) < 0 && model != ret) //model isn't even predefined...
			{
				Exit("Your PSP is not 2000. Exiting...");
			}
			else
				model = 1;
			
			printf("\nFlashing...");
			FlashFiles();
			
			printf("Done.\n\nPress X to run the custom firmware.");
		}
		
		else if (pad.Buttons & PSP_CTRL_RTRIGGER)
		{
			Exit("Exiting...");
		}
	}
	
	return 0; //nice program flow control
}
 
Hey, fiddie, you seem new here

Let me explain.
You can have any PSP except 3000
You have to have 5.03 and chickhen running
You can then activate CustomFirmware Enabler
Now you can run plugins, ISO's basically anything but PSX games and recovery menu.

To run Plugins...

1. Create a folder on the root of your memory stick called 'Seplugins' (without quote marks)
2. Create a file called vsh.txt
3. Put all your plugins in the 'seplugins' folder
4. In vsh.txt write links to all the plugins you have so something like

ms0:/seplugins/(whatever plugin)

After you write a link have a space and write either 1 to enable the plugin or 0 to keep it off for now so using cwcheat

ms0:/seplugins/cwcheat.prx 1
OR
ms0:/seglugins/cwcheat.prx 0

(ms0 is how the PSP recognizes the mem stick)

You can also enable them through the vsh menu but you should still have vsh.txt in your seplugins folder

Hold+ and Ultimate VSH Menu not working but popsloader working ;) Use this.

I tested this on MediEvil and working fine.
 
Well, as a linux user I'm used to a lot more cooperation and sharing.
I'm amazed by the fighting between devs and permanent ask/search for credits...
Try to work all together and progress will a lot easier and faster... it's not a competition but a quest to use the maximum of the capacities of the PSP.
I wish I were a developer...
 
Well, as a linux user I'm used to a lot more cooperation and sharing.
I'm amazed by the fighting between devs and permanent ask/search for credits...
Try to work all together and progress will a lot easier and faster... it's not a competition but a quest to use the maximum of the capacities of the PSP.
I wish I were a developer...

i agree with u

u should be working together instead of doing this the only problem is
can davee or him speak in same language :p
 
the thing is that devs deserve credit for their work and other devs use their work without permssion and don't give credit which is the sign of a bad/evil dev who gives no regard to others
 
the thing is that devs deserve credit for their work and other devs use their work without permssion and don't give credit which is the sign of a bad/evil dev who gives no regard to others

It's not credits, it's disrespect.
"Hen de los huevos, como falla el cabron."

This developer can't even code properly. He writes to your PSP's with almost no error handling.
 
It's not credits, it's disrespect.
"Hen de los huevos, como falla el cabron."

This developer can't even code properly. He writes to your PSP's with almost no error handling.

As Spanish speaker I could say that its not a insult, could be seen as a joke if you want to...

Now, about the utilization of other's ppl material without permission, I sincerely don't agree, since one can make public his material if he wants to. In case he didn't, none should use it without permission.

Well Davee, thanks for what you did with the HEN, it was a great piece of work and ppl should know how to respect it.

Hope one day I can do something like it in a tech point of view.

Saludos or best regards.
 
As Spanish speaker I could say that its not a insult, could be seen as a joke if you want to...

Now, about the utilization of other's ppl material without permission, I sincerely don't agree, since one can make public his material if he wants to. In case he didn't, none should use it without permission.

Well Davee, thanks for what you did with the HEN, it was a great piece of work and ppl should know how to respect it.

Hope one day I can do something like it in a tech point of view.

Saludos or best regards.

It's a very vague translation, you're probably correct.
 
It's not credits, it's disrespect.
"Hen de los huevos, como falla el cabron."

This developer can't even code properly. He writes to your PSP's with almost no error handling.

"Hen of the eggs as failure cabron"

or they might be taunting you or trying to piss you off?
 
Back
Top