Multiplayer
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
Multiplayer
Hello !
Can you give me a short example (best would be a little application), how to use
1) Ad-Hoc Connections
2) Internet Playing (Later with Broadcating)
between 2 or more PSPs ?
The PspSDK Examples don't Start...
Thanks in advance !
Can you give me a short example (best would be a little application), how to use
1) Ad-Hoc Connections
2) Internet Playing (Later with Broadcating)
between 2 or more PSPs ?
The PspSDK Examples don't Start...
Thanks in advance !
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
hi,
look at the site of zorba
http://pspzorba.com//articles/articles.php?id=78&cat=10
he has some working samples and tutorial to use ad hoc communication
look at the site of zorba
http://pspzorba.com//articles/articles.php?id=78&cat=10
he has some working samples and tutorial to use ad hoc communication
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
You shouldn't be using devkitPSP - it's old. Get one of Heimdall's packages.
http://forums.ps2dev.org/viewtopic.php?t=12149
http://forums.ps2dev.org/viewtopic.php?t=12149
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
DevkitWhatever is ALWAYS out of date, but Heimdall's packages are brand spanking new! You can't do some things with devkitPSP that you can with Heimdall's stuff. The last version of devkitPSP I saw didn't even handle user-mode homebrew! All homebrew these days should be user-mode style homebrew. Anyone making 1.50-based homebrew is to be pointed and laughed at. :)
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
It's displayed twice.
And the colors are not good...
The code is from here:
http://ghoti.nl/PSPtutorial12.php
And the colors are not good...
The code is from here:
http://ghoti.nl/PSPtutorial12.php
Works fine for me - I userized it like I mentioned in the other thread, so the makefile is
and main.cpp has these lines
It compiles just fine at that point, and runs fine in 5.00 M33-6. Be sure to copy all the .png, .mtl, and .obj files to the PSP along with the EBOOT.PBP.
Code: Select all
TARGET = out
OBJS = $(wildcard *.cpp) $(wildcard *.c)
INCDIR =
CFLAGS = -O2 -G0 -Wall -g
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti -g
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS = -lc -g -lpspgum -lpspgu -lpng -lz -lstdc++ -lm -lpsppower
BUILD_PRX = 1
PSP_FW_VERSION = 500
PSP_LARGE_MEMORY = 1
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Tutorial 12
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
Code: Select all
// MODULE INITIALISATION
PSP_MODULE_INFO("Tutorial2", 0, 1, 1);
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER|PSP_THREAD_ATTR_VFPU);
PSP_HEAP_SIZE_KB(-256);
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
-
- Posts: 91
- Joined: Sun Feb 22, 2009 8:32 am
- Location: Melbourne Australia ZOMG
-
- Posts: 29
- Joined: Thu Jul 09, 2009 4:13 am
It throws errors like this:
I tried it with cygwin (original MAKEFILE) and with pspSDK 9.5.0 (With devkitPSP it works, but that is VERY old)
Code: Select all
cannot convert 'char*' to 'SceNetApctlInfo*' for argument '2' to 'int sceNetApctlGetInfo(int,SceNetApctlInfo*)
Hi! :)
From pspnet_apctl.h
Ciaooo
Sakya
From pspnet_apctl.h
Code: Select all
/**
* Get the apctl information.
*
* @param code - One of the PSP_NET_APCTL_INFO_* defines.
*
* @param pInfo - Pointer to a ::SceNetApctlInfo.
*
* @return < 0 on error.
*/
int sceNetApctlGetInfo(int code, union SceNetApctlInfo *pInfo);
Sakya