Author Topic: Jumpman  (Read 50780 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55820
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Jumpman
« Reply #285 on: February 05, 2013, 04:19:56 am »
Darn that looks really great. :) I haven't tried it yet due to lack of time and being tired but I really need to ASAP.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Jumpman
« Reply #286 on: February 05, 2013, 06:24:13 am »
I like the Apogee style font. It's nice and legible, and I too think it'd be a shame not to make more use of it. :)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Jumpman
« Reply #287 on: February 10, 2013, 06:35:31 pm »
I agree, the Apogee font looks great. I don't think 20 characters is terribly strict of a limit anyway :)

The levels you have look amazing. I didn't even realize you were doing exact clones until you mentioned that the Walls level was part of Jumpman Junior, but now that I've looked up screenshots, I have to say you did an insanely good job at replicating them!

Offline Ranman

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: Jumpman
« Reply #288 on: February 20, 2013, 12:13:31 am »
I agree, the Apogee font looks great. I don't think 20 characters is terribly strict of a limit anyway :)

The levels you have look amazing. I didn't even realize you were doing exact clones until you mentioned that the Walls level was part of Jumpman Junior, but now that I've looked up screenshots, I have to say you did an insanely good job at replicating them!

Thanks so much Deep Thought. I'm doing my best to recreate the levels from the original C64 versions. I have to trim a bit vertical wise -- the TI-89 LCD is effectively about 15% shorter than the C64 for my remake.

With that said... Things have been progressing (a little slower than I would like) mostly on some behind the scenes things such as the creation of all of the level packs (8 level packs in all). I can now compile/make all my levels packs with a simple double click on a single BAT file -- you gotta love BAT files.

Here are some screenies:



Here is a snippet from my BAT file:

Code: [Select]
tprbuilder -v -DJM_BEGINNER_1_4 jm_levels.tpr
ttpack jm_levels.z89 jm_beg_1_4.tt
copy /b jm_level_marker.txt + jm_beg_1_4.txt + jm_pad_4.bin + jm_beg_1_4.tt jm_beg_1_4.bin
tovar -89 jml jm_beg_1_4.bin jmb1

Line 1: tprbuilder -DJM_BEGINNER_1_4 jm_levels.tpr
This line uses a command line tool called tprbuilder from the GCC4TI & TIGGC IDEs to build my project called jm_levels.tpr (tpr is the file extension for GCC4TI/TIGCC project files) The -D option passes in a macro called JM_BEGINNER_1_4 (essentially the same thing as #define JM_BEGINNER_1_4 in C source code). This macro is used by the C preprocessor; and it allows me to specify at compile time which C code (in this case, level data) will and will not be included in the output file. It outputs a file named jm_levels.z89.

Line 2: ttpack jm_levels.z89 jm_beg_1_4.tt
This line uses a tool called TTPack v1.03 in the TIGCC Tools Suite v1.31 by Thomas Nussbaumer to compress the contents of jm_levels.z89 into a file called jm_beg_1_4.tt.

Line 3: copy /b jm_level_marker.txt + jm_beg_1_4.txt + jm_pad_4.bin + jm_beg_1_4.tt jm_beg_1_4.bin
This line basically uses the DOS copy command to concatenate 4 files in binary mode. Jm_level_marker.txt contains a magic number to mark the location of the long name of the level pack. The name of the level pack is contained in jm_beg_1_4.txt. Jm_pad_4.bin contains a 4 byte padding of zeroes. This simply provides separation of the level pack name and the compressed level pack contents (it also gives me a NULL just in case the level pack name is not NULL terminated). And jm_beg_1_4.tt contains the compressed level pack from the previous line. This is all copied/concatenated into a a file called jm_beg_1_4.bin.

Line 4: tovar -89 jml jm_beg_1_4.bin jmb1
This line uses a utility called "tovar" (aka TTBin2OTH) also in the TIGCC Tools Suite by Thomas Nussbaumer to convert the binary file output from the previous line to a variable (file) that the calculator will understand. The output file will be named jmb1.89y. On the calc, the file will have the name jmb1.jml.

All of that to generate a single level pack file. I have to repeat all 4 lines for every level pack.

I hope these details will help someone in the future. :)
 
« Last Edit: February 20, 2013, 02:14:19 am by Ranman »
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Jumpman
« Reply #289 on: February 20, 2013, 01:50:13 am »
For those who may want to replicate the process: ttpack and friends are now integrated in GCC4TI, where such tools have always belonged, but the integration in TIGCC "never got done", like many other things.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Ranman

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: Jumpman
« Reply #290 on: February 20, 2013, 02:06:44 am »
For those who may want to replicate the process: ttpack and friends are now integrated in GCC4TI, where such tools have always belonged, but the integration in TIGCC "never got done", like many other things.

Hmmm... I feel silly. I've been using GCC4TI for years now, and just now noticed (thanks to your post) that those tools are included with it.  :banghead: :-* ;D
« Last Edit: February 20, 2013, 02:15:02 am by Ranman »
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Jumpman
« Reply #291 on: February 20, 2013, 02:52:19 am »
;D Silly Ranman. :P

*Edit* New demo soon?
« Last Edit: February 20, 2013, 02:52:58 am by Art_of_camelot »