C/C++ Programming Help Thread
This is a discussion on C/C++ Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; i just have to downlaod it now; could someone upload it on sendspace?...
-
04-09-2007, 11:18 AM #3781QJ Gamer Bronze
- Registriert seit
- Mar 2007
- Beiträge
- 758
- Points
- 8.665
- Level
- 62
- Downloads
- 0
- Uploads
- 0
i just have to downlaod it now; could someone upload it on sendspace?
-
04-09-2007, 11:18 AM #3782QJ Gamer Silver

- Registriert seit
- May 2006
- Ort
- Behind you.
- Beiträge
- 1.814
- Points
- 10.921
- Level
- 69
- Downloads
- 0
- Uploads
- 0
Hey, it's my great friend (darkside)! Anyways, can anyone help me with this problem:
Zitat von TMNT
Calypso - Enjoy the excellent 2D space shooter:
http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195
"Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)
-
04-09-2007, 11:19 AM #3783QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
does anyone know if xorloser is ever going to release an update (for his win32 development tools) because you can't render .png and make kxploit isn't working.. but that's not problem actualy because Custom firmware accepts 1.00 firmware eboot's to..
anyone looked at this :
Zitat von Kwastie
-
04-09-2007, 11:21 AM #3784QJ Gamer Gold

- Registriert seit
- Jul 2005
- Ort
- everywhere
- Beiträge
- 3.526
- Points
- 17.453
- Level
- 84
- Downloads
- 1
- Uploads
- 0
@tmnt the code is correct it's not constantly rotating it 90 degrees it's only rotated to 90 degrees if you want it to keep rotating 90 degrees place in your rquad rotate take out the 90 degree thing then go to where it says rquad+= number and make number 90*PI/180
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been
-
04-09-2007, 11:26 AM #3785Banned for LIFE
- Registriert seit
- Oct 2006
- Ort
- East London, England
- Beiträge
- 2
- Points
- 18.744
- Level
- 86
- Downloads
- 0
- Uploads
- 0
Please look at the lib installer.
Zitat von Kwastie
http://dl.qj.net/PSP-Development-Lib...8603/catid/193
-
04-09-2007, 11:28 AM #3786Heroes never die

- Registriert seit
- Aug 2006
- Ort
- ...........
- Beiträge
- 1.323
- Points
- 8.645
- Level
- 62
- Downloads
- 0
- Uploads
- 0
Code:while(1) { pspDebugScreenClear(); printf(" Your running this program for"); printf(" i%", hour); printf(":i%", minute); printf(":i%", seconde); while(1) { if (hour == 24) { hour = 0; } if (minute == 60) { hour++; minute = 0; } if (seconde == 60) { minute++; seconde = 0; } else seconde++; sceKernelDelayThread(1000000); break; } }
-
04-09-2007, 11:29 AM #3787QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
Thanks :) I'am going to test right now :)
-
04-09-2007, 11:33 AM #3788Heroes never die

- Registriert seit
- Aug 2006
- Ort
- ...........
- Beiträge
- 1.323
- Points
- 8.645
- Level
- 62
- Downloads
- 0
- Uploads
- 0
look back fixed it
-
04-09-2007, 11:33 AM #3789QJ Gamer Green
- Registriert seit
- Jul 2006
- Ort
- USA SC/NC
- Beiträge
- 699
- Points
- 5.712
- Level
- 48
- Downloads
- 0
- Uploads
- 0
uhh, whats the point in having another while loop if it never loops...
Zitat von hallo007
[CODE]Random Facts:
irc://irc.malloc.us #wtf #**********
[/CODE]
[SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]
-
04-09-2007, 11:48 AM #3790Heroes never die

- Registriert seit
- Aug 2006
- Ort
- ...........
- Beiträge
- 1.323
- Points
- 8.645
- Level
- 62
- Downloads
- 0
- Uploads
- 0
o yeah , stupid tradition for if i work with buttons;)
-
04-09-2007, 11:53 AM #3791QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
what wrong with :
if( seconde > 60)
{
minute ++;
seconde = 0;
}
-
04-09-2007, 11:58 AM #3792QJ Gamer Green
- Registriert seit
- Jul 2006
- Ort
- USA SC/NC
- Beiträge
- 699
- Points
- 5.712
- Level
- 48
- Downloads
- 0
- Uploads
- 0
btw, you really don't need to clear the screen after every ****ing loop :\ .
Just have it print the text in the exact same place or something.
pspDebugScreenSetXY(0,0);
-_-
Thats why it flickers btw. You clear the screen so damn much.[CODE]Random Facts:
irc://irc.malloc.us #wtf #**********
[/CODE]
[SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]
-
04-09-2007, 12:05 PM #3793QJ Gamer Blue
- Registriert seit
- Feb 2007
- Ort
- Florida
- Beiträge
- 214
- Points
- 4.031
- Level
- 40
- Downloads
- 0
- Uploads
- 0
Looks fine, did you make a integer for both of them?
Zitat von Kwastie
EX. int minute
int seconde?
And btw, you spelled second wrong, and i think it could be better to use the math.h functions.
-
04-09-2007, 12:07 PM #3794QJ Gamer Green
- Registriert seit
- Jul 2006
- Ort
- USA SC/NC
- Beiträge
- 699
- Points
- 5.712
- Level
- 48
- Downloads
- 0
- Uploads
- 0
Its spelled fine in HIS program :)
Zitat von MrChaos
btw, int minute;
int second;[CODE]Random Facts:
irc://irc.malloc.us #wtf #**********
[/CODE]
[SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]
-
04-09-2007, 12:09 PM #3795QJ Gamer Blue
- Registriert seit
- Feb 2007
- Ort
- Florida
- Beiträge
- 214
- Points
- 4.031
- Level
- 40
- Downloads
- 0
- Uploads
- 0
o yeah. my bad. And did he already define the minute and second so that they originaly equal zero?
Zitat von Moca
-
04-09-2007, 01:45 PM #3796
Is it advisable to fetch getVramDrawBuffer() per each use or once per loop[if it doesn't change]?
I am using IWN's fontloader_2.
-
04-09-2007, 02:00 PM #3797QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
lol, reason why I wrote seconde instead of second because its dutch for second xD and minuut=minute and uur=hour
lol now you can speak 3 words dutch
-
04-09-2007, 02:40 PM #3798It's good to be free...

- Registriert seit
- Feb 2007
- Beiträge
- 2.440
- Points
- 10.420
- Level
- 67
- Downloads
- 0
- Uploads
- 0
should beCode:seconde > 60
Because 60 seconds is equal to one minute, not 61 or more.Code:seconde >= 60
-
04-09-2007, 03:02 PM #3799words are stones in my <3

- Registriert seit
- Jul 2005
- Ort
- Spokane
- Beiträge
- 5.008
- Points
- 35.274
- Level
- 100
- My Mood
-
- Downloads
- 1
- Uploads
- 0
Arachemic - Depends. Are you counting the 0-1 transition as one of hte seconds? If not, >= 60, else > 60.
I say this because most dont count from 1 to 10 via:
0...1...2...3...4...5...6 ...7...8...9 - ready or not here i come!
...erm...yyeeaaah....
...at what speed must I live.. to be able to see you again?...
Projects
You can support my Open World 3D RPG for PSP by voting for it here
-
04-09-2007, 03:17 PM #3800It's good to be free...

- Registriert seit
- Feb 2007
- Beiträge
- 2.440
- Points
- 10.420
- Level
- 67
- Downloads
- 0
- Uploads
- 0
If you notice, he has
So the seconds to reset to 0 and not to 1. It'd be counting like a clock: it goes from :59 to :00, not from :60 to :00.Code:seconde = 0;
-
04-10-2007, 01:59 AM #3801
the prx i am making works with no bugs on 3.10 OE but my 3.03 OE-C PSP will not boot when it is enabled. what must i do to laod my prx in 3.03 OE-C
Code:#include <pspkernel.h> #include <pspdebug.h> #include <pspctrl.h> #include <stdio.h> #include <stdlib.h> PSP_MODULE_INFO("XXXX", 0x1000, 1, 1); #define XXXXX //Main function XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX } sceKernelDelayThread(100000); } return 0; } void* getModuleInfo(void) { return (void *) &module_info; }
-
04-10-2007, 04:52 AM #3802QJ Gamer Blue
- Registriert seit
- Feb 2007
- Ort
- Florida
- Beiträge
- 214
- Points
- 4.031
- Level
- 40
- Downloads
- 0
- Uploads
- 0
First of all, on that code, your missing alot of { and your missing int main() {.
Zitat von vodkkaa
Maybe that is your problem?
-
04-10-2007, 05:19 AM #3803QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
what is the reason why i can't use this:
i am getting this warning:Code:printf" i%", hour) printf":i%", minute) printf":i%", second);
supurious trailing '%' in format and
too many arguments for format
btw and want to create an stopwatch ;)
-
04-10-2007, 05:23 AM #3804QJ Gamer Silver

- Registriert seit
- Jun 2006
- Ort
- UK
- Beiträge
- 2.326
- Points
- 10.263
- Level
- 67
- Downloads
- 0
- Uploads
- 0
Zitat von Kwastie
Code:printf"%i", hour); printf":%i", minute); printf":%i", second);
[Blog] [Portfolio]
[Homebrew Illuminati - Serious Homebrew Development Forums]
[I want to make Homebrew FAQ] [How I broke into the Games Industry]
[Programming Book List] [Programming Article List]
-
04-10-2007, 05:44 AM #3805QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
OMG realy stupid mistake XD, thanks!
-
04-10-2007, 08:39 AM #3806Heroes never die

- Registriert seit
- Aug 2006
- Ort
- ...........
- Beiträge
- 1.323
- Points
- 8.645
- Level
- 62
- Downloads
- 0
- Uploads
- 0
Code:printf("%i", hour); printf(":%i", minute); printf(":%i", second);
-
04-10-2007, 08:42 AM #3807Banned for LIFE
- Registriert seit
- Oct 2006
- Ort
- East London, England
- Beiträge
- 2
- Points
- 18.744
- Level
- 86
- Downloads
- 0
- Uploads
- 0
He was just giving the parts that are generating errors so nobody may steal his code.
Zitat von MrChaos
-
04-10-2007, 09:57 AM #3808
how do i run/execute a eboot.pbp with c ?
-
04-10-2007, 10:03 AM #3809QJ Gamer Silver

- Registriert seit
- May 2006
- Ort
- Behind you.
- Beiträge
- 1.814
- Points
- 10.921
- Level
- 69
- Downloads
- 0
- Uploads
- 0
http://www.psp-programming.com/forum...ic,1477.0.html
Zitat von SWE_PsYcHo
Calypso - Enjoy the excellent 2D space shooter:
http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195
"Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)
-
04-10-2007, 10:05 AM #3810QJ Gamer Blue
- Registriert seit
- Mar 2007
- Ort
- Holland..
- Beiträge
- 154
- Points
- 4.022
- Level
- 40
- Downloads
- 0
- Uploads
- 0
ehh i don't realy understand your question..
go to www.psp-programming.com maby your could learn something there


LinkBack URL
About LinkBacks
Mit Zitat antworten
but ok it's something to work on

Hello everyone I am new here and I am glad to be part of this amazing community and I think there...
New to forum