fgsfdsfgs / sm64-port

PS2, PS3, OG Xbox and DOS ports of sm64-port.
https://discord.gg/7bcNTPK
243 stars 38 forks source link

PS3 - pkg doesn't work #27

Closed crystalct closed 3 years ago

crystalct commented 3 years ago

Inside Makefile change :

$(PKG) --contentid $(CONTENTID) $(BUILD_DIR)/pkg/ $@ >> /dev/null
cp $@ $(basename $@).gnpdrm.pkg
$(PACKAGE_FINALIZE) $(basename $@).gnpdrm.pkg

in $(PKG) --contentid $(CONTENTID) $(BUILD_DIR)/pkg/ $@.pkg

fgsfdsfgs commented 3 years ago

You mean remove >> /dev/null? That isn't really going to do anything, but okay. I added an easier to use pkg target in the latest commit, you can now just do make pkg -j4 and it'll build one in build/us_pc/.

crystalct commented 3 years ago

No, i mean $(PACKAGE_FINALIZE) $(basename $@).gnpdrm.pkg produces a pkg that my real PS3 refuses.... $(PKG) --contentid $(CONTENTID) $(BUILD_DIR)/pkg/ $@ >> /dev/null produces a working pkg. Of course, >> /dev/null is irrilevant.

crystalct commented 3 years ago

OK.... now make pkg produces sm64.us.f3dex2e.gnpdrm.pkg (not working for me) and sm64.us.f3dex2e.pkg (working for me).

Good.

fgsfdsfgs commented 3 years ago

I'm pretty sure it was doing that before.

crystalct commented 3 years ago

You are right... it's and it was cp $@ $(basename $@).gnpdrm.pkg and not mv $@ $(basename $@).gnpdrm.pkg. Anyway, now there is make pkg ... it's better.