AFKIM 3.1

Minor update for AFKIM.
Probably the last release (other than bugfixes if/when required and a piKey version when I get a keyboard) as I don’t use AFKIM anymore (DSLinux + ssh + screen = FTW)
Don’t forget that afkim is open source, check the readme for the SVN location. If you do make some changes then email me and I can integrate em and make another release or hook you up with a SVN account.

Changelog:
Resolver shouldn't lock up anymore.
Jabber account adding.
Removed Splash.

Download Links:
OE Version
1.5 Version
[EDIT] Download links updated, thanks to LOCOSP for pointing out I forgot to update an image!

Enjoy as always.
My next project will be something that doesn’t need character input, if I ever decide to finish and release it 😛

AFKIM 3

For my entry in the NEO Spring Compo 2007 I have given AFKIM the attention it deserved to make it a much more usable application.

[Edit] Voting is over a while ago, I won 🙂

AFKIM is an (almost) universal messenger client for PSP (Supports: AIM, ICQ, MSN, GTalk, Yahoo!)

Download links
Experimental OE version, tested in game310 folder with OE 3.10′, seems to not work in 3.03
1.5 Version, tested in game150 folder on OE 3.10′
The OE Version works with WPA connections, you must use automatic network configuration however (DHCP)

EDIT: The OE version seems to work for most people on 3.03 OE-C

I’ve also made some guides to hopefully help new people get started with AFKIM.
Even if you’ve used it before, it would be worth giving the How To Use guide a quick read over.
Getting Started Guide
Quick How To Use AFKIM Guide

[Edit] Danzeff documentation available here

The changelog for AFKIM3 is as follows:

–3
Much better, more usable program.
Works in OE kernel, DHCP ONLY CURRENTLY, not sure why static IP address doesn’t work.
Faster display rendering (Keyboard lags less)
Better wifi handling – User can rechoose which to connect to if connecting fails.
Better menu system, lots more menu items.
– Away / Back
– Remove Account
– Reconnect to Wifi (No more quitting AFKIM to reconnect! yay)
– Get Buddy Details
– Rename Buddy
– Block/Unblock Buddy
– Delete Buddy
Fixes related to pressing buttons, menus now continue scrolling if you hold up or down.
Better connection handling.
Many many code cleanups
Fix memory leaks (introduce a new known one 🙁 )

–2 and a bit
Quit option.
Ability to use start as well as X to go buddy select -> chat.
FIX: Editting text box with space messes up display.
FIX: Account details don’t save sometimes.

When the Neoflash vote starts, I’ll be depending on you to vote for me, so don’t go too far away 😛
And when the competition finishes I will release a splash free version.

And if you are feeling generous, feel free to paypal me to show your thanks 🙂

PDF To Image

I wanted to view a PDF on my PSP, but unfortunately the PDF was full of images so the usual viewer bookr didn’t want to load it. Luckily I managed to figure out how to convert the PDF into JPEGs so I could view them. Since I hadn’t found a guide in my searches, here is a rough guide of how I did it.
The Tool of choice for this exercise is ghostscript, in particular the command line component ‘gs’. Ghostscript is a PDF/PS interpreter, available on linux and windows (SF.net Download). The magical command line I used was:

gs -sDEVICE=jpeg -dJPEGQ=95 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dDOINTERPOLATE -sOutputFile=m_%d.jpg -dSAFER -dBATCH -dNOPAUSE -r57x58 M.pdf
What does this all do?

  • sDEVICE=jpeg -dJPEGQ=95
    • Defines the image output format, there are alot of image types that can be saved, I chose JPEG as the PSP cannot view PNG images in the built in image viewer.
    • The list of available outputs can be found by running gs with no command line arguments, or by visiting http://www.cs.wisc.edu/~ghost/doc/cvs/Devices.htm
  • -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dDOINTERPOLATE
    • Antialiasing settings, these make your output look the best. Use them.
  • -sOutputFile=m_%d.png
    • The output file name, %d implies you want to split images by page, the %d will be replaced with the page number.
  • -dSAFER -dBATCH -dNOPAUSE
    • Batch processing options, makes gs output all of the images without stopping and confirming.
  • -r57x58
    • Resolution of output images, I had to play with this a bit to get the exact numbers, depends on your input file too.
  • M.pdf
    • The name of the input file.

