Author Topic: [PSX/PC] KERNEL.BIN editor - WallMarket (v1.4.5)  (Read 720542 times)

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1100 on: 2014-12-06 02:05:29 »
If you installed Bootleg, it will be pretty much the 1998 version. Run Wall Market as admin and try again. Which OS, and where is the game installed?

Jordancyre

  • *
  • Posts: 22
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1101 on: 2014-12-07 04:58:15 »
I've had limited success with it now.  Running it as admin seemed to help a little but not consistently.  I am installing it to the default folders with windows 8.1 64x.  The weapons i can mod a bit now but the items I cannot.  I use the Diamond Tiara as a test item and the text is always the same.  The update text box is always greyed out as well (this may be why the tiara isn't displaying the correct text.

Also, one other thing i noticed.  When I got frustrated and decided to start from scratch, the kernel file wasn't where WM thought it was.  It displayed a kernel file in the open dialog box but when i got there via windows explorer there was no folder/file to be found.
« Last Edit: 2014-12-07 05:00:17 by Jordancyre »

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1102 on: 2014-12-07 11:29:25 »
I am installing it to the default folders

That would be the cause of all your errors. Install somewhere else, such as C:/Games and try again. That's why your changes don't save properly, and likely why your kernel is not where it should be.

Jordancyre

  • *
  • Posts: 22
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1103 on: 2014-12-07 16:50:10 »
Got it man.  It seems to be working now.  with the exception of the item text but that's negligible for my purposes.  Thanks for all the help! :D

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1104 on: 2015-05-11 10:38:25 »
Hey all,

