ManaGunZ

PS3 ManaGunZ - PS3 Backup Manager by Zar v1.41

[MENTION=48]littlebalup[/MENTION]
I used libraries cobra, taken from PrepNTFS.
Same problem.
I think there is some problem in compiling the launcher.self
 
Last edited:
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 those 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 :)
 
Last edited:
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 :)

Perfect, works :D ... but with the "Error: Can not init ManaGunZ" :confused:...
(you mean [MENTION=34]Zar[/MENTION] included those flags to his ppu_rules ?)
 
Last edited:
TY Matsuuu (tu as une bonne mémoire :) ). Indeed my psl1ght is a custom one ;). SRY.

it cannot init ManaGunZ because a "user" cannot get the TITLE_ID of the homebrew and these flag allow the homebrew to be an "administrator" (sry i'm rly tired i cannot express myself more clearly :s)
 
Last edited:
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
 
I think you need to add this in main.c in

//*******************************************************
// Init firmware
//*******************************************************

Code:
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;

But with correct data for 4.75.

EDIT: ... Now i saw your 4th point, you already did this. Follow littlebalub advice.
 
Last edited:
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

I compliled it last night, adding 4.75 payload.
It seems you have a mistake between your main.c init_fw and your common.h.
You should have FIRMWARE_OFFSET_475 and not FIRMWARE_OFFSET_475C
 
Last edited:
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

in main.c , add

Code:
#include "payload_sky_475C_bin.h"
#include "umount_475C_bin.h"
#include "mamba_475C_lz_bin.h"

and....


Code:
	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?
 
Last edited:
[MENTION=34]Zar[/MENTION] you get that backup of main.c? If no i can help you.

Edit: i see you got it :)
 
Last edited:
[MENTION=34]Zar[/MENTION] The problem with "Error: Can not init ManaGunZ" you can solve it?

I'm not sure what I did the first time, but now I don't have the init error anymore.
Ensure to add the SCETOOL_FLAGS to both makefile. I can PM my sources to compare if you want.
 
Last edited:
[MENTION=118]kozarovv[/MENTION]
oh, you saw my previous message message ;D .... I panicked i also almost cried lol ^^'

[MENTION=56]Alexander[/MENTION]
Sry , i didn't understood that there is this message because I was too tired when read it. Did you put these flag for the self too ? Can you send me your pkg ?
 
Thanks [MENTION=34]Zar[/MENTION]. I solved. I had put the flags in the make "MGZ/make". But only in the first. Now it works perfectly. I pointed this out [MENTION=48]littlebalup[/MENTION]
 
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
 
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

sometimes it's good to have a fresh set if eyes look at it.
 
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:
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:

Is it 4.75 DEX ready? ;)
 
Back
Top