Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 05:24, 4 January 2026 by Hyatt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OSLib Modv2
General
Authordogo
TypeDevelopment
Version1.5.0
LicenseGPL-2.0
Last Updated2025/12/25
Links
Download
Website
Source

OldSchool Library (OSLib) MODv2 is a 2D graphics library for the PSP. It is a modded version of OSLib 2.10 and OSLib MOD.

Installation

Copy libosl.a to $PSPSDK/lib/.

Copy the oslib directory (containing header files) in $PSPSDK/include/.

You can find the documentation in the Doc directory, or consult it online here.

Changelog

v1.5.0

  • PSP CMake build system cleanup and shapes sample update by @jopadan in #87
  • make giflib/intrafont a submodule and move specials by @jopadan in #92
  • giflib/intrafont/pspmath as submodule move special by @jopadan in #93
  • chore: separate giflib and intrafont sources groups by @dogo in #94
  • Update platform configuration path in CMakeLists by @dogo in #96
  • Use CMake to check for image library support by @jopadan in #98
  • fix: Eliminate compiler warnings in image loaders by @dogo in #100
  • feat: improve build system and suppress third-party warnings by @dogo in #101
  • Refactor GIF loader: remove unused parameters and add static to helpers by @dogo in #102
  • feat: Add mode field to VIRTUAL_FILE struct for open mode tracking by @dogo in #103
  • chore: Improve build action by @dogo in #108
  • ci: improve release workflow by @dogo in #109
  • chore: update macos to 15 (was 13) by @dogo in #110
  • fix: Several fixes by @dogo in #111
  • ci(samples): fail-fast builds for each sample by @dogo in #112
  • fix(cmake): cross-platform build fixes (PSP toolchain + SDK libs) by @dogo in #113
  • feat(build): Simplify IMG support handling by @dogo in #114
  • fix: add volatile qualifiers to prevent longjmp clobber warnings in PNG by @dogo in #115
  • ci: add CMake sample builds by @dogo in #116
  • refactor(audio): enhance BGM streaming playback by @dogo in #117
  • Fix WAV streaming playback speed by @dogo in #118

v1.4.0

  • Finalize CMake setup for OSLib project by @dogo in #59
  • Refactor VFS file operations for improved readability and consistency by @dogo in #60
  • Refactor and enhance Dialog handling in OSLib for improved safety and eficiency by @dogo in #61
  • Refactor OSK Initialization and Memory Management by @dogo in #62
  • Enhance UI rendering and message box functionality by @dogo in #63
  • Improve shape drawing functions for consistency and correctness by @dogo in #64
  • refactor: improve OSLib splash screen code structure and readability by @dogo in #65
  • Fix some warnings by @dogo in #66
  • Refactor audio mod by @dogo in #67
  • Refactor and optimize input handling in OSL controller by @dogo in #68
  • Refactor emu by @dogo in #69
  • Refactor oslWriteImageFilePNG by @dogo in #70
  • Refactor VirtualFile memory management and enhance robustness by @dogo in #71
  • Refactor Map by @dogo in #72
  • Refactor VFPU trigonometric functions and optimize non-PSP implementations by @dogo in #73
  • Refactor oslShowSplashScreen2 by @dogo in #74
  • Refactor audio codec handling: reorganize code structure, improve readability, add safety checks, and group related functions for better maintainability. by @dogo in #75
  • Refactor ADPCM audio decoding and BGM sound callbacks by @dogo in #76
  • Refactor and improve audio system by @dogo in #77
  • Refactored PNG loading and SFont handling by @dogo in #78
  • Refactor USB storage initialization and deinitialization by @dogo in #79
  • Refactor OSLib by @dogo in #80
  • use C++ for sample shapes by @jopadan in #81

v1.3.0

  • Improve oslWriteImageFile function for better safety and extensibility by @dogo in #20
  • Improve oslLoadImageFile function for better safety and extensibility by @dogo in #21
  • Refactor and improve oslLoadImageFileJPG for robustness and readability by @dogo in #22
  • Refactor GIF loading code by @dogo in #24
  • Code formatting and document oslDrawImageSimple by @dogo in #25
  • Refactor oslGetRamStatus by @dogo in #26
  • Code Improvements and Documentation Enhancements for OSLib by @dogo in #27
  • Update Audio Management Documentation for OSLib by @dogo in #28
  • Document Browser by @dogo in #29
  • Document Dialog by @dogo in #30
  • Document Emu by @dogo in #31
  • Document OSK by @dogo in #32
  • Document Messagebox by @dogo in #33
  • Document Keys by @dogo in #34
  • Document Map by @dogo in #35
  • Document Net by @dogo in #36
  • Document oslmath by @dogo in #37
  • Document SaveLoad by @dogo in #38
  • Document SFont by @dogo in #39
  • Document Text by @dogo in #40
  • Document usb by @dogo in #41
  • Document vfpu by @dogo in #42
  • Document VirtualFile by @dogo in #43
  • Document vram_mgr by @dogo in #44
  • Document pspadhoc by @dogo in #45
  • Document ccc by @dogo in #46
  • Document oslib by @dogo in #47
  • Refactor oslDrawImage for C Compatibility and Performance by @dogo in #48
  • Refactor and Improve Swizzling Functions in OSLib by @dogo in #49
  • Optimized oslGetImagePixel function for better readability and performance by @dogo in #50
  • Improve oslLockImage and oslUnlockImage functions for clarity and readability by @dogo in #51
  • Refactor oslSetDrawBuffer function for improved readability and maintenance by @dogo in #52
  • Refactor image conversion and palette search functions for clarity and efficiency by @dogo in #53
  • Refactor oslDrawImageBig function for better readability and maintainability by @dogo in #54
  • Refactor oslMoveImageTo function for clarity and robustness by @dogo in #55
  • Refactor oslScaleImageCreate function for improved readability and efficiency by @dogo in #56
  • Refactor oslSetImagePixel function for clarity and robustness by @dogo in #57
  • Improve oslUnswizzleTexture and oslUnswizzleImage functions by @dogo in #58

Full Changelog1.2.0...1.3.0 v1.2.0

  • Remove the old local MikMod in favor of the PSPSDK version by @dogo in #14
  • Update PSPSDK to v20240609 by @dogo in #15
  • Improve oslLoadImageFilePNG code by @dogo in #17
  • Improve text class by @dogo in #18
  • Update intrafont to latest version by @dogo in #19

v1.1.3

  • Updated: libpng to 1.6
  • Fixed: Make oslib build with newer PSP toolchain
  • Fixed: Multiple definitions of...

v1.1.2

  • Updated: libpng to 1.5.
  • Updated: Doxyfile to 1.8.6
  • Fixed: Doxygen warnings.

Credits

  • uppfinnarn for update libpng and makefile.
  • Strangelove for fixing many bugs.
  • STAS for tha patch fixing many bugs.
  • pspZorba for his adhoc sample.
  • MrMr[iCE] for libpspmath.
  • InsertWittyName for all the sdk's dialog samples.
  • Brunni for OSLib.
  • Sakya for OSLib MOD.
  • BenHur for intraFont.

External links

Advertising: