OSLib Modv2 PSP: Difference between revisions
From GameBrew
More actions
m HydeWing moved page OSLib Modv2 PSP to OSLib Mod v2 PSP |
No edit summary |
||
| (23 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox PSP | {{Infobox PSP Homebrews | ||
| title = OSLib Modv2 | |title=OSLib Modv2 | ||
| image = | |image=Oslibmod2.jpg | ||
| type = | |description=A modded version of OSLib 2.10 and OSLib MOD. | ||
| version = | |author=dogo | ||
| | |lastupdated=2025/12/25 | ||
| | |type=Development | ||
| website = http://dogo.github.io/oslibmodv2/files.html | |version=1.5.0 | ||
|license=GPL-2.0 | |||
| source = https://github.com/dogo/oslibmodv2 | |download=https://dlhb.gamebrew.org/psphomebrew/Oslibmod2.7z | ||
|website=http://dogo.github.io/oslibmodv2/files.html | |||
|source=https://github.com/dogo/oslibmodv2 | |||
}} | }} | ||
OldSchool Library (OSLib) MODv2 is a 2D graphics library for the PSP. It is a modded version of [[OldSchool_Library_PSP|OSLib]] 2.10 and [[OSLib_MOD_PSP|OSLib MOD]]. | |||
==Installation== | |||
Copy libosl.a to $PSPSDK/lib/. | |||
Copy the oslib directory (containing header files) in $PSPSDK/include/. | Copy the oslib directory (containing header files) in $PSPSDK/include/. | ||
You can find the documentation in the Doc directory, or consult it online [http://dogo.github.io/oslibmodv2 here]. | |||
You can find the documentation in the Doc directory, or consult it online | |||
http://dogo.github.io/oslibmodv2 | |||
Changelog | ==Changelog== | ||
v1.1.2 | '''v1.5.0''' | ||
* PSP CMake build system cleanup and shapes sample update by [https://github.com/jopadan @jopadan] in [https://github.com/dogo/oslib/pull/87 #87] | |||
* make giflib/intrafont a submodule and move specials by [https://github.com/jopadan @jopadan] in [https://github.com/dogo/oslib/pull/92 #92] | |||
* giflib/intrafont/pspmath as submodule move special by [https://github.com/jopadan @jopadan] in [https://github.com/dogo/oslib/pull/93 #93] | |||
* chore: separate giflib and intrafont sources groups by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/94 #94] | |||
* Update platform configuration path in CMakeLists by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/96 #96] | |||
* Use CMake to check for image library support by [https://github.com/jopadan @jopadan] in [https://github.com/dogo/oslib/pull/98 #98] | |||
* fix: Eliminate compiler warnings in image loaders by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/100 #100] | |||
* feat: improve build system and suppress third-party warnings by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/101 #101] | |||
* Refactor GIF loader: remove unused parameters and add static to helpers by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/102 #102] | |||
* feat: Add mode field to VIRTUAL_FILE struct for open mode tracking by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/103 #103] | |||
* chore: Improve build action by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/108 #108] | |||
* ci: improve release workflow by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/109 #109] | |||
* chore: update macos to 15 (was 13) by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/110 #110] | |||
* fix: Several fixes by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/111 #111] | |||
* ci(samples): fail-fast builds for each sample by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/112 #112] | |||
* fix(cmake): cross-platform build fixes (PSP toolchain + SDK libs) by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/113 #113] | |||
* feat(build): Simplify IMG support handling by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/114 #114] | |||
* fix: add volatile qualifiers to prevent longjmp clobber warnings in PNG by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/115 #115] | |||
* ci: add CMake sample builds by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/116 #116] | |||
* refactor(audio): enhance BGM streaming playback by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/117 #117] | |||
* Fix WAV streaming playback speed by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/118 #118] | |||
'''v1.4.0''' | |||
* Finalize CMake setup for OSLib project by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/59 #59] | |||
* Refactor VFS file operations for improved readability and consistency by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/60 #60] | |||
* Refactor and enhance Dialog handling in OSLib for improved safety and eficiency by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/61 #61] | |||
* Refactor OSK Initialization and Memory Management by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/62 #62] | |||
* Enhance UI rendering and message box functionality by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/63 #63] | |||
* Improve shape drawing functions for consistency and correctness by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/64 #64] | |||
* refactor: improve OSLib splash screen code structure and readability by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/65 #65] | |||
* Fix some warnings by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/66 #66] | |||
* Refactor audio mod by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/67 #67] | |||
* Refactor and optimize input handling in OSL controller by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/68 #68] | |||
* Refactor emu by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/69 #69] | |||
* Refactor oslWriteImageFilePNG by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/70 #70] | |||
* Refactor VirtualFile memory management and enhance robustness by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/71 #71] | |||
* Refactor Map by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/72 #72] | |||
* Refactor VFPU trigonometric functions and optimize non-PSP implementations by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/73 #73] | |||
* Refactor oslShowSplashScreen2 by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/74 #74] | |||
* Refactor audio codec handling: reorganize code structure, improve readability, add safety checks, and group related functions for better maintainability. by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/75 #75] | |||
* Refactor ADPCM audio decoding and BGM sound callbacks by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/76 #76] | |||
* Refactor and improve audio system by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/77 #77] | |||
* Refactored PNG loading and SFont handling by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/78 #78] | |||
* Refactor USB storage initialization and deinitialization by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/79 #79] | |||
* Refactor OSLib by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/80 #80] | |||
* use C++ for sample shapes by [https://github.com/jopadan @jopadan] in [https://github.com/dogo/oslib/pull/81 #81] | |||
'''v1.3.0''' | |||
* Improve oslWriteImageFile function for better safety and extensibility by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/20 #20] | |||
* Improve oslLoadImageFile function for better safety and extensibility by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/21 #21] | |||
* Refactor and improve oslLoadImageFileJPG for robustness and readability by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/22 #22] | |||
* Refactor GIF loading code by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/24 #24] | |||
* Code formatting and document oslDrawImageSimple by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/25 #25] | |||
* Refactor oslGetRamStatus by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/26 #26] | |||
* Code Improvements and Documentation Enhancements for OSLib by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/27 #27] | |||
* Update Audio Management Documentation for OSLib by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/28 #28] | |||
* Document Browser by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/29 #29] | |||
* Document Dialog by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/30 #30] | |||
* Document Emu by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/31 #31] | |||
* Document OSK by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/32 #32] | |||
* Document Messagebox by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/33 #33] | |||
* Document Keys by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/34 #34] | |||
* Document Map by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/35 #35] | |||
* Document Net by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/36 #36] | |||
* Document oslmath by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/37 #37] | |||
* Document SaveLoad by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/38 #38] | |||
* Document SFont by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/39 #39] | |||
* Document Text by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/40 #40] | |||
* Document usb by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/41 #41] | |||
* Document vfpu by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/42 #42] | |||
* Document VirtualFile by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/43 #43] | |||
* Document vram_mgr by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/44 #44] | |||
* Document pspadhoc by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/45 #45] | |||
* Document ccc by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/46 #46] | |||
* Document oslib by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/47 #47] | |||
* Refactor <code>oslDrawImage</code> for C Compatibility and Performance by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/48 #48] | |||
* Refactor and Improve Swizzling Functions in OSLib by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/49 #49] | |||
* Optimized oslGetImagePixel function for better readability and performance by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/50 #50] | |||
* Improve oslLockImage and oslUnlockImage functions for clarity and readability by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/51 #51] | |||
* Refactor oslSetDrawBuffer function for improved readability and maintenance by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/52 #52] | |||
* Refactor image conversion and palette search functions for clarity and efficiency by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/53 #53] | |||
* Refactor oslDrawImageBig function for better readability and maintainability by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/54 #54] | |||
* Refactor oslMoveImageTo function for clarity and robustness by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/55 #55] | |||
* Refactor oslScaleImageCreate function for improved readability and efficiency by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/56 #56] | |||
* Refactor oslSetImagePixel function for clarity and robustness by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/57 #57] | |||
* Improve oslUnswizzleTexture and oslUnswizzleImage functions by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/58 #58] | |||
'''Full Changelog''': [https://github.com/dogo/oslib/compare/1.2.0...1.3.0 1.2.0...1.3.0] | |||
'''v1.2.0''' | |||
* Remove the old local MikMod in favor of the PSPSDK version by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/14 #14] | |||
* Update PSPSDK to v20240609 by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/15 #15] | |||
* Improve oslLoadImageFilePNG code by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/17 #17] | |||
* Improve text class by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/18 #18] | |||
* Update intrafont to latest version by [https://github.com/dogo @dogo] in [https://github.com/dogo/oslib/pull/19 #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 | ==Credits== | ||
uppfinnarn for update libpng and makefile. | * uppfinnarn for update libpng and makefile. | ||
Strangelove for fixing many bugs. | * Strangelove for fixing many bugs. | ||
STAS for tha patch fixing many bugs. | * STAS for tha patch fixing many bugs. | ||
pspZorba for his adhoc sample. | * pspZorba for his adhoc sample. | ||
MrMr[iCE] for libpspmath. | * MrMr[iCE] for libpspmath. | ||
InsertWittyName for all the sdk's dialog samples. | * InsertWittyName for all the sdk's dialog samples. | ||
Brunni for OSLib. | * Brunni for OSLib. | ||
Sakya for OSLib MOD. | * Sakya for OSLib MOD. | ||
BenHur for intraFont. | * BenHur for intraFont. | ||
==External links== | |||
Author's | * Author's website - https://dogoautilio.wordpress.com/ | ||
Github | * Github - http://dogo.github.io/oslibmodv2/files.html | ||
Latest revision as of 05:24, 4 January 2026
| OSLib Modv2 | |
|---|---|
| General | |
| Author | dogo |
| Type | Development |
| Version | 1.5.0 |
| License | GPL-2.0 |
| Last Updated | 2025/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
oslDrawImagefor 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 Changelog: 1.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
- Author's website - https://dogoautilio.wordpress.com/
- Github - http://dogo.github.io/oslibmodv2/files.html