QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[Release] Java PSP Makefile Creator v1

This is a discussion on [Release] Java PSP Makefile Creator v1 within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; (EDIT: Scroll down for version 1.1 of JPMC) After a few years of being "off the grid" in the psp ...

Reply
 
LinkBack Thread Tools
Old 09-20-2009, 05:47 PM   #1

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default [Release (Update to v1.1)] Java PSP Makefile Creator v1

(EDIT: Scroll down for version 1.1 of JPMC)

After a few years of being "off the grid" in the psp dev scene, I'm back with a new and different Makefile creator.

Spoiler for Screenshot:


Spoiler for Readme.txt:
This is version 1 of the Java PSP Makefile Creator.
This is intended to create makefiles that are talored to psp programming.

Features include:
- Multiplatform for all operating systems that use java.
-- E.G. Linux, Windows, and Mac.
- Real time update and preview of makefile.
- Adjustable views of preview and entries.
- Save the makefile where you want.
- Some tooltips of entries:
-- OBJS
-- LIBS
-- PSP_EBOOT_TITLE

Features to come:
- Automatic scanning of the psp library directory to be able to add libraries to your makefile that you have.

(may take a while to code.)
- Loading of makefiles (may not work with all makefiles, such as the ones created for luaplayer.)(Will take a

few versions).

Note:
I have no idea if the "start JPMC.sh" will work for mac or if it will work correctly for linux.
If you are having problems, open bash or a command prompt to the folder where the jar file is and execute "java

-jar Java_PSP_Makefile_Creator .jar".
On windows, you most likely can just double click the jar file to execute the program.


I'll be working with this along with a new library that I'm creating that will also help out in psp development.
Attached Thumbnails
[Release] Java PSP Makefile Creator v1-screenshot.jpg  
Attached Files
File Type: rar Java PSP Makefile Creator.rar‎ (9.0 KB, 41 views)
__________________

"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 -

Last edited by alatnet; 09-21-2009 at 07:38 PM..
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-20-2009, 06:16 PM   #2
PSP-UMD-PC-LIVE GREEN!
 
larryr's Avatar
 
My Mood: Cynical
Join Date: Jun 2009
Real First Name: Larry
Location: Canada, duh
Just Played: Too many to say
Posts: 347
Trader Feedback: 0
Default

thanks for spoiling the screenshot. it makes it so much easier to load, and view if you wish.
larryr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-20-2009, 07:22 PM   #3

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

Quote:
Originally Posted by larryr View Post
thanks for spoiling the screenshot. it makes it so much easier to load, and view if you wish.
No prob.
__________________

"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 -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2009, 07:27 PM   #4

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Exclamation [Release/update] Java PSP Makefile Creator v1.1

Heh, in less than 25 hours, I updated this program to 1.1.
Spoiler for Screenshots:


Spoiler for Readme.txt:
This is version 1.1 of the Java PSP Makefile Creator.
This is intended to create makefiles that are talored to psp programming.

Features include:
- Multiplatform for all operating systems that use java.
-- E.G. Linux, Windows, and Mac.
- Real time update and preview of makefile.
- Adjustable views of preview and entries.
- Save the makefile where you want.
- Some tooltips of entries:
-- OBJS
-- LIBS
-- PSP_EBOOT_TITLE
-- PSP_EBOOT_ICON
-- PSP_EBOOT_PIC1
-- LDFLAGS
- Ability to add library entries to the LIB entry.
-- Scanning of library directory that user chooses.

Features to come:
- Loading of makefiles (may not work with all makefiles, such as the ones created for luaplayer.)(Will take a few versions).

Note:
I have no idea if the "start JPMC.sh" will work for mac or if it will work correctly for linux.
If you are having problems, open bash or a command prompt to the folder where the jar file is and execute "java -jar Java_PSP_Makefile_Creator .jar".
On windows, you most likely can just double click the jar file to execute the program.

Spoiler for Change log:
Version 1.1:
- added library dialog.
-- has ability to scan, parse, and display library directory and its contents when user chooses a library directory.
- added entries PSP_EBOOT_ICON and PSP_EBOOT_PIC1 (users can choose to add the entries or not).
- added tooltips to LDFLAGS, PSP_EBOOT_ICON, and PSP_EBOOT_PIC1.
- changed BUILD_PRX to combo box where user can choose to hide the entry in the makefile or have it set to BUILD_PRX=0 or BUILD_PRX=1.
- moved PRX_EXPORT to it's own entry and gave users the choice to add the entry in the makefile.
- adjusted Thread.sleep(1) to Thread.sleep(100) to have program use less processor resources.

Version 1.0:
- First version release.

Over all, this is getting to be a very useful program.
That being said, I did notice that my old makefile creator was "temporary removed" from download.qj.net. Anyone know why? Not that im complaining or anything, cus this makefile creator is superior to that one and has the benefit of being multiplatform.
Anyway, I don't think I should be thought of some person garnering for attention when saying this, but... Front page anyone? I'm ok with not being on the front page.
Attached Thumbnails
[Release] Java PSP Makefile Creator v1-screenshot1.jpg   [Release] Java PSP Makefile Creator v1-screenshot2.jpg   [Release] Java PSP Makefile Creator v1-screenshot3.jpg   [Release] Java PSP Makefile Creator v1-screenshot4.jpg  
Attached Files
File Type: rar Java PSP Makefile Creator v1.1.rar‎ (18.7 KB, 8 views)
__________________

"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 -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2009, 11:12 PM   #5
No longer a community member.
 
a_noob's Avatar
 
Join Date: Sep 2006
Location: Over there.
Posts: 666
Trader Feedback: 0
Default

So what is the point of this? I mean, it is quite easy to make a makefile. So to be brutally honest, I see no point in this application, especially since you make the makefile once, and only edit it on occasion. Seems like this would create more of a hassle, since when you are coding you already have a text editor open, no need to run another app. Also, did you make sure when you add libs that they are linked in the proper order? What about options for automatic distribution packaging? I have that in most my makefiles. So I just type make release and I get a zip to hand out.
a_noob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 10:19 AM   #6

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

Quote:
Originally Posted by a_noob View Post
So what is the point of this? I mean, it is quite easy to make a makefile. So to be brutally honest, I see no point in this application, especially since you make the makefile once, and only edit it on occasion. Seems like this would create more of a hassle, since when you are coding you already have a text editor open, no need to run another app. Also, did you make sure when you add libs that they are linked in the proper order? What about options for automatic distribution packaging? I have that in most my makefiles. So I just type make release and I get a zip to hand out.
Those are valid points.
The point of this is to quickly make a makefile for psp programs.
As the program is enhanced so will the functionality.
Currently I have no way of knowing how to link the libraries in the proper order. If someone can provide me with a list of the order of the libraries, I can quickly fix that in my program.
As for automatic distribution, I don't have that much knowledge in makefile coding to figure out how to do that asside from some that I have made for some of my standard C\C++ computer programs which has the make release commands. I could add a part to the program that enables the user to choose to add their own make release commands if needed be.
__________________

"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 -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 10:33 AM   #7
Pro Hacker
 
nickxab's Avatar
 
My Mood: Daring
Join Date: Jan 2009
Real First Name: Nick
Location: Greece,Limnos
Just Played: Counter Strike 1.6
Posts: 2,675
Blog Entries: 5
Trader Feedback: 0
Default

Nice app man.
Keep it up
__________________
Phat PSP 1004 TA-079 v3+Sony 16GB Mark II+Two Sony Softmoded Pandoras with 5.00 m33-6+1.50 kernel+5.01 patch+6.10 version.txt
iPhone jailbroken with OS 3.1.2
PS2 Slim model SCPH-75004 + MC boot 1.8

Fujitsu Simens Amilo PA1510+2.5GB Ram+AMD Sempron 3400+ 1.8GHz+Windows XP

My site
My qj blog
My guides
Patch the 5.50/6.00 games to work with all FWs
My CWCheat databases







nickxab is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 02:27 PM   #8

 
mootjeuh's Avatar
 
Join Date: Nov 2008
Posts: 322
Trader Feedback: 0
Default

Quote:
Originally Posted by alatnet View Post
Currently I have no way of knowing how to link the libraries in the proper order. If someone can provide me with a list of the order of the libraries, I can quickly fix that in my program.
well, here's how I do it:
first: the normal developer-made libraries (oslib, libge, etc)
second: the -lz and -lm
and last: all the pspsdk libraries, but those are automatically included with the psptoolchain
mootjeuh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 03:11 PM   #9

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

well... here's what luaplayer has for it's library definition:
Code:
LIBS=  -llua -llualib -lpng -ljpeg -lz -lpspgum -lm -lmikmod -lmmio $(shell freetype-config --libs) \
	-lpsprtc -lpspaudiolib -lpspaudio -lpspusb -lpspusbstor -lpsppower \
	-lpspwlan -lpspgu -lpspdebug -lpsphprm_driver
as you can see from this, the libs are a bit jumbled up where as mootjeuh says that normal dev-made libs are first then -lz and -lm, in between -lz and -lm a pspsdk libs is there and continues with dev-libs and finishes with pspsdk libs. While i know that order is important with compiling, it is most likely going to be difficult to get the libs in order.


Edit:
crap... noticed a bug with the library loading.
Seems that when you load a library directory, when you try to do it again, it wont let you.
Will try and fix it as soon as possible.

Edit2:
Ok... more of a wierd bug where it loads the libs but you can load more libs on top of the libs you already have...
I guess it's somewhat useful...
__________________

"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 -

Last edited by alatnet; 09-22-2009 at 03:24 PM..
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2009, 02:57 PM   #10
 
raveous's Avatar
 
Join Date: Sep 2009
Real First Name: raveous
Location: india
Just Played: grid
Posts: 16
Trader Feedback: 0
Default

thats a new one.cool app man
raveous is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
creator , java , makefile , psp , release

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 05:27 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us