![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on PSP Helicopter 0.8! DS Bomber edition :P within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I really wish we could change the name of our topics without having to pay points :P Giving this a ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
I really wish we could change the name of our topics without having to pay points :P
Giving this a new thread because it's going to be my last update for awhile, was going hard at it for the last 2 days and gonna take a break now so to those people that have downloaded this and put it on their psp 3 or 4 times in the last 2 day, sorry dudes Put this one on and enjoy it for awhile, all that I will be changing in the future is error checking and some graphical changes...Whats new ?! Added a flying DS that drops bombs on you, add a whole new element to the game and is quite challenging now, along with the crazy speeds you can reach, I think it'll be hard to "finish" this game (ie, get to multiplier 27) Enjoy....
__________________
PSN: Shatterdome |
|
|
|
|
|
#3 |
![]() ![]() ...in a dream...
|
I sense some 'DS' hatred in you? lol, That Ds is a *****, can't get by those dam bombs...
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#4 |
![]() |
Hehe, naw I own 2 DS's and one PSP :P I just figured it'd be funny....I was actually going to have it drop nintendogs as "bombs" :P but they are so small you'd never be able to tell what it was
__________________
PSN: Shatterdome |
|
|
|
|
|
#7 |
![]() ![]() ...in a dream...
|
lol, not to mention, who would want to dodge some cute little dogs? That are strapped to nukes?!?!? ...hmm.... Maybe a mod of this?
EDIT: Sweet, hey just wondering, how did you get it to load any .mp3 in your music folder? I have been trying that for days, I'm thinking it is a %d kind of thing? Like MP3_Load("ms0:/PSP/MUSIC/%d.mp3");? ?? Also, NICe eboot icon/backround... it is sooo.... KXploit-ish? lol jk its sweet
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) Last edited by SG57; 02-15-2006 at 10:11 PM.. |
|
|
|
|
|
#8 |
![]() |
Yeah I won't be making a good .pmf or whatever until the very end...
It's kind of like that, you first have to read in all the mp3 file names, which I did with an array of structures, then sprintf(buffer,"ms0://psp/music/%s",songlist[1].songname) then mp3_load(buffer); Look into dirent.h to get the directory reading functions, I figured it out after looking at this page -> http://www.scit.wlv.ac.uk/~jphb/spos...directory.html Thanks Sony PSP, I can use the publicity I suppose, for all it's worth ![]() Feel free to shoot me suggestions and bugs and stuff, i'd be interested in feedback...
__________________
PSN: Shatterdome Last edited by Shatterdome; 02-16-2006 at 01:23 AM.. |
|
|
|
|
|
#9 |
![]() ![]() ...in a dream...
|
Thanks Shatterdome, you have helped me alot,it is like, every specific thing I need/want to know, you know exactly what I'm talking about.
Ok, I have used what you said and incorporated it into my Screenshot function meaning unlimited number of screenshots can be stored without over writing!! yay! Here is what I put for anyone who wants to know: (I have not complied it yet, but it seems like it would work) Code:
char FrameStop[200];
int screen = 0;
while(1) {
if(pad.Buttons & PSP_CTRL_SELECT) {
screen++;
sprintf(FrameStop, "ms0:/PSP/PHOTO/Kitty Cannon %i", screen);
Screenshot(FrameStop);
}
}
Prototype Function DIR *opendir(const char *path) Opens a directory struct dirent *readdir(DIR *dirp) Gets the next entry struct dirent *readdir_r(DIR *dirp,struct dirent *res) Similar to readdir, takes address---------------------------------------------------- of buffer as parameter.-------------------------------------------------------------Intended for MT applications. long telldir(DIR *dirp) returns current location void seekdir(DIR *dirp,long loc) alters current position void rewinddir(DIR *dirp) set current position to start int closedir(DIR *dirp) closes directory Now, would I make MP3_Load(char buffer);, the buffer in that, be sprintf(buffer, ""ms0:/PSP/MUSIC/%s", buffer("ms0:/PSP/MUSIC/.",struct dirent *res); ???? God, I can't seem to get it, I'm looking at dirent.h, but I can't seem to read the files effectively, how and what is the struct dirent *res mean? Think you could PM me how you did your array for the Music loading? Also, Shatterdome, I have noticed that there is a 'get/read next file' prototype inside the dirent.h, maaybe something like: Code:
//Just a sample kind of snippet, you must edit it to fit your needs...
if(MP3_EndOfStream == 1) {
struct dirent *readdir(DIR *dirp) //Gets the next entry
MP3_Load(buffer);
}
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#10 |
![]() ![]() ...in a dream...
|
Yup, the screenshot function works!!!
What that screenshot function will do is (if you have the neccessary screenshot.c/.h from shines website), is add the number 1 to the end of the name of the screenshot, for ecerytime you press SELECT of course. What that will 'accomplish' is not be limited to only one screenshot because before, it would just overwrite the old ones with the same name, but this will just add +1 to the end of it. Shatterdome, your code complied right, but it gave me a printed on screen error going by. It said unrecoverable data (buffer was a bad pointer (NULL) or something like that, I can't get it to work, I'm trying to make my own all over again, looking at the dirent calls again...
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
![]() |
| Tags |
| bomber , edition , helicopter , psp |
| Thread Tools | |
|
|