Desolate port from TI-83 Plus

Show us what you're working on, (preferably with screenshots).
Post Reply
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Desolate port from TI-83 Plus

Post by nzeemin »

Hello there.
Recently I ported a game from TI-83 Plus scientific calculator to ZX Spectrum 48K.

Desolate
Top-down Adventure/RPG in Sci-Fi setting.
Author of the original: Patrick Prendergast (tr1p1ea).
The Desolate game is definitely one of the best games for these devices.

Video of the original:
https://youtu.be/5UHqPMxeZnY

The conversion was done almost 1-to-1, nothing fancy.
Game screen scaled from 94 x 64 to 192 x 128 pixels, so tiles/sprites scaled from 8x8 x 4grays to 16x16 x BW.
My goal was to bring the good game to the ZX platform. Also, that's my first ZX game.

Screenshots for the ported version.

Image Image Image

Image Image

Code repository: https://github.com/nzeemin/spectrum-desolate

Download TAP and TZX: https://github.com/nzeemin/spectrum-des ... elease.zip
User avatar
pavero
Dynamite Dan
Posts: 1586
Joined: Sat Dec 09, 2017 11:49 pm
Location: The Czech Republic
Contact:

Desolate

Post by pavero »

It is an adventure / RPG game with a sci-fi setting and a top-down view.
The game's author, Patrick Prendergast (tr1p1ea), wrote and released it in 2004 for the TI-83/84 Plus scientific calculators.
This is by far one of the best games for these devices, if not the best.

https://nzeemin.github.io/desolate.html

ZX Spectrum Port
https://github.com/nzeemin/spectrum-desolate
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate

Post by nzeemin »

Thanks!
Now we have two topics on this, here's mine: viewtopic.php?t=4263
User avatar
PeterJ
Site Admin
Posts: 6877
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Desolate

Post by PeterJ »

Topics merged by PJ - 10-02-21 @11:00
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate port from TI-83 Plus

Post by nzeemin »

Desolate Walkthrough at RZX Archive channel:

[media]https://youtu.be/41zymtzSNes[/media]
User avatar
XTM
Manic Miner
Posts: 789
Joined: Mon Jun 22, 2020 12:09 am
Location: Cologne, Germany
Contact:

Re: Desolate port from TI-83 Plus

Post by XTM »

Quite refreshing, this game looks very different from most that are released these days. Reminds me a bit of Dead Space or Prey (not Speccy games).
User avatar
stupidget
Dynamite Dan
Posts: 1640
Joined: Wed Jan 24, 2018 2:09 pm
Location: Sunny Wolverhampton

Re: Desolate port from TI-83 Plus

Post by stupidget »

I love the graphical style of this game.
User avatar
pavero
Dynamite Dan
Posts: 1586
Joined: Sat Dec 09, 2017 11:49 pm
Location: The Czech Republic
Contact:

Re: Desolate port from TI-83 Plus

Post by pavero »

[mention]nzeemin[/mention]

I think I have collected all 24 items, but at the end of the RZX we can see 23/24.

Is it a bug or have I missed something?
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate port from TI-83 Plus

Post by nzeemin »

pavero wrote: Wed Feb 10, 2021 6:56 pm @nzeemin

I think I have collected all 24 items, but at the end of the RZX we can see 23/24.

Is it a bug or have I missed something?
Yeah, looks like a bug :(
Not a major though, the "Sherlock Holmes" achievement detected as 20+ items collected.
Kozelek
Drutt
Posts: 20
Joined: Mon Mar 05, 2018 8:45 pm

Desolate

Post by Kozelek »

Does anybody know anything about the game "Desolate"?

I've only just found out about it in this page of "Speecy Screenshot Maps": https://maps.speccy.cz/map.php?id=Desolate
There is a link to download the game from there: https://maps.speccy.cz/games/Desolate.tap.zip
I've just played it and I think it is a surprisingly fun graphic adventure style game for the ZX Spectrum with an intriging Aliens-based storyline, and I highly recommend it!
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Desolate port from TI-83 Plus

Post by Sparky »

How did you translate it?
Was it by doing it visually or recompiling?
It's great BTW!
Alex
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Desolate

Post by Sparky »

Alex
Kozelek
Drutt
Posts: 20
Joined: Mon Mar 05, 2018 8:45 pm

Re: Desolate

Post by Kozelek »

Thanks!
I didn't see it neither in "Releases" nor "Updates", and there was no page for the game itself, so I really thought it went unnoticed. Glad that wasn't the case.
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate port from TI-83 Plus

Post by nzeemin »

Sparky wrote: Thu Feb 11, 2021 12:24 pm How did you translate it?
Was it by doing it visually or recompiling?
It's great BTW!
I assume the question is about how did I port the game, on technical level.
In short - recompiling.

First I spent like two weeks trying to understand the original: saved several dumps from the emulator, analyzed the files with small C# program to visualize the memory as a bitmap, and to detect changed areas; spent some time commenting the code with Skoolkit.
After that, I started to form the code for ZX Spectrum from code fragments from the Skoolkit HTML output.
I prepared the custom font - TI calsulators have BIOS calls to write chars/strings on the screen so I had to prepare a cusom proportional font and a procedure to draw a char and a string. Also some other BIOS calls was used like generate a random number, or print a number (for health value), so I had to write my own instead.
I wrote the procedure to copy "shadow" screen onto the real ZX screen, at first it was on pop/push-es, but later I re-wrote it on simple ldi-s.
Copying the code I always made wure it compiles - pasmo used as a compiler. I tested the code per-procedure when I could.
To convert the graphics I wrote some C# code, first to extract the graphics and then to convert tiles/sprites from bitmaps to DB statements in the code. The tiles/sprites was resized from 8x8 x 4colors to 16x16 x 2colors, so I also did some work in Paint.net to smooth the graphics after the scaling.
Data like rooms and room descriptions was also prepared with C#, directly from original dumps.
So step-by-step I made all the code copied and working.
After that - a lot of testing, and some minor improvements over the original.
Finally, the last stage was to pack everything with LZSA1, to make the loading file like 2-times shorter.
VSCode was used as a primary editor, with Z80 syntax highlighting, and a useful plugin counting CPU cycles for selected instructions.

Hope I answered the question :)
User avatar
PeterJ
Site Admin
Posts: 6877
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Desolate

Post by PeterJ »

Kozelek wrote: Thu Feb 11, 2021 1:06 pm Thanks!
I didn't see it neither in "Releases" nor "Updates", and there was no page for the game itself, so I really thought it went unnoticed. Glad that wasn't the case.
The game only hot announced non the 9th February. Probably too late for yesterday's update. It will be included in the next one.
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate port from TI-83 Plus

Post by nzeemin »

Guys, don't know whom I should ask about that.
That's about the update in the database.

Now we have the game listed in the database - https://spectrumcomputing.co.uk/entry/3 ... m/Desolate
The problem I see is about authors, it seems a little messy.
Currently it lists tr1p1ea as an author, and tr1p1ea listed as a nickname for nzeemin. Also MaxCoderz listed as a publisher.

And here's what's in reality.
tr1p1ea is author of the original game, he's a real person - see https://twitter.com/tr1p1ea
tr1p1ea participating in MaxCoders group - https://maxcoderz.org/
Original game was creaded by tr1p1ea, and published with credits to MaxCoderz group.
The port created by me, nzeemin.

So, tr1p1ea is not my nickname, that's different person. Also, MaxCoderz are not publishers of the ZX game.
We can list both me and tr1p1ea as an authors, that will be fair I think.
arj0n
Drutt
Posts: 2
Joined: Mon Feb 15, 2021 9:35 pm

Re: Desolate port from TI-83 Plus

Post by arj0n »

@nzeemin

Great game (port)!
I was wondering:
  • Are bullets unlimited once you got a gun?
  • What (how many) achievements can be unlocked and what triggers each achievement?
As for the achievements, I do know (only) of these:
Spoiler
Sherlock Holmes achievement: collect 20+ items
Running Scared achievement: ?
Terminator achievement: ?
Survivor achievement: Finish the game (?)
-arj0n
User avatar
Einar Saukas
Bugaboo
Posts: 3119
Joined: Wed Nov 15, 2017 2:48 pm

Re: Desolate port from TI-83 Plus

Post by Einar Saukas »

nzeemin wrote: Sun Feb 14, 2021 3:08 pm Guys, don't know whom I should ask about that.
That's about the update in the database.
My apologies. I'm notifying [mention]R-Tape[/mention] and we will get it fixed in the next ZXDB update ASAP.
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate port from TI-83 Plus

Post by nzeemin »

arj0n wrote: Mon Feb 15, 2021 9:46 pm @nzeemin

Great game (port)!
I was wondering:
  • Are bullets unlimited once you got a gun?
  • What (how many) achievements can be unlocked and what triggers each achievement?
Thank you!

Yes, bullets are unlimited.

Achievements are:
Spoiler
"Sherlock Holmes" (great) - 20+ items
"Sir Miss-A-Lot"- less than 20 items collected
"Terminator" (great) - 50+ enemies killed
"Running Scared" - less than 50 enemies killed
"Survivor" (grear) - zero times dead
"Over & Over Again" - more than zero times dead
And three "great" achievenets give you an extended ending.
arj0n
Drutt
Posts: 2
Joined: Mon Feb 15, 2021 9:35 pm

Re: Desolate port from TI-83 Plus

Post by arj0n »

Ah, thanx for the achievement info.

I was also wondering:
While having picked up 25 items, the ending screen shows "Items Found (/24): 00023.
As the original game states (in the readme) there are 24 items in total, I guess the gun (ion phaser) is most likely not count as an item to be found?
So not counting the gun, the end game screen states that 23 items have been found while in fact 24 items have been found.
A bug or is one of the items a 'red herring'?

Here a list of the found 25 items (gun incl.):
Spoiler
Air lock tool, Box of Power Cells, Card reader, 16 Data cartridges, Duck idol, Ion Phaser, Life Support Data Disk, Pile of Parts, Power drill & Rubik's cube.
nzeemin
Drutt
Posts: 10
Joined: Mon Feb 08, 2021 7:06 pm
Location: Moscow
Contact:

Re: Desolate port from TI-83 Plus

Post by nzeemin »

arj0n wrote: Tue Feb 16, 2021 9:02 am I was also wondering:
While having picked up 25 items, the ending screen shows "Items Found (/24): 00023.
Miscount of items on the final screen is a known bug, but thanks for paying attention anyway!
Post Reply