TheFastFish

my own copy lol

Feb 18th, 2016
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.75 KB | None | 0 0
  1. 06:35
  2. Lumage✿✿✿✿
  3. It doesn't look like it but this is bug investigation room
  4. 06:36
  5. ShadowCX11
  6. Yeah IK
  7. 06:37
  8. Lumage✿✿✿✿
  9. oh excellent I lost the info
  10. "using BGSCREEN with certain values makes it pull data from other memory locations, including program memory"
  11. QKS3EDA6
  12. 07:19
  13. SquareFingers
  14. QKS3EDA6
  15. bad key
  16. 07:19
  17. Lumage✿✿✿✿
  18. oh darn
  19. 07:24
  20. Lumage✿✿✿✿
  21. vid.me/DNVn
  22. vid.me/QZky
  23. vid.me/gY8O
  24. vid.me/xvv6
  25. demonstrations
  26. looking for code
  27. early exploration in a nutshell:
  28. incvoid[04:12]g: user defined function names.
  29. slackerSnail[04:12]g: ON THE BG LAYER?
  30. 84VE13RJ maybe (but older)
  31. "RUN IT AND HOLD TO THE right..
  32. yes around 7230 on the x."
  33. oops
  34. (still might not work) 84VEQ3RJ
  35. oh no that definitely doesn't work
  36. argh
  37. 07:28
  38. RaichuBender
  39. I found something yesterday at X location 47000 or around there
  40. 07:30
  41. Lumage✿✿✿✿
  42. later exploration in a nutshell: "YEP I CAN EDIT THE CONTENTS OF VARIABLES WITH BGPUT"
  43. 07:31
  44. RaichuBender
  45. Lol
  46. I can't think of the great things you can do with this if people create something with this in mind
  47. 07:33
  48. SquareFingers
  49. Interesting. Can you 'declare' new variables with BGPUT? That would be pretty big.
  50. 07:33
  51. Lumage✿✿✿✿
  52. mmm I don't think we've gotten there
  53. We've found sizes of strings and array dimensions and stuff
  54. I wish slacker put his inspector somewhere
  55. 07:38
  56. Lumage✿✿✿✿
  57. 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"
  58. 07:48
  59. Lumage✿✿✿✿
  60. Don't you have the program, Raichu?
  61. 07:51
  62. SquareFingers
  63. 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.
  64. 07:52
  65. Lumage✿✿✿✿
  66. I don't remember it crashing, the background layer just reads data from locations that aren't background
  67. 07:52
  68. SquareFingers
  69. I just looked at the videos you posted above vid.me/xvv6 shows a crash.
  70. 07:54
  71. Lumage✿✿✿✿
  72. oh
  73. 07:54
  74. SquareFingers
  75. With a BGPUT.
  76. 07:54
  77. Lumage✿✿✿✿
  78. Oh I see what you mean now
  79. sorry
  80. Yeah
  81. what's the normal limit for bgscreen?
  82. 07:56
  83. Lumage✿✿✿✿
  84. "(Width x Height should be equal to or less than 16383)"
  85. 07:56
  86. SquareFingers
  87. "Width*Height should be equal to or less than 16363"
  88. 07:57
  89. 12Me21
  90. 16384-1
  91. 07:58
  92. SquareFingers
  93. Yeah, so 128*128 is just too big. Why one less?!
  94. 07:59
  95. RaichuBender
  96. Yeah I have the program, should I upload it?
  97. 08:00
  98. RaichuBender
  99. J524NVHV
  100. ^Key to the program
  101. 08:01
  102. 12Me21
  103. We need to remove all references to BGSCREEN 0,888888,888888
  104. 12Me21 has left the chat.
  105. 08:01
  106. RaichuBender
  107. Yeah
  108. 08:01
  109. Lumage✿✿✿✿
  110. "[megamon][13:50]o: ps i've already emailed SB about the glitch"
  111. 08:02
  112. RaichuBender
  113. ...
  114. 08:02
  115. Lumage✿✿✿✿
  116. "[megamon][13:50]o: says they're going to just refuse the ability for the command to run with parameters over 999"
  117. pretty sure he's lying but it's still pretty likely that this'll get patched in 3.3
  118. 08:02
  119. RaichuBender
  120. Ye
  121. You received 4960 coins for the 1-hour reset. You now have 505035 coins
  122. You spent 4500 coins on items: O0(o), Q1(%), N4(©), H2(7), H1(!), F4(™) (0 new)
  123. You generously gave 2 items to pixel_voxel - N4(©) O0(o)
  124. You sold everything for 389 coins.
  125. 08:04
  126. RaichuBender
  127. Downloaded the program @Square?
  128. Because then I ĺl remove it
  129. 08:05
  130. RaichuBender
  131. ...
  132. 08:06
  133. RaichuBender
  134. At X:282588 I found the files in the current directory
  135. *file names
  136. 12Me21 has entered the chat.
  137. 08:07
  138. Lumage✿✿✿✿
  139. writable?
  140. 08:07
  141. RaichuBender
  142. Not tested yet
  143. 08:08
  144. 12Me21
  145. We need to remove all references to BGSCREEN 0,888888,888888
  146. 08:08
  147. Lumage✿✿✿✿
  148. what if you put a path to /user/###/<file in default folder>
  149. 08:08
  150. Lumage✿✿✿✿
  151. in place of one
  152. 08:08
  153. Lumage✿✿✿✿
  154. could you load files from outside the curdir?
  155. 08:09
  156. RaichuBender
  157. There are no folder names, only the files in the current folder
  158. 08:09
  159. RaichuBender
  160. w8
  161. 08:09
  162. SquareFingers
  163. Raichu: Done, thanks.
  164. 08:09
  165. Lumage✿✿✿✿
  166. *actually /###/<filename> seems more likely to work
  167. 08:09
  168. RaichuBender
  169. Yeah
  170. 08:09
  171. SquareFingers
  172. Sorry, was looking at program, not chat screen.
  173. 08:10
  174. RaichuBender
  175. Ah, so you downloaded it? :P
  176. 08:10
  177. 12Me21
  178. What new features have been added?
  179. 08:10
  180. RaichuBender
  181. I don't have the newer version *yet*
  182. This is the old version
  183. w8, did he release a new version yesterday/today
  184. :P
  185. 08:10
  186. Lumage✿✿✿✿
  187. Yeah
  188. Slacker took down one of them to publish a fixed version
  189. 08:11
  190. RaichuBender
  191. Ah
  192. 08:11
  193. Lumage✿✿✿✿
  194. Because bugs in bug-exploration tools
  195. 08:11
  196. RaichuBender
  197. Lol
  198. 08:12
  199. Lumage✿✿✿✿
  200. also let's see how easy it is to ping when a PM message is received
  201. 08:12
  202. RaichuBender
  203. I get the following two names at an address around 280000: <filename>.PRG and T<filename>.PRG
  204. I don't know what the difference between the two is
  205. 08:13
  206. Lumage✿✿✿✿
  207. yeah T commonly prefixes filenames, chances are it's "text"
  208. 08:13
  209. RaichuBender
  210. Only the T is different at the start of the filename
  211. Ah
  212. Then B is for DAT, right?
  213. 08:13
  214. Lumage✿✿✿✿
  215. ye
  216. 08:13
  217. 12Me21
  218. and GRP
  219. 08:13
  220. Lumage✿✿✿✿
  221. "binary"
  222. 08:13
  223. RaichuBender
  224. Yeah
  225. 08:14
  226. Lumage✿✿✿✿
  227. meanwhile the only reason I seem knowledgeable is because I have access to logs
  228. 08:14
  229. RaichuBender
  230. Lol
  231. I get both *BGRASH and TBGCRASH
  232. I think *BGCRASH is the name used for displaying text and TBGCRASH the internal name\
  233. 08:15
  234. 12Me21
  235. >meanwhile the only reason I seem knowledgeable is because I have access to logs
  236. can you make the chat logs public?
  237. 08:15
  238. RaichuBender
  239. The * is there because it is unsaved and has been edited
  240. 08:15
  241. Lumage✿✿✿✿
  242. No.
  243. I mean they already are.
  244. 08:15
  245. RaichuBender
  246. *for this PM group only
  247. :P
  248. 08:15
  249. Lumage✿✿✿✿
  250. PMs aren't logged
  251. All that's useful is the one day
  252. 08:16
  253. RaichuBender
  254. @Square did you download it, I am going to pull it off, ok?
  255. 08:16
  256. 12Me21
  257. I'll make a bot to log the chat later
  258. 08:16
  259. Lumage✿✿✿✿
  260. I'll pastebin the relevant parts of this one I guess
  261. pls
  262. 08:16
  263. SquareFingers
  264. Raichu: Yes, I have it, thanks.
  265. 08:16
  266. RaichuBender
  267. Ok :P
  268. 08:16
  269. Lumage✿✿✿✿
  270. The reason the logs aren't public is because we have a lot of annoying people who would abuse them
  271. 08:17
  272. SquareFingers
  273. After the instructions, I found the names of the variables in the program; T, S$, MOVE, CLIPW, etc..
  274. 08:17
  275. RaichuBender
  276. Yeah, I know what you mean ._.
  277. Yeah, I saw that too
  278. 08:17
  279. 12Me21
  280. Have we figured out what the difference between layers is yet?
  281. is it just offset?
  282. 08:18
  283. RaichuBender
  284. goto X location 280000
  285. 08:18
  286. Lumage✿✿✿✿
  287. Yep
  288. 08:18
  289. RaichuBender
  290. And scroll to the right
  291. 08:18
  292. Lumage✿✿✿✿
  293. lemme just regex offtopic out of this...
  294. 08:18
  295. 12Me21
  296. I wonder if layer 3 lets you see farther than 0 before you crash
  297. 12Me21 has left the chat.
  298. 08:19
  299. RaichuBender
  300. Is there an explanation of the whole thing somewhere, I still don't get it 100% :P
  301. 12Me21 has entered the chat.
  302. 08:19
  303. RaichuBender
  304. Not that I am that stupid or anything
  305. 08:19
  306. Lumage✿✿✿✿
  307. yeah
  308. all the smilebasic state memory is in one big thing somewhere
  309. including variable data such as arrays
  310. somewhere in there is space for backgrounds
  311. normally when using BGSCREEN you're only looking at the "background" region of that memory
  312. with this you expand outside that and you see... other stuff.
  313. 08:21
  314. RaichuBender
  315. Ah
  316. That makes a lot of sense, I knew about the BGSCREEN thing, but not how it works from the inside
  317. Starting at X address 282586 start seeing the file names
  318. 8
  319. -
  320. P
  321. I
  322. H
  323. C
  324. 12Me21 has left the chat.
  325. 08:23
  326. RaichuBender
  327. Lol
  328. So outside of BGSCREEN 1024 you start seeing this memory stuff
  329. right?
  330. 08:26
  331. Lumage✿✿✿✿
  332. why the regex does not like my brackets
  333. oh there
  334. 12Me21 has entered the chat.
  335. 08:29
  336. Lumage✿✿✿✿
  337. okay I think that worked
  338. yay I'm a spambot
  339. 08:31
  340. RaichuBender
  341. Kazuma-kun
  342. 08:31
  343. Lumage✿✿✿✿
  344. pastebin.com/5JQW4rqe
  345. pastebin.com/raw/5JQW4rqe
  346. 08:31
  347. RaichuBender
  348. Ah thanks a lot!
  349. 08:32
  350. SquareFingers
  351. Suggestion: Lines 107,108 currently
  352. COLOR #TGREEN,0
  353. ?CHR$(A[15-(Y)+(X*16)]>>8);CHR$(A[15-(Y)+(X*16)]AND &HFF);
  354. Change to something more like:
  355. CHR=A[15-(Y)+(X*16)]>>8:IF (CHR!=10) THEN COLOR #TGREEN,0:?CHR$(CHR); ELSE COLOR #TBLUE,0:?CHR$(13);
  356. CHR=A[15-(Y)+(X*16)]AND &HFF:IF (CHR!=10) THEN COLOR #TGREEN,0:?CHR$(CHR); ELSE COLOR #TBLUE,0:?CHR$(13);
  357. This will prevent some of the crap appearing on the left side of the screen.
  358. 08:32
  359. Lumage✿✿✿✿
  360. oops there are a few junk lines from multiline offtopic
  361. oh well
  362. 08:33
  363. 12Me21
  364. oh, that
  365. 08:33
  366. RaichuBender
  367. I'll change it for myself now, I don't have the source file so I don't think what is already updated :P
  368. 08:33
  369. 12Me21
  370. make a function
  371. 08:33
  372. RaichuBender
  373. *knows
  374. 08:34
  375. 12Me21
  376. DEF SCHR$(ascii)
  377. IF FLOOR(ASCII)==10 THEN RETURN "*" ELSE RETURN CHR$(ASCII)
  378. END
  379. 08:34
  380. RaichuBender
  381. It would be usefull if this looked like a real hex editor, makes it better for exploration
  382. 08:34
  383. 12Me21
  384. replace * with the enter symbol in the symbols menu
  385. 08:34
  386. Lumage✿✿✿✿
  387. Are we talking about Slacker's thing or incvoid's
  388. 08:35
  389. 12Me21
  390. Squarefingers' suggestion
  391. 08:35
  392. Lumage✿✿✿✿
  393. i mean the program
  394. 08:35
  395. RaichuBender
  396. incvoid's right?
  397. 08:35
  398. SquareFingers
  399. I'd put the colour change, and the actual printing of the character, in the function too.
  400. 08:36
  401. 12Me21
  402. ok
  403. but then
  404. you might as well use GOSUB
  405. I mean, if it does everything, what's the point of a function?
  406. 08:36
  407. Lumage✿✿✿✿
  408. can we actually not have this argument here
  409. 08:37
  410. RaichuBender
  411. For some reasson, P shows up as the 1/4 symbol
  412. I found the /###/ thing!
  413. 08:37
  414. Lumage✿✿✿✿
  415. ^this might also be an ASCII vs. Shift-JIS thing, I think I've heard of that
  416. 08:37
  417. RaichuBender
  418. It's at X:280918
  419. Maybe if we can change it to / somehow
  420. 08:38
  421. Lumage✿✿✿✿
  422. pssshhh
  423. 08:38
  424. RaichuBender
  425. Lol
  426. 08:38
  427. 12Me21
  428. 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
  429. 08:39
  430. RaichuBender
  431. Anyway, I gotta prepare food, I'll catch you later
  432. (will let my browser open)
  433. 08:39
  434. SquareFingers
  435. I don't think the program suffers from running too slowly.
  436. 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
  437. 08:39
  438. Lumage✿✿✿✿
  439. "/###/ is default, within smilebasic's control. Are you saying we should get smilebasic to look at it's own filesystem
  440. ?
  441. also brb eating.
  442. 08:40
  443. RaichuBender
  444. Oh and it shows me ":/###/T<first proram I saved>"
  445. Gotta prepare food now, see ya!
  446. *afk*
  447. 08:40
  448. 12Me21
  449. there's a memory leak I think
  450. The program started running REALLY slow, then was fine after I restarted my 3DS
  451. 08:41
  452. RaichuBender
  453. Cool :P
  454. Tell more about it, so it can be further investigated
  455. *after I'm done with eating XD
  456. 08:42
  457. 12Me21
  458. It's only happened twice, so IDK what caused it
  459. 08:45
  460. 12Me21
  461. Ok, what does the newest program look like?
  462. what features does it have?
  463. I can't download now, though
  464. 09:04
  465. SquareFingers
  466. Interesting. I found "WAIT", decided to change the "T" to "L". Now, "WAIT 1" gives Syntax Error, but so does "WAIL 1".
  467. "autocomplete" has WAIT, does not have WAIL.
  468. 09:06
  469. Lumage✿✿✿✿
  470. mm because the program is precompiled to there,
  471. ?
  472. Trinitro21 has entered the chat.
  473. reitracz has left the chat.
  474. 09:07
  475. Lumage✿✿✿✿
  476. It won't change it in the display, but if you haven't changed the program it might be running that hing you changed?
  477. unless you're testing it direct mode
  478. 09:07
  479. SquareFingers
  480. I found "WAIT", went to Direct mode, did BGFILL one character to change the T to L, saw the BG change.
  481. IAmAPersson has left the chat.
  482. reitracz has entered the chat.
  483. 09:11
  484. SquareFingers
  485. 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.
  486. Don't read too much into that, WAIT has stopped working altogether for me, for now.
  487. IAmAPersson has entered the chat.
  488. reitracz has left the chat.
  489. 09:14
  490. SquareFingers
  491. Going to "top menu" did not restore WAIT. Exited SmileBasic, restarted, now I have WAIT again.
  492. 09:19
  493. Trinitro21
  494. hm, kinda like what I did with romhacking
  495. changing a command name
  496. kind of
  497. 09:24
  498. SquareFingers
  499. 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