Register - Login
Views: 99354107
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-21-22 08:13:28 PM
Jul - Innocent Town - should I actually... New poll - New thread - New reply
Next newer thread | Next older thread
Kak

...
Level: 80


Posts: 1611/1928
EXP: 4753147
For next: 29822

Since: 09-03-13

From: ???

Since last post: 58 days
Last activity: 54 days

Posted on 07-17-17 10:53:43 PM Link | Quote
KLayout 4.0
...release all the incomplete lua scripts I've made?
I've been wanting to complete them (or make them less terrible), but I pretty much lost the motivation to do so.



____________________
You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
aka Schezo
Level: 66
Days: 1413
Ranked: 58
Links
???
Twitter
YouTube
Website
Xkeeper

Level: 263


Posts: 22202/25343
EXP: 296651255
For next: 2309198

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 6 days
Last activity: 17 hours

Posted on 07-18-17 06:18:08 AM Link | Quote
I did, you can too

____________________
(Lv 235 with 200354739 EXP)
Kak

...
Level: 80


Posts: 1623/1928
EXP: 4753147
For next: 29822

Since: 09-03-13

From: ???

Since last post: 58 days
Last activity: 54 days

Posted on 07-21-17 05:29:54 PM Link | Quote
o h

N o

wh y


what have you done
Xkeeper

Level: 263


Posts: 22264/25343
EXP: 296651255
For next: 2309198

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 6 days
Last activity: 17 hours

