Page 1 of 2

Diskette

Posted: August 29th, 2014, 6:22 pm
by Bonechip
HA! Very Cool!

In the folder: C:\Users\XXXXXXX\Documents\My Games\Wasteland2\Drive1

There is a file called: Diskette (with no extension)

Here is what is in it when viewed with notepad:

Image

Re: Diskette

Posted: August 29th, 2014, 8:32 pm
by Drool
That... that is awesome.

Re: Diskette

Posted: August 29th, 2014, 11:39 pm
by Crosmando
Wait, but what does it mean exactly? They made a mini-game that can be played within WL2?

Re: Diskette

Posted: August 30th, 2014, 12:18 am
by ShaneD53
They've emulated a computer within Wasteland 2 that the user can write real programming code for.

Re: Diskette

Posted: August 30th, 2014, 4:13 am
by sumbitch
:shock: Awesome!

Re: Diskette

Posted: August 30th, 2014, 9:51 am
by Tangaroa
Oh, that's what that terminal in the museum is all about. Ultimate easter egg!

Re: Diskette

Posted: August 31st, 2014, 5:38 am
by The Tallest
This thread needs to be stickied so that people can pay their programs for everyone to try in game. This is so awesome. Too bad I can't program but it'll be cool trying out everyone's programs they make.

Re: Diskette

Posted: August 31st, 2014, 8:35 pm
by tuluse
hah, great find!

Re: Diskette

Posted: September 2nd, 2014, 5:27 pm
by Joby
The game is afoot...

Binary file in hex editor:
Image

assembly:

Code: Select all

* = $7000

lda $ff02
lda #$40
sta $ff0d

sec
lda #255
spinloop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sbc #1
bne spinloop

lda $ff0c

lda #$41
sta $021a
lda #$47
sta $021b
lda #$41
sta $021c
lda #$56
sta $021d
lda #$45
sta $021e
lda #$5d
sta $0220
lda #$5b
sta $0221

brk
Ruby script:

Code: Select all

program = [0xAD, 0x02, 0xFF, 0xA9, 0x40, 0x8D, 0x0D, 0xFF, 
0x38, 0xA9, 0xFF, 0xEA, 0xEA, 0xEA, 0xEA, 0xEA,
0xEA, 0xEA, 0xEA, 0xEA, 0xEA, 0xE9, 0x01, 0xD0, 
0xF2, 0xAD, 0x0C, 0xFF, 0xA9, 0x41, 0x8D, 0x1A,
0x02, 0xA9, 0x47, 0x8D, 0x1B, 0x02, 0xA9, 0x41, 
0x8D, 0x1C, 0x02, 0xA9, 0x56, 0x8D, 0x1D, 0x02,
0xA9, 0x45, 0x8D, 0x1E, 0x02, 0xA9, 0x5D, 0x8D,
0x20, 0x02, 0xA9, 0x5B, 0x8D, 0x21, 0x02, 0x00]

File.open("./Diskette",'wb'){|fh|
	fh.write(program.pack('C*'))
}
I might make this the boot screen in the future. ;)

Re: Diskette

Posted: September 2nd, 2014, 6:06 pm
by slitherrr
A very quick Google result: http://6502.org/tutorials/

Re: Diskette

Posted: September 2nd, 2014, 8:47 pm
by Drool
Flashbacks to rooting around in the disks with the FASTBOOT cartridge's editor program...

And ruining more than one game by tweaking the wrong thing >_>

Re: Diskette

Posted: September 5th, 2014, 8:38 am
by Tangaroa
Joby wrote:The game is afoot...
I might make this the boot screen in the future. ;)
Screenshot

EDIT: Right, Apple II. Just a hair too young I guess to get the joke immediately.

Re: Diskette

Posted: September 5th, 2014, 11:44 am
by Joby
Tangaroa wrote: Screenshot

EDIT: Right, Apple II. Just a hair too young I guess to get the joke immediately.
Haha! Yeah... my first computer was an Apple ][+ so it's a bit of a tribute.

But, let's be honest. Kids these days and all their gigahertz and giga this and giga that, twerking while playing their co-op first-person shooter on their phone. I dare them to play Zork or Wizardry! They wouldn't last 5 minutes in a real game like we had back in the day! No Internet to Google solutions to puzzles. That was how real games were played! On real computers that had 4 colors... if that!

Re: Diskette

Posted: September 5th, 2014, 9:28 pm
by Drool
Joby wrote: On real computers that had 4 colors... if that!
Let's hear it for the green-and-black Zeniths!

Re: Diskette

Posted: September 6th, 2014, 6:02 am
by Woolfe
Joby wrote:
Tangaroa wrote: Screenshot

EDIT: Right, Apple II. Just a hair too young I guess to get the joke immediately.
Haha! Yeah... my first computer was an Apple ][+ so it's a bit of a tribute.

But, let's be honest. Kids these days and all their gigahertz and giga this and giga that, twerking while playing their co-op first-person shooter on their phone. I dare them to play Zork or Wizardry! They wouldn't last 5 minutes in a real game like we had back in the day! No Internet to Google solutions to puzzles. That was how real games were played! On real computers that had 4 colors... if that!
See I started on a c64... Just as hard, but I was spoilt with lush 16 colours and sound from the likes of Rob Hubbard and Fred Gray

(Commando and Enigma force are still awesome. I recommend Instant Remedy's remix of Commando and Lman and Sunflower's Enigma Force)

Re: Diskette

Posted: September 6th, 2014, 10:28 am
by Bonechip
Woolfe wrote:
See I started on a c64... Just as hard, but I was spoilt with lush 16 colours and sound from the likes of Rob Hubbard and Fred Gray

(Commando and Enigma force are still awesome. I recommend Instant Remedy's remix of Commando and Lman and Sunflower's Enigma Force)
I originally started on a TI99/4A, graduated to Commodore64/128, and eventually PC's.

Fun days :)

Re: Diskette

Posted: September 6th, 2014, 11:06 am
by Gizmo
Woolfe wrote:See I started on a c64... Just as hard, but I was spoilt with lush 16 colours and sound from the likes of Rob Hubbard and Fred Gray

(Commando and Enigma force are still awesome. I recommend Instant Remedy's remix of Commando and Lman and Sunflower's Enigma Force)
There were even some games that ran on four color CGA hardware, that exploited screen artifacts on CRT monitors to simulate more than four colors. I had a commodore at one point, but mostly had a coco2/3 and then Tandys. (Back in the days of $200 floppy drives that stored 180kb.)

Re: Diskette

Posted: September 6th, 2014, 9:35 pm
by Drool
So, the completed programs will be accessible in-game via a terminal in the Ranger Center? In Arizona? Will there be another terminal in LA, or will our only access point be locked out 40% through the game?

Re: Diskette

Posted: September 8th, 2014, 9:58 am
by Joby
Drool wrote:So, the completed programs will be accessible in-game via a terminal in the Ranger Center? In Arizona? Will there be another terminal in LA, or will our only access point be locked out 40% through the game?
There's also a terminal at the end of the game. But in general, if you want to play with programs/programming, you should keep a save handy.

Re: Diskette

Posted: September 17th, 2014, 9:09 am
by Wile
This is really interesting! Too bad, that assembly code makes my head hurt, as I am spoiled by modern programming languages and how much easier they are to read compared to assembly... :( I suppose this could be good excuse to learn assembly, though!