Got The code... Cant compile it!
Got The code... Cant compile it!
Ok, so me and a friend created a simple code to download a file and create the folder UPDATE as a prx. We just dont know how to compile it or if there are any errors. I was wondering if someone can help me convert this to a prx.
Last edited by nephron on Fri Oct 12, 2007 7:43 am, edited 1 time in total.
That's the sort of question that will get you mocked and ridiculed. It doesn't matter how "1337" you think you are in C#, if you don't undetstand the fundamentals. Don't ask! That's what old threads and sample code are for. If you can't pick up the easy stuff from examples and old threads, you aren't going to make it here. Now don't post again until you can answer this post on your own.
wow... C# or Java right? hey just a pointer cause no one has said it yet because this is so outrageous... C++ or C k?... grab the toolchain look up on the toolchain and cgywin and install all that stuff, check out the samples, learn how to use it...
Enlighten me, Reveal my fate -- Follow - Breaking Benjamin
Heh, cargo cult progamming.jas0nuk wrote:Interesting language you've invented there... It's blatently obvious that you've copypasta'd it (from here) without understanding any of it.
http://lolcode.com/ xDcrazyc wrote:Heh, cargo cult progamming.jas0nuk wrote:Interesting language you've invented there... It's blatently obvious that you've copypasta'd it (from here) without understanding any of it.
RCOs are part of the VSH theme, you can't make a custom firmware out of themes.nephron wrote:i dont make the codes on the team. I work with other stuff like rcos and hex editing prxs. I am just trying to learn so i am sorry if its that bad.
Hex editing PRXs? That's gonna get you real far...
Funny that you removed the code.
bastard edited it out.
thank the internet, here's the code again.
don't think you even know that the code you've copied from someone's sample is c# code. real winner.
eat shit and die liars.
thank the internet, here's the code again.
Code: Select all
#include <pspkernel.h>
#include <pspctrl.h>
#include <stdio.h>
#include <string.h>
#include <pspmodulemgr.h>
PSP_MODULE_INFO("Test PRX", 0x1000, 1, 1);
int main(int argc, char **argv)
{
SceCtrlData pad;
while(1)
{
sceCtrlPeekBufferPositive(&pad, 1);
if(pad.Buttons & PSP_CTRL_RTRIGGER)
{
if(pad.Buttons & PSP_CTRL_TRIANGLE)
{
static void Main(string "MS0:\PSP\GAME\UPDATE" args)
{
FileDownloader downloader = new FileDownloader();
downloader.DownloadComplete +=
new EventHandler(downloader_DownloadedComplete);
downloader.ProgressChanged +=
new DownloadProgressHandler(downloader_ProgressChanged);
downloader.Download(""www.teamaop.pcriot.com/", " +
"?Updates/EBOOT.PBP");
}
static void downloader_ProgressChanged(object sender, DownloadEventArgs e)
{
Console.WriteLine("Progress " + e.PercentDone);
}
static void downloader_DownloadedComplete(object sender, EventArgs e)
{
Console.WriteLine("Download complete.");
}
}
}
sceKernelDelayThread(1000);
}
return 0;
}
/* Exported function returns the address of module_info */
void* getModuleInfo(void)
{
return (void *) &module_info;
}
eat shit and die liars.