Posted on 07-21-17 07:14:22 PM Link | Quote
A little late, but LuaBit has a pure-lua implementation of stuff like and, or, xor, and shifting, so you could drop that in if your given emulator is lacking those (and you don't want to add in support yourself)

____________________
(Lv 235 with 201291611 EXP)
Sanqui
2060
💛🤍💜🖤🦉
Level: 87


Posts: 1535/2066
EXP: 6303257
For next: 89517

Since: 12-20-09

Pronouns: any ✨
From: Czechia | Estonia

Since last post: 3 days
Last activity: 11 hours

Posted on 07-21-17 07:22:33 PM (last edited by Sanqui at 07-21-17 07:29:06 PM) Link | Quote


*Sanqui flops.

level 71

exp 3165451

exppct 98.9%

numposts 1535

 
presenting: boom-plus-plus.lua

as seen on tv

features:

local rewindKey = 'W' -- Hold this to go back in time!

randomkey = "A" -- Just your standard fare. One random WRAM byte.
plusminuskey = "S" -- +/- on one random WRAM byte. Probably the safest you can do which still has some effect.
powerkey = "M" -- Power corruption! 16 random bytes. The most fun key you can press.
highkey = "K" -- On GB, random byte from HRAM, may have drastic consequences. On GBA, power corruption on IRAM
vramkey = "Q" -- Messes up vram (graphics). Purely visual - totally safe.

freezekey = "B" -- Freezes a random byte in memory indefinedly. May have totally different effects from regular corruption.
unfreezekey = "N" -- Unfreezes every frozen byte. This also happens automatically when rewinding.

savetileskey = "I" -- Save current tiles.
restoretileskey = "O" -- Restore saved tiles. Purely visual, can be used to copy tiles from game to game etc.
wrammap = "L" -- Display an interactive memory map, one pixel per byte.
-- Opacity = value. Blue = byte changed this frame. Green = HRAM.
-- Left: +1 Right: -1 Middle: set to $FF
-- Warning: SLOW! PARTLY BROKEN FOR GBA!

rewindon = "T" -- Switches rewinding on and off. May save some 15%, depending on your computer.

debugkey = "`" -- Displays some boring CPU info.




____________________
In our brief lives,  •  we've managed to meet.  •  Treasure this gift,  •  this precious time that we have.        
Kak

...
Level: 80


Posts: 1639/1928
EXP: 4753147
For next: 29822

Since: 09-03-13

From: ???

Since last post: 58 days
Last activity: 54 days

Posted on 11-30-17 11:02:10 PM (last edited by Kak at 11-30-17 11:04:04 PM) Link | Quote
KLayout 4.0
at the end of the day, I ended up using luabit...

...in a drag & drop script for GB Duck Tales 2 (with the added feature of removing all screen boundaries for easier exploration)


(I would have probably relied on it much more had I implemented a menu system similar to sonic1-obj.lua)

____________________
You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
aka Schezo
Level: 68
Days: 1549
Ranked: 60
Links
???
Twitter
YouTube
Website
Xkeeper

Level: 263


Posts: 22634/25343
EXP: 296651255
For next: 2309198

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 6 days
Last activity: 17 hours

Posted on 12-11-17 10:59:34 PM Link | Quote
I tend to use buttons for those sorts of things. I use IJKL for movement and WRDFVB (L, R, B, A, start, select), so I have a lot of fun keys like T, Q, A, S, Z, X, C that I can assign Fun Features to.

If you've ever wondered why boom-plus-dx.lua uses QW, AS, and ZX, now you know

____________________
(Lv 238 with 210315463 EXP)
Next newer thread | Next older thread
Jul - Innocent Town - should I actually... New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

29 database queries, 2 query cache hits.
Query execution time:  0.091797 seconds
Script execution time:  0.026125 seconds
Total render time:  0.117922 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 301 - Warning: unescaped & or unknown entity "&page"
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 148 column 37 - Warning: unescaped & or unknown entity "&id"
line 147 column 182 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 91 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 177 column 102 - Warning: unescaped & or unknown entity "&postid"
line 179 column 74 - Warning: <style> isn't allowed in <td> elements
line 179 column 9 - Info: <td> previously mentioned
line 187 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 189 column 9 - Warning: missing <tr>
line 207 column 13 - Warning: missing <tr>
line 208 column 102 - Warning: unescaped & or unknown entity "&postid"
line 210 column 74 - Warning: <style> isn't allowed in <td> elements
line 210 column 9 - Info: <td> previously mentioned
line 213 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 215 column 9 - Warning: missing <tr>
line 233 column 13 - Warning: missing <tr>
line 234 column 102 - Warning: unescaped & or unknown entity "&postid"
line 246 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 248 column 9 - Warning: missing <tr>
line 266 column 13 - Warning: missing <tr>
line 267 column 102 - Warning: unescaped & or unknown entity "&postid"
line 269 column 74 - Warning: <style> isn't allowed in <td> elements
line 269 column 9 - Info: <td> previously mentioned
line 272 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 274 column 9 - Warning: missing <tr>
line 292 column 13 - Warning: missing <tr>
line 293 column 102 - Warning: unescaped & or unknown entity "&postid"
line 295 column 74 - Warning: <style> isn't allowed in <td> elements
line 295 column 9 - Info: <td> previously mentioned
line 295 column 613 - Warning: <style> isn't allowed in <td> elements
line 295 column 9 - Info: <td> previously mentioned
line 295 column 3831 - Warning: '<' + '/' + letter not allowed here
line 300 column 20 - Warning: '<' + '/' + letter not allowed here
line 300 column 34 - Warning: '<' + '/' + letter not allowed here
line 304 column 21 - Warning: '<' + '/' + letter not allowed here
line 346 column 2284 - Warning: discarding unexpected </div>
line 346 column 2290 - Warning: discarding unexpected </div>
line 346 column 2296 - Warning: discarding unexpected </td>
line 349 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 351 column 9 - Warning: missing <tr>
line 369 column 13 - Warning: missing <tr>
line 370 column 102 - Warning: unescaped & or unknown entity "&postid"
line 372 column 74 - Warning: <style> isn't allowed in <td> elements
line 372 column 9 - Info: <td> previously mentioned
line 382 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 384 column 9 - Warning: missing <tr>
line 402 column 13 - Warning: missing <tr>
line 403 column 102 - Warning: unescaped & or unknown entity "&postid"
line 405 column 74 - Warning: <style> isn't allowed in <td> elements
line 405 column 9 - Info: <td> previously mentioned
line 410 column 17 - Warning: missing <tr>
line 410 column 17 - Warning: discarding unexpected <table>
line 413 column 35 - Warning: missing <tr>
line 413 column 50 - Warning: missing </font> before </td>
line 413 column 91 - Warning: missing </font> before </table>
line 415 column 35 - Warning: missing <tr>
line 415 column 50 - Warning: missing </font> before </td>
line 416 column 37 - Warning: unescaped & or unknown entity "&id"
line 415 column 182 - Warning: missing </font> before </table>
line 417 column 17 - Warning: discarding unexpected </textarea>
line 417 column 28 - Warning: discarding unexpected </form>
line 417 column 35 - Warning: discarding unexpected </embed>
line 417 column 43 - Warning: discarding unexpected </noembed>
line 417 column 53 - Warning: discarding unexpected </noscript>
line 417 column 64 - Warning: discarding unexpected </noembed>
line 417 column 74 - Warning: discarding unexpected </embed>
line 417 column 82 - Warning: discarding unexpected </table>
line 417 column 90 - Warning: discarding unexpected </table>
line 419 column 9 - Warning: missing </font> before <table>
line 431 column 25 - Warning: discarding unexpected </font>
line 440 column 57 - Warning: discarding unexpected </font>
line 418 column 1 - Warning: missing </center>
line 120 column 63 - Warning: <img> lacks "alt" attribute
line 125 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 125 column 93 - Warning: <img> lacks "alt" attribute
line 141 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 141 column 98 - Warning: <img> lacks "alt" attribute
line 148 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 160 column 11 - Warning: <img> lacks "alt" attribute
line 161 column 22 - Warning: <img> lacks "alt" attribute
line 161 column 63 - Warning: <img> lacks "alt" attribute
line 161 column 112 - Warning: <img> lacks "alt" attribute
line 161 column 162 - Warning: <img> lacks "alt" attribute
line 162 column 11 - Warning: <img> lacks "alt" attribute
line 172 column 15 - Warning: <img> lacks "alt" attribute
line 182 column 2693 - Warning: <img> lacks "alt" attribute
line 192 column 23 - Warning: <img> lacks "alt" attribute
line 192 column 64 - Warning: <img> lacks "alt" attribute
line 192 column 113 - Warning: <img> lacks "alt" attribute
line 192 column 163 - Warning: <img> lacks "alt" attribute
line 193 column 11 - Warning: <img> lacks "alt" attribute
line 203 column 15 - Warning: <img> lacks "alt" attribute
line 217 column 11 - Warning: <img> lacks "alt" attribute
line 218 column 22 - Warning: <img> lacks "alt" attribute
line 218 column 63 - Warning: <img> lacks "alt" attribute
line 218 column 112 - Warning: <img> lacks "alt" attribute
line 218 column 162 - Warning: <img> lacks "alt" attribute
line 219 column 11 - Warning: <img> lacks "alt" attribute
line 229 column 15 - Warning: <img> lacks "alt" attribute
line 251 column 23 - Warning: <img> lacks "alt" attribute
line 251 column 64 - Warning: <img> lacks "alt" attribute
line 251 column 113 - Warning: <img> lacks "alt" attribute
line 251 column 163 - Warning: <img> lacks "alt" attribute
line 252 column 11 - Warning: <img> lacks "alt" attribute
line 262 column 15 - Warning: <img> lacks "alt" attribute
line 269 column 901 - Warning: <div> anchor "xklayout" already defined
line 269 column 1251 - Warning: <img> proprietary attribute value "absmiddle"
line 269 column 1251 - Warning: <img> lacks "alt" attribute
line 276 column 16 - Warning: <img> proprietary attribute value "absmiddle"
line 276 column 16 - Warning: <img> lacks "alt" attribute
line 276 column 59 - Warning: <img> proprietary attribute value "absmiddle"
line 276 column 59 - Warning: <img> lacks "alt" attribute
line 276 column 102 - Warning: <img> proprietary attribute value "absmiddle"
line 276 column 102 - Warning: <img> lacks "alt" attribute
line 276 column 145 - Warning: <img> proprietary attribute value "absmiddle"
line 276 column 145 - Warning: <img> lacks "alt" attribute
line 277 column 22 - Warning: <img> lacks "alt" attribute
line 277 column 63 - Warning: <img> lacks "alt" attribute
line 277 column 112 - Warning: <img> lacks "alt" attribute
line 277 column 162 - Warning: <img> lacks "alt" attribute
line 278 column 11 - Warning: <img> lacks "alt" attribute
line 288 column 15 - Warning: <img> lacks "alt" attribute
line 353 column 11 - Warning: <img> lacks "alt" attribute
line 354 column 22 - Warning: <img> lacks "alt" attribute
line 354 column 63 - Warning: <img> lacks "alt" attribute
line 354 column 112 - Warning: <img> lacks "alt" attribute
line 354 column 162 - Warning: <img> lacks "alt" attribute
line 355 column 11 - Warning: <img> lacks "alt" attribute
line 365 column 15 - Warning: <img> lacks "alt" attribute
line 377 column 2736 - Warning: <img> lacks "alt" attribute
line 387 column 23 - Warning: <img> lacks "alt" attribute
line 387 column 64 - Warning: <img> lacks "alt" attribute
line 387 column 113 - Warning: <img> lacks "alt" attribute
line 387 column 163 - Warning: <img> lacks "alt" attribute
line 388 column 11 - Warning: <img> lacks "alt" attribute
line 398 column 15 - Warning: <img> lacks "alt" attribute
line 405 column 901 - Warning: <div> anchor "xklayout" already defined
line 407 column 1269 - Warning: <img> proprietary attribute value "absmiddle"
line 407 column 1269 - Warning: <img> lacks "alt" attribute
line 416 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 416 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 416 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 425 column 25 - Warning: <img> lacks "alt" attribute
line 430 column 267 - Warning: <img> lacks "alt" attribute
line 149 column 50 - Warning: trimming empty <font>
line 410 column 17 - Warning: trimming empty <tr>
line 413 column 50 - Warning: trimming empty <font>
line 125 column 68 - Warning: <nobr> is not approved by W3C
line 141 column 68 - Warning: <nobr> is not approved by W3C
line 177 column 27 - Warning: <nobr> is not approved by W3C
line 208 column 27 - Warning: <nobr> is not approved by W3C
line 234 column 27 - Warning: <nobr> is not approved by W3C
line 267 column 27 - Warning: <nobr> is not approved by W3C
line 293 column 27 - Warning: <nobr> is not approved by W3C
line 370 column 27 - Warning: <nobr> is not approved by W3C
line 403 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 165 warnings and 0 errors!


The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md