Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,494,004
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-27-24 09:05 PM
Guest: Register | Login

0 users currently in SMW Hacking | 1 guest

Main - SMW Hacking - Japanese custom block inserter New thread | New reply


ghettoyouth
Posted on 09-14-07 08:38 AM (rev. 3 of 09-14-07 08:40 AM) Link | Quote | ID: 65357


Red Goomba
Level: 15

Posts: 18/35
EXP: 16184
Next: 200

Since: 08-06-07
From: germany

Last post: 5919 days
Last view: 5911 days
I just found a new japanese block inserter called blite (blocktool lite?).
I haven't tried it yet, but I like what I've seen so far. The GUI is way better than the blocktool one and you don't have to convert the map16 number into decimal.
Unfortunatly, it uses bin files as well instead of asm files. I hope it will fix the slowdown problem.




You can get it here (scroll down and click where it says "blite.zip"):
http://vip.rgr.jp/sm4wiki/index.php?Lunar%20Magic%2Fblktool%B8%DF%B4%B9%A5%C4%A1%BC%A5%EB

Ice Man
Posted on 09-14-07 03:41 PM Link | Quote | ID: 65365


Cheep-cheep
Level: 33

Posts: 125/197
EXP: 219051
Next: 10128

Since: 02-20-07
From: Germany

Last post: 2384 days
Last view: 934 days
Cool, it even looks better.

Cat Justice
Posted on 09-14-07 03:58 PM Link | Quote | ID: 65368


Mole
Level: 43

Posts: 275/365
EXP: 552420
Next: 12626

Since: 02-21-07

Last post: 5341 days
Last view: 5341 days
Gah! If only there was an english translation of it. Everything looks easy save for the japanese text strewn across it.

Nonetheless, it really opens up alot of options for creating custom blocks. I feel like switching around the numbers to see what will happen. It looks like you can get specific on what effect goes where on the blocks.

Phazorite
Posted on 09-14-07 06:49 PM Link | Quote | ID: 65380


Paragoomba
Level: 22

Posts: 75/78
EXP: 54259
Next: 4091

Since: 05-04-07
From: The Phazar Temple

Last post: 5936 days
Last view: 5936 days
Nice! If only Japanese weren't so friggan hard to learn x_X
Nihongo de hanashimasu ka??

I saw Jonwil on the board a few months back so is there any chance he might release a new version of Blocktool? Either that or this is his current project, leaked out and translated into japanese so most of us gaijin hackers can't use it

Sukasa
Posted on 09-14-07 08:47 PM Link | Quote | ID: 65384


Red Birdo
Level: 92

Posts: 463/2112
EXP: 7690237
Next: 66700

Since: 02-19-07

Last post: 4449 days
Last view: 3221 days
Wow, nice.

Kinda takes away my inspiration to work on blocktool omega, though. (old project I still putter at that was a replacement to BT)

blackhole89
Posted on 09-15-07 01:20 AM Link | Quote | ID: 65406


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

Posts: 534/4196
EXP: 21535384
Next: 301217

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

Last post: 473 days
Last view: 85 days



The few UI text there is can easily be reckoned with common sense (blkedit0: "You may leave this blank", bltedit: title='blt editor', "File (F)", "Open"/"Save"/"Insert into blite", tab title: blk file).

Here, however, is a translation of the IF_P block's description for you (deviation from literality where it was needed to not sound retarded in English):

The effect of the block changes with the blue P-switch being on or off.

When ON, it behaves like the next Map16 block.
When OFF, it behaves like nth block after it. (i.e. block [this]+n)
(given that n is between 0 and 0xFF)
For that, enter n as the block's effect.
(note: this effect thing has something to do with the underlying
blocktool implementation which I have no idea about since I am
horribly out of the loop with SMW hacking)

Also, by entering 0x100+n as an effect instead, you can make its operation
depend on the silver P-switch instead.

Example 1:
200,effect(2):IF_P.blk
201:A.blk
202:B.blk

Here, block 200 behaves like
- A.blk if the blue P switch is ON
- B.blk if the blue P switch is OFF

Example 2:
200,effect(4):IF_P.blk ;blue P-switch:OFF -> to 200+4
201,effect(102):IF_P.blk ;silver P-switch:OFF -> to 201+2
202:A.blk
203:B.blk
204.effect(102):IF_P.blk ;silver P-switch:OFF -> to 204+2
205:C.blk
206:D.blk

Here, behaviour is as follows:
BLUE SILVER
ON ON A.blk
ON OFF B.blk
OFF ON C.blk
OFF OFF D.blk

However, you perfectly may use it for less weird things too, lol~


If this is of any help, I can translate the 8-directional bullet bill thing that is included as well. This one seemed more interesting to me though, so I started off with it.

____________________



mikeyk
Posted on 09-15-07 05:13 AM Link | Quote | ID: 65411


Paragoomba
Level: 22

Posts: 62/74
EXP: 49984
Next: 8366

Since: 06-11-07

Last post: 6048 days
Last view: 4124 days
I saw the title and got my hopes up. I was hoping it would have a defining new feature, but I don't see anything to be too excited about.

Now if someone were to make an inserter with one of the following features, THEN I would be excited:
1. Allowing custom code to be triggered in a different way - not just Above, Below, Sides, etc. I know there's a patch by Fu that allows people to call in custom code when Mario is touching the corners of a block or when Big Mario's stomach is touching a block. Unfortunately there's no tool that takes advantage.
2. Having .asm files as input, so more advanced blocks could be more easily created/modified. Tweaking reloc offsets every time I make a change keeps me from writing more blocks.

Sukasa
Posted on 09-15-07 05:27 AM Link | Quote | ID: 65412


Red Birdo
Level: 92

Posts: 464/2112
EXP: 7690237
Next: 66700

Since: 02-19-07

Last post: 4449 days
Last view: 3221 days
Posted by mikeyk
I saw the title and got my hopes up. I was hoping it would have a defining new feature, but I don't see anything to be too excited about.

Now if someone were to make an inserter with one of the following features, THEN I would be excited:
1. Allowing custom code to be triggered in a different way - not just Above, Below, Sides, etc. I know there's a patch by Fu that allows people to call in custom code when Mario is touching the corners of a block or when Big Mario's stomach is touching a block. Unfortunately there's no tool that takes advantage.
2. Having .asm files as input, so more advanced blocks could be more easily created/modified. Tweaking reloc offsets every time I make a change keeps me from writing more blocks.


Link me ot that ptch if you can please!

If BTLite doesnt support .asm, then that gives me more reason to work on BT omega

mikeyk
Posted on 09-15-07 08:23 AM Link | Quote | ID: 65414


Paragoomba
Level: 22

Posts: 63/74
EXP: 49984
Next: 8366

Since: 06-11-07

Last post: 6048 days
Last view: 4124 days
I couldn't find the original. It used to be on Fu's site which is long gone by now. The closest thing I could track down was reserved_all.zip, available here: http://acmlm.no-ip.org/archive3/thread.php?id=9598

blackhole89
Posted on 09-15-07 04:34 PM Link | Quote | ID: 65419


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

Posts: 536/4196
EXP: 21535384
Next: 301217

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

Last post: 473 days
Last view: 85 days



Well, for things like Big Mario's stomach, you always could just add additional checks to the up/left/right/down handler of the block... and, if by "corners", you mean positions where Mario "touches" both a side and the top/bottom, you could hack in an "edge check" by reserving some point in memory that is reset to 0 after each block's handler and set to 1 if you touch a block's top or bottom and calling a distinct routine if it is set to 1 when a block's side collision routine is toggled (that's assuming top/left are triggered before left/right if both are; otherwise, it'd have to be done the other way around).

____________________



