PS3 Ps2 CONFIG Editor (for PS3 CFW user's) by Zar

Following developer Zar' s recent release of ManaGunz (a very useful ps3 homebrew/backup manager), the dev has a new release with PS2 CONFIG Editor that will write CONFIG files for your PS2 Games on PS3 CFW. These config flags can improve game compatibility on some titles as they have been proven to do so in the past, this tool is still in the early stages but this tool is a welcome sight for the community.

PS2_COnfig_PSX_PLACE_DOT_COM.jpg

Additional details about PS2 Config's can be seen in the PS3DevWiki
www.psdevwiki.com/ps3/Emulation#CONFIG_File


  • Ps2 Config Editor for the PS3

    I finally finished the app to easily create PS2 CONFIG files, I named it PS2 CONFIG editor :

    For now, it only write CONFIG files perhaps later i'll add the possibility to read one.
    I think i'll integrate in MGZ only the comands without paramters, like it's done in the tab "simple" of the exe :p

Download: Ps2 Config Editior (PC Tool) / Source Code

 
Last edited:
Thanks Sadungas! sorry im not tech savvy and a noob as far as this stuff goes

i saw this post by Zar
http://www.psx-place.com/threads/ps2-config-editor-for-ps3-cfw-users-by-zar.12918/#post-74498

post #15

gametitle=Silent Hill 2: Director's Cut (SLES-51156)
comment=Widescreen hack by nemesis2000 (pnach by nemesis2000 )
patch=1,EE,002D7530,word,3F28F5C3 //hor asp
patch=1,EE,00189d84,word,3c034455 // partial render fix

//FMV's fix
patch=1,EE,00281118,word,24100004 //hor black border
patch=1,EE,0028111c,word,24030004 //hor black border
patch=1,EE,002810fc,word,340692b0 //bottom
//patch=1,EE,00281104,word,34c68c80 //right
patch=1,EE,002810cc,word,3c026d50 //top
//patch=1,EE,002810d0,word,34467380 //left

//Lens Flare's fix
patch=1,EE,0018B6E0,word,3C024010

patch=1,EE,0018B75C,word,3C0243A8

patch=1,EE,0018C3B4,word,3C024010

patch=1,EE,0018C44C,word,3C0243A8
patch=1,EE,0018C4C8,word,3C0243A8
patch=1,EE,0018CA94,word,3C0243A8
patch=1,EE,0018CB28,word,3C0243A8
patch=1,EE,0018CBAC,word,3C0243A8
patch=1,EE,0018CC50,word,3C0243A8
patch=1,EE,0018CFE4,word,3C0243A8
patch=1,EE,0018D078,word,3C0243A8
patch=1,EE,0018D10C,word,3C0243A8
patch=1,EE,0018D1A0,word,3C0243A8
patch=1,EE,0018D394,word,3C0243A8
patch=1,EE,0018D400,word,3C0243A8
patch=1,EE,0018D54C,word,3C0243A8
patch=1,EE,0018D5B8,word,3C0243A8


can this be made into a CONFIG file?


Also just came across this site http://ps2wide.net/ but not sure how .pnach patches go "into" a config file?> Or if they can even be integrated into a CONFIG file?
 
Last edited:
the easiest way is to use the commandID 0x0A
for example :
patch=1,EE,002D7530,word,3F28F5C3

the first value 002D7530 is the offset
the 2nd is the patched data 3F28F5C3

But u also need the Original data.

This can be anoying to do because it's the EE offset. I think you can find it with PCSX2 or another tools perhaps... ManaGunZ read it directly in the elf using the following steps :

PHP:
    u32 EntryPoint=0;
    u32 ProgOffset=0;
    u16 ProgHeaderNumber=0;
    u32 ProgType=0;
    u32 filesz=0;
   
    memcpy(&EntryPoint, &PS2ELF_mem[0x18], 4);
    EntryPoint = reverse32(EntryPoint);
   
    memcpy(&ProgHeaderNumber, &PS2ELF_mem[0x2C], 2);
    ProgHeaderNumber = reverse16(ProgHeaderNumber);
   
    int i;
    for(i=0; i < ProgHeaderNumber; i++) {
        memcpy(&ProgType, &PS2ELF_mem[0x34+i*0x20], 4);
        ProgType = reverse32(ProgType);
   
        memcpy(&filesz, &PS2ELF_mem[0x34+0x10+i*0x20], 4);
        filesz = reverse32(filesz);

        if(ProgType==1 && filesz!=0) {
            memcpy(&ProgOffset, &PS2ELF_mem[0x38+i*0x20], 4);
            ProgOffset = reverse32(ProgOffset);
            break;
        }
    }
   
    if(ProgType!=1 || filesz==0) {
        print_load("Error : ProgOffset not found");
        return NO;
    }
   
    u32 elf_offset;
    elf_offset = EE_offset - (EntryPoint - 8 - ProgOffset);


You'll be able to do with ManaGunZ in the next update ;)
 
the easiest way is to use the commandID 0x0A
for example :
patch=1,EE,002D7530,word,3F28F5C3

the first value 002D7530 is the offset
the 2nd is the patched data 3F28F5C3

But u also need the Original data.

This can be anoying to do because it's the EE offset. I think you can find it with PCSX2 or another tools perhaps... ManaGunZ read it directly in the elf using the following steps :

PHP:
    u32 EntryPoint=0;
    u32 ProgOffset=0;
    u16 ProgHeaderNumber=0;
    u32 ProgType=0;
    u32 filesz=0;
  
    memcpy(&EntryPoint, &PS2ELF_mem[0x18], 4);
    EntryPoint = reverse32(EntryPoint);
  
    memcpy(&ProgHeaderNumber, &PS2ELF_mem[0x2C], 2);
    ProgHeaderNumber = reverse16(ProgHeaderNumber);
  
    int i;
    for(i=0; i < ProgHeaderNumber; i++) {
        memcpy(&ProgType, &PS2ELF_mem[0x34+i*0x20], 4);
        ProgType = reverse32(ProgType);
  
        memcpy(&filesz, &PS2ELF_mem[0x34+0x10+i*0x20], 4);
        filesz = reverse32(filesz);

        if(ProgType==1 && filesz!=0) {
            memcpy(&ProgOffset, &PS2ELF_mem[0x38+i*0x20], 4);
            ProgOffset = reverse32(ProgOffset);
            break;
        }
    }
  
    if(ProgType!=1 || filesz==0) {
        print_load("Error : ProgOffset not found");
        return NO;
    }
  
    u32 elf_offset;
    elf_offset = EE_offset - (EntryPoint - 8 - ProgOffset);


You'll be able to do with ManaGunZ in the next update ;)


Thanks for the update....yes I will have to wait for the update as this is wayyyyy over my head LOL. hopefully someone makes these configs and adds them to his collection (especially for someone like me that isn't tech savvy :P)
 
Lord of the rings TTC works perfect now

Baldurs gate 1 graphics buzz
Balders gate 2 perfect second stage buzzy graphics
Champions of norrath- graphics buzz
Champions return to arms perfect
Bards tale - perfect
Castlevania curse of darkness. Perfect
Crash bandicoot twinsanity freezes on loading screen
Grimgrimoire perfect
Ghosthunter doesn't work
Indigo phrophecy broke the video settings to the tv and reset ps3 !!!!!
Primal. Perfect - can't extract .iso AT ALL to inject CB though?
The suffering. Perfect
The suffering the ties. Perfect
 
Last edited:
Omg a new managunz feature has been hinted :o
Hey Sandungas!....I have an issue extracting an .iso? I've extracted 100s of ps2 Isos to modify (inject code breaker etc) and rebuild.....I have one ps2 .iso that for the life of me will not extract? I've tried everything? Even different programs isobuster,poweriso,ultrasound and imgburm. It just extracts to a couple of files that are only a few Megs. Even though the ISO is 3.7 gig?
I've never come across this before?
 
Hey Sandungas!....I have an issue extracting an .iso? I've extracted 100s of ps2 Isos to modify (inject code breaker etc) and rebuild.....I have one ps2 .iso that for the life of me will not extract? I've tried everything? Even different programs isobuster,poweriso,ultrasound and imgburm. It just extracts to a couple of files that are only a few Megs. Even though the ISO is 3.7 gig?
I've never come across this before?
Dunno, i never had that problem, i guess is not well made, you can check MD5 of it and verify if it matches with some database webs like redump.org

Iirc... managunz includes this database of game MD5... this is how it knows if the ISO has been modifyedd :)
Btw, you are going to have problems when applying CONFIG files if you modify your ISOs
 
Last edited:
You'll be able to do with ManaGunZ in the next update

This is the best 2018 news so far!!

I've been trying to play Baldur's Gate and Champions of Norrath without graphical glitches for ages. OPL on PS2 has same issues as reported here. I was going to try ESR on PS2 next, but knowing that ManaGunZ will make patching on PS3 easy has literally made my day. Happy New Year Zar, you are a legend.
 
Managunz just kicks me back to xmb when mounting a game. I've been trying to play GH3 for some time now, but no matter what I do, I get kicked back to xmb and forced to launch from WebmanMod. And the game freezes 20 second into the first song. :(
 
Can u give me the md5 of ur backup (to see if it match with mine) ? i'll try to fix it. thank you.
 
So I was just grabbing the CONFIG files manually and adding in the PS2ISO folder on the PS3. Then using mmCM to mount game...then rebugs classic placefolder etc.

I thought I would try out MANAGUNZ so I installed it and went to play the first Baulders Gate and it seems it overwrote the existing CONFIG file That I had previously put in there because the game started with graphic glitches? (because I wanted to play the game at the time, I uninstalled managunz and put a backup of the CONFIG file back into the PS2ISO folder and played it like normal. Not quite sure why this happened etc?? It should have used the latest CONFIG file I thought right from MANAGUNZ??

Anyways.....Definitely looking forward to the day you implement CODEBREAKER into the manager.....will be the ultimate PS2 game manager by far :) (its a pain rebuilding the .iso files with CB injected into them - its finicky)

Cheers
Strip
 
So I was just grabbing the CONFIG files manually and adding in the PS2ISO folder on the PS3. Then using mmCM to mount game...then rebugs classic placefolder etc.

I thought I would try out MANAGUNZ so I installed it and went to play the first Baulders Gate and it seems it overwrote the existing CONFIG file That I had previously put in there because the game started with graphic glitches? (because I wanted to play the game at the time, I uninstalled managunz and put a backup of the CONFIG file back into the PS2ISO folder and played it like normal. Not quite sure why this happened etc?? It should have used the latest CONFIG file I thought right from MANAGUNZ??

Anyways.....Definitely looking forward to the day you implement CODEBREAKER into the manager.....will be the ultimate PS2 game manager by far :) (its a pain rebuilding the .iso files with CB injected into them - its finicky)

Cheers
Strip
Hmmm, maybe you did something wrong inside managunz, let me explain overall what you have to do
When you enter managunz... and click in "game settings" (with triangle over the icon)... there is an option named "create CONFIG"

In it... at top... there is an option that tells "load CONFIG"... and when clicking in it you are going to see 5 "groups" of configs:
NET, GX, SOFT <--- are the configs made by sony
CUSTOM <-------- are the configs that was "hand crafted" unnoficially while doing experiments, in wiki, in this forum, or other forums
CURRENT <-------- this is the CONFIG located next to the ISO !!!

Inside that "create CONFIG" menu you can use any option to "load config" add commands, etc... but nothing is changed unless you press the START button (indicated at bottom of the screen as "save CONFIG" iirc)

When you click in the "save CONFIG" is when your CURRENT CONFIG file (that was located next to the ISO) was lost... because this option overwrites it

-----------------------
So... the next time you enter in that "create CONFIG" menu... and you know you have a CONFIG next to the game.... the first thing you can do is "load CONFIG" ---> CURRENT
And you will see the contents of that config on screen
At this point there is no need to "save CONFIG" yet... is better if you do another "load CONFIG" ---> GX .... or from SOFT
This way you can compare them (but nothing has been saved yet)

And when you have decided which CONFIG you want to use... you can click in the "save CONFIG" (and this overwrites the CONFIG in the same folder to the ISO)

-----------------------
Please try again to verify all this im saying is working fine for you, because all this "config editor" is an experimental feature introduced in managunz 1.31 and could have some minor problem... also i guess is open to improvements
 
tried out the v1.31 and it seems to work fine with your instructions for swapping out CONFIGS etc
(still have jittery graphics of baulders gate 1 - only the gsx config works)
 
  • Like
Reactions: Zar
tried out the v1.31 and it seems to work fine with your instructions for swapping out CONFIGS etc
(still have jittery graphics of baulders gate 1 - only the gsx config works)
Cool, now you have that menu under control you can try to improve the config to fix the jittery graphics :)

-Enter the menu again, and load the config you know it works
-In the checkboxes... enable one... or some
-Save config
-Boot game and see if your added command had some positive effect

I use to say this is like a lottery, but it can work, and my suggestion is to start enabling the 0x44 because this is what we was using before (and the config you are using now doesnt have it iirc)

If the 0x44 doesnt works... repeat... enter again in the config editor... remove the 0x44... and add a different one... save it... load game

Boring process, but is a lot faster than other methods, and there is a good probability of success :)
 
Thanks Sandungas, I'll have to give that a try some night this week. (its funny...at certain times while playing it doesn't do it but the majority of the time it does. ) I'll try the process of enabling one at a time and see what happens although it could be a combination of two or three being checked on also correct? That's a lottttttt of possible combination!
 
  • Like
Reactions: Zar

Featured content

Trending content

Back
Top