Anyway, so you run that and suprise suprise you get alot of images, ripe for viewing 🙂 Enjoy.

RemaPSP Source code

mafia1ft kept hassling me for the code, so here it is.

http://OFFLINEZIP.wpsho/remapsp/remapspsrc.zip

Copy/pasta of the README_DEV:

RemaPSP is released under GPL. (other than blit.c which is under the BSD license)
The code is well documented.

RemaPSP is a good example of function hooking, I’m not sure if this works much different in 3.03OE but I suspect it doesn’t.

Check main.h there are lots of things that can be configured in there, including the wifi play.

What is wifi play you ask? Well, when I made RemaPSP I added some functionality to control your psp over the wifi, however it would only work through the 1.5 BootstrapLoader and I couldn’t be bothered writing a good windows client for it so I never released it.
The protocol is really simple, send a 4 byte udp packet to port 14567 on the PSP and it will be or’d into the pressed buttons value.
There is an example client in the client dir, it is incredibly simple however (only sends one button press)

Enjoy.
danzel – danzelatlocalhostdotgeekdotnz

CHIP8 Emulator

I decided I’d learn a bit more on how emulators work, and what better way to do so than to write one.

So I wrote a CHIP8 Emulator, it took about 3 evenings of coding to get it all working 100%, I had a few mix ups along the way but in the end I managed to get all of the standard CHIP8 games working, with blinky being the last and maze being the first.

If you are planning to make your own chip8 emulator I recommend you read the documentation included with David Winters CHIP8 Emulator: http://www.pong-story.com/chip8/
The first game you are likely to get running correctly is maze, it definitely requires the least working opcodes.
I’ve used SDL to implement my emulator, it provides easy to use framebuffer access and input.
And lets round off with a pic:

Screenshot

Oh yeah, if anyone wants the code I could upload it, bit of a mess tho 🙂

irc++bot

I’ve made a bot based on the irc++lib codebase to make some use of it and to replace the eggdrop bots that were looking after the channels I hang in. eggdrop has served them well but I really don’t know tcl (the scripting language used in eggdrop), so I decided I would integrate php into irc++bot as the scripting language.

This has been very successful so far with an auto-op script being simple to make, and I’ve been supplied with a php class to do searches and grab movie details on the site imdb.com which is very useful (Thanks Randy!). I’m now in the position where I can easily create new functionality for the bot, which I plan to do 🙂

MANY THANKS to those who have created the embed SAPI for PHP, it is awesome to work with 🙂 and made this a breaze to implement.

Come check it out in #hamlan on undernet if you want to see it in action nicks starting with _’s are bots.

WordPress?

Messed with wordpress, I think it works still.
Added some new spam protection which hopefully works <_ i been doing some work on irc which is the library that powered afkim and peldet phpirc if you are one of lucky few who have seen it added multiple channel support but don any client software written to test or use yet : lol. a better coming psp soon signs point yes.>

RemaPSP

This is my entry for the neoflash competition.

Neoflash Post

Vote me 🙂

Ever got annoyed at a PSP game because it had bad controls?
Well be annoyed no more! RemaPSP is here to save the day!

RemaPSP is a program to remap the PSP controls. It also supports turbo (Rapid Fire!) and Macros.
You can remap any of your psp controls to any other. Including taking input from the remote.
It works with Devhook and has a launcher for 1.5 homebrew.

Check the included readme for install, usage, modding instructions.

I plan to release the source code later this week when I have some more time.
If any of the Devhook cheat engine coders want to add this to their system, drop me an email 🙂

Thanks to Haeal and Ayb4btu for the eboot art and to Lordsturm + Macca for their Beta testing help.

DOWNLOAD

Updates

No updates on anything I’ve released today.

I’ve been busy with exams and hamlan the last few weeks (and the rest of this one!)

I’ve been learning/learnt opengl in there however, and I’m planning to release a game for the pspupdates/lik-sang games contest in a while. Although I’ll probably be done beforehand… Maybe I’ll recode it to really use the 3d to its fullest 😉
No hints towards what it is though, just that its good.
Yeah, thats right, I know its good and I haven’t made it! 😛