Sukasa
Posted on 09-16-07 05:43 AM Link | Quote | ID: 65463


Red Birdo
Level: 92

Posts: 465/2112
EXP: 7690237
Next: 66700

Since: 02-19-07

Last post: 4449 days
Last view: 3221 days
Thanks MikeyK. Sorry, but I have just one more question. Does anyone know which program it was that lets you view teh changes an IPS woul dmake to a file? IPSelect or something, I thought, but I can't remember

mikeyk
Posted on 09-16-07 06:20 AM (rev. 2 of 09-16-07 06:20 AM) Link | Quote | ID: 65467


Paragoomba
Level: 22

Posts: 64/74
EXP: 49984
Next: 8366

Since: 06-11-07

Last post: 6048 days
Last view: 4124 days
blackhole, this is what I was talking about when I mentioned corners. With Block Tool there is no way to get custom code to run when Mario is standing on the block like this:


Sukasa, IPSelect shows the locations that are going to be changed. Turing on logging with LunarIPS will give you the same info. I like to patch a ROM and us a binary diff program to see the difference. I use HexCmp2, but unfortunately it's not freeware.

Sukasa
Posted on 09-16-07 06:22 AM Link | Quote | ID: 65468


Red Birdo
Level: 92

Posts: 467/2112
EXP: 7690237
Next: 66700

Since: 02-19-07

Last post: 4449 days
Last view: 3221 days
Okay, thanks MikeyK.


Anyways, name any offset and I'll provide support for it. Interestingly enough, the data table format as-is already contained entries in each block for the data that isn't already set out, so it's really easy to add a whole other function like corners to a block.

Raccoon Sam
Posted on 09-16-07 10:58 AM Link | Quote | ID: 65479


Cobrat
Level: 56

Posts: 316/672
EXP: 1380183
Next: 17993

Since: 02-19-07
From: Hi

Last post: 3469 days
Last view: 2700 days
Wow.
Sure looks nice, but kinda obsoletes all the work Sukasa put into BlockTool.
Anyone know if this'll fix the slomo?

____________________


Sukasa
Posted on 09-16-07 11:14 AM Link | Quote | ID: 65480


Red Birdo
Level: 92

Posts: 469/2112
EXP: 7690237
Next: 66700

Since: 02-19-07

Last post: 4449 days
Last view: 3221 days
No it doesn't, heh. BTLite apparently doens't support .asm files. BTO does. Also, BTO will support more block offsets.

knuck
Posted on 09-16-07 01:00 PM Link | Quote | ID: 65481


Spiny
Level: 53

Posts: 76/586
EXP: 1110177
Next: 46942

Since: 07-22-07
From: BR

Last post: 4637 days
Last view: 4486 days
Posted by Phazorite
I saw Jonwil on the board a few months back so is there any chance he might release a new version of Blocktool? Either that or this is his current project, leaked out and translated into japanese so most of us gaijin hackers can't use it

No it isn't. He was on IRC a couple months ago and he said he isn't into hacking anymore.
Posted by Sukasa
No it doesn't, heh. BTLite apparently doens't support .asm files. BTO does. Also, BTO will support more block offsets.
BTO DOES support asm or WILL support asm? It's been a good while since you announced BTO and I thought you had given up already.

Sukasa
Posted on 09-17-07 05:06 AM Link | Quote | ID: 65563


Red Birdo
Level: 92

Posts: 470/2112
EXP: 7690237
Next: 66700

Since: 02-19-07

Last post: 4449 days
Last view: 3221 days
Will, since ATM it doesn't support anything (yay incomplete.)

Also, unless I specifically say "IGiveUp," I don't drop a project. BTO is still under (slow) construction.

Main - SMW Hacking - Japanese custom block inserter New thread | New reply

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

Page rendered in 0.026 seconds. (341KB of memory used)
MySQL - queries: 107, rows: 143/144, time: 0.018 seconds.