Register - Login
Views: 91998843
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
06-20-18 10:01:11 PM

Jul - Innocent Town - should I actually... New poll - New thread - New reply
Next newer thread | Next older thread
Kak
heh
Level: 71


Posts: 1611/1780
EXP: 3143023
For next: 24091

Since: 09-03-13

From: ???

Since last post: 7 days
Last activity: 15 hours

Posted on 07-17-17 07:53:43 PM Link | Quote
...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.

Xkeeper

Level: 243


Posts: 22202/23358
EXP: 225940507
For next: 975113

Since: 07-03-07

Pronouns: they/them, she/her, etc.

Since last post: 19 hours
Last activity: 18 hours

Posted on 07-18-17 03:18:08 AM Link | Quote
I did, you can too
Kak
heh
Level: 71


Posts: 1623/1780
EXP: 3143023
For next: 24091

Since: 09-03-13

From: ???

Since last post: 7 days
Last activity: 15 hours

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

N o

wh y


what have you done
Xkeeper

Level: 243


Posts: 22264/23358
EXP: 225940507
For next: 975113

Since: 07-03-07

Pronouns: they/them, she/her, etc.

Since last post: 19 hours
Last activity: 18 hours

Posted on 07-21-17 04: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)
Sanqui
1720
🦉
Level: 76


Posts: 1535/1729
EXP: 4005894
For next: 166

Since: 12-20-09

Pronouns: any
From: Czechia (NEW!)

Since last post: 4 days
Last activity: 6 hours

Posted on 07-21-17 04:22:33 PM (last edited by Sanqui at 07-21-17 04:29:06 PM) Link | Quote
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.


Kak
heh
Level: 71


Posts: 1639/1780
EXP: 3143023
For next: 24091

Since: 09-03-13

From: ???

Since last post: 7 days
Last activity: 15 hours

Posted on 11-30-17 08:02:10 PM (last edited by Kak at 11-30-17 08:04:04 PM) Link | Quote
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)
Xkeeper

Level: 243


Posts: 22634/23358
EXP: 225940507
For next: 975113

Since: 07-03-07

Pronouns: they/them, she/her, etc.

Since last post: 19 hours
Last activity: 18 hours

Posted on 12-11-17 07: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
Next newer thread | Next older thread
Jul - Innocent Town - should I actually... New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 5d36857 [2018-03-03]
©2000-2018 Acmlm, Xkeeper, Inuyasha, et al.

25 database queries.
Query execution time: 0.160372 seconds
Script execution time: 0.013712 seconds
Total render time: 0.174084 seconds
Memory used: 786432