PAlib New PAlib update is out now! It's considered stable and ready for everyone to use.
Read the ReadMePlease.txt file included with the downloads for detailed instructions on how to install everything, including the devkitARM toolchain and the optional external libs. Note that devkitARM r21 is still the recommended version of the toolchain for this release.
As always--but particularly with this release because the directory structure has been changed--it's strongly recommended that you back up and then delete *ALL* files from your previous PAlib installation, including examples, docs, etc., before updating.
Be aware also that the Makefile has been changed in this release, so you should copy the Makefile in palibtemplate to all of your existing projects before re-compiling them.
Thanks to everyone who contributed bug reports, fixes, improvements and new features for this release. Looking at the ChangeLog, you'll see that it's a very large list of contributors that made this release possible and really it could have been much longer even. PAlib exists now and continues to be the best library for DS development because of the great contributions of its community. So many thanks to all of us!!
Extra special thanks to Scognito and Tom for all their work putting this update together, though, it wouldn't have happened without them. I only helped in the last stages, getting everything polished and ready for the release.
Changelog:
New Stuff
---------
[Input] Added functions for using the Guitar Hero grip controller. See the example code in /examples/input/GHController for how to use them. These functions were contributed by BassAceGold.
[Input] Added functions for using the Taito Paddle controller. See the example code in /examples/input/TaitoPaddle for how to use these functions. Thanks to Yasu for figuring out how it works.
[FAT Loading] A whole new library for loading graphics and sound assets from FAT (EFS or regular FAT with DLDI) is introduced to PAlib thanks to NightFox! You can now easily load backgrounds, sprites with their palettes, textures, sound effects and other files from FAT. See the examples in /examples/FAT/FATLoading and the PAlib documentation (English only, sorry) for how to use these great new functions.
[8/16bit] A new "fake" 16-bit bitmap drawing mode by fincs. This simulates a 16-bit background using an 8-bit background by changing palettes every HBlank, and thereby frees up the large chunk of VRAM needed for a true 16-bit mode. See the included example in /examples/Bitmap8-16bit/Fake16bit or the PAlib documentation for usage.
[3DSprites] MaaS wrote a new function, PA_3DSetSpritePalCol, for changing 3D sprite palette colors on the fly.
[ARM7] Added a new arm7 core with only aslib and no wireless stuff, so it SHOULD work on M3/G6 Real. For increaed compatibility, this is now the default ARM7 binary, so be sure to select a different one in your Makefile if you need DSWifi or other ARM7 features. (See the readme file in the template folder for information on how to edit the Makefile to select a different ARM7 binary.)
Updated Oldies
--------------
[Installer] Updated the PAlib installer. All items are now optional and the root path is user-selectable.
[AS_Lib/Sound] Noda provided a new AS_Lib version and defines for EFS were removed. Using ASlib with EFSlib v2 now only requires including the efs_lib.c/.h files in your project.
[Sound] PA_InitASLibForSounds, PA_InitASLibForMP3 and PA_InitSound have been removed. You should now use the following methods to initialize AS_Lib in the mode you desire:
/* Init AS_Lib for mp3s */
PA_VBLFunctionInit(AS_SoundVBL); // easy way to make sure that AS_SoundVBL() is called every frame
AS_Init(AS_MODE_MP3 | AS_MODE_SURROUND | AS_MODE_16CH); // initializes AS_Lib
AS_SetDefaultSettings(AS_PCM_8BIT, 11025, AS_SURROUND); // or your preferred default sound settings
or
/* Init AS_Lib for sounds only */
AS_Init(AS_MODE_SURROUND | AS_MODE_16CH); // initializes AS_Lib
AS_SetDefaultSettings(AS_PCM_8BIT, 11025, AS_SURROUND); // or your preferred default sound settings
[Random] OlliPolli has improved PAlib's Random functions. They are now faster, better and bigger (bigger random numbers, that is) and PA_InitRand is no longer needed.
[Text] ThemePark has made a very useful change to PA_OutputText and PA_OutputSimpleText. They now support newlines (n) in the body of the text.
[Backgrounds] Maple identified a problem with PA_DeleteBg and improved the function so that it now fully resets the background instead of just deleteing the tiles and hiding it. This should solve problems when switching between large map backgrounds and regular backgrounds on the same layer.
[Makefile] Removed --gc-sections from the Makefile. Thanks to Noda.
[Makefile] The Makefile in your project directory now only contains lines that will commonly change from project to project with the bulk of the Makefile being moved to /palib/lib/PA_Makefile. This should solve some updating issues and make editing the Makefile easier. Thanks to crash for this change.
[Examples/3DSprites] All 3DSprites examples have been updated so that PA_3DProcess comes after the vblank. This is the prefered method for rendering the 3D sprites and can solve a problem with flickering or tearing textures if a lot of 3D sprites are on screen.
[Examples/EFS_Lib] The EFS_Lib examples in /examples/FAT/EFS_Lib and /examples/Sound/ASLib_with_EFSlib have been updated to use EFS_Lib v2.0. Huge thanks to Noda for creating this wonderful library!
[Emulators] Updated all emulators (iDeaS, DeSmuME, No$GBA, NeonDS) and provided Linux versions where available (iDeaS, DeSmuME).
Things Fixed
------------
[Mic/Sound] Fixed PA_MicReplay by returning the old PA_PlaySoundEx2 to the PAlib source. This also provides a rudimentary alternative sound engine when ASlib cannot be used.
[8/16bit Drawing] Fixed bug in PA_8bitDraw and PA_16bitDraw that caused unwanted lines to appear when turning drawing on and off while the stylus was held down. Thanks to Maple for the solution.
[BMP Loading] Fixed declaration in PA_GetBmpWidth and PA_GetBmpHeight that caused compiler errors for C++ users. Thanks to Frosty Chaotix and others for this.
[Video] dmig has fixed the long time error in PA_LoadVid, which should now be working.
[3DSprites] Fixed misdefinition in PA_3DUpdateSpriteAnims. This fix may help problems with flickering and tearing of textures. Thanks to SevenString for the catch.
[Sprites] Sylus101 fixed an issue in PA_ResetSpriteSysScreen that stopped sprite animations from working after the function was called.
[Sprites] Fixed PA_GetSpriteNCycles returning wrong type and inconsistent definition for spriteanims.ncycles. Thanks to Salz` for catching this.
[Input] Fixed bug preventing Pad.xxx.Anykey from recognizing the Y button. Thanks to ant512 for uncovering this bug ages ago and now it's finally been fixed in the source.
[GIF Loading] ThemePark fixed a bug in PA_3DCreateFromGif and many transparency related problems in PA_GifToTex/GifToTiles. These functions are optimized and should be working properly now. See the exmaples for new usage.
[Pathfinding] AntonioND updated the PA_Astar path-finding function. It's more efficient, returns an error value (-1) if there is no solution and a possible infinite loop bug has been fixed.
[Window] Schyzophrenic fixed an error in PA_EnableWin that prevented full declaration of layer priorities against the windows.
[Palettes] MaaS fixed bug in PA_SetSpritePalCol that caused corruption of sprites.
[General] Fixed PA_CloseLidSound. Thanks to unkwar.
[General] Finally fixed PA_PowerOff.
Like it? Share with your friends!
If you got an error while installing Themes, Software or Games, please, read FAQ.
Similar Software:
VGM-DS VGM-DS A week after v0.90 was released, Globoeil has followed it up and now patched it up to VGM-DS v0.90 Rev1 (Revision1). There's been quite a big bunch of crucial bug fixes that he's incorporated into the release. If you're familiar with RPGMaker (2000), you'd know how much simple bug fixes can go a long way
Micro Lua DS Micro Lua DS Homebrew developer Risike has released a new version of Micro Lua DS, a handy homebrew app for DS owners that allows you to launch Lua scripts to create homebrewed games and applications. What's new in the latest release?Changelog:
New features
Add screen.drawTexturedQuad() and screen.drawTexturedTriangle()
to draw textured primitives
Draw Test with new libfat (.DS.GBA version) Draw Test with new libfat (.DS.GBA version) Homebrew developer for the Nintendo DS, davr, is back after quite some time. Actually, he is back with some minor yet important updates for his DS homebrew creation-- Draw. The only change from the last version is that, if you'll be using this one, you'll be testing with the new alpha version of libfat
DS2Win DS2Win Homebrew coder MonkeyNZ has decided to pass on the torch to other Nintendo DS developers by releasing the source code for the handheld to PC server application Win2DS. Based on the latest build, version 0.82, the developer also included the source code for the client side of the homebrew app, DS2Win
PME2NDS - File Converter PME2NDS - File Converter David Rorex has released PME2NDS - tool to convert .pme (aka .nds.gba) files into .nds files. NOTE: Only works for files that were built with ndslib/libnds and were originally .nds files with a header attached! This updated build boasts improved compatability
Woopsi Woopsi Great news to users of Ant512's GUI Development Library! Woopsi v0.32 has just been release by Ant512. This particular homebrew which is based on the AmigaOS system aims to help coders to create user interfaces for their own homebrew projects.
The developer also provided the source code for this application
ScummVM DS 0.13.1 ScummVM DS 0.13.1
ScummVM 0.13.1 beta1 released for testing!
Please test this new beta version of ScummVM, and post your results here.
It would be good to know which games you have tested.
If you have problems with this build, please post the details in the thread
for this build on the ScummVM forums at http://forums.scummvm
DSLua DSLua Heads up guys! The DSLua team is back, with a no crew to boot. From now on, Sypherce, Daltonlaffs, and Jeremysr will be handling DSLua. In fact, they just released DSLua v0.6. For those who aren't in the know, this homebrew app allows DS users to access the Lua structure, paving the way for more innovative games using the Lua script
Woopsi Woopsi Ant512 has released a new version of Woopsi, now called Woopsi v0.27. For those who haven't heard of it, Woopsi v0.27 is a GUI Development Library based on the AmigaOS windowing system. In other words, it helps coders make user interfaces for their homebrew projects
DevkitARM DevkitARM Developer devkitPro is sending out word that the latest build for devkitARM is now available for download. For those asking, DevkitARM is a toolchain for programming homebrew software for Nintendo DS and Game Boy Advance. This version is for use on Windows.
* Upgraded to gcc 4.1
Comments on PAlib:
Comments not found
If you noted an error or download link is broken, please, report it via this page or use comments.
Please, select device to check if PAlib supports it