Hex-Editing/MOFI Editor FAQ

Help Topics, Bug Reports, Feature Requests, etc.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Hex-Editing/MOFI Editor FAQ

Post by MyNameIsKooky » Sat Dec 11, 2010 10:25 pm

Ask me questions on what things in the editor/Hex-Editing/MOFI stuff confuse you and I'll do my best to answer them (I've got lots of experience behind me with this stuff now).
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sat Dec 11, 2010 10:26 pm

How do you add things like ZAdjust?
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Dec 11, 2010 10:30 pm

Follow these steps:

1. Head to Data\Editor\ObjectPresets
2. Open a .wop file that has ZAdjust with a Hex Editor (Barrel Reg.wop, for example)
3. Look for ZAdjust and the few spaces before it
4. In Hex, tthe few spaces ZAdjust before it should look something like "07 00 00 00". Add this to a different wop file including ZAdjust (MAKE BACKUPS!!!) and it should work.

This is complicated, so you can request .wops for me to modify.
Emerald141
Rainbow AllStar
Posts: 4548
Joined: Fri Dec 26, 2008 4:56 pm

Post by Emerald141 » Sat Dec 11, 2010 10:35 pm

Last edited by Emerald141 on Fri Sep 02, 2022 2:02 am, edited 1 time in total.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Dec 11, 2010 10:38 pm

I don't know about that, I've never tried model swapping before. I'll look into it right now.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Dec 11, 2010 10:47 pm

DP.

So apparently the first thing after the ! in wop files is the model. You can edit that, but it's VERY GLITCHY AND PRONE TO CRASHING. D:>
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Sat Dec 11, 2010 10:49 pm

I just change the model it uses.
eg.
You want a Thwart that has a cuboid model?
Change:
!Thwart
to
!Cuboid




BTW, I'm having trouble with one trick i'm trying with the editor. For some reason the player MAVs when the adventure is started.
Here's the .wa2 file.
You do not have the required permissions to view the files attached to this post.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Dec 11, 2010 10:57 pm

NPC Cuboids(?) would crash the game since they need a color parameter for their textures. Either that or broken animations.
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Sat Dec 11, 2010 10:58 pm

Ah, that's the problem.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sat Dec 11, 2010 11:01 pm

MyNameIsKooky wrote:Follow these steps:

1. Head to Data\Editor\ObjectPresets
2. Open a .wop file that has ZAdjust with a Hex Editor (Barrel Reg.wop, for example)
3. Look for ZAdjust and the few spaces before it
4. In Hex, tthe few spaces ZAdjust before it should look something like "07 00 00 00". Add this to a different wop file including ZAdjust (MAKE BACKUPS!!!) and it should work.

This is complicated, so you can request .wops for me to modify.
Where do you insert the characters? Otherwise I gots it.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Dec 11, 2010 11:02 pm

Insert the new characters at the end of the file.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sat Dec 11, 2010 11:08 pm

IT WORKS! NOW I WILL HAVE COOL GLOVECHARGES!
I plan to make a word doc. with all the adjust you can add to things.
Edit: Can you make it so say, you want a gem at color 8? (for experimental purposes of course)
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sat Dec 11, 2010 11:38 pm

Hello? *looks outside* Wow its dark.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Dec 11, 2010 11:49 pm

StinkerSquad01 wrote:Edit: Can you make it so say, you want a gem at color 8? (for experimental purposes of course)
So many questions about .wops...

I think there was a thing a while back about rainbow gems and stuff.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sun Dec 12, 2010 12:05 am

So how do you make it?
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Dec 12, 2010 12:12 am

I think you'll need to use custom textures, the parameters don't support going above 6 for gems as far as I know.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sun Dec 12, 2010 12:19 am

Ok.
User avatar
gameboy991
Rainbow Master
Posts: 710
Joined: Thu Apr 09, 2009 2:44 am

Post by gameboy991 » Sun Dec 12, 2010 12:24 am

Yeah, I'm pretty sure there was a custom texture for that. Wasn't it for the "Rainbow Shard" or something? That can work for gems as well, right?
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Dec 12, 2010 12:26 am

I believe so.
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Sun Dec 12, 2010 12:58 am

The trick I tried failed, so It's up to you to see what went wrong.
You do not have the required permissions to view the files attached to this post.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Dec 12, 2010 12:59 am

If you're still trying to use the NPC Cuboids, don't. They won't work. They would try to perform animations that they can't.
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Sun Dec 12, 2010 1:02 am

No, I didn't. Play the adventure and see what i did, because I can't explain.
It's best to also open it up in the editor to see what's going on.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Dec 12, 2010 1:06 am

I don't see what's wrong with it.

Explain your problem or I can't help you.
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sun Dec 12, 2010 3:47 am

MyNameIsKooky wrote:Follow these steps:

1. Head to Data\Editor\ObjectPresets
2. Open a .wop file that has ZAdjust with a Hex Editor (Barrel Reg.wop, for example)
3. Look for ZAdjust and the few spaces before it
4. In Hex, tthe few spaces ZAdjust before it should look something like "07 00 00 00". Add this to a different wop file including ZAdjust (MAKE BACKUPS!!!) and it should work.

This is complicated, so you can request .wops for me to modify.
Kooky, can you please send me wops with Z adjust for

TRANSPORTER
TELEPORTER
GATES
BUTTONS
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sun Dec 12, 2010 3:48 am

Emerald141 wrote:How do you make a bookcase that acts like a sign?
I have a wop of it
You do not have the required permissions to view the files attached to this post.
Last edited by Guppy Star on Sun Dec 12, 2010 12:33 pm, edited 1 time in total.
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
^_^
Rainbow SuperStar
Posts: 2390
Joined: Tue Feb 09, 2010 11:30 am

Post by ^_^ » Sun Dec 12, 2010 9:20 am

Emerald141 wrote:How do you make a bookcase that acts like a sign?
Jozsefkoma gave you a model like that.
If you can look at my avatar for 19 minutes, without closing your eyes, you must be great.
Emerald141
Rainbow AllStar
Posts: 4548
Joined: Fri Dec 26, 2008 4:56 pm

Post by Emerald141 » Sun Dec 12, 2010 2:02 pm

Last edited by Emerald141 on Fri Sep 02, 2022 2:01 am, edited 1 time in total.
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sun Dec 12, 2010 2:32 pm

I renamed tentacle model and wdf to qmbou to get tentacle... The model looked like tentacle in MOFI but it doesn't act like tentacle
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Sun Dec 12, 2010 3:38 pm

The model itself is JUST a model. Nothing more.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Dec 12, 2010 4:56 pm

Guppy Star wrote:Kooky, can you please send me wops with Z adjust for

TRANSPORTER
TELEPORTER
GATES
BUTTONS
ZAdjust already exists for gates. Why would you need ZAdjust for buttons to conceal them when we already have invisible buttons?

I'll make ZAdjust for Teleporter/Transporter right now.
Emerald141 wrote:If I recall correctly, that one always faces towards the player.
Modelswaps are very glitchy and can tend to crash the game. I don't think it would work with signs.
Post Reply