Register - Login
Views: 99383466
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-24-22 02:09:39 AM
Jul - The Cutting Room Floor - The P'Radikus Conflict New poll - New thread - New reply
Next newer thread | Next older thread
Rick
M'Lord, there's a knife in your head!
Level: 152


Posts: 6811/7539
EXP: 43668004
For next: 633656

Since: 02-15-10

From: Maine

Since last post: 113 days
Last activity: 45 days

Posted on 11-05-13 01:42:08 AM (last edited by Rick at 11-05-13 02:27:49 AM) Link | Quote
So! Just recently the authentic source code floppy disk for the Color Dreams game The P'Radikus Conflict was put up for sale on eBay.

Yours truly decided to buy TCRF an early Christmas Present and got the source code instead of someone who wouldn't be as nice and possibly not release it. It was a worthy $236 investment!

We're starting to look through the code now in order to see if there's any little unused pieces at the moment. Stay tuned, there's some juicy tidbits! However, it doesn't seem to be a prototype at the moment. The files are, however, dated between 4/29/90 to 5/29/90, so it's very likely it's the final build.

If you wanna be nice and donate (you don't have to) to help offset this, because this was a pretty big purchase for me at a time when I could be moving into an apartment as soon as a few weeks, my paypal is lefthooktohead@gmail.com and it would be super totally cool of you to do. Thanks. :3

So yeah guys. Merry Early Christmas! I think we might have found a neat tidbit or two already...

____________________


_______________________
| 6811 | 13189 | 1358 | 12 |
Kak

...
Level: 80


Posts: 238/1928
EXP: 4754841
For next: 28128

Since: 09-03-13

From: ???

Since last post: 60 days
Last activity: 56 days

Posted on 11-05-13 04:16:41 AM Link | Quote
Rick is Santa Claus in disguise, and he is already delivering presents, apparently.

Nice one! Let's see if with the source code we can get something similar to the Doom article.

Also, because I'm already super-curious, what is the tidbit?

____________________
devin

Yoshi
i'm mima irl
Level: 112


Posts: 2936/3519
EXP: 14918515
For next: 419690

Since: 04-29-08

Pronouns: any
From: FL

Since last post: 297 days
Last activity: 1 day

Posted on 11-05-13 05:07:12 AM Link | Quote
Yeah here's that thing Rick just mentioned I guess

There's a known cheat code (pause, B U R A D L) which is listed on GameFAQs as giving you the most powerful secondary weapon in the game, but in addition to that it basically gives you maximum ship upgrades, unlimited fuel and ammo, invulnerability, and lets you warp to the P'radikus sector (i.e. the final area) immediately.

That's not the fun part; there is a bit of commented out source code such that using the cheat would have made the game unwinnable, killing the player as soon as they warped to the final area and then showing this instead of the game-over screen:



The "cheaters never prosper" text is still in the ROM, but now unused.

The relevant code is scattered around PRAD.ASM:


INITWARP: LDA     PRADIKUS

BEQ INITWP1
LDA CHEAT
BEQ INITWP1
;cheater!
LDA #H'FF
STA CHEATDIE




[this is part of the ingame loop]


CTRL0:
;;;; LDA CHEATDIE
;;;; BEQ CTRLA
;;;; LDA #0
;;;; STA HASPLAYED ;disable continue!
;;;; JSR KILLPLYR

CTRLA: LDA J1CHG
AND #START
BEQ CTRL1

;pause if START is pressed




STATCHEAT:     LDX     #ENDTXT6 &H'FF

LDY #ENDTXT6 >> 8
JSR DOPRINT
JMP STATDONE

[this is where the ending screen code starts]

STATISTICS: JSR VR_WAIT
JSR KILL_VID
JSR ZAP_SPRITES

LDA #4
JSR XVIDEO

;;;; LDA CHEATDIE
;;;; BNE STATCHEAT

[blah blah]

ENDTXT0: .DB 4, 5, "YOU HAVE BEEN DESTROYED!", -1
ENDTXT1: .DB 4, 5, " CONGRATULATIONS!", -1

[et cetera]

ENDTXT6: .DB 3,14, "CHEATERS NEVER PROSPER...", -1



I guess at some point after commenting out the CHEATDIE stuff, they also shoehorned part of the infinite-everything code into KILLPLYR (which, cheat aside, is what happens when you run out of fuel... except you have infinite of it when using the cheat):


KILLPLYR:  LDA     CHEAT

BNE KP_CHEAT

[blah blah, you're dead]

KP_CHEAT: LDA #99
STA ARMOR
RTS



That's all for now. Not a whole lot of ~crazy hidden fun~ yet.

____________________
Photo by Luc Viatour
devin

Yoshi
i'm mima irl
Level: 112


Posts: 2938/3519
EXP: 14918515
For next: 419690

Since: 04-29-08

Pronouns: any
From: FL

Since last post: 297 days
Last activity: 1 day

Posted on 11-05-13 06:17:17 PM Link | Quote
Posting again to note that I'm also planning to edit the source code to allow it to be easily assembled using ca65 (but still distributing it in its original form, obviously), just to allow people to mess around with it easily (just for you weirdos who want to hack on Color Dreams games for some reason )

____________________
Photo by Luc Viatour
ICEknight
Member
Level: 26


Posts: 52/135
EXP: 97117
For next: 5158

Since: 10-25-11


Since last post: 4.1 years
Last activity: 3.9 years

Posted on 11-05-13 06:58:30 PM Link | Quote
Please do try making a 1:1 image of the floppy if you can, as there might be more traces of deleted code and assets in there.
Rick
M'Lord, there's a knife in your head!
Level: 152


Posts: 6817/7539
EXP: 43668004
For next: 633656

Since: 02-15-10

From: Maine

Since last post: 113 days
Last activity: 45 days

Posted on 11-06-13 03:51:28 AM Link | Quote
I will but it requires me buying a USB floppy drive. Currently the files are only copy-pasted because that's all I can do.

____________________


_______________________
| 6817 | 13183 | 1359 | 12 |
devin

Yoshi
i'm mima irl
Level: 112


Posts: 2939/3519
EXP: 14918515
For next: 419690

Since: 04-29-08

Pronouns: any
From: FL

Since last post: 297 days
Last activity: 1 day

Posted on 11-07-13 01:35:10 AM Link | Quote
Last night I made the ca65-compatible assembly and played around with it a bit.

Just for fun I restored some commented-out code and data that displayed now-unused logo sprites for Bunch Games (which was supposed to be Color Dreams' attempt at saving their reputation by dumping all of their exceptionally poor games onto a different label...)



After it was removed, most of the same sprite indices were reused for the blinking PRESS START sprites. (I also removed the Color Dreams copyright text in this screenshot.)

There's a bunch (huhuhuh) more commented-out (and subsequently reworked) code scattered around elsewhere, but I haven't studied it too much; it'll be of a lot more interest to people who are actually familiar with this game

____________________
Photo by Luc Viatour
Rick
M'Lord, there's a knife in your head!
Level: 152


Posts: 6820/7539
EXP: 43668004
For next: 633656

Since: 02-15-10

From: Maine

Since last post: 113 days
Last activity: 45 days

Posted on 11-07-13 01:41:08 AM Link | Quote
I'm hoping that someone around here actually is familiar with the game to some extent pops by if that's the case.

But it's actually really cool that there's a bunch of commented out code. These are the juicy tidbits I was hoping would be in here! :3!

____________________


_______________________
| 6820 | 13180 | 1360 | 12 |
devin

Yoshi
i'm mima irl
Level: 112


Posts: 2969/3519
EXP: 14918515
For next: 419690

Since: 04-29-08

Pronouns: any
From: FL

Since last post: 297 days
Last activity: 1 day

Posted on 12-21-13 12:25:02 AM Link | Quote
Here it is -> http://www.romhacking.net/documents/667/

ca65 assembler version (mine) -> http://dl.dropboxusercontent.com/u/43107309/pradikus-cc65.zip

____________________
Photo by Luc Viatour
Next newer thread | Next older thread
Jul - The Cutting Room Floor - The P'Radikus Conflict New poll - New thread - New reply


Rusted Logic

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

31 database queries, 3 query cache hits.
Query execution time:  0.088251 seconds
Script execution time:  0.018587 seconds
Total render time:  0.106838 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 193 - 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 193 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 195 column 9 - Warning: missing <tr>
line 213 column 13 - Warning: missing <tr>
line 214 column 102 - Warning: unescaped & or unknown entity "&postid"
line 216 column 74 - Warning: <style> isn't allowed in <td> elements
line 216 column 9 - Info: <td> previously mentioned
line 223 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 225 column 9 - Warning: missing <tr>
line 243 column 13 - Warning: missing <tr>
line 244 column 102 - Warning: unescaped & or unknown entity "&postid"
line 246 column 546 - Warning: missing </span> before <blockquote>
line 258 column 1528 - Warning: inserting implicit <span>
line 258 column 1528 - Warning: missing </span> before <hr>
line 266 column 1 - Warning: inserting implicit <span>
line 266 column 1 - Warning: missing </span> before <blockquote>
line 267 column 1812 - Warning: inserting implicit <span>
line 267 column 1812 - Warning: missing </span> before <hr>
line 282 column 1 - Warning: inserting implicit <span>
line 282 column 1 - Warning: missing </span> before <blockquote>
line 283 column 2227 - Warning: inserting implicit <span>
line 283 column 2227 - Warning: missing </span> before <hr>
line 283 column 2274 - Warning: unescaped & or unknown entity "&H"
line 309 column 1 - Warning: inserting implicit <span>
line 309 column 1 - Warning: missing </span> before <blockquote>
line 312 column 3271 - Warning: inserting implicit <span>
line 312 column 3271 - Warning: missing </span> before <hr>
line 321 column 1 - Warning: inserting implicit <span>
line 325 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 327 column 9 - Warning: missing <tr>
line 345 column 13 - Warning: missing <tr>
line 346 column 102 - Warning: unescaped & or unknown entity "&postid"
line 351 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 353 column 9 - Warning: missing <tr>
line 371 column 13 - Warning: missing <tr>
line 372 column 102 - Warning: unescaped & or unknown entity "&postid"
line 377 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 379 column 9 - Warning: missing <tr>
line 397 column 13 - Warning: missing <tr>
line 398 column 102 - Warning: unescaped & or unknown entity "&postid"
line 406 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 408 column 9 - Warning: missing <tr>
line 426 column 13 - Warning: missing <tr>
line 427 column 102 - Warning: unescaped & or unknown entity "&postid"
line 440 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 442 column 9 - Warning: missing <tr>
line 460 column 13 - Warning: missing <tr>
line 461 column 102 - Warning: unescaped & or unknown entity "&postid"
line 471 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 473 column 9 - Warning: missing <tr>
line 491 column 13 - Warning: missing <tr>
line 492 column 102 - Warning: unescaped & or unknown entity "&postid"
line 499 column 17 - Warning: missing <tr>
line 499 column 17 - Warning: discarding unexpected <table>
line 502 column 35 - Warning: missing <tr>
line 502 column 50 - Warning: missing </font> before </td>
line 502 column 91 - Warning: missing </font> before </table>
line 504 column 35 - Warning: missing <tr>
line 504 column 50 - Warning: missing </font> before </td>
line 505 column 37 - Warning: unescaped & or unknown entity "&id"
line 504 column 193 - Warning: missing </font> before </table>
line 506 column 17 - Warning: discarding unexpected </textarea>
line 506 column 28 - Warning: discarding unexpected </form>
line 506 column 35 - Warning: discarding unexpected </embed>
line 506 column 43 - Warning: discarding unexpected </noembed>
line 506 column 53 - Warning: discarding unexpected </noscript>
line 506 column 64 - Warning: discarding unexpected </noembed>
line 506 column 74 - Warning: discarding unexpected </embed>
line 506 column 82 - Warning: discarding unexpected </table>
line 506 column 90 - Warning: discarding unexpected </table>
line 508 column 9 - Warning: missing </font> before <table>
line 520 column 25 - Warning: discarding unexpected </font>
line 529 column 57 - Warning: discarding unexpected </font>
line 507 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 161 column 23 - Warning: <img> lacks "alt" attribute
line 161 column 64 - Warning: <img> lacks "alt" attribute
line 161 column 113 - Warning: <img> lacks "alt" attribute
line 161 column 163 - Warning: <img> lacks "alt" attribute
line 162 column 11 - Warning: <img> lacks "alt" attribute
line 172 column 15 - Warning: <img> lacks "alt" attribute
line 176 column 92 - Warning: <font> attribute "color" had invalid value "e2d315" and has been replaced
line 187 column 1178 - Warning: <img> proprietary attribute value "absmiddle"
line 187 column 1178 - Warning: <img> lacks "alt" attribute
line 187 column 1260 - Warning: <img> lacks "alt" attribute
line 190 column 1391 - Warning: <img> lacks "alt" attribute
line 197 column 11 - Warning: <img> lacks "alt" attribute
line 198 column 22 - Warning: <img> lacks "alt" attribute
line 198 column 63 - Warning: <img> lacks "alt" attribute
line 198 column 112 - Warning: <img> lacks "alt" attribute
line 198 column 162 - Warning: <img> lacks "alt" attribute
line 199 column 11 - Warning: <img> lacks "alt" attribute
line 209 column 15 - Warning: <img> lacks "alt" attribute
line 216 column 1917 - Warning: <img> proprietary attribute value "absmiddle"
line 216 column 1917 - Warning: <img> lacks "alt" attribute
line 227 column 11 - Warning: <img> lacks "alt" attribute
line 228 column 23 - Warning: <img> lacks "alt" attribute
line 228 column 64 - Warning: <img> lacks "alt" attribute
line 228 column 113 - Warning: <img> lacks "alt" attribute
line 228 column 163 - Warning: <img> lacks "alt" attribute
line 229 column 11 - Warning: <img> lacks "alt" attribute
line 239 column 15 - Warning: <img> lacks "alt" attribute
line 252 column 1260 - Warning: <img> lacks "alt" attribute
line 329 column 11 - Warning: <img> lacks "alt" attribute
line 330 column 23 - Warning: <img> lacks "alt" attribute
line 330 column 64 - Warning: <img> lacks "alt" attribute
line 330 column 113 - Warning: <img> lacks "alt" attribute
line 330 column 163 - Warning: <img> lacks "alt" attribute
line 331 column 11 - Warning: <img> lacks "alt" attribute
line 341 column 15 - Warning: <img> lacks "alt" attribute
line 348 column 918 - Warning: <img> proprietary attribute value "absmiddle"
line 348 column 918 - Warning: <img> lacks "alt" attribute
line 356 column 22 - Warning: <img> lacks "alt" attribute
line 356 column 63 - Warning: <img> lacks "alt" attribute
line 356 column 112 - Warning: <img> lacks "alt" attribute
line 356 column 162 - Warning: <img> lacks "alt" attribute
line 367 column 15 - Warning: <img> lacks "alt" attribute
line 382 column 23 - Warning: <img> lacks "alt" attribute
line 382 column 64 - Warning: <img> lacks "alt" attribute
line 382 column 113 - Warning: <img> lacks "alt" attribute
line 382 column 163 - Warning: <img> lacks "alt" attribute
line 383 column 11 - Warning: <img> lacks "alt" attribute
line 393 column 15 - Warning: <img> lacks "alt" attribute
line 400 column 228 - Warning: <img> lacks "alt" attribute
line 403 column 359 - Warning: <img> lacks "alt" attribute
line 410 column 11 - Warning: <img> lacks "alt" attribute
line 411 column 23 - Warning: <img> lacks "alt" attribute
line 411 column 64 - Warning: <img> lacks "alt" attribute
line 411 column 113 - Warning: <img> lacks "alt" attribute
line 411 column 163 - Warning: <img> lacks "alt" attribute
line 412 column 11 - Warning: <img> lacks "alt" attribute
line 422 column 15 - Warning: <img> lacks "alt" attribute
line 433 column 971 - Warning: <img> lacks "alt" attribute
line 437 column 1452 - Warning: <img> proprietary attribute value "absmiddle"
line 437 column 1452 - Warning: <img> lacks "alt" attribute
line 445 column 23 - Warning: <img> lacks "alt" attribute
line 445 column 64 - Warning: <img> lacks "alt" attribute
line 445 column 113 - Warning: <img> lacks "alt" attribute
line 445 column 163 - Warning: <img> lacks "alt" attribute
line 446 column 11 - Warning: <img> lacks "alt" attribute
line 456 column 15 - Warning: <img> lacks "alt" attribute
line 465 column 377 - Warning: <img> lacks "alt" attribute
line 468 column 508 - Warning: <img> lacks "alt" attribute
line 475 column 11 - Warning: <img> lacks "alt" attribute
line 476 column 23 - Warning: <img> lacks "alt" attribute
line 476 column 64 - Warning: <img> lacks "alt" attribute
line 476 column 113 - Warning: <img> lacks "alt" attribute
line 476 column 163 - Warning: <img> lacks "alt" attribute
line 477 column 11 - Warning: <img> lacks "alt" attribute
line 487 column 15 - Warning: <img> lacks "alt" attribute
line 505 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 505 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 505 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 514 column 25 - Warning: <img> lacks "alt" attribute
line 519 column 267 - Warning: <img> lacks "alt" attribute
line 149 column 50 - Warning: trimming empty <font>
line 258 column 1528 - Warning: trimming empty <span>
line 267 column 1812 - Warning: trimming empty <span>
line 283 column 2227 - Warning: trimming empty <span>
line 312 column 3271 - Warning: trimming empty <span>
line 499 column 17 - Warning: trimming empty <tr>
line 502 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 214 column 27 - Warning: <nobr> is not approved by W3C
line 244 column 27 - Warning: <nobr> is not approved by W3C
line 346 column 27 - Warning: <nobr> is not approved by W3C
line 372 column 27 - Warning: <nobr> is not approved by W3C
line 398 column 27 - Warning: <nobr> is not approved by W3C
line 427 column 27 - Warning: <nobr> is not approved by W3C
line 461 column 27 - Warning: <nobr> is not approved by W3C
line 492 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 197 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