Changing the prices of things in shops

  • Thread starter Thread starter Kudistos Megistos
  • Start date Start date
Status
Not open for further replies.
Sorry.  :cry:

I've looked for it a few times as well. And apparently, the PSX version uses a different coding language from the PC version, so perhaps searching for those bytes might not be very helpful.
 
This is all making me want to make a shop editor, except I can't find any pointer to specific shop data. :( Also, editing an executable could be construed as being a virus. My first MDef fix attempt got caught as a virus because a jump pointer was wrong. :D
 
Shop editor? Pity you already used the name Wall Market  :-D
 
Shop editor? Pity you already used the name Wall Market  :-D
Yeah. :( Maybe I'll call it Costa Del Sol or something. Maybe something boring like FFVIISE. :P Of course, I'll need the shopmenu.mnu file (I'd like someone to send me a copy, plz!) to look at the PSX shops. Those should be easy to edit.

Anyway. I'd like to expound more on what I found earlier in this thread.
Shops consist of 84 bytes in the following pattern: Byte, Byte, Word, 10 x [Word, Word, DWord]. The first Byte I believe has something to do with responses to things like "can't hold", "can't afford", etc. I'm still trying to figure out what the second Byte is. The following Word is the index of the shop's name. Each name is no more than 20 bytes long including the null terminator.
Each set of "Word, Word, DWord" indicates an item to sell in that shop. There are no more than 10 spaces available for items. The first word is 0 if the object to sell is an item/weapon/accessory and 1 if the object is a materia. The second Word doesn't mean anything (it's never referenced) and is always 0. The DWord is an index of the object to be sold. For materia it is just the index that it appears in kernel section 9. Items/Weapons/Accessories use the same indexing method as the Item menu does (though with 0 quantity since shops apparently contain a limitless supply of all goods at all times ;) ). If the first Word, Word, DWord triplet is 0, 0, 0, then it is treated as a potion. It MUST be the first item for the shop to sell a potion. After the first triplet, a 0, 0, 0 will indicate no item.
I'd love it if there was a single place to find the pointer to these shops, but there isn't. :(
 
Last edited:
Hopefully you can find it while working on the shop menu.   This is a very annoying problem for difficulty mods.
 
Status
Not open for further replies.
Back
Top