
Originally Posted by
ozayturay
You do realize people may want to compile the latest revision on their own? They aren't trying to clone multiman. Chill out and understand what people are saying.
The OP is merely pointing out how to compile the source so people will know how. The source is available for a reason, so people want to take advantage of it. if you can't provide any details on how to compile the source, don't comment.
Since obviously no one wants to help because for some reason they think your going to clone it, use the official SDK or Cell SDK(Are they the same thing? I haven't looked at anything other then PSl1GHT in awhile so my memory is a bit funny) I believe that is what it's using.
Damn now people can't even compile the source code for their own personal enjoyment without people bitching that they shouldn't. This scene is becoming a joke. People would much rather keep everything in the hands of the chosen few, instead of allowing the community to help each other. This scene is going down a slippery slope and it's going down rather quickly here lately.
@OP I'm pretty sure the Cell SDK is required. The reason why I say that is because of the following taken from the makefile.
Code:
.PHONY: mm
CELL_MK_DIR = $(CELL_SDK)/samples/mk
include $(CELL_MK_DIR)/sdk.makedef.mk
CELL_INC_DIR = $(CELL_SDK)/target/include
MM = source/
SHADERS = shaders/
RELEASE = ./release
BIN = bin/
NPDRM = /NPDRM_RELEASE
MM_REL = multiMAN
APPID = BLES80608
CONTENT_ID=MM4PS3-$(APPID)_00-MULTIMANAGER0200
MAKE_SELF_NPDRM = make_self_npdrm
PPU_SRCS = $(MM)main.cpp
PPU_TARGET = $(MM_REL)_BOOT.elf
PPU_OPTIMIZE_LV := -O2
PPU_INCDIRS= -Iinclude -I$(CELL_INC_DIR) -I$(CELL_SDK)/target/ppu/include/sysutil -I$(CELL_SDK)/target/ppu/include
PPU_LDLIBS += -lpthread -lm -lio_stub -lsysmodule_stub -lsysutil_stub -lfs_stub\
all : $(PPU_TARGET)
PPU_CFLAGS += -g
include $(CELL_MK_DIR)/sdk.target.mk
mm : $(PPU_TARGET)
@mkdir -p $(BIN)
@$(PPU_STRIP) -s $< -o $(OBJS_DIR)/$(PPU_TARGET)
@$(MAKE_SELF_NPDRM) ./objs/$(MM_REL)_BOOT.elf $(RELEASE)$(NPDRM)/USRDIR/EBOOT.BIN $(CONTENT_ID) > nul
@rm $(PPU_TARGET)
$(MAKE) -f makefile.multiman mm
Code:
.PHONY: mm npdrm_package
CELL_MK_DIR = $(CELL_SDK)/samples/mk
include $(CELL_MK_DIR)/sdk.makedef.mk
CELL_INC_DIR = $(CELL_SDK)/target/include
MM = source/
VIDEO = video/
SHADERS = shaders/
RELEASE = ./release
BIN = bin/
NPDRM = /NPDRM_RELEASE
MM_REL = multiMAN2
APPID = BLES80608
MAKE_SELF_WC = make_self_wc
PSN_PKG_NPDRM = psn_package_npdrm
CONTENT_ID=MM4PS3-$(APPID)_00-MULTIMANAGER0200
PPU_SRCS = $(MM)graphics.cpp $(MM)multiman.cpp $(MM)peek_poke.cpp $(MM)mm.cpp $(MM)hvcall.cpp $(MM)syscall36.cpp $(MM)syscall8.c $(MM)fonts.c $(MM)fonts_render.c $(MM)mscommon.cpp
PPU_SRCS += $(VPSHADER_PPU_OBJS) $(FPSHADER_PPU_OBJS)
PPU_TARGET = $(MM_REL)_BARE.elf
PPU_OPTIMIZE_LV := -O2
PPU_CPPFLAGS := -DPSGL
PPU_INCDIRS= -Iinclude -I$(CELL_INC_DIR) -I$(CELL_INC_DIR)/usb/usbpad -I$(CELL_INC_DIR)/usb/usbkb -I$(CELL_SDK)/target/ppu/include/sysutil -I$(CELL_SDK)/target/ppu/include -I/psl1ght/include
PPU_LDLIBS = -lftp
PPU_LDLIBS += -lfont_stub -lfontFT_stub -lfreetype_stub -lpthread -lmixer -lm -lmstreamSPURSMP3 -ladec_stub -laudio_stub -lnet_stub -lnetctl_stub -lpngdec_stub -ldbgfont_gcm -lgcm_cmd -lgcm_sys_stub -lio_stub -lsysmodule_stub -lsysutil_stub -lfs_stub -lhttp_util_stub -lspurs_stub -ljpgdec_stub -lhttp_stub -lsysutil_music_export_stub -lsysutil_photo_export_stub -lsysutil_video_export_stub -lrtc_stub -lsysutil_screenshot_stub -lvdec_stub
PPU_LDLIBS += -lccons -lusbd_stub
PPU_LIBS += -l./libpmsd -l./libpfs -l./libpfsm
all : $(PPU_TARGET)
PPU_CFLAGS += -g
VPSHADER_SRCS = vpshader.cg vpshader2.cg
FPSHADER_SRCS = fpshader.cg fpshader2.cg
VPSHADER_PPU_OBJS = $(patsubst %.cg, $(OBJS_DIR)/$(MM)%.ppu.o, $(VPSHADER_SRCS))
FPSHADER_PPU_OBJS = $(patsubst %.cg, $(OBJS_DIR)/$(MM)%.ppu.o, $(FPSHADER_SRCS))
include $(CELL_MK_DIR)/sdk.target.mk
PPU_OBJS += $(VPSHADER_PPU_OBJS) $(FPSHADER_PPU_OBJS)
$(VPSHADER_PPU_OBJS): $(OBJS_DIR)/$(MM)%.ppu.o : %.vpo
@mkdir -p $(dir $(@))
@$(PPU_OBJCOPY) -I binary -O elf64-powerpc-celloslv2 -B powerpc $< $@ > nul
$(FPSHADER_PPU_OBJS): $(OBJS_DIR)/$(MM)%.ppu.o : %.fpo
@mkdir -p $(dir $(@))
@$(PPU_OBJCOPY) -I binary -O elf64-powerpc-celloslv2 -B powerpc $< $@ > nul
mm : $(PPU_TARGET)
@mkdir -p $(BIN)
@$(PPU_STRIP) -s $< -o $(OBJS_DIR)/$(PPU_TARGET)
@$(MAKE_SELF_WC) ./objs/$(MM_REL)_BARE.elf $(RELEASE)$(NPDRM)/USRDIR/RELOAD.SELF > nul
@$(PSN_PKG_NPDRM) $(RELEASE)/package.conf $(RELEASE)$(NPDRM)/ > nul
@cp ./MM4PS3*.pkg $(BIN)/$(MM_REL)_340.pkg
@mv ./MM4PS3*.pkg $(BIN)/$(MM_REL)_355.pkg
@package_finalize.exe $(BIN)/$(MM_REL)_355.pkg
@rm ./$(PPU_TARGET)
@rm ./*.vpo
@rm ./*.fpo
@mv ./objs/$(MM_REL)_BARE.elf $(BIN)/$(MM_REL).elf
@echo
@echo PKG and binaries: [$(BIN)]
@echo Done!
To the person I quoted and everyone else that goes along with him; if you aren't going to help the OP. Don't post. He merely asked how to compile the source for his own personal needs. The source was released for the community to add features, mess around with, or simply compile in case the latest revision isn't available at the exact time that the person wants it.
Why do people need to wait for Dean if he provides the means to do it themselves? Quit stifling people's desire to learn from the tools and code they are given!!!
EDIT: I have the official Sony SDK and the old PSl1ght+ Sony SDK on my machine. It's using evil sperm's v1 VMware. So if you need it let me know and I'll upload it. As I believe it's the only VM that has both the original PSl1ght + the official SDK. So that way you can compile homebrew that uses the Sony SDK. If you need a VM that uses the latest PSl1ght grab the one that uses fedora here (PSL1GHT VM with PSL1GHT v2)
I hope that helps you. If you have anymore problems please PM me since the other two in this thread would rather find ways to keep you from using the source that dean graciously gave us. (which is pretty out there considering dean wouldn't release the source unless he wants people to use it.)
EDIT2: Yup it uses the Sony SDK like I thought. Thanks to Square
.