PS3 Question about Makefile script

GuilloteTesla

Moderator
Hello everyone!,

In the last couple of days I've been fooling around with the PSL1GHT SDK and some of its samples. But I wanted to start a new project from the templates folder (I've picked up the trivial template).

The problem is that I couldn't get it to run correctly on my console. I've managed to run the Makefile script with the make command and got multiple files: project.elf, project.fake.self, project.pkg.

As I couldn't manage to install ps3load on my PS3 yet, I went the old way: install the pkg. It did install correctly, but got "data corrupted" so I believe there was something wrong with the Makefile script.

I compared it with the scripts from the samples and from some well known homebrews, and I've noticed that the trivial template script is very reduced with its different variables and settings (I couldn't even get it to use the default ICON0.PNG image).

The question is: which script is better?, the simplified or the complete one?.

Cheers!.

P.S. for the devs: which IDE do you use?. I've installed VS Code but it is so unusable to me, I've set it up, add the extensions, included the paths for the libraries and such, and couldn't make IntelliSense to work as it should.
 
I compared it with the scripts from the samples and from some well known homebrews, and I've noticed that the trivial template script is very reduced with its different variables and settings (I couldn't even get it to use the default ICON0.PNG image).
I recommend you take a look at $(PSL1GHT)/ppu_rules from your toolchain installation. Those are the default recipes which are used to build a project. A lot of the sections in the complex/complete script just override the defaults in ppu_rules.

As I couldn't manage to install ps3load on my PS3 yet, I went the old way: install the pkg. It did install correctly, but got "data corrupted" so I believe there was something wrong with the Makefile script.
Check with a file manager whether your installed pkg is missing a PARAM.SFO or an ICON0.PNG file.

By the way, in the end did you end up using the toolchain you compiled yourself, or the binaries from bucanero? If you compiled it yourself, make sure you try building a project like Apollo first and testing if it runs correctly. Some changes to PSL1GHT over the past years seem to have introduced some bugs, which gave me trouble when building Apollo (as I documented here: https://github.com/bucanero/ps3toolchain/issues/6#issue-1114553281; I don't remember in which post buk originally commented on the problem).
 
Check with a file manager whether your installed pkg is missing a PARAM.SFO or an ICON0.PNG file.

By the way, in the end did you end up using the toolchain you compiled yourself, or the binaries from bucanero? If you compiled it yourself, make sure you try building a project like Apollo first and testing if it runs correctly. Some changes to PSL1GHT over the past years seem to have introduced some bugs, which gave me trouble when building Apollo (as I documented here: https://github.com/bucanero/ps3toolchain/issues/6#issue-1114553281; I don't remember in which post buk originally commented on the problem).

Thanks for the tip @rhynec. I build the examples using the toolchain compiled myself (I had to fork the repos and made the changes in them, but everything compiled correctly). Didn't thought the app were so sensitive about PARAM.SFO and ICON0.PNG files.

I'll give it a shot trying to compile Apollo Save Tools and see if everything is OK. I think this aproach it is way too overkill just to check if everything works, because a simple "hello world" should work right away, but will try it anyway :encouragement:.
 
Back
Top