Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compiling to the psp #182

Closed
Titaniumtown opened this issue May 18, 2020 · 4 comments
Closed

Cross compiling to the psp #182

Titaniumtown opened this issue May 18, 2020 · 4 comments
Labels
question Further information is requested

Comments

@Titaniumtown
Copy link

Is it possible to cross-compile sm64pc for my psp? (yes I still have one, and yes I use it pretty much daily) I have all the tools installed on my pc, including psp-sdl, psp-opengl, along with psp-gcc.

Thanks!

@fgsfdsfgs
Copy link
Collaborator

You will have to write a native PSP replacement for gfx_opengl.c. If you do, then probably?

@IvanDSM
Copy link
Member

IvanDSM commented May 21, 2020

I took a look at pspgl and it says it only supports base OpenGL but doesn't say what version. I suppose you could try compiling it. That is, if psp-sdl is SDL2. If it's SDL1 then you'll need to change some things around. I think that ultimately, even if pspgl works, it would be better to write a replacement as suggested by fgsfdsfgs, since it's a very old and hacky library.

@fgsfdsfgs
Copy link
Collaborator

fgsfdsfgs commented May 21, 2020

You could try using the new legacy GL backend with pspgl, but that requires GL_ARB_multitexture and GL_ARB_texture_env_combine, which are part of GL1.3 (and may be implemented on cards that support 1.2), and I don't know whether pspgl implements that. Not to mention you'll probably have to hack it apart to not rely on SDL2.

@vrmiguel vrmiguel added the question Further information is requested label Jul 13, 2020
@vrmiguel
Copy link
Member

Closing question due to inactivity.

djoslin0 referenced this issue in djoslin0/sm64ex-coop Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants