ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Dreamcast Port > Build from scratch crashes before displaying game list
Build from scratch crashes before displaying game list
  Author    Thread Reply to topic
tsowell



Joined: 27 Aug 2018
Posts: 1
Build from scratch crashes before displaying game list 

Hello,

I'm having trouble producing a working Dreamcast build. buildbot produces builds that work for me, so I'm mostly interested in more information on how buildbot produces its builds. But here's the (obviously incorrect) method I'm attempting.

I'm using the scummvm/buildbot-dreamcast Docker image from Docker Hub and using the configure args and make target from scummvm-sites/buildbot/config/master.cfg:

code:
buildbot@02bc595943e9:~$ git clone https://github.com/scummvm/scummvm
buildbot@02bc595943e9:~$ cd scummvm
buildbot@02bc595943e9:~/scummvm$ ./configure --host=dreamcast --enable-plugins --default-dynamic
buildbot@02bc595943e9:~/scummvm$ make -j8 dcdist



The build completes. I copy IP.BIN, SCUMMVM.BIN, and SCUMM.PLG from the docker image and burn them to a CD with the Monkey Island demo for Amiga. This works fine if I use the official buildbot build of branch-2-0 (d5488e1d), so I believe my disc-mastering method is sound:

code:
dd if=/dev/zero bs=2352 count=300 of=audio.raw
sudo cdrecord speed=16 dev=/dev/sr1 -multi -audio audio.raw
sudo cdrecord speed=16 dev=/dev/sr1 -msinfo
mkisofs -l -d -relaxed-filenames -C 0,11702 -o tmp.iso cd-image-folder
( cat IP.BIN ; dd if=tmp.iso bs=2048 skip=16 ) > data.raw
sudo cdrecord speed=16 dev=/dev/sr1 -multi -xa data.raw



When I try the disc in a Dreamcast, it restarts after the SEGA license screen.

I suspect there is something wrong with the toolchain (or the included ronin binary) in the Docker image, because buildbot and I are building from the same ScummVM source. I also noticed that the toolchain paths in scummvm-sites/buildbot/config/master.cfg don't match up with the paths in the Docker image. Is there another place where the current buildbot toolchains are documented? Are is there something obvious that I'm doing wrong?

I appreciate any help.

--
Tom
 Reply with quote  
Post Tue Aug 28, 2018 4:17 am 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 914
 

The developer who was working on a Docker ScummVM Buildbot is not maintaining this any further and I don't think many of the more esoteric platform binaries were ever tested, especially if they required specific hardware such as consoles so your mileage may vary when using the Docker file as a reference.

However, as I have a Dreamcast myself with various hacks for development and have previously worked on getting a documented toolchain for that port, which I supplied as a reference for the Docker development, I can provide you with the same scripts, patches and tools to allow you to build a toolchain locally.

I should really get round to putting these up on my Github so they are documented for the future.

 Reply with quote  
Post Tue Aug 28, 2018 5:42 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge