Would you like to react to this message? Create an account in a few clicks or log in to continue.

Creating .cdi

2 posters

Go down

Creating .cdi Empty Creating .cdi

Post  Treamcaster Mon Oct 13, 2014 9:06 am

Hey...

So the time has come and I need your help.
I want to do some mods to PSOv2 and I need help extracting .cdi file and convert it back into a bootable .cdi again.

Disc image I'm modifying: IVES_PSOV2_US.cdi with Particles Effect.

Here's the steps I'm taking (correct if wrong pls):
1st: I use Isobuster to extract
Creating .cdi 110
2nd: First mod I want to do is replacing some char texture (plBtex.afs). I go to PSO folder and replace the file. Done.
3rd: Now I want to test this. I need to convert all these files back into a .cdi image. What do I do now??

Treamcaster
Turbo Member
Turbo Member

Number of posts : 446
Age : 34
Registration date : 2008-03-25

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Aleron Ives Mon Oct 13, 2014 4:36 pm

I wouldn't bother with CDI. Make a new ISO with mkisofs and load it with a GDI text file, instead.

_________________
"Fear the HUnewearl."
Creating .cdi Awesonic_small
Aleron Ives
Aleron Ives
Socially-Devoid Member
Socially-Devoid Member

Number of posts : 2204
Age : 36
Registration date : 2008-03-24

http://psopalace.funurl.com

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Treamcaster Mon Oct 13, 2014 5:20 pm

Aleron Ives wrote:I wouldn't bother with CDI. Make a new ISO with mkisofs and load it with a GDI text file, instead.
I wanted that .cdi because of the particle effect plus other mods you had applied. Can you help? Also, I tried downloading mkisofs but when I try to run it, the console closes so instantly that I can't see or do anything.

Treamcaster
Turbo Member
Turbo Member

Number of posts : 446
Age : 34
Registration date : 2008-03-25

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Aleron Ives Mon Oct 13, 2014 6:23 pm

You must extract the entire contents of the game to a new folder, then build a new ISO after you change whatever you want to change. You could make a new CDI, but why bother? You're not going to run it from a disc, so just pretend it's an original GD-ROM dump and make a single ISO out of it, since GDEMU boots games in ISO+GDI format. You must open a command prompt and run mkisofs from the command line. It has no GUI, so clicking it won't do anything.

_________________
"Fear the HUnewearl."
Creating .cdi Awesonic_small
Aleron Ives
Aleron Ives
Socially-Devoid Member
Socially-Devoid Member

Number of posts : 2204
Age : 36
Registration date : 2008-03-24

http://psopalace.funurl.com

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Treamcaster Mon Oct 13, 2014 7:38 pm

Aleron Ives wrote:You must open a command prompt and run mkisofs from the command line. It has no GUI, so clicking it won't do anything.
Creating .cdi Nowhat10

I have the files extracted in a folder, now what do I type in mkisofs?

Treamcaster
Turbo Member
Turbo Member

Number of posts : 446
Age : 34
Registration date : 2008-03-25

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Aleron Ives Mon Oct 13, 2014 10:26 pm

You need to put mkisofs in the same folder you're working in. For that particular disc, you'd use:

mkisofs -C 0,105000 -V DISC_NAME -l -o ISO_NAME.iso folder_with_files

Switches are case sensitive, and you need to extract both sessions, not just session 2. You also need to prepend IP.BIN to the boot sector of the new ISO, and extracting it from the CDI would be a pain. IIRC you use -G IP.BIN to add a boot sector with mkisofs directly, but I usually used Echelon's binhack instead. It would be better to use a GD-ROM dump as the base, as I'm not sure if the selfboot method for CDIs will work correctly this way. It depends on how accurately GDEMU mimics the real drive. If the emulation were perfect, you should FSOD when using a CDI, which doesn't seem to happen, according to your report.

If I had a GDEMU, I would set up a pack of patched files that you could use to build your own disc with a GD-ROM dump, but I don't have a GDEMU to test to see if my theoretical methodology would work.

_________________
"Fear the HUnewearl."
Creating .cdi Awesonic_small
Aleron Ives
Aleron Ives
Socially-Devoid Member
Socially-Devoid Member

Number of posts : 2204
Age : 36
Registration date : 2008-03-24

http://psopalace.funurl.com

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Treamcaster Tue Oct 14, 2014 8:14 am

Aleron Ives wrote:You need to put mkisofs in the same folder you're working in. For that particular disc, you'd use:

mkisofs -C 0,105000 -V DISC_NAME -l -o ISO_NAME.iso folder_with_files

Switches are case sensitive, and you need to extract both sessions, not just session 2. You also need to prepend IP.BIN to the boot sector of the new ISO, and extracting it from the CDI would be a pain. IIRC you use -G IP.BIN to add a boot sector with mkisofs directly, but I usually used Echelon's binhack instead. It would be better to use a GD-ROM dump as the base, as I'm not sure if the selfboot method for CDIs will work correctly this way. It depends on how accurately GDEMU mimics the real drive. If the emulation were perfect, you should FSOD when using a CDI, which doesn't seem to happen, according to your report.

If I had a GDEMU, I would set up a pack of patched files that you could use to build your own disc with a GD-ROM dump, but I don't have a GDEMU to test to see if my theoretical methodology would work.


This is very confusing for a noob like me.
1-First things first... so I need to extract both session from isobuster, ok, makes sense. I extract one at a time and then what, I put all files mixed together in one single folder or I keep files from session 1 in one folder and files from session 2 in another folder?
2-Where do I get this IP.bin file and how?
3-Then I run mkisofs and write the following string: mkisofs -C 0,105000 -V psodisctest -l -o psodisctest.iso data
4-After the previous step I just write -G IP.BIN and it's done?

Treamcaster
Turbo Member
Turbo Member

Number of posts : 446
Age : 34
Registration date : 2008-03-25

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Aleron Ives Wed Oct 15, 2014 3:32 pm

IP.BIN is the bootsector of the image, which takes up the first 32 768 bytes. It's hard to extract from a CDI, since you have to ignore the error correction data in the image. ISOBuster lets you view the sectors after you burn the CDI to a disc, but I never found a way to extract the bootsector with ISOBuster. If you have IP.BIN, you add the -G switch to the original mkisofs command.

_________________
"Fear the HUnewearl."
Creating .cdi Awesonic_small
Aleron Ives
Aleron Ives
Socially-Devoid Member
Socially-Devoid Member

Number of posts : 2204
Age : 36
Registration date : 2008-03-24

http://psopalace.funurl.com

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Treamcaster Wed Oct 15, 2014 3:48 pm

"-o" is not recognized as an internal or external command... etc

Treamcaster
Turbo Member
Turbo Member

Number of posts : 446
Age : 34
Registration date : 2008-03-25

Back to top Go down

Creating .cdi Empty Re: Creating .cdi

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum