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 

Announcing SMS project
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Tue Nov 01, 2005 2:58 am    Post subject: Reply with quote

...icons are just raw images. Each pixel consumes 4 bytes: R, G, B and Alpha. So, for 32x32 image we've got 32*32*4=4096 bytes and for 48x48 icons (used in "Available media" bar) - 48x48*4=9216. I've took some of David's icons and passed them through Photoshop, setting brightness value at the very minimum and added an alpha channel. Since in PS2 alpha values are in the range 0-128 while Photoshop makes them in 0-255, I wrote a small proggy that scales alpha values down to fit 0-128 interval.
Best regards
Eugene
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Tue Nov 01, 2005 9:07 pm    Post subject: Reply with quote

Hello,

EEUG, again a question. ;)

What's your tip to get a 321ko file?

Cause mine from svn is a 802ko file??? packer?

Bye
Bix
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Tue Nov 01, 2005 9:10 pm    Post subject: Reply with quote

...yes, I'm using Pixel's "magic" tool named ps2packer :)...
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Tue Nov 01, 2005 9:13 pm    Post subject: Reply with quote

OK

This is what i'm thinking, but not sure.

Thanks
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Tue Nov 01, 2005 9:56 pm    Post subject: Reply with quote

Re-Hello,

EEUG, I've done some work on a personal option screen, ( i know you don't want to heard about that for the moment, but i'm a "PressedMan" :) ).

This is just a first try. I think and know, that isn't very proper. ( icon, pass over, ... )

Implemented fonction:

Option screen with:
- Help Screen
- Display mode choise screen
- Save Config
- Reset
- PowerOff ( is HDD present )

Everything work fine.

Here my modified elf:

http://www.fileshack.us/files/131/SMS_Test_OptionScreen.rar

If you want, i can put my file in waste bin, before a lot of people take it.

Bye
Bixente
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Tue Nov 01, 2005 10:37 pm    Post subject: Reply with quote

..."The page cannot be displayed" :). Anyway, I'm at work, so I'll take a look at it later...
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Wed Nov 02, 2005 12:26 am    Post subject: Reply with quote

Quote:
..."The page cannot be displayed" :).

???
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Wed Nov 02, 2005 1:30 am    Post subject: Reply with quote

...I meant the link doesn't work here. I'll try later at home :)...

Edit: at home it doesn't work either...
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Wed Nov 02, 2005 2:30 am    Post subject: Reply with quote

I'm sorry.

My idea is not very nice (like you say), so i let the file to show you, but when you want i remove it from this forum.

Sorry again.

Bixente
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Wed Nov 02, 2005 3:02 am    Post subject: Reply with quote

...don't be afraid in your research/implementation. It's free :) and there're no obligations. If you're really want to implement a configuration screen then I would advice absolutely not to hurry. Just don't mix it with browser. It is for files :). Make a smaller pane atop of it, so it could be activated by "select" button. You can also make an iconified menu items for on/off settings, for example: "Filter avi files: x or \/" etc. There're a lot of possibilities and all the functions to draw text, icons, lines, rectangles etc. (also event management functions) are there, just use them. Take a look at the GUIContext and BrowserContext structures and create a new one: SetupContext, for example. It will be isolated and easier to maintain. Again, it's just a suggestion, if you don't feel like making an implementation, no problem at all.
Best regards
Eugene
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Wed Nov 02, 2005 3:13 am    Post subject: Reply with quote

OK, i'll keep your suggestion,and i'll remove the file.

Bye
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Wed Nov 02, 2005 3:23 am    Post subject: Reply with quote

...no, I didn't mean to remove file :), sorry. And I'm not pushing you to do something. I'm just suggesting how I would implement it. If you have other ideas just go ahead with them :)...
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Wed Nov 02, 2005 3:52 am    Post subject: Reply with quote

To let, I keep this version for me.

Bye
Back to top
View user's profile Send private message
falcon64z8



Joined: 02 Nov 2005
Posts: 4

PostPosted: Wed Nov 02, 2005 4:13 pm    Post subject: Reply with quote

Can someone please explain this in simple terminalogy on a step by step on how to do this, cause I would like to watch some divx files on my ps2!!!!!

I read the readme file, but it doesn't explain how to do it at all, all it says is why he created the program in the first place, so can someone please help me here???


~thanks
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Wed Nov 02, 2005 7:11 pm    Post subject: Reply with quote

