Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Forum Games

Press Ctrl+V or Cmd+V or whatever and post - Page 130

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-12-15 07:53:19
thirdpartycdkey

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-12-15 11:27:59
😊

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-12-15 13:53:38
And the dmeo would have to fake the

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Sherkel
Date: 2018-12-15 14:44:38

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-12-15 14:51:59

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-12-15 15:00:45
b'arguments' : b'-uplay_steam_mode '

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-12-15 15:04:05

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-12-15 17:33:53
`bin/main.o` <- `src/

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-12-16 05:07:53
if not main_config.full_rescan:
if launchers.has_been_done('Steam', app_id):
continue

name = app_state.get('name')
#installdir is the subfolder of library_folder/steamapps/common where the game is actually located, if that's ever useful
#StateFlags probably has something to do with whether it's actually currently installed or not, seems to be just 4, maybe other values indicate it's in the middle of downloading or stuff like that
#UserConfig might be interesting… normally it just has a key 'language' which is set to 'english' etc, sometimes duplicating name and app_id as 'gameid' for no reason, but also has things like 'lowviolence': '1' inside Left 4 Dead 2 for example (because I'm Australian I guess), so… well, I just think that's kinda neat, although probably not useful for our purposes here; also for TF2 it has 'betakey': 'prerelease' so I guess that has to do with opt-in beta programs
#Anyway I don't think we need any of that for now
process_game(app_id, name)

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Torchickens
Date: 2018-12-16 17:14:41


















Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-12-16 19:10:45
    ; Check the direction the camera moved, if at all
    ; Ugly, but that's because we have to offset the camera's position, otherwise there are overflows when the camera gets close to the top/left edge
    ld de, wCameraYPos
    ld hl, wCameraPrevYPos
    ld a, [de]
    inc e ; inc de
    add a, 16
    ld b, a
    ld a, [de]
    inc e ; inc de
    adc a, 0
    ld c, a
    ld a, b
    ld b, 1
    cp [hl]
    ld [hli], a
    jr z, .preserveLowY
    sbc a, a ; 0 if cur > prev, $FF if cur < prev
    ld b, a
.preserveLowY
    cp [hl]
    ld [hli], a
    ld a, b
    jr z, .preserveHighY
    sbc a, a
.preserveHighY
    ldh [hCameraYMovementDirection], a
    ld a, [de]
    inc e ; inc de
    add a, 8
    ld b, a
    ld a, [de]
    adc a, 0
    ld c, a
    ld a, b
    ld b, 1
    cp [hl]
    ld [hli], a
    jr z, .preserveLowX
    sbc a, a ; 0 if cur > prev, $FF if cur < prev
    ld b, a
.preserveLowX
    cp [hl]
    ld [hli], a
    ld a, b
    jr z, .preserveHighX
    sbc a, a
.preserveHighX
    ldh [hCameraXMovementDirection], a

    ; Update BG position(s)
    ld a, [wScrollingType]
    add a, a
    add a, LOW(.scrollingFuncs)
    ld l, a
    adc a, HIGH(.scrollingFuncs)
    sub l
    ld h, a
    ld a, [hli]
    ld h, [hl]
    ld l, a
    rst call_hl

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Zowayix
Date: 2018-12-16 20:35:49
consistentify_manufacturer(self.get_info('developer'))

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-12-17 02:53:49
https://twitter.com/JunkScience/status/1073757414770524162

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: Missing? NO!
Date: 2018-12-17 19:03:36
https://media.discordapp.net/attachments/504210322039767041/522220986737623050/image0.jpg?width=1249&height=703

Re: Press Ctrl+V or Cmd+V or whatever and post

Posted by: ISSOtm
Date: 2018-12-17 19:13:18
SendPacketNoDelay::
    ldh a, [hSoftResettingPermitted]
    push af
    xor a
    ldh [hSoftResettingPermitted], a
    ; Packet transmission begins by sending $00 then $30
    ; xor a
    ldh [rP1], a
    ld a, $30
    ldh [rP1], a
   
    ld b, SGB_PACKET_SIZE
.sendByte
    ld d, 8 ; 8 bits in a byte
    ld a, [hli] ; Read byte to send
    ld e, a

.sendBit
    ld a, $10 ; 1 bits are sent with $10
    rr e  ; Rotate d and get its lower bit, two birds in one stone!
    jr c, .bitSet
    add a, a ; 0 bits are sent with $20
.bitSet
    ldh [rP1], a
    ld a, $30 ; Terminate pulse
    ldh [rP1], a
    dec d
    jr nz, .sendBit

    dec b
    jr nz, .sendByte

    ; Packets are terminated by a "STOP" 0 bit
    ld a, $20
    ldh [rP1], a
    ld a, $30
    ldh [rP1], a

    pop af
    ldh [hSoftResettingPermitted], a
    ret