Welcome Guest [Log In] [Register]
Welcome to Digi-Play. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Import / Export Maxscript
Topic Started: Apr 28 2013, 09:46 AM (629 Views)
mariokart64n
Administrator
[ *  * ]
Download:
http://pastebin.com/XuQQTTUJ

Posted Image

Video Guide


Written Guide
Quote:
 

To be able to test the script you'll need to be able to test files ingame. I've been using dolphin, a GC/Wii Emulator for the PC. [url]dolphin-emulator.com[/url]

I got the ISO, off my homebrew wii using a dumping software. alternatively you can download the ISO off torrent (Google it!)


I then used GCReEx to extract the files (Commandline tool)
> Example: GCReEx.exe -x -C:\image.iso
http://www.maxconsole.com/maxcon_forums/sh...3-now-available

you'll get a ROOT and SYS folder, these are needed to recreate a new ISO
But under the ROOT folder you should see something like in this image below
Posted Image

ok now how the game works is playable characters and enemies are in the EM folder. If you want to replace a character entirely its not too easy, because the game stores the character model in cutscene packages. so for every cutscene the models are included in a new package file. to entirely replace a character all cutscene packages would need to be unpacked and repacked with the new model

the playable characters under the em folder include:
pl00 - Chris, Default
pl01 - Jill, Default
pl0a - Jill, Mercenary
pl0b - Jill, Casual
pl0c - Rebecca, Casual
pl03 - Rebecca, Default
pl08 - Chris, Mercenary
pl09 - Chris, Casual
pl10 - Chris, Default (With Gun)
pl11 - Jill, Default (With Gun)
pl12 - Barry, Default (With Gun)
pl13 - Rebecca, Default (With Gun)
pl14 - Wesker, Default (With Gun)
pl17 - Richard, Ripped Up
pl18 - Rebecca, Casual (With Gun)

they are all "*.DAT" files, which hold models, textures, animations, and other files.

What you need to do is Unpack them from the maxscript using "Unpack"

a folder will be created under the same name
Posted Image

inside that folder are all the sub files that makeup that model.
you can use the maxscript to "Import" a BIN file.

the model should import and you can modify the mesh. when ready you can export, but prior to that you need to click on "Advanced Options"

you'll see the Form expand and you'll see a Texture Library form with some stuff in it.
when a bin is imported a library is gathered, but only with that model file.

other model files will use a single TPL (Texture Palette Library) so you can't use the library imported from a single BIN.

what you need to do is press the [ X ] in the script to clear the current texture library. then press Import again and open a TPL. usually this is the first TPL from the top.

now a new texture library will be constructed in the form. And when you export, the model will work with the already existing TPL.

ok, so when ready press EXPORT to export the geometry and replace the old BIN file.

now all you have to do is repack, so press PACK and select the XML file located in the folder. and it'll make a new file "NEWDAT_001"

ok, so replace that to whatever the source plXX.dat was.. and you'll need to create a new ISO

example:
GCReEx -c "C:\exported\"

and it'll produce a image.iso file.

run the new ISO through the emulator and observe the results :D

Edited by mariokart64n, Apr 28 2013, 09:46 AM.
Offline Profile Quote Post Goto Top
 
Guest
Unregistered

hey mario,
sry for bringing up this ancient script of urs but, when i exported using ur script, all the uvs got messed up for some reason. have any ideas why?
Spoiler: click to toggle

Just the body, i actually took out the face textures from the tpl library so.
hope ur still interested enough to answer a question about REmake, thanks.
nice forum u got
Quote Post Goto Top
 
Guest
Unregistered

nvm it works, my bad
Quote Post Goto Top
 
DealsFor.me - The best sales, coupons, and discounts for you
« Previous Topic · Resident Evil Remake · Next Topic »
Add Reply