Search found 75 matches

by KaylaKaze
Mon Oct 09, 2006 4:19 pm
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32714

BFB creates uncompressed TGA files, while the BMP it outputs are based on screen colordepth. Basically, the BFB TGA 8-bit file is just a file header followed by 1 byte per pixel (non-flipped) raw data which I feed directly into the alpha channel (actually, I think I had to do 0x80-(image[x+y*width]>...
by KaylaKaze
Sun Oct 08, 2006 9:50 pm
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32714

I designed a new font type I'm currently calling Alpha Font. It's an 8-bit TGA/DAT combo (like the bmp_dat font) but it loads the TGA into the alpha channel and uses a solid white as the RGB portion of the font texture. This allows the font to be antialiased on the edges and be transparent in the bl...
by KaylaKaze
Mon Oct 02, 2006 3:35 pm
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32714

I found a bug in the font loader for bmp/dat files. The Path_BMP and Path_DAT members of GSFONT are never defined. It's an easy fix but was annoying until I found the problem. I fixed it with else if( gsFont->Type == GSKIT_FTYPE_BMP_DAT ) //original line { gsFont->Path_BMP=c...
by KaylaKaze
Fri Apr 22, 2005 10:23 pm
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

Writing a couple new functions won't fix it. Take a look... rv = fileXioDread(hddFd, &dirEnt); That shows the problem is not here, but elsewhere. Either in fileXio or in the function *it* calls later on to access the hdd device. My guess is maybe opening a protected partition, t...
by KaylaKaze
Thu Apr 21, 2005 7:18 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

There is no reason to put work into things when the only thing will be a bunch of warezers trying to steal as much as they can and bitching to make it to X or Y feature that you either don't want it to do, or is far more work than it's work on the PS2. I understand where you're coming from. One of ...
by KaylaKaze
Thu Apr 21, 2005 7:09 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

I was only yelling 'cause I got yelled at first, and because all of you seem to shut down your brains at the mere sight of the letters HDL. I apologize. I'm sure it seems a reasonable reaction to you. It doesn't to me. As far as the speed of PS2SDK during GetFilesystemList, I don't think it's PS2SDK...
by KaylaKaze
Thu Apr 21, 2005 6:44 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

If your claim is that most people that would be running homebrew are warezing bastards, well, take a guess why I haven't released anything significant publicly for quite a while. That's your choice to release or not. Warezers always were and always will be. Another thing you'll just have to learn t...
by KaylaKaze
Thu Apr 21, 2005 6:38 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

My point isn't everyone else is doing it. My point was it's a problem that exists and should be taken into account, whether you like it or not. And the one specific program thing is why I suggested possibly making an alternate function that skips and non-PFS partition. As far as WHY it takes so long...
by KaylaKaze
Thu Apr 21, 2005 6:21 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

Drakonite wrote:My HDD stuff doesn't take a year to load. But then again, I'm not a warezing bastard either.
It would if your average PS2 homebrew user ran it (assuming it uses GetFilesystemList).
by KaylaKaze
Thu Apr 21, 2005 6:16 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

I don't know. I've never counted. I've got a 120GB HD. 3 or 4 gigs is PFS formatted. It took MCManager at least a minute (though I think closer to 2, I never timed it) to load before I changed it to not scan for partitions. I noticed a lot of people thinking HD programs were locking up on their syst...
by KaylaKaze
Thu Apr 21, 2005 5:58 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

I'm not talking about supporting it. What part of the patch makes you think it's being supported? It's merely making GetFilesystemList not take freakin' forever if there are HDL partitions on the system by skipping them. How is that supporting it? Oh well, do whatever, I guess I'll just be the only ...
by KaylaKaze
Thu Apr 21, 2005 5:40 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

That's BS. It exists. Deal with it. Ignoring it won't make it go away. It'll just screw up the homebrew scene when peope can't get a program to load in a timely manner. Just because you acknowledge the existence of something enough to get around the problems it causes doesn't mean you approve of it.
by KaylaKaze
Thu Apr 21, 2005 5:25 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

I don't know how to use CVS very well. Just enough to tell WinCVS to checkout. I'd be worried I'd break something.
by KaylaKaze
Thu Apr 21, 2005 4:59 am
Forum: PS2 Development
Topic: Patch to libhdd.c
Replies: 32
Views: 12937

Patch to libhdd.c

Can someone with CVS access change the part of hddGetFilesystemList that says // We only want to know about main partitions (non-empty ones at that :P) if((dirEnt.stat.attr & ATTR_SUB_PARTITION) || (dirEnt.stat.mode == FS_TYPE_EMPTY&#41...
by KaylaKaze
Mon Jan 03, 2005 10:22 pm
Forum: PS2 Development
Topic: fileXio and fio
Replies: 2
Views: 1697

That's what I thought too, but as of previous versions, that wasn't the case. I could never get fileXio to access anything but HD. I haven't checked with 1.2 yet. It'd be nice if I could stop using "if (!(strncmp(filename,"pfs",3))) fileXioOpen else fioOpen"
by KaylaKaze
Mon Jan 03, 2005 12:18 am
Forum: PS2 Development
Topic: fileXio and fio
Replies: 2
Views: 1697

fileXio and fio

Will it ever be possible that these 2 file methods will ever be able to be combined into 1 command that doesn't care if something is on HD or MC/HOST/CDFS, or will HD ever be fio compatible? I was just looking at the stdlib fopen, etc. code and it only handles fio. I'm wondering 'cause I've been loo...
by KaylaKaze
Sun Jan 02, 2005 6:05 pm
Forum: PS2 Development
Topic: padPortOpen failure
Replies: 13
Views: 4586

oh! Is that what it is :-)
by KaylaKaze
Sun Jan 02, 2005 2:45 pm
Forum: PS2 Development
Topic: padPortOpen failure
Replies: 13
Views: 4586

I would agree, but it was 64 aligned the whole time. I'm not that dense :-) It could have been only because it was in a class and not global. But 64 aligned in a class didn't work all the time. Considering how it's not an issue that happens all the time, it'd be hard to figure out exactly which one ...
by KaylaKaze
Sat Jan 01, 2005 4:32 pm
Forum: PS2 Development
Topic: padPortOpen failure
Replies: 13
Views: 4586

I think I figured it out so keep this post for future reference :-) the padPortOpen's third parameter needs to be in section .bss. Since this may not always happen by accident, the padBuf needs __attribute__ ((section (".bss"))) on it, especially when dealing with classes. Since __attribut...
by KaylaKaze
Wed Dec 29, 2004 2:58 pm
Forum: PS2 Development
Topic: padPortOpen failure
Replies: 13
Views: 4586

Assuming this is a graphics something issue, how would I fix it? I switched my code from libIto to gsLib and still have the problem. I put the pad initialization routines before the graphics initialization and still have the problem. I completely removed the graphics manipulation code and still have...
by KaylaKaze
Fri Dec 10, 2004 12:59 pm
Forum: PS2 Development
Topic: IIF files
Replies: 3
Views: 1837

You'd have to convert iif to bmp first. There's a program with libito that converts bmp to iif but I don't know if it goes the other way. It wouldn't be hard to write one yourself though. The format for an iif file is very simple (and I think it's in the ito code if not the docs).
by KaylaKaze
Thu Dec 09, 2004 11:04 pm
Forum: PS2 Development
Topic: __attribute__ ((aligned()))
Replies: 6
Views: 2152

__attribute__ ((aligned()))

Apart from speed purposes, when is it necessary to align variables in PS2 development? I've been wondering if some of my problems I've been having could be from structures taking memory allocated to others because of some way in which the PS2 handles memory blocks, or just not being able to access t...
by KaylaKaze
Thu Dec 09, 2004 4:29 am
Forum: PS2 Development
Topic: padPortOpen failure
Replies: 13
Views: 4586

padPortOpen failure

Assuming padInit() is successful, what could cause padPortOpen(0,0, padBuf) to fail? If I put my call to my pad initialization function early, it works, but if I put it later, like after the graphics have been initialize, it fails.
by KaylaKaze
Wed Dec 08, 2004 12:57 pm
Forum: PS2 Development
Topic: ExecModuleBuffer issue
Replies: 4
Views: 2656

I commented out the SifExecModuleBuffer and I get a weird situation. But first, some background. The ExecModule funtion I'm working on searches for the irx file to load (first in SYS-MODULES on the MCs, then host, then if the HDD is initialized, SYS-MODULES on __boot). First it looks for compressed ...
by KaylaKaze
Tue Dec 07, 2004 7:14 pm
Forum: PS2 Development
Topic: ExecModuleBuffer issue
Replies: 4
Views: 2656

ExecModuleBuffer issue

This is a little wierd I think. The following code works: printf("Executing module size=%d\n",size); if (size>0) { module.Close(); char temp2[1025]; sprintf(temp2,"host:%s.irx",filename&#...
by KaylaKaze
Mon Dec 06, 2004 2:47 pm
Forum: PS2 Development
Topic: u8 / char conversion problems
Replies: 8
Views: 3597

The first time I tried casting it didn't work. Later, after getting frustrated enough, I tried again and it did. I seem to be having problems like that: code that worked fine yesterday is now all buggy and when I change a setting in my screen class, the gamepad port won't open (even though they're u...
by KaylaKaze
Mon Dec 06, 2004 4:41 am
Forum: PS2 Development
Topic: u8 / char conversion problems
Replies: 8
Views: 3597

Well, I know how to get rid of the error (and managed to after a lot of messing with it). It's just changing it all that was a pain in the butt, since all the code had already been written and I was just converting it to C++
by KaylaKaze
Mon Dec 06, 2004 2:58 am
Forum: PS2 Development
Topic: u8 / char conversion problems
Replies: 8
Views: 3597

u8 / char conversion problems

Why won't C++ convert between u8 and char like C does? I'm getting errors like crazy here and it's driving me nuts.
by KaylaKaze
Sat Nov 13, 2004 2:03 am
Forum: PS2 Development
Topic: Keyboard/mouse w/out copyright probs
Replies: 6
Views: 2474

I would except I can't handle that low level stuff.
by KaylaKaze
Sat Nov 13, 2004 12:06 am
Forum: PS2 Development
Topic: Keyboard/mouse w/out copyright probs
Replies: 6
Views: 2474

Keyboard/mouse w/out copyright probs

Is it possible to make a homebrew program that can use the USB keyboard or mouse without breaking copyrights by bin2s-ing the usbd.irx or requiring the user to copy that file from a disc of theirs?