Jump to content

Photo

TI-99/4a disk-based CRPG


231 replies to this topic

#201 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Fri Oct 2, 2015 10:24 PM

Well, it is possible to simply use the cartridge as a storage device, running from RAM and just loading from the cart as if it were a fast disk (even slightly easier, since there's no need for a DSR, it's just a memory to memory copy).

 

I did Mr Chin as disk for similar reasons, but I realized after the fact I could have just done a 'copy cart' and people would still have been happy. It felt like cheating at the time. ;)

 

Right, but that still means completely reworking my game to have a different approach to getting data... Which means paging memory in and out for specific uses. It also means I have to be more deliberate about data being static; right now I freely alter static data in memory if need be, since I can... It's really a different style of organizing your program.



#202 Tursi OFFLINE  

Tursi

    River Patroller

  • 4,777 posts
  • HarmlessLion
  • Location:BUR

Posted Fri Oct 2, 2015 10:41 PM

 

Right, but that still means completely reworking my game to have a different approach to getting data... Which means paging memory in and out for specific uses. It also means I have to be more deliberate about data being static; right now I freely alter static data in memory if need be, since I can... It's really a different style of organizing your program.

 

No, your organization remains exactly the same as loading it from disk. The only difference is HOW you load, no change in what you do after loading. :)



#203 Tursi OFFLINE  

Tursi

    River Patroller

  • 4,777 posts
  • HarmlessLion
  • Location:BUR

Posted Fri Oct 2, 2015 10:42 PM

Anyway -- I don't mean to tell you that you need to change anything! Just noted my experience and that there is a way to do it without changing the code structure. :)



#204 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Tue Oct 6, 2015 3:20 PM

Oh no problem Tursi! At the very least, I don't want to even think about changing something when the game isn't even done. :)

 

I did decide recently to forgo one set of map graphics... my "castle/fortress" set. I realized that all the maps I was using it for were basically just big "Oh look, it's a castle!" with nothing of interest.

 

Plus it was so NOT on scale with the town maps that it was jarring. Eliminating it reduces me to four scales in the game, which is slightly more manageable. (World, town, building/dungeon/cave, combat).



#205 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Thu Oct 8, 2015 10:02 AM

Sheesh, I just keep finding more stuff to revise and change... this one was a long time coming though.

 

Instead of having ALL sound data in game, I'm breaking a portion of them off into a record-delimited file system so they can be read in and played as needed. This makes particularly good sense for spell sound effects. Plus it means combat won't have to load a new 2K sound block into VDP as part of set up every time.

 

The main trick is I'll have to burn 64 bytes at least for each sound, even if they don't take up that much space. Sounds have a widely variant amount of size, based on what you're trying to do... some of my sounds HAVE to be local because they're bigger than 64 bytes in size, and I don't really want to come up with a complex system of storing variable-sized sound effects on disk.

 

Plus, now that I'll have the means, I'll want to create a unique sound effect for each spell, so that you can identify the effect by sound alone. Here's a question, is mining existing effects from TI games like Parsec and Alpiner "cool" or "lame"?



#206 --- Ω --- OFFLINE  

--- Ω ---

    TI-Runner

  • 10,491 posts

Posted Thu Oct 8, 2015 10:06 AM

Here's a question, is mining existing effects from TI games like Parsec and Alpiner "cool" or "lame"?

 

:thumbsdown:



#207 Bill Loguidice OFFLINE  

Bill Loguidice

    Quadrunner

  • 5,690 posts
  • Armchair Arcade Managing Director
  • Location:Central New Jersey, USA

Posted Thu Oct 8, 2015 10:15 AM

Plus, now that I'll have the means, I'll want to create a unique sound effect for each spell, so that you can identify the effect by sound alone. Here's a question, is mining existing effects from TI games like Parsec and Alpiner "cool" or "lame"?

 

If they're appropriate, I say go for it. That's obviously not an uncommon practice from back in the day.



#208 Gemintronic OFFLINE  

Gemintronic

    Jason S. - Lead Developer & CEO

  • 8,833 posts

Posted Thu Oct 8, 2015 10:20 AM

Plus, now that I'll have the means, I'll want to create a unique sound effect for each spell, so that you can identify the effect by sound alone. Here's a question, is mining existing effects from TI games like Parsec and Alpiner "cool" or "lame"?

 

On the Atari 2600 it's hard NOT TO stumble upon a previously used sound effect.  I don't know how limited the TIs sound capabilities are.  If the whole point is to make a new, original game then I'd say go with your own.



#209 Opry99er OFFLINE  

Opry99er

    Quadrunner

  • 8,261 posts
  • Location:Cookeville, TN

Posted Thu Oct 8, 2015 10:28 AM

I like the idea, especially since you have chosen the character names you have. :)

It is appropriate, and almost a scavenger hunt, if you will. :)

