dogo / oslibmodv2 Goto Github PK
View Code? Open in Web Editor NEWOldSchool Library (OSLib), a 2D graphics library for the PSP.
License: GNU General Public License v2.0
OldSchool Library (OSLib), a 2D graphics library for the PSP.
License: GNU General Public License v2.0
When you load an indexed PNG (256 color palette) the loaded image is black, because all palette colors are set to black.
Maybe this is a libpng related issue, because 16 color images are sometimes loaded with wrong colors (if the palette is not exactly 16 colors big and they don't have an alpha channel).
Commenting line 102 in oslLoadImageFilePng.c, seems to solve the issue, as long as the images have exactly 16 or 256 color palettes, or they have an alpha channel.
Line 102 in oslLoadImageFilePng.c:
png_set_PLTE(pPngStruct, pPngInfo, palette, num_palette);
This is not really an issue, just a suggestion.
You should add a function to change mikmod reverb (md_reverb in MDRIVER.C), because actual value of 6, uses a lot of CPU. Even a 0 value is ok and uses way less CPU.
Thanks!.
is a "multiply" blending mode possible at all? i'd like to use it to implement some psuedo 2D lighting (which I've done before in XNA) but the best I could get was additive which didn't look as good.
Hi, my program is causing the screen to flicker. I believe it has something to do with swapping buffers. It's using oslib, and this mod as well, can you kindly look into see what's the problem?
https://github.com/joel16/CyanoPSP-FileManager
Hi, when using pgf fonts, it makes the program freeze and crash a lot when it comes to reloading a font on another C file.
It could be better to move this repo into its own organization, seeing how many contributors it has - having everything pushed onto/blamed on @dogo doesn't seem entirely fair. It'd also establish the repo more firmly as the "main" repo for oslibmodv2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.