You just need to set:
SCETOOL_FLAGS += --self-ctrl-flags 4000000000000000000000000000000000000000000000000000000000000002
SCETOOL_FLAGS += --self-cap-flags 00000000000000000000000000000000000000000000007B0000000100000000
in the makefile, Zar's has set directly these flags by default, include "PSDK3v2/psl1ght/ppu_rules "and not in his project like other libs (cobra/ntfs).
Blackscreen problem/kick xmb on EBOOT.BIN is solved![]()
else
if(lv2peek(FIRMWARE_OFFSET_470)==CEX) {
dex_mode=0;
c_firmware=4.70f;
firmware = 0x470C;
OFFSET_2_FIX = OFFSET_2_FIX_470;
LV2MOUNTADDR_ESIZE = LV2MOUNTADDR_ESIZE_470;
LV2MOUNTADDR_CSIZE = LV2MOUNTADDR_CSIZE_470;
OFFSET_FIX = OFFSET_FIX_470;
HV_START_OFFSET = HV_START_OFFSET_470;
OFFSET_FIX_2B17 = OFFSET_FIX_2B17_470;
OFFSET_FIX_LIC = OFFSET_FIX_LIC_470;
OFFSET_FIX_3C = OFFSET_FIX_3C_470;
OFFSET_FIX_17 = OFFSET_FIX_17_470;
OFFSET_FIX_2B = OFFSET_FIX_2B_470;
OFFSET_FIX_DRM = OFFSET_FIX_DRM_470;
OFFSET_FIX_1_SPEED = OFFSET_FIX_1_SPEED_470;
OFFSET_FIX_2_SPEED = OFFSET_FIX_2_SPEED_470;
OFFSET_FIX_BS = OFFSET_FIX_BS_470;
OFFSET_FIX_2_BS = OFFSET_FIX_2_BS_470;
SYSCALL_TABLE = SYSCALL_TABLE_470;
LV2MOUNTADDR = LV2MOUNTADDR_470;
OPEN_HOOK = OPEN_HOOK_470;
BASE_ADDR = BASE_ADDR_470;
OFFSET_1_IDPS = OFFSET_1_IDPS_470;
OFFSET_2_IDPS = OFFSET_2_IDPS_470;
PAYLOAD_SKY = (u64) payload_sky_470C_bin;
PAYLOAD_SKY_SIZE = payload_sky_470C_bin_size;
UMOUNT = (u64) umount_470C_bin;
UMOUNT_SIZE = umount_470C_bin_size;
MAMBA = (u64) mamba_470C_lz_bin;
MAMBA_SIZE = mamba_470C_lz_bin_size;
Hi Zar,
am compiling your source v1.21 without problems at all. Runs smoothly on 4.70.
Have ported it yesterday to 4.75 CEX & did all that you mentioned in earlier posts:
1. Added the 4.75 offsets in common.h
2. Added the 4.75 payloads #include directives to main. c
3. Added the 4.75 mamba + iris(umount & payload_isky) payloads to data directory.
4. Added code in main c init_fw to use the new offsets.
However when I compile I get an error message in main.c function :init_fw. The message reads:
FIRMWARE_OFFSET__475C is undeclared..
Same goes with next newly added constant. But they were defined correctly in common.h.
I am missing something but cannot see what.
Any idea?
BTW Thanks for your contribution to the scene.
Sent from my GT-I9305 using Tapatalk
Hi Zar,
am compiling your source v1.21 without problems at all. Runs smoothly on 4.70.
Have ported it yesterday to 4.75 CEX & did all that you mentioned in earlier posts:
1. Added the 4.75 offsets in common.h
2. Added the 4.75 payloads #include directives to main. c
3. Added the 4.75 mamba + iris(umount & payload_isky) payloads to data directory.
4. Added code in main c init_fw to use the new offsets.
However when I compile I get an error message in main.c function :init_fw. The message reads:
FIRMWARE_OFFSET__475C is undeclared..
Same goes with next newly added constant. But they were defined correctly in common.h.
I am missing something but cannot see what.
Any idea?
BTW Thanks for your contribution to the scene.
Sent from my GT-I9305 using Tapatalk
#include "payload_sky_475C_bin.h"
#include "umount_475C_bin.h"
#include "mamba_475C_lz_bin.h"
if(lv2peek(FIRMWARE_OFFSET_475)==CEX) {
dex_mode=0;
c_firmware=4.75f;
firmware = 0x475C;
OFFSET_2_FIX = OFFSET_2_FIX_475;
LV2MOUNTADDR_ESIZE = LV2MOUNTADDR_ESIZE_475;
LV2MOUNTADDR_CSIZE = LV2MOUNTADDR_CSIZE_475;
OFFSET_FIX = OFFSET_FIX_475;
HV_START_OFFSET = HV_START_OFFSET_475;
OFFSET_FIX_2B17 = OFFSET_FIX_2B17_475;
OFFSET_FIX_LIC = OFFSET_FIX_LIC_475;
OFFSET_FIX_3C = OFFSET_FIX_3C_475;
OFFSET_FIX_17 = OFFSET_FIX_17_475;
OFFSET_FIX_2B = OFFSET_FIX_2B_475;
OFFSET_FIX_DRM = OFFSET_FIX_DRM_475;
OFFSET_FIX_1_SPEED = OFFSET_FIX_1_SPEED_475;
OFFSET_FIX_2_SPEED = OFFSET_FIX_2_SPEED_475;
OFFSET_FIX_BS = OFFSET_FIX_BS_475;
OFFSET_FIX_2_BS = OFFSET_FIX_2_BS_475;
SYSCALL_TABLE = SYSCALL_TABLE_475;
LV2MOUNTADDR = LV2MOUNTADDR_475;
OPEN_HOOK = OPEN_HOOK_475;
BASE_ADDR = BASE_ADDR_475;
OFFSET_1_IDPS = OFFSET_1_IDPS_475;
OFFSET_2_IDPS = OFFSET_2_IDPS_475;
PAYLOAD_SKY = (u64) payload_sky_475C_bin;
PAYLOAD_SKY_SIZE = payload_sky_475C_bin_size;
UMOUNT = (u64) umount_475C_bin;
UMOUNT_SIZE = umount_475C_bin_size;
MAMBA = (u64) mamba_475C_lz_bin;
MAMBA_SIZE = mamba_475C_lz_bin_size;
} else {return NOK;}
[MENTION=34]Zar[/MENTION] The problem with "Error: Can not init ManaGunZ" you can solve it?
Thanks again
Zar, ton MGZ a beaucoup de potentiel bravo.
Sent from my GT-I9305 using Tapatalk
Thank you guys. [MENTION=48]littlebalup[/MENTION] was right of course, a stupid typo error.
Lost hours because of it, I should know better...
Everything fine now.
I had also added the flags in all the makefile when I started to compile MGZ & it always worked. However am I right to assume this is the right way to compile according to Zar?
Sent from my GT-I9305 using Tapatalk
v1.22
- Fix : Make pkg
- Add : support fw 4.75
- Add : XMB priority. When you change this option it will be activ only after the next boot of the homebrew.
- Add : Acces to FileManager even if with 0 game detected
- Fix FileManager : Window resize
- Fix FileManager : Scroll bar
- Fix FileManager : Some minor issues (I forgot)
- Add FileManager : Move window with cursor
- Add FileManager : Icon with color for some file (ex : *.self = RED)
- Add FileManager : Preview of *.txt . It's only the begining of the file ~25 lines.
- Add FileManager : View PNG and JPG
- Add FileManager : Display SHA1 and MD5 in file properties. Only for file lower than 10 Mo if the file is too big it take too many time.
- Add FileManager : Extract & Sign EBOOT.BIN, *.self and *.sprx
- Add FileManager : Add/Remove a sprx to/from a boot list
- Add FileManager : Dump Lv2 & Flash
I updated MGZ. I had some trouble with MD5 and sha-1 because for big file it's taking tooooo many time to get the value. I know that it's probably coming from an issue with fopen fread fclose... so for now MD5 and sha-1 are available only for file under 10Mo, and I removed all other stuff related to MD5 (like IRD) until i fix this (i must re'write the functiun to get MD5 with sysfsfopen sysfsread ...etc.)
Link : ManaGunZ_v1.22.pkg
Changelog: