Hello & a question about .cdi compiling...

(Modding and other series related projects)

Hello & a question about .cdi compiling...

Postby Jackie Harris » Mon Aug 01, 2011 1:30 pm

Hello! I've been lurking for a while, but this is my first post. Really glad to see people keeping the spirit of Shenmue alive! There's so much great research & work stored here.

I've been trying to educate myself on Shenmue hacking by searching the dojo & elsewhere, trial & error, etc. I don't like wasting people's time with obvious questions, but I'm stumped enough to ask for help on this:

What's the best way to recompile ripped .cdi files back into a .cdi? For example let's say I have the contents of Shenmue disc 1 - all the folders, FIGHT, FONT, HANGON, etc. - and I've changed some textures or whatever. How do I take the disc contents & recompile them back into a .cdi for running on an emulator or burning to disc?

I've seen a few clues online but usually in old guides with unclear instructions. What do you guys recommend as the best way to do this?

Sorry if this is obvious but I'm new to this. Any advice would be appreciated. Thanks!
User avatar
Jackie Harris
Asia Travel Representative
Asia Travel Representative
 
Joined: July 2011
Favorite title: Shenmue
Currently playing: Shenmue

Re: Hello & a question about .cdi compiling...

Postby wude » Wed Aug 03, 2011 3:22 pm

well, the best way is to get the GDI versions and use the shentrad tools.
User avatar
wude
٩(⁎❛ᴗ❛⁎)۶
Machine Gun Fist
 
Joined: February 2008
Location: Ryuuseigai
Favorite title: Shenmue II
Currently playing: m.a.m.e

Re: Hello & a question about .cdi compiling...

Postby Jackie Harris » Wed Aug 03, 2011 6:26 pm

Hi Wude

Okay, I got the GDI versions and downloaded the shentrad tools. I then used Gdi2Data to extract the files from the GDIs.

Now I've got the same thing as before - the same folders (FIGHT, FONT, HANGON, etc.) plus 0GDTEX.PVR, 1ST_READ.BIN, DISCNUM.BIN. I know I can use the shentrad tools to extract files, change them, whatever. However, I still have the same problem - how do I recompile all these files back into an image I can either run on an emulator or burn to disc?

I appreciate your help but can you please be more precise than "use the shentrad tools"? I'm a beginner. Thanks. :)
User avatar
Jackie Harris
Asia Travel Representative
Asia Travel Representative
 
Joined: July 2011
Favorite title: Shenmue
Currently playing: Shenmue

Re: Hello & a question about .cdi compiling...

Postby wude » Thu Aug 04, 2011 11:23 am

you can use the selfboot_DATA to create a non bootable nrg image that you need to mount using alcohol or daemon tools, you can also use bootmake to create a cdi file.
User avatar
wude
٩(⁎❛ᴗ❛⁎)۶
Machine Gun Fist
 
Joined: February 2008
Location: Ryuuseigai
Favorite title: Shenmue II
Currently playing: m.a.m.e

Re: Hello & a question about .cdi compiling...

Postby Jackie Harris » Thu Aug 04, 2011 6:42 pm

Sorry, I'm still not getting it...

selfboot_DATA: I'm guessing this is the Dreamcast Test Environment included in the shentrad tools (it says it's based on the Selfboot Data Pack). So I put my extracted GDI files in the 'data' folder, make sure there's an IP.BIN in the root folder, and run makedisc.bat. Result: error message saying -

"mkisofs: Invalid argument. Open by 'devname' not supported on this OS. Cannot open SCSI driver.
mkisofs: Invalid argument. Unable to open previous session image data1.iso"

So no nrg image is created. It just fails. I can't find anything online that explains why.

bootmake: I downloaded bootmake 1.1, select source directory (root of GDI files), select IP.BIN, select destination file. The .cdi is created, no problem. When I run the .cdi in NullDC it gets to the Sega logo then hangs. Nothing else happens.

I'm having no luck so far! ](*,) Any idea what the problem could be?
User avatar
Jackie Harris
Asia Travel Representative
Asia Travel Representative
 
Joined: July 2011
Favorite title: Shenmue
Currently playing: Shenmue

Re: Hello & a question about .cdi compiling...

Postby wude » Thu Aug 04, 2011 7:21 pm

Jackie Harris wrote:"mkisofs: Invalid argument. Open by 'devname' not supported on this OS. Cannot open SCSI driver.
mkisofs: Invalid argument. Unable to open previous session image data1.iso


wow! what os are you running?

as for bootmake, it dosen't work 100%.
User avatar
wude
٩(⁎❛ᴗ❛⁎)۶
Machine Gun Fist
 
Joined: February 2008
Location: Ryuuseigai
Favorite title: Shenmue II
Currently playing: m.a.m.e

Re: Hello & a question about .cdi compiling...

Postby Jackie Harris » Fri Aug 05, 2011 4:27 am

Win XP. Nothing exotic!

Bootmake - oh well, will have to try to find something else.
User avatar
Jackie Harris
Asia Travel Representative
Asia Travel Representative
 
Joined: July 2011
Favorite title: Shenmue
Currently playing: Shenmue

Re: Hello & a question about .cdi compiling...

Postby wude » Fri Aug 05, 2011 10:39 am

User avatar
wude
٩(⁎❛ᴗ❛⁎)۶
Machine Gun Fist
 
Joined: February 2008
Location: Ryuuseigai
Favorite title: Shenmue II
Currently playing: m.a.m.e

Re: Hello & a question about .cdi compiling...

Postby Jackie Harris » Sat Aug 06, 2011 4:07 am

I'll do that. I'll report back if I figure it out.

Thanks for the help!
User avatar
Jackie Harris
Asia Travel Representative
Asia Travel Representative
 
Joined: July 2011
Favorite title: Shenmue
Currently playing: Shenmue

Re: Hello & a question about .cdi compiling...

Postby silversons100thaccount » Sat Aug 13, 2011 7:08 pm

You probably have it down by now but if not

Check out the tutorials on snesorama by the member TuxTheWise. There is one tutorial from getting the files from a GDI rip., and another for getting those files into a bootable CDI. Only thing that worked for me because I searched all over for this exact kind of thing not too long back.
silversons100thaccount
Master of the Three Blades
Master of the Three Blades
 
Joined: March 2009

Re: Hello & a question about .cdi compiling...

Postby wude » Sat Aug 13, 2011 8:22 pm

links?
User avatar
wude
٩(⁎❛ᴗ❛⁎)۶
Machine Gun Fist
 
Joined: February 2008
Location: Ryuuseigai
Favorite title: Shenmue II
Currently playing: m.a.m.e

Re: Hello & a question about .cdi compiling...

Postby silversons100thaccount » Sun Aug 14, 2011 6:12 am

silversons100thaccount
Master of the Three Blades
Master of the Three Blades
 
Joined: March 2009


Return to Community Projects

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000-
ShenmueDojo.net