VOGONS


Duke Caribbean: Life's a Beach Runetime Error

Topic actions

Reply 20 of 36, by Wizardling

User metadata
Rank Newbie
Rank
Newbie

Happens to me too using Boxer 1.0.2 (based on DOSBox 0.74) in OSX 10.6.7 🙁

Has anyone found a way to get Duke Caribbean: Life's A Beach running in DOSBox yet, without having to use Windows? It installs ok, GAMER.EXE runs ok and says it's enabled the addon, but running CARIB.EXE results in the same runtime error every single time 🙁

Frog blast the vent core!

Reply 22 of 36, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

think it needs the prefetch core enabled. Check the cputype

Water flows down the stream
How to ask questions the smart way!

Reply 23 of 36, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The CARIB.EXE addon launcher renames original files with an unusual character that DOSBox does not allow. For example, GAME.CON is renamed to GAME.CO¥ and GAME.NOC (the addon file) is renamed to GAME.CON, so the addon file is used by the game engine instead of the original file. The addon launcher also renames files back the way they were when doing a normal exit from the game.

There are various things you can do manually to work around the problem, but the addon launcher works correctly by itself if 0x9d (the Yen symbol in extended ASCII) is added to the list of allowed characters in DOS_MakeName().

Reply 25 of 36, by Wizardling

User metadata
Rank Newbie
Rank
Newbie
DosFreak wrote:

I thought eduke32 worked fine on OSX?

Well, I'm sure it does. But I kinda like running DOS apps in DOS where commandline switches and various classic content still works as it used to 😀

However if all else fails, how would I go about using eduke32 with this addon that seems to require file system access?

Frog blast the vent core!

Reply 26 of 36, by Wizardling

User metadata
Rank Newbie
Rank
Newbie
ripsaw8080 wrote:

The CARIB.EXE addon launcher renames original files with an unusual character that DOSBox does not allow. For example, GAME.CON is renamed to GAME.CO¥ and GAME.NOC (the addon file) is renamed to GAME.CON, so the addon file is used by the game engine instead of the original file. The addon launcher also renames files back the way they were when doing a normal exit from the game.

There are various things you can do manually to work around the problem, but the addon launcher works correctly by itself if 0x9d (the Yen symbol in extended ASCII) is added to the list of allowed characters in DOS_MakeName().

How specifically do I do this, please? 😀 Thanks for your help, and that of the DOSBox devs - awesome emulator I couldn't live without nowadays.

Frog blast the vent core!

Reply 27 of 36, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

As a temporary workaround for DOSBox 0.74, the attached patch program will modify the addon launcher in memory to use a Dollar sign instead of a Yen sign when renaming files. Put it in the game folder and run it instead of CARIB.EXE. You should re-install Duke3D and the addon in case the filenames are messed up.

I have tested the patch with Duke3D v1.3D and v1.5 (Atomic), but I'm not sure if there's more than one version of the Caribbean addon. The version of the addon installer (Gamer) that I have is v1.01. If your version of the addon is different the patch will probably not work.

Last edited by ripsaw8080 on 2011-06-08, 07:57. Edited 1 time in total.

Reply 28 of 36, by jomalin

User metadata
Rank Newbie
Rank
Newbie
ripsaw8080 wrote:

As a temporary workaround for DOSBox 0.74, the attached patch program will modify the addon launcher in memory to use a Dollar sign instead of a Yen sign when renaming files.

ripsaw8080, can you post the source code?

Reply 29 of 36, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Added the asm source to the archive if you want to download it again.

Reply 31 of 36, by SKARDAVNELNATE

User metadata
Rank Oldbie
Rank
Oldbie
ripsaw8080 wrote:

I have tested the patch with Duke3D v1.3D and v1.5 (Atomic), but I'm not sure if there's more than one version of the Caribbean addon.

Thanks. Worked with my copy. Adding this to my notes.

Reply 32 of 36, by Sebie

User metadata
Rank Newbie
Rank
Newbie

Great! Works fine for me 😁 😁 😁

Reply 33 of 36, by exofreeze

User metadata
Rank Member
Rank
Member

You saved me again ripsaw. These patches are awesome.

Reply 34 of 36, by Boyd

User metadata
Rank Newbie
Rank
Newbie

Thanks for the patch.

Will this fix be added to the next release of dosbox?

Reply 36 of 36, by Boyd

User metadata
Rank Newbie
Rank
Newbie

Thank you.