@falcon64z8: just launch .elf file, select .avi file and press "cross" button on your gamepad. .avi file can be placed on:
- CDDAFS formatted CD;
- Hard disk;
- USB device (not all devices will work);
- network server (using ps2client/radhostclient programs as server);
- DVD video disk;
- ISO CD/DVD disks if you have a modchip in your PS2;

Best regards
Eugene
Back to top
View user's profile Send private message
falcon64z8



Joined: 02 Nov 2005
Posts: 4

PostPosted: Thu Nov 03, 2005 3:12 am    Post subject: Reply with quote

EEUG wrote:
@falcon64z8: just launch .elf file, select .avi file and press "cross" button on your gamepad. .avi file can be placed on:
- CDDAFS formatted CD;
- Hard disk;
- USB device (not all devices will work);
- network server (using ps2client/radhostclient programs as server);
- DVD video disk;
- ISO CD/DVD disks if you have a modchip in your PS2;

Best regards
Eugene


So do I just burn one cd with the .elf file then burn another cd in CDDAFS formatt with the .avi file??? If so, then how do I burn a cd in CDDAFS???
Back to top
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Thu Nov 03, 2005 3:14 am    Post subject: Reply with quote

if you can read the cd with the elf why doing a cd in cddafs for the avi?
Back to top
View user's profile Send private message Visit poster's website
falcon64z8



Joined: 02 Nov 2005
Posts: 4

PostPosted: Thu Nov 03, 2005 3:38 am    Post subject: Reply with quote

weltall wrote:
if you can read the cd with the elf why doing a cd in cddafs for the avi?


Umm, you are making no sense to me right now, so how would I burn the .elf file, like in data formatt or bootable disc??? I tried both and the ps2 is not reading it and if I just burn the .elf file on one disc by itself, how would I watch a movie???

Can someone just explain to me in detail step by step the correct way of doing this?

~thanks
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Thu Nov 03, 2005 4:33 am    Post subject: Reply with quote

@falcon64z8:

First of ALL: Do you have a modchip?
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Thu Nov 03, 2005 5:18 am    Post subject: Reply with quote

@falcon64z8:

Or a swap method, or any way to boot an elf file?
Back to top
View user's profile Send private message
fringo



Joined: 15 Jul 2005
Posts: 13

PostPosted: Thu Nov 03, 2005 9:34 am    Post subject: Reply with quote

file u need to burn a bootable ps2 disk.
1.)SMS Version 1.4 (Rev.7) New Font.elf
2.)system.cnf

Sofware for the pc for cd-image creation.
1.)notepad.exe(to edit system.cnf)
2.)ps2 cdgen3.0(to create abootable cd-image)
3.)cd-mage to check the image created is free of corruption.

system.cnf should look like this in notepad.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
BOOT2 = cdrom0:\SMS Version 1.4 (Rev.7) New Font.elf;1
VER = 1.50
VMODE = PAL/NTSC
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The Magic on making a bootable cd for Ps2....Editing Lba value ...using cdgen.
LBA :FILE
12231: SYSTEM.CNF
12232 :SMS Version 1.4 (Rev.7) New Font.elf

That should be it
use CD-gen 3.0 to reate the image>drag the file needed to cd-gen>edit Lba value from cdgen>create a cd-image>use cd-mage to check the image created >then burn it to a cd .......................That all.......
Back to top
View user's profile Send private message
falcon64z8



Joined: 02 Nov 2005
Posts: 4

PostPosted: Thu Nov 03, 2005 12:23 pm    Post subject: Reply with quote

fringo wrote:
file u need to burn a bootable ps2 disk.
1.)SMS Version 1.4 (Rev.7) New Font.elf
2.)system.cnf

Sofware for the pc for cd-image creation.
1.)notepad.exe(to edit system.cnf)
2.)ps2 cdgen3.0(to create abootable cd-image)
3.)cd-mage to check the image created is free of corruption.

system.cnf should look like this in notepad.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
BOOT2 = cdrom0:\SMS Version 1.4 (Rev.7) New Font.elf;1
VER = 1.50
VMODE = PAL/NTSC
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The Magic on making a bootable cd for Ps2....Editing Lba value ...using cdgen.
LBA :FILE
12231: SYSTEM.CNF
12232 :SMS Version 1.4 (Rev.7) New Font.elf

That should be it
use CD-gen 3.0 to reate the image>drag the file needed to cd-gen>edit Lba value from cdgen>create a cd-image>use cd-mage to check the image created >then burn it to a cd .......................That all.......


