Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,476,501
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-24-24 11:02 AM
Guest: Register | Login

0 users currently in Super Mario RPG Hacking | 1 guest

Main - Super Mario RPG Hacking - LAZY SHELL v3.19.0 released (2014-01-22) *REPORT BUGS HERE* New thread | New reply

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

blackhole89
Posted on 03-12-16 03:58 AM Link | Quote | ID: 162902


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 4121/4196
EXP: 21529520
Next: 307081

Since: 02-19-07
From: Ithaca, NY, US

Last post: 469 days
Last view: 82 days



Posted by Kenshin
Индекс находился вне границ массива.
Given that this is "index outside of array bounds", could it be that there aren't actually that many battle dialogues? Does this also happen if you go to positions beyond 7?

(Sorry I can't help much beyond providing subtitles for the benefit of someone who actually knows their way around the program here.)


But if I delete at least one symbol in the name location, it happens:

If you put the character back, does it go back to saying "0 characters left" or does it say -7?

____________________



Yakibomb
Posted on 03-13-16 07:27 PM (rev. 2 of 03-13-16 10:55 PM) Link | Quote | ID: 162912


Level: 28

Posts: 114/137
EXP: 122936
Next: 8402

Since: 03-21-08

Last post: 769 days
Last view: 769 days
Problem 1: The problem is not a critical error, you don't need to shut down the program for it and it won't corrupt your data as it's only a display error.
The problem is the editor displays the flower bonus messages (LUCKY!, HPMAX!, etc) at the same time with the battle dialogues. The problem happens when you change index, the editor doesn't load beyond #7 for these flower bonus words, hence the error "Index was outside the bounds of the array".
If you're editing battle dialogues, ignore this error. If you want to edit the flower bonus messages, select the "Flower Bonus" in the dropdown menu.

Problem 2: I asked about this. Giangurgolo told me it's due to the compression of the names in the ROM. I admit I don't really know what this means exactly, but what I took from it to mean was there is a certain way the location names are arranged in the ROM... that's all I know.

I have a bunch of bug reports but I don't know who to send them to. ;(

____________________
Peace!Layout by Erik557 & LDA.
Thank you!









blackhole89
Posted on 03-14-16 12:06 AM Link | Quote | ID: 162914


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 4122/4196
EXP: 21529520
Next: 307081

Since: 02-19-07
From: Ithaca, NY, US

Last post: 469 days
Last view: 82 days



Posted by Yakibomb
Problem 2: I asked about this. Giangurgolo told me it's due to the compression of the names in the ROM. I admit I don't really know what this means exactly, but what I took from it to mean was there is a certain way the location names are arranged in the ROM... that's all I know.

This would simply suggest that the compression scheme in the code is set up to favour strings like "To Mario's Pad" - think of it (probably a very simplified model) as something like the following having happened:

  • Developers decide to reserve only 7 bytes of space for the label of each spot on the map to save memory.
  • Want to put "To Mario's Pad" on one of them, but this is far too long.
  • To fix this, developers add an extra piece of code that says something like "If the string is '$M$', replace it with 'To Mario's Pad'" to its text decompression routine. The map label of Mario's Pad is set to '$M$'.
  • The final effect is that the label "To Mario's Pad" can be represented with just 3 bytes, but "To Mario's Pa" requires 13, or 6 too many.


____________________



Yakibomb
Posted on 04-02-16 06:12 PM Link | Quote | ID: 162984


Level: 28

Posts: 115/137
EXP: 122936
Next: 8402

Since: 03-21-08

Last post: 769 days
Last view: 769 days
Posted by blackhole89
Posted by Yakibomb
Problem 2: I asked about this. Giangurgolo told me it's due to the compression of the names in the ROM. I admit I don't really know what this means exactly, but what I took from it to mean was there is a certain way the location names are arranged in the ROM... that's all I know.

This would simply suggest that the compression scheme in the code is set up to favour strings like "To Mario's Pad" - think of it (probably a very simplified model) as something like the following having happened:

  • Developers decide to reserve only 7 bytes of space for the label of each spot on the map to save memory.
  • Want to put "To Mario's Pad" on one of them, but this is far too long.
  • To fix this, developers add an extra piece of code that says something like "If the string is '$M$', replace it with 'To Mario's Pad'" to its text decompression routine. The map label of Mario's Pad is set to '$M$'.
  • The final effect is that the label "To Mario's Pad" can be represented with just 3 bytes, but "To Mario's Pa" requires 13, or 6 too many.


But why would the game need to save memory like this? Is it to maximize the amount of room that a location name can have? Sorry, I'm bit inexperienced with SNES assembly.

____________________
Peace!Layout by Erik557 & LDA.
Thank you!









justin3009
Posted on 04-12-16 11:53 PM Link | Quote | ID: 163026


Tektite
Level: 18

Posts: 56/56
EXP: 29563
Next: 334

Since: 09-08-10
From: Wisconsin

Last post: 2933 days
Last view: 884 days
It sounds like it's basically using 'sub-strings' which is basically what the name implies. A lot of games use this kind of method to help compress text down substantially.

Breath of Fire 2 for example probably has one of the most I've seen for sub-strings. It uses two bytes to dictate that the byte being read is the start of a sub-string, then the byte after dictates which sub-string to load allowing up to 255 sub-strings.

For example:

Like he said, 'To Mario's Pad' is way too long probably for the location it's currently at, then again, maybe it's not but let's say it is.

Say that instead of two bytes for sub-strings, they use one. Say, anything above 'A0' would be considered a sub-string. In this hypothetical case:

A0 = To
A1 = Mario's
A2 = Pad

Basically, it makes one byte represent a word. Note, this may not be exactly how the game does it but various games do use a method like this to save a lot of space when it comes to text.

SmithJrBlaquaLuigi
Posted on 09-06-16 01:46 AM Link | Quote | ID: 164070


Goomba
Level: 12

Posts: 2/26
EXP: 7023
Next: 898

Since: 08-18-16
From: Ohio, USA

Last post: 2315 days
Last view: 1296 days
I have a question, why Lazy shell program is not in the download section?

Yakibomb
Posted on 09-06-16 04:32 PM (rev. 3 of 09-06-16 04:32 PM) Link | Quote | ID: 164074


Level: 28

Posts: 124/137
EXP: 122936
Next: 8402

Since: 03-21-08

Last post: 769 days
Last view: 769 days
Turns out the link has been dead for a long time. I managed to have found a backup on my computer of the original zip. Here is the link:

http://bin.smwcentral.net/u/124/LAZYSHELL_v3.19.0.zip

____________________
Peace!Layout by Erik557 & LDA.
Thank you!









Termingamer2-JD
Posted on 09-10-16 07:54 PM Link | Quote | ID: 164187


Ropa
Banned: repeat sockpuppeting
Level: 53

Posts: 648/739
EXP: 1133517
Next: 23602

Since: 08-06-15
From: England

Last post: 2673 days
Last view: 679 days
This thread is actually out of date.
https://sourceforge.net/projects/lazyshell-giangurgolo/files/LAZYSHELL_v4.0.0.zip/download

giangurgolo seems to have disappeared off the face of the earth.

____________________
Jamie Dignam

Rashama Izouki
Posted on 09-12-16 11:51 PM Link | Quote | ID: 164214


Red Goomba
Level: 15

Posts: 36/42
EXP: 15173
Next: 1211

Since: 10-21-15
From: The Desert of Flame

Last post: 2099 days
Last view: 1953 days
I tried Version 4 it just too buggy and glitchy to really use for any real purposes so yakibomb has the better version of Lazyshell

Termingamer2-JD
Posted on 09-13-16 05:05 PM Link | Quote | ID: 164220


Ropa
Banned: repeat sockpuppeting
Level: 53

Posts: 657/739
EXP: 1133517
Next: 23602

Since: 08-06-15
From: England

Last post: 2673 days
Last view: 679 days
Posted by Rashama Izouki
I tried Version 4 it just too buggy and glitchy to really use for any real purposes so yakibomb has the better version of Lazyshell

Ah thanks for the heads up

____________________
Jamie Dignam

culex96
Posted on 12-28-16 06:43 AM Link | Quote | ID: 164686

Newcomer
Level: 4

Posts: 1/2
EXP: 146
Next: 133

Since: 12-28-16

Last post: 2673 days
Last view: 2674 days
**************Exception Text**************
El valor de '40' no es válido para 'Value'. 'Value' debería estar entre 'Minimum' y 'Maximum'.
Nombre del parámetro: Value

**************Recent Event History**************
MouseDown "characterName" | X:208,Y:8 | Form "AlliesEditor" | 28/12/2016 12:40:51 a.m.
MouseDown "openAllies" | X:13,Y:9 | Form "Form1" | 28/12/2016 12:40:49 a.m.

este error se produjo luego de que terminara con el jefe de marrymoore el juego no puede seguir al estar el valor de value de peach erroneo por lo tanto el juego se congela y prosigue

SledgeBrother1
Posted on 12-28-16 08:43 AM Link | Quote | ID: 164689


Level: 16

Posts: 41/52
EXP: 19954
Next: 302

Since: 07-23-16
From: ^ is cute dancing budew
Italia/italy

Last post: 2490 days
Last view: 2489 days
Posted by culex96
**************Exception Text**************
El valor de '40' no es válido para 'Value'. 'Value' debería estar entre 'Minimum' y 'Maximum'.
Nombre del parámetro: Value

**************Recent Event History**************
MouseDown "characterName" | X:208,Y:8 | Form "AlliesEditor" | 28/12/2016 12:40:51 a.m.
MouseDown "openAllies" | X:13,Y:9 | Form "Form1" | 28/12/2016 12:40:49 a.m.

este error se produjo luego de que terminara con el jefe de marrymoore el juego no puede seguir al estar el valor de value de peach erroneo por lo tanto el juego se congela y prosigue


ehhhh? speak english please.

I'd suggest you to post this on here, there's more active userbase there

culex96
Posted on 12-28-16 06:16 PM Link | Quote | ID: 164694

Newcomer
Level: 4

Posts: 2/2
EXP: 146
Next: 133

Since: 12-28-16

Last post: 2673 days
Last view: 2674 days
************** Exceptional text **************
The value of '40' is not valid for 'Value'. 'Value' remains between 'Minimum' and 'Maximum'.
Parameter Name: Value

************** Recent Events History **************
MouseDown "characterName" | X: 208, Y: 8 | AlliesEditor Form | 12/28/2016 12:40:51 a.m.
MouseDown "openAllies" | X: 13, Y: 9 | Form "Form1" | 12/28/2016 12:40:49 a.m.

This error occurred after he finished with the boss to marry the game can not continue to be the value of peach value wrong so the game freezes and continues.
hehehe sorry i forgot put this version xD
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Main - Super Mario RPG Hacking - LAZY SHELL v3.19.0 released (2014-01-22) *REPORT BUGS HERE* New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.033 seconds. (341KB of memory used)
MySQL - queries: 67, rows: 99/100, time: 0.021 seconds.