suomipelit / skijump3-sdl Goto Github PK
View Code? Open in Web Editor NEWSki Jump International v3 (SDL2 port)
Home Page: https://www.nomasi.com/sj3/
License: GNU General Public License v3.0
Ski Jump International v3 (SDL2 port)
Home Page: https://www.nomasi.com/sj3/
License: GNU General Public License v3.0
I've managed to successfully build SJ3 for Mac, for both x8664 and arm64.
Requirements:
homebrew
Steps
# Install compiler and SDL2
$ brew install fpc sdl2
# Clone Pascal SDL2 headers
$ git clone https://github.com/ev1313/Pascal-SDL-2-Headers
# Compile
$ fpc -Mtp -k-L{path homebrew installed library to, depends on your setup} -k-lSDL2 -k-framework -kOpenGL -k-framework -kCocoa -Fu./Pascal-SDL-2-Headers/ SJ3.PAS
Since all the tooling works already with Apple Sillicon (sdl2
for arm64
is already available in homebrew
and fpc
can be easily built)
it's also quite straightforward to build Apple Sillicon version.
I've bundled an universal app with SDL dylib included and here's the DMG available for download: https://www.dropbox.com/s/vfpdeu2m8a7tg8e/SJ3.dmg?dl=0.
You can add it as a Release if interested.
I don't have have an Apple Developer account so it's unsigned and not notarised so one have to go Settings -> Security&Privacy
to accept Gatekeeper exception upon first launch. Except that, it just works :)
In case somebody would like to add hills or modify names files etc. you have to open an app bundle by clicking Show Package Contents
in context menu (option-click on the app
) and going into Contents/Resources
.
Structure files, both in repository and binary release.
Example of possible structure
Fix arithmetic/buffer overflows. These exist in original code and aren't visible for user in tested release builds, hence "improvement". Compile in debug mode to enable runtime checks.
Hello!
I have a problem with the game that has appeared since the first version that came out, SP1. The problem is that when I want to start the game via SJ3.exe, a white window appears for a split second and the game switches off after a while.
Out of curiosity I tried to fire the game via the command line. Here is what the error message showed up;
https://i.imgur.com/zOtuYkU.png
Is it possible to find out what may cause this error? I will point out that it is trying to start the game on Windows 10.
Greetings!
Remove unnecessary files like deprecated build scripts.
Port replay saving support.
See procedure findreplays
at SJ3REPL.PAS
.
Replace PNG cover with animated GIF for repo. Host it in https://suomipelit.github.io/ repo.
Document functional changes in ported version to README.
Add SP version number to UI where applicable. Do not break compatibility of anything which might be versioned (hills, records?).
Port support for extra hills by searching files from game directory.
See procedure CheckExtraHills
at SJ3UNIT.PAS
and .procedure FindCustoms
at SJ3INFO.PAS
Scandic letters are not working as a jumper name, replay name, etc.
Travis CI integration with Linux build.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.