Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GSM Player GBA: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 23: Line 23:


==Building==
==Building==
'''To build from Release 20040823:'''
If building from Release 20040823:
* Drop some .wav files in the wavs folder and then run Go.bat (Windows 95, 98, and ME users should run Go-win9x.bat instead).
* This should produce a ROM called gsm.gba, which you can write to a GBA flash cartridge.


To build a GBA ROM containing several recordings, just drop some .wav files in the wavs folder and then run Go.bat (Windows 95, 98, and ME users should run Go-win9x.bat instead).
If building from source:
 
* <code>make build/allnewgsm-bare_mb.gba</code>
This should produce a ROM called gsm.gba, which you can write to a GBA flash cartridge.
* <code>padbin 256 build/allnewgsm-bare_mb.gba</code>
 
* Convert audio files to GSM at 18157 Hz (a nonstandard rate; see [https://github.com/pinobatch/gsmplayer-gba/blob/master/docs/lying_to_sox.txt docs/lying_to_sox.txt] for how to force this in SoX and FFmpeg).
'''To build from the source:'''
* Pack them into a single GBFS file using gbfs included with devkitARM tools: <code>gbfs gsmsongs.gbfs *.gsm</code>
 
* Concatenate the player and the songs.
If build from source:
** On Windows: <code>copy /b build\allnewgsm-bare_mb.gba+gsmsongs.gbfs allnewgsm.gba</code>
<code>make build/allnewgsm-bare_mb.gba</code>
** On UNIX: <code>cat build/allnewgsm-bare_mb.gba gsmsongs.gbfs > allnewgsm.gba</code>
<code>padbin 256 build/allnewgsm-bare_mb.gba</code>
 
Convert audio files to GSM at 18157 Hz (a nonstandard rate; see [https://github.com/pinobatch/gsmplayer-gba/blob/master/docs/lying_to_sox.txt docs/lying_to_sox.txt] for how to force this in SoX and FFmpeg)
 
Pack them into a single GBFS file using gbfs included with devkitARM tools: <code>gbfs gsmsongs.gbfs *.gsm</code>
 
Concatenate the player and the songs.
On Windows: <code>copy /b build\allnewgsm-bare_mb.gba+gsmsongs.gbfs allnewgsm.gba</code>
On UNIX: <code>cat build/allnewgsm-bare_mb.gba gsmsongs.gbfs > allnewgsm.gba</code>


==Controls==
==Controls==

Revision as of 06:12, 8 September 2022

GSM Player
File:Gsmplayer2.png
General
AuthorDamian Yerrick
TypeMedia players
Version2021
LicenseMixed
Last Updated2021/07/07
Links
[2004 Download]
Website
[2019 Source]

GSM Player is an audio player made by porting the GSM RPE-LTP (also called GSM Full Rate) audio codec, which has been used in mobile phones, to the Game Boy Advance. Now you can use your GBA as a portable music player, with up to 150 minutes of Good Sounding Music on a 256 Mbit flash cart.

From mid-2004 to mid-2019, GSM Player for GBA went unmaintained, and changes to popular GBA homebrew toolchains rendered it unbuildable. The repository ports the application to a more recent version of devkitARM.

Building

If building from Release 20040823:

  • Drop some .wav files in the wavs folder and then run Go.bat (Windows 95, 98, and ME users should run Go-win9x.bat instead).
  • This should produce a ROM called gsm.gba, which you can write to a GBA flash cartridge.

If building from source:

  • make build/allnewgsm-bare_mb.gba
  • padbin 256 build/allnewgsm-bare_mb.gba
  • Convert audio files to GSM at 18157 Hz (a nonstandard rate; see docs/lying_to_sox.txt for how to force this in SoX and FFmpeg).
  • Pack them into a single GBFS file using gbfs included with devkitARM tools: gbfs gsmsongs.gbfs *.gsm
  • Concatenate the player and the songs.
    • On Windows: copy /b build\allnewgsm-bare_mb.gba+gsmsongs.gbfs allnewgsm.gba
    • On UNIX: cat build/allnewgsm-bare_mb.gba gsmsongs.gbfs > allnewgsm.gba

Controls

Left/Right - Previous/Next track

L - Seek left/right

Select - lock/unlock controls

Start - pause/resume playback

A+B+Select+Start - Reset GBA, such as to exit to your loader menu (works only on Visoly and F2A carts)

External links

Advertising: