Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 06:35
- Lumage✿✿✿✿
- It doesn't look like it but this is bug investigation room
- 06:36
- ShadowCX11
- Yeah IK
- 06:37
- Lumage✿✿✿✿
- oh excellent I lost the info
- "using BGSCREEN with certain values makes it pull data from other memory locations, including program memory"
- QKS3EDA6
- 07:19
- SquareFingers
- QKS3EDA6
- bad key
- 07:19
- Lumage✿✿✿✿
- oh darn
- 07:24
- Lumage✿✿✿✿
- vid.me/DNVn
- vid.me/QZky
- vid.me/gY8O
- vid.me/xvv6
- demonstrations
- looking for code
- early exploration in a nutshell:
- incvoid[04:12]g: user defined function names.
- slackerSnail[04:12]g: ON THE BG LAYER?
- 84VE13RJ maybe (but older)
- "RUN IT AND HOLD TO THE right..
- yes around 7230 on the x."
- oops
- (still might not work) 84VEQ3RJ
- oh no that definitely doesn't work
- argh
- 07:28
- RaichuBender
- I found something yesterday at X location 47000 or around there
- 07:30
- Lumage✿✿✿✿
- later exploration in a nutshell: "YEP I CAN EDIT THE CONTENTS OF VARIABLES WITH BGPUT"
- 07:31
- RaichuBender
- Lol
- I can't think of the great things you can do with this if people create something with this in mind
- 07:33
- SquareFingers
- Interesting. Can you 'declare' new variables with BGPUT? That would be pretty big.
- 07:33
- Lumage✿✿✿✿
- mmm I don't think we've gotten there
- We've found sizes of strings and array dimensions and stuff
- I wish slacker put his inspector somewhere
- 07:38
- Lumage✿✿✿✿
- also stuff like "coincidently...I don't have TEST anywehre in my program..the search feature returns nothing...no comment..its old code still in memory"
- 07:48
- Lumage✿✿✿✿
- Don't you have the program, Raichu?
- 07:51
- SquareFingers
- Interesting. If you're causing a crash, it seems there are two possibilities. The more exciting one is that you're affecting memory that gets executed. Probably the more likely one is that you are affecting data that the system would normally sanitize before storing, and when retrieving, assumes it is sanitized.
- 07:52
- Lumage✿✿✿✿
- I don't remember it crashing, the background layer just reads data from locations that aren't background
- 07:52
- SquareFingers
- I just looked at the videos you posted above vid.me/xvv6 shows a crash.
- 07:54
- Lumage✿✿✿✿
- oh
- 07:54
- SquareFingers
- With a BGPUT.
- 07:54
- Lumage✿✿✿✿
- Oh I see what you mean now
- sorry
- Yeah
- what's the normal limit for bgscreen?
- 07:56
- Lumage✿✿✿✿
- "(Width x Height should be equal to or less than 16383)"
- 07:56
- SquareFingers
- "Width*Height should be equal to or less than 16363"
- 07:57
- 12Me21
- 16384-1
- 07:58
- SquareFingers
- Yeah, so 128*128 is just too big. Why one less?!
- 07:59
- RaichuBender
- Yeah I have the program, should I upload it?
- 08:00
- RaichuBender
- J524NVHV
- ^Key to the program
- 08:01
- 12Me21
- We need to remove all references to BGSCREEN 0,888888,888888
- 12Me21 has left the chat.
- 08:01
- RaichuBender
- Yeah
- 08:01
- Lumage✿✿✿✿
- "[megamon][13:50]o: ps i've already emailed SB about the glitch"
- 08:02
- RaichuBender
- ...
- 08:02
- Lumage✿✿✿✿
- "[megamon][13:50]o: says they're going to just refuse the ability for the command to run with parameters over 999"
- pretty sure he's lying but it's still pretty likely that this'll get patched in 3.3
- 08:02
- RaichuBender
- Ye
- You received 4960 coins for the 1-hour reset. You now have 505035 coins
- You spent 4500 coins on items: O0(o), Q1(%), N4(©), H2(7), H1(!), F4(™) (0 new)
- You generously gave 2 items to pixel_voxel - N4(©) O0(o)
- You sold everything for 389 coins.
- 08:04
- RaichuBender
- Downloaded the program @Square?
- Because then I ĺl remove it
- 08:05
- RaichuBender
- ...
- 08:06
- RaichuBender
- At X:282588 I found the files in the current directory
- *file names
- 12Me21 has entered the chat.
- 08:07
- Lumage✿✿✿✿
- writable?
- 08:07
- RaichuBender
- Not tested yet
- 08:08
- 12Me21
- We need to remove all references to BGSCREEN 0,888888,888888
- 08:08
- Lumage✿✿✿✿
- what if you put a path to /user/###/<file in default folder>
- 08:08
- Lumage✿✿✿✿
- in place of one
- 08:08
- Lumage✿✿✿✿
- could you load files from outside the curdir?
- 08:09
- RaichuBender
- There are no folder names, only the files in the current folder
- 08:09
- RaichuBender
- w8
- 08:09
- SquareFingers
- Raichu: Done, thanks.
- 08:09
- Lumage✿✿✿✿
- *actually /###/<filename> seems more likely to work
- 08:09
- RaichuBender
- Yeah
- 08:09
- SquareFingers
- Sorry, was looking at program, not chat screen.
- 08:10
- RaichuBender
- Ah, so you downloaded it? :P
- 08:10
- 12Me21
- What new features have been added?
- 08:10
- RaichuBender
- I don't have the newer version *yet*
- This is the old version
- w8, did he release a new version yesterday/today
- :P
- 08:10
- Lumage✿✿✿✿
- Yeah
- Slacker took down one of them to publish a fixed version
- 08:11
- RaichuBender
- Ah
- 08:11
- Lumage✿✿✿✿
- Because bugs in bug-exploration tools
- 08:11
- RaichuBender
- Lol
- 08:12
- Lumage✿✿✿✿
- also let's see how easy it is to ping when a PM message is received
- 08:12
- RaichuBender
- I get the following two names at an address around 280000: <filename>.PRG and T<filename>.PRG
- I don't know what the difference between the two is
- 08:13
- Lumage✿✿✿✿
- yeah T commonly prefixes filenames, chances are it's "text"
- 08:13
- RaichuBender
- Only the T is different at the start of the filename
- Ah
- Then B is for DAT, right?
- 08:13
- Lumage✿✿✿✿
- ye
- 08:13
- 12Me21
- and GRP
- 08:13
- Lumage✿✿✿✿
- "binary"
- 08:13
- RaichuBender
- Yeah
- 08:14
- Lumage✿✿✿✿
- meanwhile the only reason I seem knowledgeable is because I have access to logs
- 08:14
- RaichuBender
- Lol
- I get both *BGRASH and TBGCRASH
- I think *BGCRASH is the name used for displaying text and TBGCRASH the internal name\
- 08:15
- 12Me21
- >meanwhile the only reason I seem knowledgeable is because I have access to logs
- can you make the chat logs public?
- 08:15
- RaichuBender
- The * is there because it is unsaved and has been edited
- 08:15
- Lumage✿✿✿✿
- No.
- I mean they already are.
- 08:15
- RaichuBender
- *for this PM group only
- :P
- 08:15
- Lumage✿✿✿✿
- PMs aren't logged
- All that's useful is the one day
- 08:16
- RaichuBender
- @Square did you download it, I am going to pull it off, ok?
- 08:16
- 12Me21
- I'll make a bot to log the chat later
- 08:16
- Lumage✿✿✿✿
- I'll pastebin the relevant parts of this one I guess
- pls
- 08:16
- SquareFingers
- Raichu: Yes, I have it, thanks.
- 08:16
- RaichuBender
- Ok :P
- 08:16
- Lumage✿✿✿✿
- The reason the logs aren't public is because we have a lot of annoying people who would abuse them
- 08:17
- SquareFingers
- After the instructions, I found the names of the variables in the program; T, S$, MOVE, CLIPW, etc..
- 08:17
- RaichuBender
- Yeah, I know what you mean ._.
- Yeah, I saw that too
- 08:17
- 12Me21
- Have we figured out what the difference between layers is yet?
- is it just offset?
- 08:18
- RaichuBender
- goto X location 280000
- 08:18
- Lumage✿✿✿✿
- Yep
- 08:18
- RaichuBender
- And scroll to the right
- 08:18
- Lumage✿✿✿✿
- lemme just regex offtopic out of this...
- 08:18
- 12Me21
- I wonder if layer 3 lets you see farther than 0 before you crash
- 12Me21 has left the chat.
- 08:19
- RaichuBender
- Is there an explanation of the whole thing somewhere, I still don't get it 100% :P
- 12Me21 has entered the chat.
- 08:19
- RaichuBender
- Not that I am that stupid or anything
- 08:19
- Lumage✿✿✿✿
- yeah
- all the smilebasic state memory is in one big thing somewhere
- including variable data such as arrays
- somewhere in there is space for backgrounds
- normally when using BGSCREEN you're only looking at the "background" region of that memory
- with this you expand outside that and you see... other stuff.
- 08:21
- RaichuBender
- Ah
- That makes a lot of sense, I knew about the BGSCREEN thing, but not how it works from the inside
- Starting at X address 282586 start seeing the file names
- 8
- -
- P
- I
- H
- C
- 12Me21 has left the chat.
- 08:23
- RaichuBender
- Lol
- So outside of BGSCREEN 1024 you start seeing this memory stuff
- right?
- 08:26
- Lumage✿✿✿✿
- why the regex does not like my brackets
- oh there
- 12Me21 has entered the chat.
- 08:29
- Lumage✿✿✿✿
- okay I think that worked
- yay I'm a spambot
- 08:31
- RaichuBender
- Kazuma-kun
- 08:31
- Lumage✿✿✿✿
- pastebin.com/5JQW4rqe
- pastebin.com/raw/5JQW4rqe
- 08:31
- RaichuBender
- Ah thanks a lot!
- 08:32
- SquareFingers
- Suggestion: Lines 107,108 currently
- COLOR #TGREEN,0
- ?CHR$(A[15-(Y)+(X*16)]>>8);CHR$(A[15-(Y)+(X*16)]AND &HFF);
- Change to something more like:
- CHR=A[15-(Y)+(X*16)]>>8:IF (CHR!=10) THEN COLOR #TGREEN,0:?CHR$(CHR); ELSE COLOR #TBLUE,0:?CHR$(13);
- CHR=A[15-(Y)+(X*16)]AND &HFF:IF (CHR!=10) THEN COLOR #TGREEN,0:?CHR$(CHR); ELSE COLOR #TBLUE,0:?CHR$(13);
- This will prevent some of the crap appearing on the left side of the screen.
- 08:32
- Lumage✿✿✿✿
- oops there are a few junk lines from multiline offtopic
- oh well
- 08:33
- 12Me21
- oh, that
- 08:33
- RaichuBender
- I'll change it for myself now, I don't have the source file so I don't think what is already updated :P
- 08:33
- 12Me21
- make a function
- 08:33
- RaichuBender
- *knows
- 08:34
- 12Me21
- DEF SCHR$(ascii)
- IF FLOOR(ASCII)==10 THEN RETURN "*" ELSE RETURN CHR$(ASCII)
- END
- 08:34
- RaichuBender
- It would be usefull if this looked like a real hex editor, makes it better for exploration
- 08:34
- 12Me21
- replace * with the enter symbol in the symbols menu
- 08:34
- Lumage✿✿✿✿
- Are we talking about Slacker's thing or incvoid's
- 08:35
- 12Me21
- Squarefingers' suggestion
- 08:35
- Lumage✿✿✿✿
- i mean the program
- 08:35
- RaichuBender
- incvoid's right?
- 08:35
- SquareFingers
- I'd put the colour change, and the actual printing of the character, in the function too.
- 08:36
- 12Me21
- ok
- but then
- you might as well use GOSUB
- I mean, if it does everything, what's the point of a function?
- 08:36
- Lumage✿✿✿✿
- can we actually not have this argument here
- 08:37
- RaichuBender
- For some reasson, P shows up as the 1/4 symbol
- I found the /###/ thing!
- 08:37
- Lumage✿✿✿✿
- ^this might also be an ASCII vs. Shift-JIS thing, I think I've heard of that
- 08:37
- RaichuBender
- It's at X:280918
- Maybe if we can change it to / somehow
- 08:38
- Lumage✿✿✿✿
- pssshhh
- 08:38
- RaichuBender
- Lol
- 08:38
- 12Me21
- Oh, in the display loop, it's much faster to store the array cell into a variable, then print it, so you only access the array element once
- 08:39
- RaichuBender
- Anyway, I gotta prepare food, I'll catch you later
- (will let my browser open)
- 08:39
- SquareFingers
- I don't think the program suffers from running too slowly.
- Command error: "/###/ is default, within smilebasic's control. Are you saying we should get smilebasic to look at it's own filesystem?" was not recognized. Maybe something was misspelled, or you were missing arguments
- 08:39
- Lumage✿✿✿✿
- "/###/ is default, within smilebasic's control. Are you saying we should get smilebasic to look at it's own filesystem
- ?
- also brb eating.
- 08:40
- RaichuBender
- Oh and it shows me ":/###/T<first proram I saved>"
- Gotta prepare food now, see ya!
- *afk*
- 08:40
- 12Me21
- there's a memory leak I think
- The program started running REALLY slow, then was fine after I restarted my 3DS
- 08:41
- RaichuBender
- Cool :P
- Tell more about it, so it can be further investigated
- *after I'm done with eating XD
- 08:42
- 12Me21
- It's only happened twice, so IDK what caused it
- 08:45
- 12Me21
- Ok, what does the newest program look like?
- what features does it have?
- I can't download now, though
- 09:04
- SquareFingers
- Interesting. I found "WAIT", decided to change the "T" to "L". Now, "WAIT 1" gives Syntax Error, but so does "WAIL 1".
- "autocomplete" has WAIT, does not have WAIL.
- 09:06
- Lumage✿✿✿✿
- mm because the program is precompiled to there,
- ?
- Trinitro21 has entered the chat.
- reitracz has left the chat.
- 09:07
- Lumage✿✿✿✿
- It won't change it in the display, but if you haven't changed the program it might be running that hing you changed?
- unless you're testing it direct mode
- 09:07
- SquareFingers
- I found "WAIT", went to Direct mode, did BGFILL one character to change the T to L, saw the BG change.
- IAmAPersson has left the chat.
- reitracz has entered the chat.
- 09:11
- SquareFingers
- Hm. Added that BGFILL to the program; now, when I scroll there, I see "WAIL". Then, added "WAIT 1" in the program, after the BGFILL: got Syntax Error. Changed to "WAIL 1", got Syntax Error.
- Don't read too much into that, WAIT has stopped working altogether for me, for now.
- IAmAPersson has entered the chat.
- reitracz has left the chat.
- 09:14
- SquareFingers
- Going to "top menu" did not restore WAIT. Exited SmileBasic, restarted, now I have WAIT again.
- 09:19
- Trinitro21
- hm, kinda like what I did with romhacking
- changing a command name
- kind of
- 09:24
- SquareFingers
- BGFILL to change WAIT to WAIL, then on the next line of the program, back to WAIT: no problem. BGFILL change WAIT to WAIL, go to Direct mode, then change back to WAIT: doesn't work, WAIT will still give Syntax Error until SmileBasic restarted.
Add Comment
Please, Sign In to add comment