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!

Matrix Code (like the Movie The Matrix) for PSP

This is a discussion on Matrix Code (like the Movie The Matrix) for PSP within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Screen Shot of running on PC this was made in a matter of a hour today when I was bored ...

Reply
 
LinkBack Thread Tools
Old 01-17-2006, 05:10 PM   #1

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default Matrix Code (like the Movie The Matrix) for PSP

Screen Shot of running on PC



this was made in a matter of a hour today when I was bored to try and write something fun to play around with my MxFont editor.
I know this isnt the matrix font, but You could draw one with the editor
(Im to lazy at the moment)

Includes build for PSP and PC

Download Code Matrix:
http://www.lostsidedead.biz/software/Code_Matrix.rar
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:14 PM   #2
 
Join Date: Oct 2005
Location: Harrisburg PA
Posts: 2,101
Trader Feedback: 0
Default

so this is a running code sort of like starfield? and im guessing this is lua?

EDIT: once the code consumes the whole screen there is some slowdown but its cool none the less - and it dont use lua

Last edited by capnfuffy; 01-17-2006 at 05:17 PM..
capnfuffy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:21 PM   #3

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

Yeah I keep having problems with the frame rate when I try to manualy plot the pixels ..
It works fine on the PC, but the PSP it slows down a little. Do you have any Ideas on how to increase the frame rate? hmm.. I think it might be the SDL implementation for PSP...
maybe i should use plain old PSPSDK tell me what you think..

-Jared
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:29 PM   #4
 
Join Date: Oct 2005
Location: Harrisburg PA
Posts: 2,101
Trader Feedback: 0
Default

i would not know the first thing about programming for the psp - i have never given it a try and most likely never will - i just let that to the professionals - and it seems like YOU are quickly becoming one )
capnfuffy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:32 PM   #5

OMFG
 
Slasher's Avatar
 
Join Date: Jul 2005
Location: Toronto
Posts: 2,816
Trader Feedback: 0
Default

you could always give it a boost by increasing the cpu frequency from 222 to 333
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:43 PM   #6

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

Small Bug Fix
(Lines would disappear because of rand()%10 returning 0)
New Source Code:

http://www.lostsidedead.biz/software...Matrix-0.1.rar
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:44 PM   #7

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

Im new to PSP Development I barley got mine about 2 weeks ago.. So I didnt know that you could increase the CPU Frequency .. but ill look into that, thanks for the heads up
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 05:55 PM   #8

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

I updated the 0.1 to fix a bug in the editor (heh I changed some of the code to make the font and forgot to change it back) also included some example fonts to use with the program.
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 06:18 PM   #9

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

If anyone could create a matrix like font Id really apperciate it... Until than its just Courier New
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 07:07 PM   #10

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default Thought Matrix (A modification of orignal code)



just some neat little effects to go behind the scrolling text
runs a little sluggish on the PSP .. I need to figure out how to change the CPU Frequency.. Im workin on it @ the moment..


http://www.lostsidedead.biz/software...Matrix-0.1.rar
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 07:10 PM   #11
 
Join Date: Apr 2006
Location: Grand Line
Posts: 5,997
Trader Feedback: 0
Default

hey Lostjared can u PM me on what you do to port games so effing fast lol
__________________
[CENTER][IMG]http://img130.imageshack.us/img130/1640/acefcbanner2wo9.gif[/IMG]
[SIZE=1][B]I'm soo hot[/B][/SIZE]
[/CENTER]
[SIZE=2][CENTER][/SIZE][/CENTER]
[center]Sorry. No Advertising[/center]
KINGOFNOOBS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 07:35 PM   #12
 

 
Join Date: Jun 2005
Location: Canada
Posts: 1,486
Trader Feedback: 0
Default

#include <psppower.h>

scePowerSetClockFrequency (222, 222, 111);

call that in your main() or whenever you want to change the clock, the first var is the cpu, 2nd is the media engine and third is the GPU....not sure if you are using gpu accelerated functions, but if so raise the 1st and 3rd value...first value goes to 333 and i'm not positive what the GPU runs at max, but I think it's 166

Also I think the matrix font is mainly just japanese, so if you could print out words in harrigana (??) it would look very similar...also i'm going to be a nit picker and say you should have "strings" that are in the background a slightly darker green to give the illusion of depth...farther back the string is, make it a darker green....if you wanted that added "umph"....cool stuff so far tho man, graphics demos are always cool and something I could never do
__________________
PSN: Shatterdome
Shatterdome is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 07:38 PM   #13

Developer
 
Join Date: Jun 2005
Location: At my house...
Posts: 885
Trader Feedback: 0
Default

Quote:
Originally Posted by KINGOFNOOBS
hey Lostjared can u PM me on what you do to port games so effing fast lol
Yeah tell me too!
__________________
F.A.L.O?
Twenty 2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 07:39 PM   #14
Developer
 
BlackPhoenix's Avatar
 
Join Date: Dec 2005
Location: UK
Posts: 149
Trader Feedback: 0
Default

I've done it, added the overclocking code.. its not a great deal faster but it is a noticeable speed difference.
Maybe if you change the resolution to 480x272 or 240x136 it would speed up a little..

CodeMatrix.rar
BlackPhoenix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 08:18 PM   #15

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

ok ive fixed it thanks to you man
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 08:21 PM   #16

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

Here it is.. Runs pretty good now that I changed the res and the Clock Frequency..
Attached Files
File Type: rar Thought_Matrix-0.2.rar‎ (1.31 MB, 4 views)
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 08:22 PM   #17

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default

I love to code.. thats how I do it fast..
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-17-2006, 08:57 PM   #18

Developer
 
Join Date: Jan 2006
Location: California
Posts: 285
Trader Feedback: 0
Default Update

Ok I took your advice and added a effect for the text colors .. they fade..

check it out actually runs full speed...
Attached Files
File Type: rar Thought_Matrix-0.2.1.rar‎ (1.31 MB, 14 views)
lostjared is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
code , matrix , movie , psp

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 01:54 AM.



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