fallout1-ce
fallout1-ce copied to clipboard
MacOS/iOS - No music
Music doesn't seem to be playing in MacOS or iOS for fallout1-ce (though it does work fine, at least on MacOS, for fallout2-ce). Audio, inventory sounds, attack sounds, all work, but no music at all, from the main menu on to in-game, travel map, etc.
I'll be trying the Windows version soon to see if that has music, but for sure no music on the Apple side of things for me. Tried checking paths, cfg files, in-game settings, and testing if capital letter file names were causing issues (see the other issue involving case-sensitive files systems and master.dat/critter.dat, which I had to rename to all lower-case to get to work), but no changes seemed to help.
(edited to add, no music for fallout2-ce under iOS either, but the music for that version works fine under MacOS. I'll add that to an issue over in that repo, just putting this here for clarification)
MacOS 13.2 (22D49), Silicon, and iPadOS 15.7.1 sideloaded with AltServer, via downloaded pre-built release versions of fallout1-ce.
The engine does not handle case-sensitive paths properly. Check fallout.cfg
, your music_path1
should be either relative or absolute path with correct case (I have music_path1=/Users/alex/Desktop/Fallout/sound/music/
). Note that sound/music/
can actually be either inside data
or not. Will check on iOS later.
The engine does not handle case-sensitive paths properly. Check
fallout.cfg
, yourmusic_path1
should be either relative or absolute path with correct case (I havemusic_path1=/Users/alex/Desktop/Fallout/sound/music/
). Note thatsound/music/
can actually be either insidedata
or not. Will check on iOS later.
Swapping the default "\" with the *nix "/" did the trick on MacOS, but no change on iOS.
The problem is the same - bad paths. The temporary solution is also the same. Download fallout.cfg
from iPhone to Mac. Open with any text editor, most likely you will have music_path1=sound\music\
. Change it accordingly (I have music_path1=sound/music/
), copy fallout.cfg
back to iPhone.
I HAVE RESOLVED THIS
For some reason my data folder did not copy correct and was missing the music file. Be reuploading it, it now works using the following path:
music_path1=data/SOUND/MUSIC/
I am having with the music on iOS as well. I've changed the paths and tried every combination. I'm going from PC - IOS and the folders are uppercase.
music_path1=sound/music/ music_path1=data/sound/music/ music_path1=data/SOUND/MUSIC/ music_path1=SOUND/MUSIC/
The thing is that there are different Fallout distributions, some of them have filenames lowercased, some uppercased, in some sound/music/
is located inside data
(your case), some not. Here is my minimal setup (based on v1.1, you can also have data
with a bunch of files if you're using assets from v1.2):
Here is fallout.cfg
, it's universal (macOS and iOS). Don't forget to rename as GitHub does not like cfg
extension.
fallout.txt
I've double and triple checked, tried all the combos of folders, yet no music on iOS.
File structure: data/sound/music/ All lower case. Ini file: music_path1=data/sound/music music_path2=sound/music (I add this just to test, no change)
Music files: all upper case, data/sound/music/01HUB.ACM
Still no music anywhere in iOS.
Missing trailing slash?
music_path1=data/sound/music/
Missing trailing slash?
music_path1=data/sound/music/
So sorry, no, I simply forgot to type it in to the report (I am typing on a different machine than the one which I have been transferring the fallout.cfg file back and forth to and from iOS on, so copy/paste was not an option).
music_path1=data/sound/music/ is exactly as it exists on the iPad, and I just copied it back to the machine to double check.
music=1 as well (so it's not disabled via the menu).
Is the music working for you in your tests, if you have an iOS device? If it is for you and not me, I wonder if it's a file format issue or something. The data comes directly from a clean GoG install.
Or is it possible it's a line feed issue? I mean, the other options seem to read fine, but perhaps the DOS/Windows linefeed is causing an issue with reading entries in certain parts.
Edit: In fact, I've moved over to the other machine, allow me to paste in what I have.
[debug] mode=environment output_map_data_info=0 show_load_info=0 show_script_messages=0 show_tile_num=0
[preferences] brightness=1.000000 combat_difficulty=1 combat_looks=1 combat_messages=1 combat_speed=50 combat_taunts=1 game_difficulty=1 item_highlight=1 language_filter=0 mouse_sensitivity=1.000000 player_speed=0 player_speedup=0 running=1 running_burning_guy=1 subtitles=0 target_highlight=2 text_base_delay=3.500000 text_line_delay=1.000000 violence_level=3
[sound] cache_size=448 device=-1 dma=-1 initialize=1 irq=-1 master_volume=22281 music=1 music_path1=data/sound/music/ music_path2=sound/music/ music_volume=22281 port=-1 sndfx_volume=22281 sounds=1 speech=1 speech_volume=22281
[system] art_cache_size=8 color_cycling=1 critter_dat=critter.dat critter_patches=data cycle_speed_factor=1 executable=game free_space=0 hashing=1 interrupt_walk=1 language=english master_dat=master.dat master_patches=data scroll_lock=0 splash=3 times_run=0
fallout.cfg.txt ^ This is a direct copy off the iOS machine.
I've just checked GOG version on both iPhone and iPad. My GOG version has everything uppercased, so it's MASTER.DAT
, CRITTER.DAT
, and DATA/SOUND/MUSIC
. It comes with bundled fallout.cfg
that has all paths lowercased:
music_path1=data\sound\music\
music_path2=data\sound\music\
critter_dat=critter.dat
critter_patches=data
master_dat=master.dat
master_patches=data
For the first test I've copied uppercased game assets and modified fallout.cfg
accordingly:
music_path1=DATA/SOUND/MUSIC/
music_path2=DATA/SOUND/MUSIC/
critter_dat=CRITTER.DAT
critter_patches=DATA
master_dat=MASTER.DAT
master_patches=DATA
For the second test I took your fallout.cfg
and lowercased filenames before copying to iPad.
In both tests music is playing. There is no music in the main menu due to mixed case lookup, but when you start new game or loading it's there.
Ok, so all in all, I'll close this out.
I went and changed ALL files to uppercase via a recursive find/rename command. All files, all folders, are upper-case, and all config options relating to folders and files are upper-case, with "/" instead of "\", and all seems to be working.
This is always going to be a pain in your butt, so I guess if you could translate the paths and filenames internally, it would make things easier, becuse I can see you are going to get a million issues opened about this otherwise. It seems every version, every fan-patch, and every mod is going to BeAlLoVeRtHePlAcE with caps since Fallout has always lived on the case-insensitive Microsoft drive formats.
For those who come after, here is the answer:
- Change all files and folders to upper-case. MASTER.DAT, CRITTERS.DAT, DATA, etc.
- Change file-based settings in the cfg file, fallout.cfg, to upper-case AND if you are trying for iOS change all the DOS/Windows style directory dividers ("") to Unix style ("//"), as you can see in the above post by @alexbatalov .
- Don't, at this point, copy f1_res.ini over to the iOS device, since it will just mess with the size of the game on the screen, even if you change the resolution in that file.
Thanks for the help, @alexbatalov , and keep up the great work!