ROBO-BLAST Mac OS

Posted on  by
< Source code compiling

Unrar online free. This tutorial demonstrates how to build SRB2 from source code on macOS and generate a playable, release-able application that can be distributed to other macOS users.

  • 3Build Process
    • 3.1Building Dependencies
      • 3.1.1libpng 1.6.37
      • 3.1.2libogg 1.3.4
      • 3.1.3libvorbis 1.3.6
      • 3.1.4libmpg123 1.25.13
      • 3.1.5libmodplug master (latest commit: 48be221)
      • 3.1.6libopenmpt 0.4.12 (autotools)
      • 3.1.7libgme 0.6.2
      • 3.1.8libsdl2 2.0.12
      • 3.1.9sdl2_mixer 2.0.4
    • 3.2Sonic Robo Blast 2 2.2.4
  • Before beginning, you should at least be comfortable using the command-line/Terminal and writing simple C/C++ programs.
  • You will need to have XCode Command Line Tools installed.
    • You can install them by running xcode-select --install in terminal or by downloading XCode.app through the App Store (NOTE: XCode.app is 16GB, use xcode-select if you are low on disk space).
  • You will also need CMake
  • You might need (TODO: are these required?) autoconf and pkgconfig
    • These are most easily installed through your favorite package manager, such as Homebrew, MacPorts or Fink.
  • You should add the following lines to your shell's rc file--typically ~/.bash_profile or ~/.zshrc for macOS:
  • When installing dependencies with make install, they will be installed at /usr/local/ by default.
    • It should be possible to specify an installation prefix other than /usr/local/, but in my experience this is more trouble than it's worth.
    • The prefix /usr/local/ does not contain any system files, so it can safely be deleted, moved, copied, backed up, etc. if needed.
    • The Homebrew package manager also installs packages to /usr/local/, but it builds packages for your current version of macOS (not 10.9 and later). In order to support as many users as possible, do not overwrite your files with Homebrew! If you do by accident, simply build the dependency again, or restore /usr/local from a backup.

Sonic Robo Blast 2 All Version Collection 19982020 + SRB2 Kart & Persona + Original Soundtrack. MAC OS X DISK IMAGE. Uplevel BACK 198.8M. Thank you for using our Mac software library. We cannot guarantee the safety of the software downloaded from third-party sites. Unfortunately, there is no direct download for the Mac version of Sonic Robo Blast 2. To download the product, proceed to the developer's site via the link below. Thank you for using our Mac software library. Unfortunately, there is no direct download for the Mac version of Sonic Robo Blast 2. To download the application, proceed to the developer's site via the link below. We cannot guarantee the safety of the software downloaded from external sites. Robotnik) discovers unusual birds known as Flickies that can transport to anywhere using Dimension Rings. Successfully capturing the Flickies, Robotnik turns them all into robots to help him find the Chaos Emeralds. Although CMake should work on Mac OS X and Windows I don't have those systems available to test, and you can always still build it yourself like you could before:P): #!sh $ tar xjvf game-music-emu-0.6.3.tar.bz2 $ cd game-music-emu-0.6.3 $ mkdir build $ cd build $ cmake./ -DCMAKEINSTALLPREFIX = /usr/local # See below for more options $ make.

  • There will be some minor differences between the Windows build of SRB2 and the macOS build:
    • The Windows build uses SDL Mixer X, instead of SDL Mixer
    • Because of this, playing MIDI music through FluidSynth sans GLib, libOPNMIDI or Timidity is not supported.

The version numbers listed for each dependency are the latest versions at the time of this writing, unless otherwise noted. Feel free to use more recent versions, if available.

Dragon play slots. If the dependency is built using CMake, you will:

  • Download the source code.
  • Modify the source code, if necessary.
  • Create an empty build folder.
  • Open CMake and set the source and build folder.
  • Set the CMake variables (usually just CMAKE_BUILD_TYPE=Release and CMAKE_OSX_DEPLOYMENT_TARGET=10.9).
  • Run Configure: Use Unix Makefiles as the generator.
  • Run Generate.
  • Navigate to the build folder in terminal and run make, then run make install

If the dependency is built using configure and make scripts, you will:

  • Download the source code.
  • Modify the source code, if necessary.
  • Navigate to the build folder in terminal and run <path-to-source>/configure
  • Run make followed by make install in terminal.

Building Dependencies

libpng 1.6.37

Source Code Modifications

  • Edit <path-to-source>/png.h and undefine PNG_IGNORE_ADLER32
    • Otherwise it will use a function that only exists in macOS > 10.13.

Build Process

In CMake, set:

  • CMAKE_OSX_DEPLOYMENT_TARGET=10.9
  • CMAKE_BUILD_TYPE=Release

In the build folder, run: make followed by make install in Terminal.

libogg 1.3.4

Source Code Modifications

  • Edit <path-to-source>/include/ogg/os_types.h and add #include <stdint.h> in the __APPLE__ section.
    • Otherwise, you get an error when building libvorbis.

Build Process

In CMake, set:

  • BUILD_SHARED_LIBS=true
  • CMAKE_OSX_DEPLOYMENT_TARGET=10.9
  • CMAKE_BUILD_TYPE=Release

In the build folder, run: make followed by make install in Terminal.

libvorbis 1.3.6

libogg is required before building libvorbis

ROBO-BLAST Mac OS

Build Process

In the build folder, run:

libmpg123 1.25.13

Build Process

In the build folder, run:

libmodplug master (latest commit: 48be221)

Build Process

In CMake, set: Keycars mac os.

  • BUILD_SHARED_LIBS=true
  • CMAKE_OSX_DEPLOYMENT_TARGET=10.9
  • CMAKE_BUILD_TYPE=Release

In the build folder, run: make followed by make install in Terminal.

libopenmpt 0.4.12 (autotools)

Build Process

Robo-blast

In the build folder, run:

libgme 0.6.2

Use version 0.6.2, not 0.6.3

Build Process

In CMake, set:

  • BUILD_SHARED_LIBS=true
  • CMAKE_OSX_DEPLOYMENT_TARGET=10.9
  • CMAKE_BUILD_TYPE=Release

In the build folder, run: make followed by make install in Terminal.

libsdl2 2.0.12

Build Process

In CMake, set:

  • CMAKE_OSX_DEPLOYMENT_TARGET=10.9
  • CMAKE_BUILD_TYPE=Release
  • HIDAPI=true

In the build folder, run: make followed by make install in Terminal.

sdl2_mixer 2.0.4

The following libraries are required before building sdl2_mixer:

  • libogg
  • libvorbis
  • libmpg123
  • libmodplug
  • libsdl2

Build Process

In the build folder, run:

Sonic Robo Blast 2 2.2.4

Source Code Modifications

  • Add files from windows installer and patch to <path-to-source>/assets/installer. Remove the Windows executables: rm *.dll *.bat .exe.
  • Edit <path-to-source>/src/sdl/CMakeLists.txt. Lines 365 to 373 in should be:
    • (These lines tell the build tools where to find the dependencies so that they can be packaged into a standalone app.)

Build Process

In CMake, set:

  • CMAKE_OSX_DEPLOYMENT_TARGET=10.9
  • CMAKE_BUILD_TYPE=Release

Robo-blast Mac Os Update

In the build folder, run:

Robo-blast Mac Os Catalina

Products

Running make creates <path-to-build>/bin/Sonic Robo Blast 2.app, which you can use to test your build; however, it links to the dependencies with an absolute path, so it will not work for other Mac users.

Running make package creates an installer (.dmg file) in the build folder. The app includes SRB2's dependencies so you can distribute the .dmg file to other Mac users.

Robo-blast Mac Os X

Retrieved from 'https://wiki.srb2.org/w/index.php?title=Source_code_compiling/Compiling_on_macOS&oldid=108494'