Now this makes sense thank you! But one more thing where do I get the system.cnf file??? I donwloaded the other program, but I don't know where to get that one, also I do not have a mod chip. I just got my ps2 this monday, so I new to everything playstation since I have been a Nintendo fan, which still am. One more thing, when I am about to burn the cd, do I put the .avi file with it or does it goes onto another cd and I just swap it out???

~thanks again
Back to top
View user's profile Send private message
taz030485



Joined: 27 May 2004
Posts: 27

PostPosted: Thu Nov 03, 2005 5:09 pm    Post subject: Reply with quote

falcon64z8 wrote:
I just got my ps2 this monday, so I new to everything playstation ...
If u just got ur ps2 and am new to this then u have some work ahead of u.

Firstly a PS2 cannot boot burnt/copied cd/dvds without a modchip, so with no modchip u'll need to find another way of getting the ps2 to run the ELF (PS2 EXE file ;)) ie: exploit, swap magic, etc. If u really want to play movies on ur PS2 I suggest u to do some research into that first. There are various tutorials for different ways on the net depending on what hardware u have.

Once u can get the PS2 to run the ELF everythings is fairly simple.
Back to top
View user's profile Send private message
bix64



Joined: 17 Oct 2005
Posts: 38

PostPosted: Fri Nov 04, 2005 12:35 am    Post subject: Reply with quote

Hello Everybody,

I'll take a holiday for 3 week, so i release some work i've done on setup fonction.

Here the SMS.elf file with very basic setup call by start button.
(Work but some fonction are not implented ( filter avi ;) , lan mode )
http://www.fileshack.us/files/131/SMS_Setup.rar

Here my source code inspired from gui.c and browser.c source code.
I've add init setupcontext in main.c and draw setup call in gui.c.
http://www.fileshack.us/files/131/SMS_Setup_source.rar

My work is based on file manipulation ( but not mix with browser ;), just inspired from it ;) ), so my setup is a scrolling menu, start button to actived and triangle button to exit without change.

Fonction:

- Help Screen
- Filtering Avi ( don't work for the moment )
- Lan Mode ( don't work for the moment )
- Display mode choise
- Reset
- PowerOff ( is HDD present )
- Save Config and Exit
- Exit Without Change

I know it's not very proper again but i don't have more time to clean it, for the moment.

Everybody are free to modified it (add some icon or (red, green ball for active, desactive fonction).

See you
Bye

Bixente

Holiday Holiday Holiday
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Fri Nov 04, 2005 2:19 am    Post subject: Reply with quote

...really, really nice things :). Thanks a lot. I'll integrate it as soon as it will be finished. At the moment I've almost implemented I-Frame generator (from bmp, jpg, gif etc.) with preview using XviD encoder :). It's got busy at work, so I can't now contribute much to the actual SMS development at PS2. Have a nice vacations !!!
Best regards
Eugene
Back to top
View user's profile Send private message
jacky400



Joined: 17 Oct 2005
Posts: 9

PostPosted: Fri Nov 04, 2005 5:25 pm    Post subject: Reply with quote

Hi EEUG

is the FFMPEG support any video bilinear filtering or post - processing ?

since view the xvid movie on tv through SMS is quite blocky.

Thanks for you marking such a good peice of software 'SMS '
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Fri Nov 04, 2005 5:49 pm    Post subject: Reply with quote

@jacky400: I don't know :), really...
Edit: btw., the reasons for the "blocks" can lie not in the postprocessing problem. I threw out so called "interlaced" encoding support, so if your XviD was encoded with this option enabled then...results can be unpredictable. Can you share your file (or part of) it somewhere, so I can take a look at it?
Back to top
View user's profile Send private message
jacky400



Joined: 17 Oct 2005
Posts: 9

PostPosted: Fri Nov 04, 2005 8:34 pm    Post subject: Reply with quote

Hi EEUG,

I just put the movie that i said blocky .In the meantime,i am now testing you pic2sms application .

*url removed DO NOT spread copyrighted material*

Jacky
Back to top
View user's profile Send private message
jacky400



Joined: 17 Oct 2005
Posts: 9

PostPosted: Fri Nov 04, 2005 9:07 pm    Post subject: Reply with quote

Hi bix64

Just tested your SMS setup screen,it is very handy and great!

Want to ask you something ,what is the use of lan mode ?

I am also learning the gui code and want to customize a good look GUI

Jacky
Back to top
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Fri Nov 04, 2005 9:17 pm    Post subject: Reply with quote

...yet 12hrs and I'll get your movie :)...
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 -> PS2 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
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