Skip to content

Commit

Permalink
1.37
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarh committed Sep 11, 2019
1 parent f820e92 commit 60120a3
Show file tree
Hide file tree
Showing 36 changed files with 1,208 additions and 344 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.sym
*.prx
*.elf
*.self
*.pkg
Expand Down
53 changes: 35 additions & 18 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@

v1.37
Add : Support the firmware 4.85C.
Fix : Issue with syscall 35. It fix the function to mount JB backups with cobra or mamba, among others.
Fix FileManager : Issue to open /dev_bdvd.
Add FileManager : Symbolic links. See Notes (1).

Notes :
(1) It use cobra/mamba syscall 35.
For example if you want to redirect app_home to dev_bdvd
_ Select app_home (square)
_ Option (triangle) then select "SymLink source" (cross)
_ Select dev_bdvd (square)
_ Option (triangle) then select "Symlink target" (cross)

v1.36
Add : Support PS3HEN. I removed every feature unsupported by the HEN (tested on HEN 2.3.1).
Add : Updated widescreen db from pcsx2 github.
Expand All @@ -10,17 +25,16 @@ Add : You can add a color filter on some pictures. See notes (2).
Add : Settings menu is splitted in 3 level instead of 2.
Add : Platform filter for UI XMB.
Fix : It scan dev_cf (compact flash) instead of dev_cd.
Add : 'Yes/No' settings are remplaced by a toggle.
Add : 'Yes/No' settings are replaced by a toggle.
Add : New theme icons for the toggle.
Fix : Rawseciso isn't a fself anymore. It fix issue with iso from ntfs with a PS3HEN.
Fix : Issue with ps2 elf crc. It fix several issues with iso patching options like when 'disable widescreen' was unavailble.
Fix : Issue with ps2 elf crc. It fix several issues with iso patching options like when 'disable widescreen' was unavailable.
Fix : Pnach wasn't properly translated to .CONFIG, wrong endianness in replacement opcode.
Fix : To avoid issues with some characters, the name of game settings files use title_id instead of title.
Remove : I removed "Shortcut pkg" option because it's broken. I'll fix it later.
Add FileManager : More informations of devices : capacity, file system, name, label, writable.
ADd FileManager : Several predefined root display is available. Also, you can custumize your own display in settings.
Add FileManager : Specifics options are available if you select several files with the same extention. For example, you can extract 3 pkg in a row.
Add FileManager : Make shortcut PKG.
ADd FileManager : Several predefined root display is available. Also, you can customize your own display in settings.
Add FileManager : Specifics options are available if you select several files with the same extension. For example, you can extract 3 pkg in a row.
Add FileManager : New theme icons used for the closebox, the dockbox and the cursor.
Add FileManager : Support UTF8 filename and also their content with the TXTviewer.
Add offsetfinder : It generate every files to update managunz to a new firmware. Type 'make update'.
Expand All @@ -30,27 +44,30 @@ Notes :
For Flow3D, it's stored in 2MB slots, there is less slots.
The dimention of the game pictures is limited.
We can calculate its size = Width * Height * Pitch
I use ARGB texture -> the pitch is 4.
The picture size must repect :
- Width*Height < 0x20000 = (512*1024) /4
- Flow3D Width*Height < 0x80000 = (2*1024*1024) /4
I use ARGB texture, the pitch is 4.
The picture size must respect :
Width x Height < 0x20000 = (512 x 1024) /4
And in Flow3D :
Width x Height < 0x80000 = (2 x 1024 x 1024) /4

To not have any memory issue, I suggest you to use the following dimensions:
ICON0 320*176 = 0x0DC00
COVER PS1 250*250 = 0x0F424
COVER PS2 250*350 = 0x155CC
COVER PS3 260*300 = 0x130B0
COVER PSP 200*340 = 0x109A0
COVER3D PS1 450*450 + 450*600 = 0x735B4
COVER3D PS2 850*570 = 0x76494
COVER3D PS3 950*525 = 0x79C3E
COVER3D PSP 800*640 = 0x7D000
ICON0 320 x 176
COVER PS1 250 x 250
COVER PS2 250 x 350
COVER PS3 260 x 300
COVER PSP 200 x 340
COVER3D PS1 450 x 450 + 450 x 600
COVER3D PS2 850 x 570
COVER3D PS3 950 x 525
COVER3D PSP 800 x 640

(2) You can choose the color filter with (R1) in settings.
It's available for BG, BGS, SIDEBAR, BOXBODY, BOXHEAD and NOTIF pictures.
You can add these colors in colorset.ini file too.
They are named COLOR_BG, COLOR_BGS, COLOR_SIDEBAR, COLOR_BOXBODY, COLOR_BOXHEAD and COLOR_NOTIF.
If you don't write a colors in colorset.ini it will be disabled.


v1.35
Add : Support 4.84C & 4.84D
Fix : fixed Mamba payloads for D-REX not properly loading modules hashes
Expand Down
Binary file added MGZ/data/mamba_485C.lz.bin
Binary file not shown.
Binary file added MGZ/data/mamba_loader_485C.bin
Binary file not shown.
Binary file added MGZ/data/payload_sky_485C.bin
Binary file not shown.
Binary file added MGZ/data/ps2gxemu_stage1_485C.bin
Binary file not shown.
Binary file added MGZ/data/ps2gxemu_stage2_485C.bin
Binary file not shown.
Binary file added MGZ/data/ps2hwemu_stage1_485C.bin
Binary file not shown.
Binary file added MGZ/data/ps2hwemu_stage2_485C.bin
Binary file not shown.
Binary file added MGZ/data/ps2netemu_stage2_485C.bin
Binary file not shown.
Binary file added MGZ/data/umount_485C.bin
Binary file not shown.
18 changes: 18 additions & 0 deletions MGZ/source/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -655,4 +655,22 @@
#define OFFSET_1_IDPS_484D 0x8000000000409A30ULL
#define OFFSET_2_IDPS_484D 0x800000000049CAF4ULL

#define SYSCALL_TABLE_485C 0x8000000000363BE0ULL
#define HV_START_OFFSET_485C 0x370F28
#define OFFSET_FIX_485C 0x05658C
#define OFFSET_2_FIX_485C 0x05A6E4
#define OFFSET_FIX_2B17_485C 0x2275F4
#define OFFSET_FIX_LIC_485C 0x056230
#define OFFSET_FIX_3C_485C 0x267150
#define OPEN_HOOK_485C 0x8000000000297638ULL
#define BASE_ADDR_485C 0x80000000002D8AF0ULL
#define LV2MOUNTADDR_485C 0x8000000000479FC0ULL
#define LV2MOUNTADDR_ESIZE_485C 0x118
#define LV2MOUNTADDR_CSIZE_485C 0x108
#define FW_DATE_OFFSET_485C 0x80000000002FCB68ULL
#define FW_DATE_1_485C 0x323031392F30372FULL
#define FW_DATE_2_485C 0x32332032313A3035ULL
#define OFFSET_1_IDPS_485C 0x80000000003E2E30ULL
#define OFFSET_2_IDPS_485C 0x8000000000474AF4ULL

#endif /* __COMMON_H__ */
5 changes: 5 additions & 0 deletions MGZ/source/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,10 @@
#include "mamba_484D_lz_bin.h"
#include "mamba_loader_484D_bin.h"

#include "payload_sky_485C_bin.h"
#include "umount_485C_bin.h"
#include "mamba_485C_lz_bin.h"
#include "mamba_loader_485C_bin.h"


#endif /* __DATA_H__ */
31 changes: 31 additions & 0 deletions MGZ/source/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,37 @@ u8 init_fw()
MAMBA_LOADER_SIZE = mamba_loader_484D_bin_size;
MAMBA_LOADER = (u64 *) mamba_loader_484D_bin;

} else
if(( lv2peek(FW_DATE_OFFSET_485C )==FW_DATE_1_485C) &&
( lv2peek(FW_DATE_OFFSET_485C + 8)==FW_DATE_2_485C) )
{

firmware = 0x485C;

OFFSET_2_FIX = OFFSET_2_FIX_485C;
LV2MOUNTADDR_ESIZE = LV2MOUNTADDR_ESIZE_485C;
LV2MOUNTADDR_CSIZE = LV2MOUNTADDR_CSIZE_485C;
OFFSET_FIX = OFFSET_FIX_485C;
HV_START_OFFSET = HV_START_OFFSET_485C;
OFFSET_FIX_2B17 = OFFSET_FIX_2B17_485C;
OFFSET_FIX_LIC = OFFSET_FIX_LIC_485C;
OFFSET_FIX_3C = OFFSET_FIX_3C_485C;
SYSCALL_TABLE = SYSCALL_TABLE_485C;
LV2MOUNTADDR = LV2MOUNTADDR_485C;
OPEN_HOOK = OPEN_HOOK_485C;
BASE_ADDR = BASE_ADDR_485C;
OFFSET_1_IDPS = OFFSET_1_IDPS_485C;
OFFSET_2_IDPS = OFFSET_2_IDPS_485C;

PAYLOAD_SKY_SIZE = payload_sky_485C_bin_size;
PAYLOAD_SKY = (u64) payload_sky_485C_bin;
UMOUNT_SIZE = umount_485C_bin_size;
UMOUNT = (u64) umount_485C_bin;
MAMBA_SIZE = mamba_485C_lz_bin_size;
MAMBA = (u64) mamba_485C_lz_bin;
MAMBA_LOADER_SIZE = mamba_loader_485C_bin_size;
MAMBA_LOADER = (u64 *) mamba_loader_485C_bin;

} else {return FAILED;}

NEW_POKE_SYSCALL_ADDR = lv2peek( lv2peek(SYSCALL_TABLE + NEW_POKE_SYSCALL*8) ) + 0ULL;
Expand Down
Loading

0 comments on commit 60120a3

Please sign in to comment.