I'm playing around with Unity3d at the moment, and I like it a lot! As an experiment I implemented an importer for some of the Xenogears assets types. It is just some of my old C++/Python code converted to C# and munged together. It doesn't contain any of Akari's latest research from q-gears and I didn't make any attempt to clean up duplicate functionality, yet.
You can't actually play anything, but you can use the Unity editor as a viewer to explore some of the models and textures.
http://bin.mypage.sk/FILES/ImportXenogears.unitypackageUsage:
- Make sure you don't need the computer for the next hour or so and have lots of free space on the HD.
- You need raw disc images of disc 1 and disc 2. (2352 byte sector format, file extension .img. The extension is only cosmetic because I didn't find a way to allow multiple extensions in Unity's file selector API.)
- You need Unity 3.5. The free version should do. I don't have Unity 4.0 at home, yet, so I can't tell if there are any problems. (
http://unity3d.com/unity/download/archive )
- Create a new project.
- Import the unity package. This should give you two scripts.
- The window menu should now have an "import xenogears" option
- Use "choose disc image" to select the disc images. The code takes a sniff at the file system and automatically detects disc1/disc2 of the US NTSC version.
- Select "Import". The importer unpacks the disc images into individual files and then imports field, battle stages, worldmap and a bunch of TIM files. This takes ages, and unfortunately I can't display a progress bar because much of the UI is blocked.
There will be unity scenes for the field and battle backgrounds and the terrains that can be opened, alternatively you can browse the models in the project view. I didn't create scenes for the imported images.
Let me know how it goes.
(I don't plan to make this playable, that time would be better invested into q-gears.)
Update:
- it's now a unity package
- tweaked the instancing code for field scenes
- added hierarchy for battle scenes
- added scene models (mostly gears and spaceships)