PDA

View Full Version : Angband 3.0.9 for PSP



daddy32
January 10th, 2010, 20:44
I've updated Abszero's Angband (http://psp-news.dcemu.co.uk/angband.shtml) PSP port to version 3.0.9 and recompiled it for PSP firmwares >= 3.xx.

In case you don't know Angband: (wiki (http://en.wikipedia.org/wiki/Angband_%28video_game%29))

Angband is a dungeon-crawling roguelike computer game derived from Umoria. The game revolves around exploring a 100-level dungeon, in which the player seeks to amass enough power and equipment to ultimately defeat Morgoth. A new level is randomly generated each time the player changes levels, which gives Angband great replay value: no two games are the same.
Download: here (http://www.mediafire.com/?5nzrnhlfdmw) (including sources)

Installation and controls: In the readme file.

Screenshots:


http://i218.photobucket.com/albums/cc21/daddy-sk/Angband%20309%20PSP/snap093.jpg

http://i218.photobucket.com/albums/cc21/daddy-sk/Angband%20309%20PSP/snap094.jpg

http://i218.photobucket.com/albums/cc21/daddy-sk/Angband%20309%20PSP/snap095.jpg

SquidgyB
March 9th, 2010, 18:15
Nice work, thank you!

Kabo
November 24th, 2010, 07:22
When I give a change to macro (An PSP version original function Square button), it is saved in macros.txt.
But, even if I restart a game macros.txt is not loaded.
When I push the Square button, the default macro set is displayed.

daddy32
November 26th, 2010, 10:39
Sorry, this is no longer maintained. Macro function used to work OK on the current firmwares at the time of the release.
Source codes are available for those willing to dig around.

Kabo
November 26th, 2010, 18:55
Thx reply daddy32!

But, T.o.M.E http://www.dcemu.co.uk/vbulletin/showthread.php?t=281574 macro function completely works on my PSP fw 6.20 with HBL.

I compared both sources.


Angband source

* Load all macro stars from disk
*/
void psp_load_macros() {
char buf[1024];
sprintf(buf,"%smacros.txt",ANGBAND_DIR);
int fff = sceIoOpen(buf, PSP_O_RDONLY, 0777);

/* If the file was not there, we'll use the defaults */
if (fff < 0)
return;

psp_load_star(fff, &star);
sceIoClose(fff);
}


T.o.M.E source

* Load all macro stars from disk
*/
void psp_load_macros() {
char buf[1024];
/* some variants of angband have a trailing slash in ANGBAND_DIR
* and others don't, build_path won't work because the psp seems
* to be intolerant of double slashes. */
if (!suffix(ANGBAND_DIR, PATH_SEP))
sprintf(buf,"%s%smacros.txt",ANGBAND_DIR,PATH_SEP);
else
sprintf(buf,"%smacros.txt",ANGBAND_DIR);

int fff = sceIoOpen(buf, PSP_O_RDONLY, 0777);
/* If the file was not there, we'll use the defaults */
if (fff < 0)
return;

psp_load_star(fff, &star);
sceIoClose(fff);
}


Is the cause this??