Search found 31 matches

by Marach
Tue Jun 09, 2009 2:54 am
Forum: PSP Development
Topic: CYGWIN wont let me make the program :@
Replies: 2
Views: 1600

You didn't put PSPSDK environment variable into cygwin script.
I know you don't understand that xD, just look for these words in tutorial you are using.

EDIT: You don't compile into EBOOTs. You compile to .o, what gets linked to .elf, what gets packed into EBOOT.
by Marach
Sun Jun 07, 2009 10:51 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

Please, look at my last post in this thread: http://forums.qj.net/psp-development-fo ... s-psp.html
Thank you.
by Marach
Sun Jun 07, 2009 4:37 pm
Forum: PSP Development
Topic: PSP 4000 Development?
Replies: 12
Views: 5834

That's a good question. Even if Sony mamde a paid defelopers program, they won't give access to kernel mode, because it could leave the gate open for mode, UMD dumping, skins and custom firmwares, and with all them, hackers could easily hack this system to remove all restrictions. And what Sony gain...
by Marach
Sat Jun 06, 2009 9:17 pm
Forum: PSP Development
Topic: PSP 4000 Development?
Replies: 12
Views: 5834

I live in Poland and I'm already saving my money for it :) I will buy it whenever it will come out. Back to the topic: The truth is that every hardware that supports digital distribution of games OR gives an access to any media created by games (or games itself) CAN BE HACKED. Maybe it will block so...
by Marach
Fri Jun 05, 2009 11:55 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

Idon't write to console, I reopen stdout to write always to text file. It's shorter then that Fprintf.
by Marach
Fri Jun 05, 2009 10:58 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

The same code is working on my PC and not working on my PSP, that clearly states that something is wrong with AT LEAST exit callbacks - it's not that hard to wait for saving to complete! My PC somehow does it...

EDIT: Only C++, cstdlib and SDL, of course.
by Marach
Fri Jun 05, 2009 9:53 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

YAAAY xD
Thanks guys, it's working :)

I removed setbuf(NULL); and added fflush(stdout); after every printf, then added fclose(stdout); on cleanup function.
BUT that does not change the verdict that file handling in PSP is crappy.
by Marach
Fri Jun 05, 2009 6:29 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

The app doesn't hang, it just peacefully quits to XMB. I will try to fflush every write and close the file AND wait 5 seconds, let's see if it works...
by Marach
Thu Jun 04, 2009 9:58 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

OMG it's crazy... I changed the final cleanup function: void App::end(){ #ifdef DEBUG printf("App::end\n"); fflush(stdout); SDL_Delay(5000); #endif } 5000 = 5 seconds. And gues...
by Marach
Thu Jun 04, 2009 5:18 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

BUT. I after opening the text file, I wrote setbuf(stdout, NULL); to prevent saving to cache first. I even tried writing fflush(NULL); to flush the cache what already doesn't exist! I will try waiting some seconds to save that data... So the verdict is: "File han...
by Marach
Thu Jun 04, 2009 3:57 pm
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

Ok, I will upload it to my website, but I'm posting from PSP right now :/

Ready! if you want it, here you are:
http://elementgame.boo.pl/downloads/pub ... ted.tar.gz
by Marach
Thu Jun 04, 2009 4:31 am
Forum: PSP Development
Topic: PSP USB recognizes as USB camera
Replies: 9
Views: 6096

jimparis, he tried on 3 PC, read carefully.
by Marach
Thu Jun 04, 2009 4:29 am
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 13871

Writing text to files - fixed

I'm writing my small homebrew game. I decided to make it an "Asteroids" way: write some general functions and divide them to smaller ones until you're done. If I didn't implement one function I put a printf in them to know it has been called. Here's the code: main.cpp #include "app.h&...
by Marach
Sun May 31, 2009 11:14 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

Nevermind.
I fixed that bug with cooperation with Asceai himself!
Get ready for the release, coming in hours...
by Marach
Sun May 31, 2009 7:04 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

What do you want? It's C code xD .

I'll edit to say if that works.
If it does, expect a release today.

EDIT: S**t happens. Any ideas? :-/
by Marach
Sun May 31, 2009 5:15 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

I've got some problems, so release will be delayed.
After some seconds after entering a boss battle (Meridian) game freezes and PSP resets. I have no idea what is happening.
by Marach
Sat May 30, 2009 6:05 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

Sorry, I won't change SDL lib for 2 reasons: 1. I don't know how hard it's to install on my Ubuntu 9.04 with MinPSPW (precompiled toolchain) 2. The 480x272 port is almost finished! Say a big NO to streching xD What's working: - sound - almost all graphics - saving / loading (see below) - minimap (se...
by Marach
Sat May 30, 2009 2:17 am
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

FIXED! What was happening: What guy did: pix = (Uint8 *)screen->pixels; ^^ That sets pointer at the beggining of pixel structure pix += (py+cur_y)*screen->w; ^^ Pointer is moved a certain number of rows down pix += cur_x; ^^ Pointer is moved to right What's wrong in it: This guy thought that a bytes...
by Marach
Sat May 30, 2009 12:11 am
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

I need help. When I run this port in 640x480 resolution everything looks fine, but when I run it in 480x272 everything looks fine too (images are downsized), but text is all shattered. Text position isn't outside the screen, I'm sure it's not because of hardcoded text or image positions. Here's the ...
by Marach
Fri May 29, 2009 9:44 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

At the moment I'm playing a full Meritous PSP port with working graphics, souns and game saving xDDD I never thought I will make it to that point... Just some fiddling with graphics mode and I will release it :) .
Changing thread name...

EDIT: Expect a release today or tomorrow.
by Marach
Fri May 29, 2009 9:07 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

OMG IT'S WORKING!!!!!!!

Code: Select all

int* pulse = new int[SCREEN_W*SCREEN_H];
This replacement magically made the game working! Big THX for you guys!
Where's the "Helped" button? xDD

EDIT: One thing, what the hell is that?

Code: Select all

warning: unused variable 'sce_newlib_heap_kb_size'
by Marach
Fri May 29, 2009 8:45 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

Can I use

Code: Select all

typedef int[SCREEN_W*SCREEN_H] pulse_t;
pulse_t& pulse = new pulse_t;
Will it be compatible with existing code?

EDIT: For now I only want that code to run, I will care about the rest later.
by Marach
Fri May 29, 2009 6:33 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

Ok, I will post if that works. What's the max heap value? Just want to be sure :) .
by Marach
Thu May 28, 2009 3:57 pm
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

Oww, if I only know what is that "pulse" used for, I'm sure I could eliminate it. What do I use to change heap size?
by Marach
Thu May 28, 2009 5:24 am
Forum: PSP Development
Topic: PSP port of Meritous RELEASED!
Replies: 22
Views: 11846

PSP port of Meritous RELEASED!

Hello I'm making a PSP port of an SDL game Meritous, it's written in C. I compiled it as C++ code, but PSP always crashes with black screen. Meritous uses SDL, SDL_image and SDL_mixer. I have an Ubuntu version of minpspw - a pre-compiled, native PSP Toolchain, but I wrote programs that have proven a...
by Marach
Tue May 26, 2009 1:48 pm
Forum: PSP Development
Topic: PSP toolchain install problems (Buffer Overflow)
Replies: 19
Views: 15884

Don't forget that MinPSPW has PLPLink, usbhostfs and pspsh already compiled and included in package :) .
by Marach
Tue May 26, 2009 6:34 am
Forum: PSP Development
Topic: PSP toolchain install problems (Buffer Overflow)
Replies: 19
Views: 15884

I had that problem too: whatever I use, I always get an error no matter what. If you can't use a vsn toolchain, use a precompiled one. From http://minpspw.sourceforge.net/ you can download a ready-to-use versions of PSPSDK for Windows and Ubuntu 9.04. After installing you can try to compile /pspsdk/...
by Marach
Tue May 26, 2009 4:00 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 172508

When I try to run the .elf file with PSPLink, it displays me: Failed to Load/Start module 'host0:/meritous.elf' Error: 0x80020148 Any ideas? Help please! EDIT: Nevermind, fixed, i had to build a prx. BUT, when I tried to run that prx, console screen just went off and pspsh stopped re...
by Marach
Tue May 26, 2009 1:10 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 172508

I tried compiling on Windows (XP), same error. Newest SDK version.