|
Post by ~Scary Basher~ on Jan 1, 2016 20:45:39 GMT -6
M'kay.
|
|
|
Post by Lukie D on Jan 1, 2016 21:05:09 GMT -6
Ok, I'm back from editing Mario's Mansion (Fixed the cowering & being hit by boos that breaks the game). Now I heard ~Scary Basher~ wants to know how to use the hex editing stuff for .prm files.
Here is the rundown: -First, you read from left to right. -u8 means 1 characters, or, in Hexadecimal, 2 digits/slots (0x12) -u16 means 2 characters, and in Hexadecimal, 4 digits/slots (0x1234) -u32 means 4 characters, and in Hexadecimal, 8 digits/slots (0x12345678) (btw, the 0x part means it's hexadecimal, just so you know) Here are my .prm file notes: And that's how you should read it using a hex editor. Any questions/clarifications?
|
|
|
Post by ~Scary Basher~ on Jan 1, 2016 21:08:13 GMT -6
Well I'm no expert on hex so could you explain what line to edit in the ghost's file?... I feel dumb asking this seeing how everyone knows hex better then me. :-/
|
|
|
Post by Lukie D on Jan 1, 2016 21:27:22 GMT -6
Well I'm no expert on hex so could you explain what line to edit in the ghost's file?... I feel dumb asking this seeing how everyone knows hex better then me. :-/ 1. Everyone is not better than you. It's a hard process to learn. And I can only read a few files completely (One of them being .prm files). 2. Where are the ghost health files, and what property to edit.
Let's just start off with where are the ghosts files. -Ghosts health & attack stuff will be in "ctp". -Item properties & other random stuff is in "th". Then, we will edit "yapoo1.prm" for practice (That is the gold ghosts in the parlor. It somehow does not affect the training room ghosts) Let's open HxDen. This is what the file looks like. If we edit this property: Then we can edit the health. So to do that, we just read after the string the "00 00 00 04" property, and select our value: This is the value, 0x0000000A (which means 10 in Hexadecimal) If we want to convert that, we will have to use a Programming Calculator. Luckily, Windows comes with one by default. (Just go to the settings and look for programmer) (I'm also using Windows 10) Now we can put our custom variable in! Lets set it to 50 health: From Decimal 50 to Hexadecimal, 0x32. Now we can put in our custom variable: And now we have it inserted. All we need to now is just save, compile, and run, and the value should be changed. I hope this should help.
|
|
|
Post by ~Scary Basher~ on Jan 1, 2016 21:32:28 GMT -6
Really helps! I knew how hex numbers worked I just needed the location. Thanks sooo much!
|
|
|
Post by theflyingkrock on Jan 1, 2016 21:34:52 GMT -6
Sweet, Lukie, your tutorial comes with a lot of pictures as well.
|
|
|
Post by Lukie D on Jan 1, 2016 21:35:32 GMT -6
No problem I just wanted to make sure you understand the whole thing. (And others when reading this post)
|
|
|
Post by ~Scary Basher~ on Jan 1, 2016 21:35:55 GMT -6
And the reason it doesn't effect Tue training ghosts is because they have separate prm files.
|
|
luigim1
Moderator
i want betas
Posts: 0
Game Preference: Luigi's Mansion 2
|
Post by luigim1 on Jan 1, 2016 21:55:08 GMT -6
And the reason it doesn't effect Tue training ghosts is because they have separate prm files. You can tell that because they don't attack you but taunt you.
|
|
|
Post by ~Scary Basher~ on Jan 2, 2016 0:04:30 GMT -6
I did everything right... at least I think I did and it crashed upon startup!
|
|
|
Post by Lukie D on Jan 2, 2016 0:29:19 GMT -6
check the param folders if the hex editor made a backup copy file (it should have a .bck extension on it) of the file you edited. Remove that backup. Also, it could be a number of things causing this to crash on startup. Checking your event scripts and model files and other files for any misnaming/extra stuff is a good idea. Also, check your extension names to see if they are correct. "ex, game_usa.szp, luige.arc in the game folder, etc."
|
|
|
Post by ~Scary Basher~ on Jan 2, 2016 0:32:48 GMT -6
Maybe I left an extra file in there. If it happens again later ill let you know. I can be forgetful sometimes
|
|
|
Post by ~Scary Basher~ on Jan 2, 2016 19:40:19 GMT -6
I know. And the ceiling surprise ghosts doesn't have one but has code for running away. Probably because the ceiling surprise is the basher's code modified but with a different model.
Oh and I think I discovered something! I commented on absolute g's vid a week ago and said this:
" I have a great idea! Well as you know most of the songs in luigi's mansion is made up of built in sequenced instruments in the disk right? Well if somebody could rip and decode every single track it could be possible to edit the notes using a tool similar to a midi editor made specifically for gamecube music fonts! The beta track could be restored! (At least a portion of it) please comment if you have any interest in my idea."
what do you think about this? Did I hit something there?
|
|
|
Post by ~Scary Basher~ on Jan 18, 2016 6:01:35 GMT -6
|
|
|
Post by TheHappyFaceKing on Jan 18, 2016 15:44:38 GMT -6
Could you please tell me how to change the damage the ghosts do to you when they hit you? Id think they would be part of the param files but I cant find it.
|
|