It is currently Mon Oct 20, 2014 5:46 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Aug 03, 2009 11:17 am 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
When I get my master I'll want to try my game on the actual machine from time to time, just to see how it really plays (my netbook isn't very good at emulating the BBC (my main PC's wifi card is broken), and the fact that the Linux BeebEm isn't very good doesn't help).

Obviously I don't have a 5.25" disk drive on my PC, but I do have a sound card, so I'd like to record the game onto cassette. The question is how? What would be the best, preferably open-source app to use to make a tape image, and what would be the best, preferably open-source app to convert that into an audio file, or just play it directly?


Thanks a lot :)


Top
 
PostPosted: Mon Aug 03, 2009 12:42 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:41 pm
Posts: 373
You could go to the Essentials page on STH and download FREEUEF, which can be used to turn any of the BBC UEF Cassette images into WAVE files (only use 0.3-spec UEF files with FREEUEF i.e. nearly all the ones on STH ... the ones on AcornPreservation.org are 1.x-spec UEF and won't work well with FREEUEF).

Or, if it would be any easier, I could just include a bunch of tapes in with the cassette leads I'm about to send? ;)


Top
 
PostPosted: Mon Aug 03, 2009 12:47 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
No no, you misunderstood. I want a way to turn the game I am developing into a tape image, then turn that into a wav file. I can do it on the disk image (obviously) or the raw binary output file. Something like bbcim is what I'm looking for, but for tapes, not disks.

Although some commercial tapes would be nice too! :)


Top
 
PostPosted: Mon Aug 03, 2009 1:53 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:41 pm
Posts: 373
Ah yes ... I only skim-read your post, sorry! :oops:

I believe BeebEm Windows has the facility to record UEF tape images (which can in turn be FREEUEF'd to WAVE then recorded to cassette). Not sure about the Linux port.

However, I've always achieved this using David Boddie's Python scripts (again, see STH Essentials page).

Simple summary of process:

- extract files from SSD Disc Image and output into INF format using BBC Explorer (remember to delete the $. from the filename dialog when extracting each file)

- copy all files into a subdirectory and add an index.txt file, which should contain the running order of the files

- run inf2uef.py script under python, and have it spit out a uef

If you need me to expand on each step, just shout.

I'll still sort you out with some commercial tapes, no problem ... also, if you're coming to Huddersfield (for Homebrew Coding Geekend #2!) I'll have cratefuls of tapes with me then.

--Dave


Top
 
PostPosted: Mon Aug 03, 2009 1:56 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
Unfortunately, Huddersfield is a bit too far for me :(

I'm going to the Oxford event in February, but none this year :(




I'll try the python scripts, thanks :)


Top
 
PostPosted: Mon Aug 03, 2009 2:09 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
I get:

Traceback (most recent call last):
File "../../t2tools-enhanced-0.1/INF2UEF.py", line 172, in <module>
match = matches[0]
IndexError: list index out of range



Directory list:
total 20K
-rw-r--r-- 1 muzer muzer 20 2009-08-03 14:05 index.txt
-rw-r--r-- 1 muzer muzer 647 2009-08-03 14:03 LOADER
-rw-r--r-- 1 muzer muzer 32 2009-08-03 14:03 LOADER.INF
-rw-r--r-- 1 muzer muzer 3.9K 2009-08-03 14:02 PLAT
-rw-r--r-- 1 muzer muzer 32 2009-08-03 14:03 PLAT.INF


index.txt:


I've tried

LOADER.INF
PLAT.INF


and


LOADER
PLAT




The INF files were output by bbcim, I hope they're the same.




EDIT: Ah, the command line syntax help wasn't working for some reason. It's all sorted now. I need to testit still...


Top
 
PostPosted: Mon Aug 03, 2009 2:21 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:41 pm
Posts: 373
Cool!

I know a couple of people travelling up to Huddersfield from Hampshire - do you want me to see if I can snag you a lift?

Unfortunately there won't be any programming stuff going on at RetroVision - it'll just be games, booze, curry, rockband and llamas.


Top
 
PostPosted: Mon Aug 03, 2009 2:25 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
It works perfectly! Thanks!


I'll have to talk to my parents about that. They probably won't be too keen, but we'll see.


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
cron