| |||
Views: 88,495,310 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-28-24 05:54 AM |
|
Guest: Register | Login |
0 users currently in SMW Hacking | 2 guests |
Main - SMW Hacking - Blocktool Omega | New thread | New reply |
Should Blocktool Omega be released? | |
Yes | |
No | |
Multiple voting is not allowed. Changing your vote is allowed. 17 users have voted so far. |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 484/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
well, blocktool omega is complete to the point that I could release it and you guys could start making blocks for it (either .asm or .bin blocks). Anyways, I wasn't sure, so I figured I'd make this poll. Anyways, whether I do or not, here are the design considerations for blocks.
|
blackhole89 |
| ||
The Guardian Moloch whose eyes are a thousand blind windows! Level: 124 Posts: 614/4196 EXP: 21536015 Next: 300586 Since: 02-19-07 From: Ithaca, NY, US Last post: 473 days Last view: 86 days |
|
Sukasa |
| ||
Red Birdo Level: 92 Posts: 485/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
Well, found 2 bugs relating to deleting blocks...
http://sukasa.kicks-ass.org/release.rar |
mikeyk |
| ||
Paragoomba Level: 22 Posts: 65/74 EXP: 49986 Next: 8364 Since: 06-11-07 Last post: 6049 days Last view: 4125 days |
.asm blocks? AWESOME!
Can't wait to get started, but a couple of questions before I do. It looks like labels are used to specify entry points -- how exactly do we use those? What assembler's syntax do we need to use in the asm file? |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 486/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
TRASM.
Just in the file, for example: code code LABEL code and in BTO, where you place the offsets/labels, you just type in the label name. |
boingboingsplat |
| ||||
Giant Koopa [PREFSTRING:wonderful bounciness] Level: 74 Posts: 45/1292 EXP: 3634250 Next: 19294 Since: 07-23-07 From: Michicola Last post: 4844 days Last view: 4806 days |
|
mikeyk |
| ||
Paragoomba Level: 22 Posts: 66/74 EXP: 49986 Next: 8364 Since: 06-11-07 Last post: 6049 days Last view: 4125 days |
Let me start by saying that I'm sooo happy this project hasn't died. I'm really pumped that we're able to see a release. Unfortunately, I just tried this out for the first time and wasn't able to get anything working. Here are the problems/suggestions/questions I had -- in order of decreasing importance.
* I tried inserting a .bin. I tried to insert an .asm. No luck in either case. A .bdt file showed up, but my ROM was left unmodified. Maybe I missed something obvious? *In the database editor, the edit box doesn't update to show the value for the selected offset. If I enter 0 for "touched from above", the edit box will still say 0 no matter what other option I select. The correct values are written to blocks.bdb, but they don't show up in the GUI. *If I double click on block, let's say $300, and select No Block. The entry for $300 disappears. Now if I double click on $301, the "Set Block" dialog opens but it says I am modifying block $300. *In the database editor, the edit box where you enter a offset/label only allows 3 characters -- are longer labels not supported? *Also, I think the database editor dialog should be made a little bit taller, so all offset options could be seen without a scrollbar. I really think that BTO has enormous potential. I'm so excited to see this wipe the original block tool off the face of the earth. |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 491/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
hm, how did I miss the most important point?
THIS PROGRAM DOES NOT YET EDIT ROMS also don't worry, the database will get updated even if the results aren't shown. just click through the list and back and teh textbox'll update The label thing is me forgetting to remove a MAXLEN after changing to use asm files. I'll make it taller, then. and about the block number issue... I'll fix that ASAP, then fix the listbox update issue. |
blackhole89 |
| ||
The Guardian Moloch whose eyes are a thousand blind windows! Level: 124 Posts: 623/4196 EXP: 21536015 Next: 300586 Since: 02-19-07 From: Ithaca, NY, US Last post: 473 days Last view: 86 days |
|
Sukasa |
| ||
Red Birdo Level: 92 Posts: 492/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
Hm, I'll add it to the TODO list for features in v1.1 |
knuck |
| ||
Spiny Level: 53 Posts: 80/586 EXP: 1110210 Next: 46909 Since: 07-22-07 From: BR Last post: 4637 days Last view: 4486 days |
Erm, I'm just wondering... Technically, what's the difference between a block in BTO and a blocktool block? Can anyone show me the difference with pseudo code or whatever? |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 493/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
blocktool omega blocks end with RTL, blocktool normal blocks with RTS.
Also Blocktool Omega will not have the slowdown that blocktool has, and is even faster that an blocktool installation that has only one block installed, even when the BTO install has 2000 blocks! (more blocks than anybody'll ever use, but I'm not lying!) |
knuck |
| ||
Spiny Level: 53 Posts: 81/586 EXP: 1110210 Next: 46909 Since: 07-22-07 From: BR Last post: 4637 days Last view: 4486 days |
Posted by SukasaErm, I know about the no slowdown thing, but I'm asking technically, that happens due to what? How did the old blocktool work? How does BTO work? |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 494/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
The old blocktool loops through the blocks, looking to see if one matches the current block number. Also, the loop is ~30 lines long, with another ~40 lines before/after it. Tt's *really* bad (I disassembled it a while ago)
Blocktool Omega multiplies the current block number from SMW to get an array into a table, then checks to see if that particular block has custom code. If so, it reads an address and JSL's to it. If not, it returns without executing any more code. Also fixed the disappearing block line issue. Turns out I'd managed to move a " to the end of a line, so list1.additem "(craxy text)", blocknum became "(craxy text), blocknum", and so the listbox defaulted it to the very bottom of the list. EDIT: Also I misunderstood you MikeyK. I see what you mean, and I'm fixing that EDIT2: fixed the bugs MikeyK brought up and lengthened the database dialog. http://sukasa.kicks-ass.org/kasaos/BTO.exe Just save over your current exe copies |
mikeyk |
| ||
Paragoomba Level: 22 Posts: 67/74 EXP: 49986 Next: 8364 Since: 06-11-07 Last post: 6049 days Last view: 4125 days |
Just tried the new version. Things are feeling MUCH, MUCH better now. You've got me really looking forward to this. I'll see if I can't modify my disassembler and write a script to convert all Block Tool's blocks to be BTO compatible.
How much have you done on the SNES side of things? What other things do you still need to accomplish before we can get this thing injecting code? Can't wait. |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 495/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
Lessee...
|
Remnic The Hedgehog |
| ||
Chasupa Level: 56 Posts: 336/675 EXP: 1379208 Next: 18968 Since: 05-23-07 From: Kickapoo, Missouri Last post: 5175 days Last view: 5183 days |
There should be a program which converts old .bin blocks into working format for BTO. ____________________ Marry off the poptart, I was strutting my horse. Streisand died in Mordor, It's I, yes I, the cyclopse, lol. |
Smallhacker |
| ||
Panser Swedish weirdo times eleven Level: 42 Posts: 194/339 EXP: 494546 Next: 26816 Since: 02-19-07 From: Stockholm, Sweden Last post: 5186 days Last view: 5186 days |
Posted by Remnic The Hedgehog There should be a program on the site which converts stupidity into a working brain for the board. Oh, and in case you didn't know (of course you didn't), that is waaaaaay harder than someone like you might expect. ____________________ |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 497/2112 EXP: 7690462 Next: 66475 Since: 02-19-07 Last post: 4449 days Last view: 3221 days |
2 Things.
1) I agree with you SH, but the personal flame wasn't really needed. And yes, it is *much* harder. 2) Remnic, please read the thread before you post: Posted by mikeyk |
Remnic The Hedgehog |
| ||
Chasupa Level: 56 Posts: 340/675 EXP: 1379208 Next: 18968 Since: 05-23-07 From: Kickapoo, Missouri Last post: 5175 days Last view: 5183 days |
Sorry about that. As for Smalls... I'm not saying anything... ____________________ Marry off the poptart, I was strutting my horse. Streisand died in Mordor, It's I, yes I, the cyclopse, lol. |
Main - SMW Hacking - Blocktool Omega | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 124, rows: 164/165, time: 0.018 seconds. |