To have a cool sound effect from an obscure edu cart or something would be kinda neat, IMO.

#210 Asmusr OFFLINE  

Asmusr

    River Patroller

  • 2,438 posts
  • Location:Denmark

Posted Thu Oct 8, 2015 10:28 AM

Just rip them for now, then revisit later when you have the time and/or get some good ideas for your own sfx.



#211 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Thu Oct 8, 2015 10:37 AM

Yeah, I HAVE been making my own, but I have also found that the old TI carts have some surprisingly good work in a much smaller byte space! I do try and retool and update them a bit so they aren't the exact same sound.

 

I would say this, just the fact you only have three voices and two noise types, you're bound to create sounds that are at least SIMILAR to ones you've heard before. So you may as well just roll with it.

 

One sound that I DELIBERATELY lifted was the "general store" jingle from Tunnels of Doom. I pushed it up an octave, but it's otherwise identical. I did that because for me and many 99'ers it was a sound indicating it was time to go shopping!



#212 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Tue Dec 1, 2015 6:24 PM

Been working on maps and graphics of late... part of the challenge of actually writing out all your intended quest lines is that you start revisiting old things and saying "Hang on... I want to do something different."

 

Reworking the map system to have elevation is also challenging. In particular, I was trying to figure out a way to convey depth in a way that was visually convincing in a minimum number of tiles. I think I FINALLY figured out a way, after looking at how Final Fantasy on the NES did it; drop shadows. Sacrificing a handful of characters to create the illusion of depth may end up being worth it.

 

I'm not sure I'll use elevation much other than on world and town maps though. The primary reason to use them on building/dungeon/cavern maps would be to have raised/lowered areas, you'd have some issues with, for example, trying to create chasms. Logically a bridge should let you cross from one to another side, but as the code is it would also let you step off into a lower area with no issues... Unless that area was blocked for walking in the first place.

 

Anyway, I thought I'd share a map of one of the bigger cities in the game I've been experimenting on. It's a work in progress, but feedback is welcome!

 

(Note: Updated map today with latest changes, it's close to finished!)

 

Attached File  pb.png   62.58KB   3 downloads


Edited by adamantyr, Wed Dec 2, 2015 1:55 PM.


#213 Iwantgames:) OFFLINE  

Iwantgames:)

    Stargunner

  • 1,914 posts

Posted Tue Dec 1, 2015 7:06 PM

Nice :) looking forward to this game

#214 InfernalKeith OFFLINE  

InfernalKeith

    Dragonstomper

  • 673 posts
  • Location:Toledo, OH

Posted Tue Dec 1, 2015 7:11 PM

That looks amazing, man.  I want to start exploring that town.  I need to get up to speed before this is ready to play and log some time with Legends and Tunnels of Doom.



#215 Vorticon OFFLINE  

Vorticon

    River Patroller

  • 2,768 posts
  • Location:Eagan, MN, USA

Posted Wed Dec 2, 2015 7:04 AM

This is looking awesome  :thumbsup: I love the idea of elevation. I wonder if this would transfer to the combat system where anyone on higher grounds would have a an advantage... I have not seen that in other classic RPG's, so that would be a cool feature with tactical complications to boost  :D



#216 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Wed Dec 2, 2015 10:42 AM

This is looking awesome  :thumbsup: I love the idea of elevation. I wonder if this would transfer to the combat system where anyone on higher grounds would have a an advantage... I have not seen that in other classic RPG's, so that would be a cool feature with tactical complications to boost  :D

 

Sorry, elevation is limited to travel only, not combat. :D Besides, the Mythbusters kind of proved that "high ground" as a tactical advantage is a myth... at least where lightsabers are concerned. ;)



#217 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Thu Jul 20, 2017 10:55 AM

Sigh... I really need to update more often.
 
Now that I have a SAMS card, I'm re-architecting a lot of the game to give myself some room to do interesting feature additions.
 
For example, I want to have some BIG enemies that occupy four squares in combat rather than one. Before, I didn't have the code space to handle that particular special case, but now I do. I also want multiple monster types on screen, I've never been happy with the single monster concept because it's a bit boring, tactically. It would be great if you had melee enemies with archer types behind them and a magic user all attacking...
 
I'm also consolidating a lot of the data into large files I can load into memory pages. I'm going to store all the graphic tile sets this way, which means I can switch graphics much more quickly and conveniently.
 
After loading some of my graphics programs to my actual hardware, I discovered a few things:
 
One, loading program image files, even 1K in size, is REALLY slow even with a Lotharek drive. Thus pushing it to memory will be a huge save. Maps, dialogue, monster data and graphics will remain on disk since they are rarely used and occupy a large amount of memory. (I could easily fill the entire 1024k space with just data.)
 
Two, a lot of my graphics needed retooling. I've been studying MSX games and while it appears like they were going CRAZY with color mixes, they're actually doing an amazing job creating depth with very little. Most TI guys never get past the "two colors per block" mode of thinking, and it shows. If you're using bitmap mode, take advantage!
 
Three, regrettably, my monitor is dying. The CRT has "blips" once in awhile, where it looks like it wants to power down. It could just be the power supply that's starting to give out. Fortunately I have a really nice spare one I got from the Triton catalog years ago which other than the plastic yellowing is in perfect shape, but now I feel like I need another spare...

#218 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Fri Jul 21, 2017 3:54 PM

Quick example of some of the graphics changes to make things more multi-colored...

 

Before:

 

Attached File  01 Lost Valley.png   17.63KB   2 downloads

 

After:

 

Attached File  00 Lost Vale.png   17.96KB   3 downloads



#219 Willsy OFFLINE  

Willsy

    River Patroller

  • 3,012 posts
  • Location:Uzbekistan (no, really!)

Posted Sat Jul 22, 2017 12:42 AM

You know I've never played a strategy game in my life. Not even Tunnels of Doom. However, I'm really looking forward to learning and playing this game! And it looks fantastic!

#220 Astharot OFFLINE  

Astharot

    Star Raider

  • 74 posts
  • Married
  • Location:Rome

Posted Fri Jul 28, 2017 2:57 AM

Admantry, your new graphic update is near at graphic mode used on msx2!! if you look how example hydelide msx1 version and the some game but enanched for msx2 you look the differnce.. also series ultima is out for msx2 that have v9938 chip no tms 9929. Then poor ti99 you are squeezing it's chip a dead LOL



#221 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Fri Jul 28, 2017 9:09 AM

Thank you! Honestly, I was inspired by MSX1 games. The developers on that platform really learned how to optimize in bitmap mode on the TMS9918A!

 

Right now I'm working on updating my graphics sets to be workable both in emulation and on a classic NTSC display. This is proving more challenging than I thought, but also fun.

 

I had to redo my swamps, for example, so they were more clearly visible in NTSC, as well as find a new color for road tiles that was still discernible against the more green backgrounds of grass and forests.



#222 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Fri Jul 28, 2017 11:45 AM

Another aspect is the luminosity of the colors. I've actually consulted the TI Tech pages TMS9918A page to look at what the relative "strength" of the colors are.

 

Here's a light of colors in term of brightest to darkest:

 

White (1.0)

Gray (0.8 )

Light Yellow (0.8 )

Dark Yellow (0.73)

Light Red (0.67)

Cyan (0.67)

Light Green (0.67)

Medium Red (0.53)

Medium Green (0.53)

Magenta (0.53)

Light Blue (0.53)

Dark Red (0.47)

Dark Green (0.46)

Dark Blue (0.4)

Black (0.0)

 

So for example, If you mixed light yellow with white on the same line or even separate lines, it's not likely you will perceive much difference in NTSC. They're not separate enough in luminosity to be noticeable.

 

Another example: I found that when doing gradient reds, it's actually better to use light and dark red and skip medium entirely. You can SEE the difference between those two, but medium red is too close to both to be of much use.

 

Not that color itself is not important... I tried switching my road tiles to be magenta, but I found that against the green grass and coastal backdrops, it kind of blurred in and wasn't easy to see. I tried medium red instead (which had been freed up) and the contrast of red to green and red to blue worked MUCH better.

 

Some funny things happen too... I had a door graphic which was dark yellow, but with blue "bands" for iron straps across it. For reasons I can't figure out, this tinges the door to be a bit green!



#223 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Sat Jul 29, 2017 9:11 AM

Quick example:

Attached File  20170728_220024.jpg   1.89MB   5 downloads

#224 PeteE OFFLINE  

PeteE

    Star Raider

  • 83 posts
  • Location:Beaverton, OR

Posted Sat Jul 29, 2017 9:43 AM

That looks really good!  And thanks for bringing my attention to the luminance values, I missed that on my initial reading of Thierry's VDP Page.



#225 adamantyr OFFLINE  

adamantyr

    Stargunner

  • Topic Starter
  • 1,156 posts

Posted Wed Aug 9, 2017 10:27 AM

Spent some time putting together all the text for the first disk... Mostly in spreadsheet format at this point; I have a tool I wrote to crunch it down and export it as a binary file I can paste into TI files easily.

 

Unfortunately, the actual amount of compression I got was a bit disappointing... It actually took up MORE disk space to store length 16 strings because half of them are smaller. Creating a separate length 8 table helps a bit, but it also ends up being actually larger than the data.

 

For the larger entries (length 32, 64, and 128) I got much better compression, but overall, 75,500 bytes of text compressed to 61,392 bytes, or 18.7% reduction. Not bad, but I was hoping for closer to 30%...

 

Obviously I could write a better LZW algorithm, or see if I can build a better dictionary... I definitely don't want it to get too heavy though. Hmm...






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users