![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Few PSP Specific Dev'ing Questions within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I've had a couple of questions for a while now, and I've finally gotten around to asking them. 1. I'm ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
I've had a couple of questions for a while now, and I've finally gotten around to asking them.
1. I'm not into apps using graphics, right now I'm just doing the essentials in text, but does anyone know if the text is formattable (printf), like centering it, or making it larger? I'm kinda too lazy to uses other ways of displaying simple text. 2. How exactly can the Home, vol +/-, screen and music buttons be used? I know that in PSPRadio the HOME button does nothing, and in PSPShot or whatever the music button takes a shot of the screen. How exactly is this done? Just doing "(pad.Buttons & PSP_CTRL_MUSIC)" or what? 3. In PSPFiler v0.2, at the top of the screen there is an icon for the triangle and square I believe. Can actual ASCII values call those, or are those just images in that program? Lastly, this is a bit of a request but does anyone know how to use Ad-Hoc? I've looked into using infrastructure in Homebrew by looking at sources, and I understand it mostly, but how does Ad-Hoc compare? Perhaps someone could make a guide Thanks in advance for any help! |
|
|
|
|
|
#2 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
for 1, 2 & 3, i dono, maybe someone else can explain.
for 4, i've been wondering the samething yet no one seems to explain (is it a developer secret or something?).
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#3 |
![]() |
I want to look into AdHoc Quake's source, I think that might be a good place to find the AdHoc stuff. If you're looking at infrastructure Alatnet, look at Danzel's Peldet source, v0.1 is the simplest, so I'd recommend looking at that one specifically.
|
|
|
|
|
|
#4 | |
![]() ![]() ...in a dream...
|
Quote:
2.As for this one, i do not know EXACTLY how to do anyof those, but you can use the windows 'search' function and find pspctrl.h and u might find something there, or it might be a new lib or something, but i am not sure sorry about that 3. I have not used pspfiler but i will soon just to see, and if the X and [] buttons are at the top with color and such, than most likely its just 2 images. There are a couple other ways to do so, example: changing the pixel color of each pixel up in the left hand corner which is just like blitting an image but manually i guess (dont do that) 4. I have no clue as to Ad-Hoc, but infracture a little bit here and there, just wait for that psp crazy online thing to come out and there bound to have some Ad-Hoc functionality option, then just ask for the source hope that helps?
__________________
...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) |
|
|
|
|
|
|
#5 | |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Quote:
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
|
#6 | |
![]() ![]() Developer
|
Quote:
__________________
Windows: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition... Personal Development Blog: http://keepitreal-dev.blogspot.com/ |
|
|
|
|
|
|
#7 | |
![]() ![]() total-Z
|
Quote:
THEN, he created an AD-HOC game with the source code included. This was the first AD-HOC game....ever made....by the pspsdk....you know...the unofficial one...like, the one that people who cant spent 2,000$ on Sony's.... So, that one quake guy was like... WOAH. So then he implemented it. So.... all these people think the author of the psp quake discovered it, but it was really this other guy.... Look in the files section.
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
|
#8 | |||
|
Quote:
Quote:
Quote:
Chris Swindle |
||||
|
|
|
|
|
#9 |
![]() ![]() total-Z
|
lol, whoops. I didnt think you made the quake, sorry bout that..
yeah.... I just found your source (the title doesnt have the word 'ad-hoc'), and im going to experiment with it. Hopefully I might be able to implement it into a luaplayer function under 'System'.
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#10 | |
![]() |
Quote:
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL] |
|
|
|
|
|
|
#11 | |
![]() ![]() ...in a dream...
|
Quote:
, but I have found a very useful header inside some MasterPiece source, it's called utils.c/.h, it has a char set built in (8x8 to be exact), flash screen 10 times for kicks, open up any file and view its data (good for options?!?!?!), get time of day, get MAC address, get Firmware version (only 2.0+ tho ), but that can come in hadny, because then we can detect if the pereson has firmwares version 2.0+, and have a specially made program just for that, and still include things for 1.5 users!!!!!!!!!!!!!!!!!!!! ... it has some more usefull functions also, here it is if you guyz were interested...
__________________
...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 08:33 PM.. |
|
|
|
|
|
|
#12 |
![]() |
I just know my original learning code was from Shine's Luaplayer's graphics.c. He did some great work in that and it was a great way to learn how to use libpng and it's application the PSP. So if you're trying to learn how to blit PNG images to the screen, I recommend checking out the source for Lua Player.
Best of luck. edit: also.. if it was built into the SDK wouldn't it be "scePrintTextToScreen ()" ?
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL] Last edited by framerate; 02-16-2006 at 08:52 AM.. |
|
|
|
|
|
#13 |
![]() |
Also I was wondering if anyone has any code that will take a screenshot upon the pressing of any button? Preferably output to PNG but any other format is fine as well. I want to make a graphical menu, using just debug screen text, and so I'll print those in their desired locations, then take a screenie, then from the screenshot I'll make a background that has different color backgrounds for behind the text's location. <-- Wow it sounds as if English is a second language for me lol
|
|
|
|
|
|
#14 |
![]() ![]() total-Z
|
look at the libpng's example code, it has the screenshot function in there
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
![]() |
| Tags |
| deving , psp , questions , specific |
| Thread Tools | |
|
|