Been having some weird issues pop up with Wall Market now and then, mostly with certain text patterns disappearing (for instance, on saving and then re-loading the kernel it'll have deleted all instances of the letter 'd', or a phrase like 'is used' or similar either from names or descriptions or both). These were fairly minor up until now, quick to correct and rarely repeated, but the most recent one has me a bit worried.

This time, it combined names with each other and in Materia it combined descriptions to create long chains of text in addition to it's usual routine deleting certain patterns of text, etc. But the weirdest thing was KOTR's attack name 'Ultimate End' being mysteriously renamed to Crusader; I've never renamed this attack before, let alone to something specific like that. I don't think I've ever typed in the word Crusader into Wall Market at all. I've actually had a recent glitch turn up in the kernel before this which displays KOTR's attack name when summoned as a blank box, so it's bugged in some way. As for the sudden renaming, is it somehow possible that some memory from another mod leaked through the program? I've looked at other mod's kernels in the past; it's the only thing I can really think of, unless it's coded into the tool somewhere.

I'm not looking for a solution as such, I just wanted some info on what the glitches are caused by and/or how serious they are. The kernel appears to be fine after I corrected all the mess, and the game seems to be running okay, but is there likely to be corruption of some kind in the file? The text it combined in some of the Materia's description boxes were really long; could that have run over into other code and overwritten something important?

Edit: Lucky 777th post!

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1105 on: 2015-05-11 13:48:35 »
@Sega Chief
That has been reported since version 1.1 and I've never tracked down the cause. The "working" solution is to start editing again from a backup. If you can reproduce the error let me know how you did it because I've never seen it happen even though I know it does.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1106 on: 2015-05-11 17:04:51 »
Yeah, it happens to me all the time and I am pretty sure it's doing it on saving, rather than loading. It's very annoying.  Best to keep a touphscript backup of the text and use that instead for text stuff.

Why patterns though, that's the puzzle I have?

And no, Sega Chief, this can't cause any issues because the text is in separate area.

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1107 on: 2015-05-11 18:23:52 »
...I am pretty sure it's doing it on saving, rather than loading. It's very annoying.
This is the one thing I'm sure about. It's LZS compressing the text before it saves and that's got to be where it's messing up. It doesn't happen all the time with changes that supposedly trigger it. It's likely due to my optimization of the compression being slightly off.
I should probably run some brute force tests and see if it's a random oscillation or not.

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1108 on: 2015-05-11 18:37:44 »
So the text is separate, that's good to hear. I didn't know Touph handled kernel text as well; I'll try using that to save time in the future.

@NFITC1 I'll keep a copy of this kernel and test different edits with it. I can reproduce the problem by changing Mythril Rod's item description + stat modifier from +10 to +5. The patch with the kernel in it is here, if someone wants to give it a try and see if it happens on their end (mind to back up your scene + kernel before applying): https://mega.co.nz/#!Tp9yDDLY!YBfJcE_xy9yb2kEOHN75EgqGiIsvTtLJHMb6Tu3eLbQ

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1109 on: 2015-05-11 18:55:11 »
I'm more interested in a from-vanilla change procedure. The vanilla Mythril Rod has no description.

Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1110 on: 2015-05-13 07:36:56 »
no idea how to use this editor. How to I get my ff7 to kernel.bin form?? I can open up wallmarket with my bin file but it all glitchy

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1111 on: 2015-05-13 11:50:54 »
I need more specifics. It sounds like you might be opening the wrong file. There's a (antiquated) readme bundled with the program. If you can't get the desired results by following that then I can help.

Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1112 on: 2015-05-13 19:50:04 »
the readme your talking about is it the WallMarketHelp? For some reason when I open it up, and I click on the things on the left, nothing shows up.



What I want to know is how do I turn a ffvii NTSC-U into kernel.bin form? I know how to turn it into a BIN file.
« Last Edit: 2015-05-13 19:54:47 by reversebustersword »

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1113 on: 2015-05-13 20:29:57 »
You can't just open the disc image. You have to extract the KERNEL.BIN file out of the image, edit it, then reinsert it for anything to work. There are threads on how to do that, but I don't know how because I just have the PC version.

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1114 on: 2015-05-13 21:16:24 »
CD Mage should be a good tool for that; I use it for applying FFT PS1 mods. Open the CD image (I think you need to tell the program what kind of disc it is; select M2/2352 track) and then look for the kernel file in the CD's folders. Copy-paste that out onto your desktop, make modifications, then copy-paste it back into the CD Image and save it.  That should hopefully do the trick but PS1's kernel has size constraints, etc. that I don't know much about; a PS1 modder would likely know much more about it.

Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1115 on: 2015-05-14 05:29:54 »
thanks sega chief. I figured out how to do it. And thanks NFITC1 for the Wallmarket! You guys rock

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1116 on: 2015-06-18 07:54:17 »
Amazing editor NFITC1, it's been a really huge help for me so far! I've got one question though regarding item effects:

How can I change the effects of items that can be used outside of battle?

When I change the amount of healing done by an X-Potion or a Turbo-Ether to a fixed number similar to regular potions and ethers, the effect is only changed in battle, but not outside of battle. When I use an X-Potion in the menu, it still recovers all HP, so I was wondering if the out-of-battle effects of items are located somewhere else in the kernel. Does anyone know how to change an item's out-of-battle effect?

Ansem

  • *
  • Posts: 136
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1117 on: 2015-06-18 11:37:13 »
Amazing editor NFITC1, it's been a really huge help for me so far! I've got one question though regarding item effects:

How can I change the effects of items that can be used outside of battle?

When I change the amount of healing done by an X-Potion or a Turbo-Ether to a fixed number similar to regular potions and ethers, the effect is only changed in battle, but not outside of battle. When I use an X-Potion in the menu, it still recovers all HP, so I was wondering if the out-of-battle effects of items are located somewhere else in the kernel. Does anyone know how to change an item's out-of-battle effect?
It's not located in the kernel. Most likely it's inside FF7.exe, as other menu data tends to be there as well.

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1118 on: 2015-06-18 14:26:32 »
It's not located in the kernel. Most likely it's inside FF7.exe, as other menu data tends to be there as well.

Oh, so this data hasn't been found yet? I see... So I guess I'll have to wait with potion editing for now.

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1119 on: 2015-06-19 00:51:19 »
Oh, so this data hasn't been found yet? I see... So I guess I'll have to wait with potion editing for now.
No, the data is found. I have it documented. It's just not in the KERNEL.BIN so nothing you do in WM can change it.

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1120 on: 2015-06-19 06:52:06 »
No, the data is found. I have it documented. It's just not in the KERNEL.BIN so nothing you do in WM can change it.

You know where it is? Great! Could you tell me where exactly I'd have to look? If it's not too complicated, maybe I could do it myself in a hex-editor.

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1121 on: 2015-06-19 17:15:27 »
You know where it is? Great! Could you tell me where exactly I'd have to look? If it's not too complicated, maybe I could do it myself in a hex-editor.

Sega Chief has done it for his NT mod if I remember right.

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1122 on: 2015-06-19 19:10:02 »
That discussion needs to be redirected to the Scripting & Reverse Engineering board.

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1123 on: 2015-08-03 14:32:51 »
Hi all,

I've encountered some sort of serious problem. After updating some files, the tool doesn't seem able to change text in any kernel anymore. I've tried opening several different kernels, but the same unhandled exception is being thrown up each time. I also tried restarting + downloading a 'fresh' tool but it's a no-go; it's saying something about an access violation, like permissions maybe, as far as I can see everything is set to what it should be. I tried moving the kernels to the desktop as well but still the same thing, and it mentions memory corruption:

Code: [Select]
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WallMarket
    Assembly Version: 1.4.5.0
    Win32 Version: 1.4.5.0
    CodeBase: file:///C:/Users/Sega%20Chief/Desktop/FF7%20Hub/Tools/WallMarket145/WallMarket.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5488 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Microsoft.VisualBasic.PowerPacks
    Assembly Version: 9.0.0.0
    Win32 Version: 3.0.30214.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.PowerPacks/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.PowerPacks.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

Any ideas what this could be or what I might do to fix it?

Edit: Experimenting with it, it seems I can delete text, but not type it in. I also seem to be able to change the names, just not the description itself; when I hit any letter while the cursor is in the Description box it causes the Exception.
« Last Edit: 2015-08-03 15:00:11 by Sega Chief »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] KERNEL.BIN editor - WallMarket (v1.4.5)
« Reply #1124 on: 2015-08-03 15:06:12 »
I suggest sending the file (kernel and kernel2, although k2 is the text) to NFITC1.  It may help fix the long standing text bug that he's having.