Cascade Path: Wagon Train

im assuming


are the files that contain the modified library?

i want to look at the code long enough to figure out what its doing than compare it to the arduboy2 library and try my darndest to port it, might be a good way for me to learn something

If you want to do the quick fix, then you only need to modify core.cpp, by substituting paintScreen() code from the the Arduboy library.

If you want to port the game to use the Arduboy2 library, you would delete the local files: ArduboyLowMem.h, ArduboyLowMem.cpp, core.h, core.cpp and glcdfont.c. You would then follow the instructions in the Migrating a sketch from Arduboy library V1.1 to Arduboy2 section of the Arduboy2 library documentation main page, but where it refers to the Arduboy library and class, substitute ArduboyLowMem.

1 Like

the quick fix didnt work im a bit cranky now (boss related) so ill play with it more later

ok got the quickfix to compile but i did the exact same thing as before doing the quick fix, so now ill try to port

Are you sure you replaced the right paintScreen() function (there are two of them).

The quick fix works fine for me.

went ahead and forked it over so you can see exactly what im doing,

You changed the wrong function, and you didn’t actually replace any code.

You have to change the entire function code for:
void ArduboyCore::paintScreen(unsigned char image[])
from line 228 to line 244, with the code from the latest Arduboy library core.cpp line 228 to line 250.

1 Like

you are awesome, im shure my constant dumb questions drive you nuts but you always help me anyway, thank you

if you dont by oxen you dont move :stuck_out_tongue:

Hello, I’m very new to Arduboy, trying to upload my first few games. When I upload Cascade Path onto my Arduboy, the screen is always scrambled and scrolling. Can someone point me towards a fix?

I’ll have to take a look at this, Cascade Path was made a long time ago and it may not be compatible with current libraries.

It was actually never fully finished. It’s something that I’ve wanted to pick back up for a long time but, yeah if I wasn’t running the show I’d be making the games.

Probably better to pick another game unfortunately. :frowning:

1 Like

You can find a pre compiled hex Here

1 Like


The distorted screen is caused by a better compiler optimisation which results in display writes being to fast. it can be easily fixed by replacing all occurances of mul zero_reg, zero_reg with LPM in core.cpp

I’ve also submitted an issue on GitHub.

A forked version with the fix applied can be grabbed here:

1 Like

Haha the repo is unmanaged you’d be better off forking it with the change.

1 Like

Lolz you’re right. Forked it and added the changes


Wow thanks! I’ve been wanting to play this for a long time, but i was waiting for someone to fix it!

1 Like

it’s remake of great Oregon Trail ) excellent game!

This is fantastic! Looks and feels like the original! Too bad its unfinished, and buggy as hell :open_mouth: