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

Support for the CPE format #7

Open
tomsons26 opened this issue Jul 25, 2019 · 5 comments
Open

Support for the CPE format #7

tomsons26 opened this issue Jul 25, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@tomsons26
Copy link

Some games have CPE's too, its especially common with non-retail releases

@lab313ru lab313ru self-assigned this Nov 22, 2019
@lab313ru lab313ru added the enhancement New feature or request label Nov 22, 2019
@lab313ru
Copy link
Owner

Is that format executable by PSX? Is there a structure description?

@tomsons26
Copy link
Author

tomsons26 commented Nov 30, 2019

CPE is the initial binary the PSX sdk produces, then it converts it to a PSX EXE, as i understand the PSX could run CPE's too.
Tbh thought it was the same header as the PSX EXE, but with section info, seems it isn't.
https://github.com/GirianSeed/cpe2psx/blob/master/cpe2psx.cpp

The sdk has a dumpcpe.exe and cpe2x.exe, maybe those provide some insight?
Apparently the one with section info might had been SCE which i have not seen in any game so far.

@lab313ru
Copy link
Owner

So, do you know some game which uses CPE instead of PS-X EXE?

@tomsons26
Copy link
Author

Well Need for Speed: High Stakes (Feb 23, 1999 prototype) has a CPE on the disc along the exe, a lot of other pre-release builds will. In the PSX sdk there's a lot of CPE's, some projects just have a CPE, no EXE.

@MrSapps
Copy link

MrSapps commented Dec 1, 2019

https://github.com/FoxdieTeam/CpeConv/blob/master/CpeDump.cpp

A bit more reference code if you ever do this. CPEs just seem to be some form of pesudo concatenated object files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants