forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing all the icons etc.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Thu Jan 26, 2006 6:21 am    Post subject: Changing all the icons etc. Reply with quote

Hi folks,

I make my psp appz with Visual C++ and the PSP app builder. With it you can specify the icons and music etc. that you see in the psp menu when you can start the game. But how can you change this after you made the game?
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
nullp01nter



Joined: 04 Jan 2006
Posts: 26
Location: Saxony/Germany

PostPosted: Thu Jan 26, 2006 7:55 pm    Post subject: Reply with quote

You can try PBP Unpacker: http://www.pdc.me.uk/pbp/

Thoralt
Back to top
View user's profile Send private message
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Thu Jan 26, 2006 8:04 pm    Post subject: Reply with quote

That's not what i meant sorry, i have programmed the game in Visual C++ then right before i want to compile it i want to alter the images and stuff how is this possible?
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
LaMa



Joined: 31 Oct 2005
Posts: 8
Location: Amsterdam

PostPosted: Thu Jan 26, 2006 8:48 pm    Post subject: Reply with quote

Ehm.. I could be very wrong, but I think nullp01nter is in fact right.

Ghoti, the changing of the icons, background, music (all the stuff you see when you highlight an application on the memory stick) is all done after you compiled your program with MSVC.
It can be done with the tool nullp01nter linked to, but I peronally recommend a different tool called PSP Brew.
You can download it directly, from here.

I could be wrong but I think this is what you do mean.
If not, please excuse my ignorance. (I'm not a programmer)

-LaMa
Back to top
View user's profile Send private message
nullp01nter



Joined: 04 Jan 2006
Posts: 26
Location: Saxony/Germany

PostPosted: Thu Jan 26, 2006 9:10 pm    Post subject: Reply with quote

@Ghoti: With PBP Unpacker (and most likely with PSP Brew too - I didn't check that) you indeed can extract icons etc. from PBPs and you also can exchange things and make a new PBP out of that.

I agree there are better tools to hack around with PBPs, especially when compiling. Then you should have something you can operate from command line to automate the process. In the psptoolchain this is the tool "pack-pbp" which is automatically called in your makefile. You have to define the variables for icon and background gfx to get it packed automatically:
Code:
TARGET = yourtarget
OBJS = yourfiles.o

CFLAGS = -O2 -G0 -Wall
LIBS = -lyourlibs
   
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti -fno-strict-aliasing
ASFLAGS = $(CFLAGS)

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Your title of the app
PSP_EBOOT_ICON = ../gfx/ICON0.PNG    <- your icon here
PSP_EBOOT_PIC1 = ../gfx/PIC1.PNG     <- your background here

PSPSDK= $(shell psp-config --pspsdk-path)
PSPDIR= $(shell psp-config --psp-prefix)

include $(PSPSDK)/lib/build.mak


If this is still totally not what you wanted to know, you probably have to clarify what exactly you need.

Thoralt
Back to top
View user's profile Send private message
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Thu Jan 26, 2006 9:29 pm    Post subject: Reply with quote

Ah yes this is what i wanted to know :) there is only one problem the way you describe (nullpo1nter) with the makefile doesn't work. I tried the things you said but the app stayed with icon PSPdev and the name also didn't change.( i have even tried only the title change but nothings changes.)

Since the normal way doesn't work i'll try doing it with psp brew( because that is already installed on my computer.) and if that doesn't work i'll try the piece of software you gave me.[/code]
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
Dr. Vegetable



Joined: 14 Nov 2005
Posts: 171
Location: Boston, Massachusetts

PostPosted: Thu Jan 26, 2006 10:32 pm    Post subject: Reply with quote

Remember that the make utility doesn't recognize when you have edited a makefile to determine that it should do a complete rebuild. So if you start with a fully rebuilt project, edit your makefile, and run make again, you will get a message that says "make: nothing to be done for 'all'."

Whenever you edit your makefile, you should always do a make clean operation to delete all output files, which will force make to do a complete rebuild of your project the next time you build it. I suspect this is why your rebuilt project doesn't use the new icons.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Thu Jan 26, 2006 11:23 pm    Post subject: Reply with quote

hmmm i tried doing that but then the following happened:

Code:
--------------------Configuration: Game2 - Win32 Debug--------------------
Compilatie van het Project.
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall  -L. -L/usr/local/pspdev/psp/sdk/lib    -lpspgu -lpng -lz -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -
lpspuser -lpspkernel -o out.elf
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/lib/crt0.o: In function `_main':
/tmp/pspdev/pspsdk/src/startup/crt0.c:86: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [out.elf] Error 1
Effacer les fichiers inutiles
Kan C:\PSPsdk\Projects\Game2\*.o niet vinden
Trouver le bon repertoire
Création du PBP
Er bestaat al een submap of bestand .\GAME2%.
Creation du PBP terminée -> filesize : 00015345
Renommer en EBOOT.PBP
Er bestaat al een submap of bestand .\GAME2.
Het systeem kan het opgegeven bestand niet vinden.
Error executing c:\windows\system32\cmd.exe.

EBOOT.PBP - 1 error(s), 0 warning(s)


don't understand the error and i think i screwed up my programm :(

i found out where i have to change the eboot stuff but now i got this error what is wrong?
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
Dr. Vegetable



Joined: 14 Nov 2005
Posts: 171
Location: Boston, Massachusetts

PostPosted: Fri Jan 27, 2006 12:04 am    Post subject: Reply with quote

It looks like you might have broken your makefile. The compiler seems to be ignoring your .c program file, which is why it says that you haven't defined _main.

If you post a copy of your makefile then maybe someone can help you figure out what is wrong with it. Or else go back to a recent backup copy of your makefile and try making the changes again.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Fri Jan 27, 2006 12:23 am    Post subject: Reply with quote

Yes you are right, i have just used a backup and it was solved copied the whole code into the old one and it worked like a charm :) i have also got the backgrounds and picto's working now. Thank you all for relplying it as a great help!
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group