Author Topic: Open Jazz jackrabbit Casio prizm port  (Read 29862 times)

0 Members and 2 Guests are viewing this topic.

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #15 on: December 18, 2013, 07:25:05 pm »
@DJ Omnimaga (list post) There are a few different versions of jazz jackrabbit released by Epic. So therefor your list may not necessarily correspond with the version others have downloaded. As a general rule of thumb the files you need end with a number. You don't need the documentation or EXE files. Also you do need END.OSC and the FONT*.OFN files. If you get a file not found error add the relevant files.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Open Jazz jackrabbit Casio prizm port
« Reply #16 on: December 18, 2013, 08:05:19 pm »
Oh I just copied everything except the sound files and still got some graphical errors. I did not get any file not found error except when accessing settings, tho, in which case the game sometimes permanently messes up and requires a full reinstall and calculator format.

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #17 on: December 18, 2013, 10:30:58 pm »
The few graphical glitches present are know issues. I do not have much time to work on it right now. I do know that some fonts do not display even though when compiling it for PC instead of for casio by typing make instead of make -f Makefile_casio then the fonts work just fine. Also yes there are minor hud issues that show on both PC and calculator. The only difference in code is that Instead of drawing to the casio's vram it draw's to an SDL surface that like the Casio's LCD display is 384x216 with 16bits per pixel. Also Keoni29 you were wondering how many changes I had to make to get this working on Casio prizm the answer is that it was a moderate change I ended up replacing all SDL functions now reflecting back I really should have just ported used the SDL port for casio prizm that was available. I did have to make changes to the code so that it uses less ram for example I found out that when loading level it takes ~160kb just to hold layout so I had to make this data stored in what is normally the Save/Load VRAM buffer this is used for graphs when you draw graph and exit and go back to the graph you will see it instantly without redraw. This works if and only if you have not changed any formulas or the "Window". The reason it appears instant to the user is because the already drawn graph is stored in that area of RAM. Jazz jackrabbit does not have a need to Save/Load VRAM so I can use it in my program. I also wrote a custom memory allocated that uses the stack it has an array of structs that contain a pointer to memory. When freeing alloacted memory the allocated memory around it will be moved to fill it's place instead of fragmentation.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Open Jazz jackrabbit Casio prizm port
« Reply #18 on: December 19, 2013, 09:54:48 am »
@DJ_O: What site did you get the files from? I got mine from classicdosgames.com and for level 0, it only has LEVEL0.000, LEVEL0.001, LEVEL0.002, and LEVEL0.018...



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Open Jazz jackrabbit Casio prizm port
« Reply #19 on: December 19, 2013, 05:01:38 pm »
I don't remember, sadly D:. It was an abandonware site, tho.

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #20 on: December 19, 2013, 05:40:42 pm »
Ignore the long list like I have said there are multiple versions of jazz jackrabbit you have most likely downloaded the shareware version. I have tested the shareware version and it works just fine.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Open Jazz jackrabbit Casio prizm port
« Reply #21 on: December 19, 2013, 07:30:57 pm »
Ignore the long list like I have said there are multiple versions of jazz jackrabbit you have most likely downloaded the shareware version. I have tested the shareware version and it works just fine.

But after i press new game it loads thumbnails, etc. and then says cannot load file: and then a file which is not displayed long enough for me to read, and then there are no fonts in what i assume to be the level select screen, and then I can play. Also, if I press exit in the level select screen then the next time I open the addin it says "File not found: <stuff>\menu.000-8".

Also, pressing [menu] reboots the calculator.
« Last Edit: December 19, 2013, 07:31:28 pm by flyingfisch »



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #22 on: December 19, 2013, 08:07:05 pm »
Yes there is a known glitch with fonts. Anyways it is ok that there are some thumbnails missing that just means that the version of jazz jackrabbit you downloaded does not have those levels. I would recommend downloading the CD version that has the most levels.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Open Jazz jackrabbit Casio prizm port
« Reply #23 on: December 19, 2013, 08:13:04 pm »
Yes there is a known glitch with fonts. Anyways it is ok that there are some thumbnails missing that just means that the version of jazz jackrabbit you downloaded does not have those levels. I would recommend downloading the CD version that has the most levels.

Ah, ok... will it always reboot the calc on exit?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #24 on: December 19, 2013, 09:25:20 pm »
Yes sometimes exiting seems to have issues occasionally not sure why I will try to fix it at some point in time.
« Last Edit: December 19, 2013, 09:37:00 pm by ProgrammerNerd »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #25 on: December 22, 2013, 10:22:22 am »
Wow, just tried this, it has a huge potential :D

Don't know if there are many bugs (my batteries were low :P), but there's something that struck me. You've put too much frameskip in my opinion. The game runs too fast and not that smooth (the bullet just shows there, then there then is offscreen), and I really think that with less frameskip it would be smoother and more enjoyable :)

Great work so far anyway :D
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #26 on: December 22, 2013, 11:17:32 am »
Actually I did not put any frame skip in. What the game does is it uses RTC_GetTicks() to scale how fast objects move. This way everything moves at the same speed regardless of framerate so if someone overclocks their calculator everything will move at the same speed but they would just get better frame rate. When porting this the game assumes 1000 millisecond ticks so I had to do RTC_GetTicks()*125/16 to scale it to 1000 ms range maybe if there was some way to get more precises ticks then the game would fell smoother. I'd imagine there would be some way to get 1/1024 precision instead of 1/128 which is what I currently get for ticks on the calculator. I am just speculating but you never know.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Open Jazz jackrabbit Casio prizm port
« Reply #27 on: December 22, 2013, 12:12:49 pm »
I personally don't play this game with overclock on, because it just crashes the calc then and then the game becomes unuseable to the point where I have to reinstall it.

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Open Jazz jackrabbit Casio prizm port
« Reply #28 on: January 04, 2014, 12:35:40 pm »
Alright I made a new release there are some slight changes but the main one is the fonts now show up
(This post was in reference to version 1.01)
« Last Edit: May 25, 2014, 12:12:37 pm by ProgrammerNerd »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Open Jazz jackrabbit Casio prizm port
« Reply #29 on: January 04, 2014, 06:07:16 pm »
Ok thanks for this update. :) Do I have to re-install the entire game or just replace the old Casio files with your new ones?