preparing iso, addzer0

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
anhanguera
Posts: 31
Joined: Thu Aug 26, 2004 4:20 pm

preparing iso, addzer0

Post by anhanguera »

to use addzer0 i have to switch windows everytime, and it gets boring after some time. is there any iso patcher under linux? or source code of addzer0 is avaible? or just a documantation that describing what should a iso-patcher do.

thanks.

alper.
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

Once upon a time, I created a software called "cd-tool". It may eventually help you, although the use you would do if it is quite restricted compared to the possibilities and the complexity of the software. So, if you manage to build up your iso file in a short time using it, fine. Otherwise, don't bother too much with it, unless you like loosing hair. http://www.nobis-crew.org/cd-tool
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
anhanguera
Posts: 31
Joined: Thu Aug 26, 2004 4:20 pm

Post by anhanguera »

hi again,

here is my learning steps... and a question...

first, i checked the iso file given with http://www.thethirdcreation.net/tools/ps2link.zip by using isodump tool.

isodump tool says;
[3;1H 34 [ 1] 16 2048 02/*.
[4;1H 34 [ 1] 16 2048 02/*..
[5;1H 46 [ 1] 19 8661 00/ PS2IPS.IRX;1
[6;1H 46 [ 1] 1e 19533 00/ PS2SMAP.IRX;1
[7;1H 42 [ 1] 17 2048 02/*LICENSES
[8;1H 46 [ 1] 28 33688 00/ PS2LINK.ICO;1
[9;1H 46 [ 1] 39 9397 00/ PS2DEV9.IRX;1
[10;1H 46 [ 1] 3e 5897 00/ IOMANX.IRX;1
[11;1H 42 [ 1] 41 1756 00/ README.;1
[12;1H 46 [ 1] 42 12713 00/ PS2LINK.IRX;1
[13;1H 46 [ 1] 49 35640 00/ PS2LINK.ELF;1
[14;1H 44 [ 1] 5b 68189 00/ PS2IP.IRX;1
[15;1H 38 [ 1] 18 2048 02/*NPORT
[16;1H 48 [ 1] 7d 36 00/ IPCONFIG.DAT;1
[17;1H 44 [ 1] 7e 964 00/ ICON.SYS;1
[18;1H 46 [ 1] 2fc7 57 00/ SYSTEM.CNF;1
[19;1H 38 [ 1] 2fc8 29295974 00/ 0.;1
[20;1H
Zone, zone offset: 16 000000000000

then I have mounted this iso, and copy the needed files except 0 file.
mount -o loop ps2link.iso /mnt/loop
cp -R loop /home/iso
cd /home/iso
rm 0.

cd ..
mkisofs -r -o iso.iso iso/
isodump iso.iso

the output is...
[3;1H136 [ 1] 17 2048 02/*. [SP,RR=1,PX=4,TF,CE=[1a,0,237][ER]]
[4;1H102 [ 1] 17 2048 02/*.. [RR=1,PX=4,TF]
[5;1H124 [ 1] 1b 964 00/ ICON.SYS;1 [RR=1,NM=icon.sys,PX=1,TF]
[6;1H128 [ 1] 1c 5897 00/ IOMANX.IRX;1 [RR=1,NM=iomanx.irx,PX=1,TF]
[7;1H132 [ 1] 1f 36 00/ IPCONFIG.DAT;1[RR=1,NM=ipconfig.dat,PX=1,TF]
[8;1H122 [ 1] 19 2048 02/*LICENSES [RR=1,NM=licenses,PX=2,TF]
[9;1H116 [ 1] 18 2048 02/*NPORT [RR=1,NM=nport,PX=2,TF]
[10;1H130 [ 1] 20 9397 00/ PS2DEV9.IRX;1 [RR=1,NM=ps2dev9.irx,PX=1,TF]
[11;1H126 [ 1] 25 68189 00/ PS2IP.IRX;1 [RR=1,NM=ps2ip.irx,PX=1,TF]
[12;1H128 [ 1] 47 8661 00/ PS2IPS.IRX;1 [RR=1,NM=ps2ips.irx,PX=1,TF]
[13;1H130 [ 1] 4c 35640 00/ PS2LINK.ELF;1 [RR=1,NM=ps2link.elf,PX=1,TF]
[14;1H130 [ 1] 5e 33688 00/ PS2LINK.ICO;1 [RR=1,NM=ps2link.ico,PX=1,TF]
[15;1H130 [ 1] 6f 12713 00/ PS2LINK.IRX;1 [RR=1,NM=ps2link.irx,PX=1,TF]
[16;1H130 [ 1] 76 19533 00/ PS2SMAP.IRX;1 [RR=1,NM=ps2smap.irx,PX=1,TF]
[17;1H120 [ 1] 80 1756 00/ README.;1 [RR=1,NM=readme,PX=1,TF]
[18;1H128 [ 1] 81 57 00/ SYSTEM.CNF;1 [RR=1,NM=system.cnf,PX=1,TF]
[19;1H
Zone, zone offset: 17 000000000000

the offset of system.cnf is 81 now..
So,

cd ./iso
dd if=/dev/zero of=./0 count=48401
cd ..
mkisofs -r -o ./iso0.iso ./iso/
isodump iso0.iso

the output is...

136 [ 1] 17 4096 02/*. [SP,RR=1,PX=4,TF,CE=[1b,0,237][ER]]
102 [ 1] 17 4096 02/*.. [RR=1,PX=4,TF]
112 [ 1] 1c 24781312 00/ 0.;1 [RR=1,NM=0,PX=1,TF]
124 [ 1] 2f61 964 00/ ICON.SYS;1 [RR=1,NM=icon.sys,PX=1,TF]
128 [ 1] 2f62 5897 00/ IOMANX.IRX;1 [RR=1,NM=iomanx.irx,PX=1,TF]
132 [ 1] 2f65 36 00/ IPCONFIG.DAT;1[RR=1,NM=ipconfig.dat,PX=1,TF]
122 [ 1] 19 2048 02/*LICENSES [RR=1,NM=licenses,PX=2,TF]
116 [ 1] 1a 2048 02/*NPORT [RR=1,NM=nport,PX=2,TF]
130 [ 1] 2f66 9397 00/ PS2DEV9.IRX;1 [RR=1,NM=ps2dev9.irx,PX=1,TF]
126 [ 1] 2f6b 68189 00/ PS2IP.IRX;1 [RR=1,NM=ps2ip.irx,PX=1,TF]
128 [ 1] 2f8d 8661 00/ PS2IPS.IRX;1 [RR=1,NM=ps2ips.irx,PX=1,TF]
130 [ 1] 2f92 35640 00/ PS2LINK.ELF;1 [RR=1,NM=ps2link.elf,PX=1,TF]
130 [ 1] 2fa4 33688 00/ PS2LINK.ICO;1 [RR=1,NM=ps2link.ico,PX=1,TF]
130 [ 1] 2fb5 12713 00/ PS2LINK.IRX;1 [RR=1,NM=ps2link.irx,PX=1,TF]
130 [ 1] 2fbc 19533 00/ PS2SMAP.IRX;1 [RR=1,NM=ps2smap.irx,PX=1,TF]
120 [ 1] 2fc6 1756 00/ README.;1 [RR=1,NM=readme,PX=1,TF]

as you see the off set of README is 2fc6.. I do not know why system.cnf does not seen here (?) but from the prev output we know that README was on 80. and system.cnf was on 81. can we assume that if readme is on 2fc6, system.cnf will be on 2fc7 ?

and one more question, to set the system.cnf`s offset is the only thing to do?

alper.
anhanguera
Posts: 31
Joined: Thu Aug 26, 2004 4:20 pm

Post by anhanguera »

thanks pixel, i ll look..

alper.
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

check the ps2mkisofs patch found at ps2dev.sf.net
Kung VU
anhanguera
Posts: 31
Joined: Thu Aug 26, 2004 4:20 pm

Post by anhanguera »

oh thanks, it is better than doing all by hand..

alper.
Post Reply