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] Chipmunk Physics (4.1.0 update) Port

This is a discussion on [Release] Chipmunk Physics (4.1.0 update) Port within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; via Homebrew Heaven.net Important Update! - The old version did not support C99. Please redownload below if you have intent ...

Reply
 
LinkBack Thread Tools
Old 02-04-2009, 10:12 AM   #1
 
Join Date: May 2007
Posts: 70
Trader Feedback: 0
Default [Release] Chipmunk Physics (4.1.0 update) Port

via Homebrew Heaven.net


Important Update! - The old version did not support C99. Please redownload below if you have intent of using it in a C project! I apologize for not doing this the first time, as I was rushed and had little time to check for mistakes.

This is a small updated version of Chipmunk Physics ported to the PSP

Please read the readme information below:

Quote:
/////////////////////////////////////////////////////////////////////////////////////////

----Chipmunk Physics 4.1.0 (updated) For the PSP (Port) By SafariAl----

---------------- visit http://www.homebrewheaven.net ---------------

/////////////////////////////////////////////////////////////////////////////////////////


-- Instructions for building --

*This assumes you have the PSP Toolchain setup*

1. 'cd' into 'Library Build' and type 'make'.
2. Allow the library to build; ignore the warnings.
3. Then type 'make install' (if needed, you may have to use 'sudo').
4. Attempt to build the Demo in 'Demo/src'
-If no errors were received, you installed correctly.


-- Controls --
Simply press cross to cycle forward trough the demos. This was a rushed port,
don't expect to much.


-- Miscellaneous Information --
This version of chipmunk physics allows the user of contraints (joints) such as
Pivot, Pin, Motor, Spring, Breakable Joints, Gear, Groove, and Slide Joints.

It is possible that this newer build could contain bugs. After working with it
for some time, I have not encountered any, but please don't hesitate to report them
to me on http://www.homebrewheaven.net or to slembcke on his website below.

I did not make this library, all credit in that area goes to slembcke! I mearly ported it
to the PSP.

The port itself was done pretty quickly, please notify me of any trouble you may have.


-- Credits --
slembcke - Creator of library (http://wiki.slembcke.net)
#psp-programming
MK2k - Ported the eariler version (http://mk2k.net)


-- Troubleshooting --

Please message me on #homebrewheaven on irc.freenode.net or
visit http://www.homebrewheaven.net and message me there if you are having
installation trouble.
Enjoy, and please post any issues or comments below.

Download via the link below and give feedback via comments

Chipmunk Physics (4.1.0 update) Port

Last edited by SafariAl; 02-05-2009 at 05:29 PM..
SafariAl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2009, 12:34 PM   #2

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,357
Trader Feedback: 0
Default

gj=-)
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2009, 06:18 PM   #3
 
Join Date: May 2007
Posts: 70
Trader Feedback: 0
Default

The only difference between this difference and MK2k's is this version provides different varieties of joints. If joints aren't important when you use this, it doesn't really matter which one you use.
SafariAl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2009, 05:06 AM   #4
 
MK2k's Avatar
 
Join Date: Apr 2007
Posts: 181
Trader Feedback: 0
Default

And you use native GU code for displaying the demos, that's a plus
MK2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2009, 12:38 PM   #5
 
Join Date: May 2007
Posts: 70
Trader Feedback: 0
Default

And I gained a bit of knowledge by doing so as well
SafariAl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2009, 04:24 PM   #6
No longer a community member.
 
a_noob's Avatar
 
Join Date: Sep 2006
Location: Over there.
Posts: 666
Trader Feedback: 0
Default

Heres the fixed version where the sample compiles out of the box and C99 is used rather than renaming all the files to CPP cause incompatibility with C projects.

http://thayer-remodeling.com/stuff/C...-4.1.0-psp.zip
a_noob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2009, 04:43 PM   #7
The Cake Is A LIE
 
slasher101's Avatar
 
My Mood: Daring
Join Date: Oct 2008
Real First Name: Adam
Location: Melbourne, Australia
Just Played: Far Cry 2
Posts: 669
Blog Entries: 1
Trader Feedback: 0
Default

using

Code:
int i;
for(i=0;1<watevar;i++)
instead of
Code:
for(int i=0;1<watevar;i++)
fixes the C99 prob

~!SlasheR!~
slasher101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2009, 05:11 PM   #8
 
Join Date: May 2007
Posts: 70
Trader Feedback: 0
Default

I'll update mine. I apologize for the laziness on my part.

Updated, please read the first post. If the dl.qj people read this, please update the old file in replace with this new one

Thanks a_noob for the tip.

Last edited by SafariAl; 02-05-2009 at 05:30 PM..
SafariAl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2009, 09:15 PM   #9
No longer a community member.
 
a_noob's Avatar
 
Join Date: Sep 2006
Location: Over there.
Posts: 666
Trader Feedback: 0
Default

-std=C99 fixes it as well :P also you forgot to copy over the constraints folder and the headers in it I also converted all the files back to C as the ought to be.
a_noob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2009, 03:33 AM   #10
 
Join Date: May 2007
Posts: 70
Trader Feedback: 0
Default

Everything is back to C99, and I tested everything by building it twice following the steps on two different computers. I'm pretty sure there's a constraints folder in there
SafariAl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
chipmunk , physics , port , release , update

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 09:56 AM.



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