Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Post Reply
User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Sun Jan 13, 2019 2:06 am



So, I still have a few things to work out, but here's the first release...

Firmware:
https://github.com/jkirsons/wolf4sdl/tr ... er/release

Game Data:
Put the game data for Wolfenstein 3D Full v1.4 GT/ID/Activision version in the folder: /sd/data/Wolfenstein 3D/base/
Note - this is the same version and folder structure as the Steam version of Wolfenstein 3D. (https://store.steampowered.com/app/2270/Wolfenstein_3D/)

A few firsts here for me:
- Music (Adlib/SB emulation)
- It's mostly C++
- uses SDL_mixer
Last edited by Gadget Workbench on Wed Jan 16, 2019 6:03 am, edited 1 time in total.

Nemo1984
Posts: 62
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by Nemo1984 » Sun Jan 13, 2019 4:52 am

This looks great! I tried it a bit, and the sound is a bit off. But still very good!

EDIT: I put my finger on it. The guards and dogs, and possibly others, are too high pitched. Playing too fast?

deerwings
Posts: 8
Joined: Mon Oct 08, 2018 9:11 am
languages_spoken: english
ODROIDs: Odroid Go
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by deerwings » Sun Jan 13, 2019 11:58 am

Wow, this is amazing for a first release!

Minor nitpicks for the record:
Screen tearing, but this is a common issue amongst the Odroid Go, so can't really complain about it!
FM voices seem a bit high, as if bitrate is too high for the sound. Audio files I believe were either 8khz or 11khz audio, may be getting played at too high a bitrate, hence the high pitched voices and sounds. But they work!
No cheat code support. :( Yet!
Loading and Saving don't work, not unexpectedly.

But graphics are nice and bright, framerate seems very good and absolutely playable! Default Keymapping seems to be well chosen with room for some of the other buttons.

Well done!

User avatar
mad_ady
Posts: 5114
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by mad_ady » Sun Jan 13, 2019 3:48 pm

Bravo! A lot of people were waiting for this one!

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by Gadget Workbench » Mon Jan 14, 2019 1:34 am

Thanks for the feedback.
I've pushed an update with these changes:

- SFX audio rate fixed - it was playing SFX in mono, but music in stereo - thus twice the rate.
- In-game music a bit less stuttery
- Save/Load works - it proposes the slot number as the save name. (If overwriting a slot - you have to press Y, then A to save.)
- "A" in the menus changed to Enter - so now you can change the view size.
- Start/Select in menus map to Y/N, so you can answer dialog windows.
- Mutex implemented for SDL_LockAudio() - this fixes the random crash

https://github.com/jkirsons/wolf4sdl/tr ... er/release

To-do:
Music in the menus is a bit bad when it does screen fades, etc. And volume control would be nice... And then Spear of Destiny.

User avatar
mad_ady
Posts: 5114
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by mad_ady » Mon Jan 14, 2019 2:18 am

Out of curiosity - is the game's music in midi format?

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by Gadget Workbench » Mon Jan 14, 2019 3:12 am

mad_ady wrote:
Mon Jan 14, 2019 2:18 am
Out of curiosity - is the game's music in midi format?
I think this i the format it uses:

IMF Format:
The id Software Music Format (IMF) is a raw music format that stores the actual bytes sent to the Adlib's OPL2 chip. For this reason it is a very simple format to process.

User avatar
lix-alpha
Posts: 74
Joined: Fri Jul 27, 2018 9:41 pm
languages_spoken: english
Contact:

Re: Wolfenstein 3D for Odroid-Go

Unread post by lix-alpha » Wed Jan 16, 2019 6:04 am

Wow! Thanks!!!
This is exactly what I was waiting for! And it work great!
If one day you feel like making another great game you could try Commander Keen. Its on my most wanted list now since I got the Odroid-Go. :)

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Wed Jan 16, 2019 6:09 am

Alright, Spear of destiny is working now too.
It's the same codebase, so any improvements apply to both Spear Of Destiny and Wolfenstein 3D.

Changes:
- Start now cycles through the weapons
- Music is less choppy during screen fades

Spear Of Destiny has a new firmware image that you should flash:
https://github.com/jkirsons/wolf4sdl/tr ... er/release

Then save the game files to:
SD Card: /data/Spear Of Destiny/base/


User avatar
rooted
Posts: 6098
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by rooted » Wed Jan 16, 2019 6:35 am

Nice!

Nemo1984
Posts: 62
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Nemo1984 » Wed Jan 16, 2019 7:35 am

Hi,

I have to GOG version of Spear of Destiny, wich has the folders M1, M2 and M3.
These folders have files for the Mission 1, 2 and 3 respectively. I can only have one working at a time by copying the content of the directory.

How can I have all three working at the same time?

Thanks!

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Thu Jan 17, 2019 3:41 am

Nemo1984 wrote:
Wed Jan 16, 2019 7:35 am
How can I have all three working at the same time?
Unfortunately there is no in-game screen to select between them.
I have uploaded a new firmware file that lets you choose by holding down a button during start-up:

Mission Packs (put all files in the "base" folder):
Hold <Select> during power on for Mission 2: Return to Danger
Hold <Start> during power on for Mission 3: Ultimate Challenge

You can let go of the button when the first screen shows.

Nemo1984
Posts: 62
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Nemo1984 » Thu Jan 17, 2019 9:41 am

Thank you for the update, but I can't put all the files in the base folder. M1, M2 and M3 have all the same filenames.

How should I rename them?

EDIT: I managed it. You have to rename the files in M2 to SD1 and M3 to SD2.

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Thu Jan 17, 2019 3:08 pm

Nemo1984 wrote:
Thu Jan 17, 2019 9:41 am
EDIT: I managed it. You have to rename the files in M2 to SD1 and M3 to SD2.
Yes, sorry I didn't know they weren't named that way.
For anyone else, this is the format:

Code: Select all

/data/Spear Of Destiny/base/vswap.sod
/data/Spear Of Destiny/base/vswap.sd1
/data/Spear Of Destiny/base/vswap.sd2

/data/Spear Of Destiny/base/gamemaps.sod
/data/Spear Of Destiny/base/gamemaps.sd1
/data/Spear Of Destiny/base/gamemaps.sd2

/data/Spear Of Destiny/base/maphead.sod
/data/Spear Of Destiny/base/maphead.sd1
/data/Spear Of Destiny/base/maphead.sd2
etc...
.sod = Original, .sd1 = MP2, .sd2 = MP3

For Steam users, just copy the Spear Of Destiny folder to the "data" folder on the SD card.

User avatar
Woodchuck
Posts: 1
Joined: Fri Jan 18, 2019 4:25 am
languages_spoken: english
ODROIDs: ODROID-GO
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Woodchuck » Fri Jan 18, 2019 4:29 am

Fantastic - just got it working today! Took a little fiddling with the file names. Used the GOG version.
Thanks!

odocho
Posts: 3
Joined: Sun Jan 20, 2019 12:31 am
languages_spoken: english
ODROIDs: ODROID Go
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by odocho » Sun Jan 20, 2019 12:47 am

hello
and thanks for this port.
But do i really need the steam-version of wolfenstein ?
I have here some (really) old disks and run it in a dos box. But it wouldnt run on odroid

on my sd card I created this directory
/data/Wolfenstein 3D/base/ (not in /odroid/data/Wolfenstein 3D/base)

Code: Select all

AUDIOHED.WL6
AUDIOT.WL6
CONFIG.WL6
GAMEMAPS.WL6
MAPHEAD.WL6
VGADICT.WL6
VGAGRAPH.WL6
VGAHEAD.WL6
VSWAP.WL6
i've also tried the shareware-version:
[code|
AUDIOHED.WL1
AUDIOT.WL1
CATALOG.EXE
GAMEMAPS.WL1
MAPHEAD.WL1
ORDER.FRM
READ1ST.TXT
VENDOR.DOC
VGADICT.WL1
VGAGRAPH.WL1
VGAHEAD.WL1
VSWAP.WL1
|/code|

Both versions without any success.
Perhaps i have to rename the files?

Thanks for help.

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Sun Jan 20, 2019 1:40 am

odocho wrote:
Sun Jan 20, 2019 12:47 am
Both versions without any success.
Perhaps i have to rename the files?
There are lots of versions of Wolfenstein 3D/SOD. I have compiled firmware for the two versions listed below in bold.
Do you have one of the other versions?
Maybe I should just compile them all and add a readme file to help people pick the right one...

Wolf3d Full v1.1 Apogee (with ReadThis)
Wolf3d Full v1.4 Apogee (with ReadThis)
Wolf3d Full v1.4 GT/ID/Activision
Wolf3d Shareware v1.0
Wolf3d Shareware v1.1
Wolf3d Shareware v1.2
Wolf3d Shareware v1.4
Spear of Destiny Full and Mission Disks
Spear of Destiny Demo

odocho
Posts: 3
Joined: Sun Jan 20, 2019 12:31 am
languages_spoken: english
ODROIDs: ODROID Go
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by odocho » Sun Jan 20, 2019 2:31 am

thanks for your fast reply!

yes i've running V1.1 in DosBox
but where are the differences ? what have i to change in source - and how can i compile it? (just ./configure && make ??)

thank

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Sun Jan 20, 2019 2:52 am

I've done this for you now - please see all versions compiled in the release folder:

https://github.com/jkirsons/wolf4sdl/tr ... er/release

odocho
Posts: 3
Joined: Sun Jan 20, 2019 12:31 am
languages_spoken: english
ODROIDs: ODROID Go
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by odocho » Sun Jan 20, 2019 4:03 am

Code: Select all

 _____ _                 _     __   __          
|_   _| |__   __ _ _ __ | | __ \ \ / /__  _   _ 
  | | | '_ \ / _` | '_ \| |/ /  \ V / _ \| | | |
  | | | | | | (_| | | | |   <    | | (_) | |_| |
  |_| |_| |_|\__,_|_| |_|_|\_\   |_|\___/ \__,_|
now it run's well! Big Thanx...
i'm just back in the 90's and playing =) :) :) :) :)

User avatar
mad_ady
Posts: 5114
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by mad_ady » Sun Jan 20, 2019 4:23 am

Any plans to add cheat code support through a key combination? Full weapons/health?

User avatar
wizzel
Posts: 6
Joined: Thu Jan 17, 2019 11:47 pm
languages_spoken: english, german
ODROIDs: Go
Location: Germany
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by wizzel » Sun Jan 20, 2019 8:40 pm

Hi there,
i've added Mission Pack 2 and 3 to my Spear of Destiny folder on the Odroid-Go as described in the readme,
but when i launch M2/M3 there are no controls configured. You can customize the controls, but not for the fire button.

The main game Spear of Destiny though works fine. Any Ideas?

User avatar
Gadget Workbench
Posts: 29
Joined: Wed Nov 21, 2018 4:03 pm
languages_spoken: english
ODROIDs: ODROID-GO
Location: Zurich, Switzerland
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Gadget Workbench » Mon Jan 21, 2019 12:26 am

mad_ady wrote:
Sun Jan 20, 2019 4:23 am
Any plans to add cheat code support through a key combination? Full weapons/health?
Probably when I get some time. Sure you wouldn't prefer micro-transactions? :lol:

wizzel wrote:
Sun Jan 20, 2019 8:40 pm
i've added Mission Pack 2 and 3 to my Spear of Destiny folder on the Odroid-Go as described in the readme,
but when i launch M2/M3 there are no controls configured. You can customize the controls, but not for the fire button.
Looks like there's a different config file for each one.
Can you try copying config.sod to config.sd1 and config.sd2?

Nemo1984
Posts: 62
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by Nemo1984 » Mon Jan 21, 2019 1:24 am

wizzel wrote:
Sun Jan 20, 2019 8:40 pm
Hi there,
i've added Mission Pack 2 and 3 to my Spear of Destiny folder on the Odroid-Go as described in the readme,
but when i launch M2/M3 there are no controls configured. You can customize the controls, but not for the fire button.

The main game Spear of Destiny though works fine. Any Ideas?
I had the same problem. I just completely removed the config.sod, sd1 and sd2.

User avatar
wizzel
Posts: 6
Joined: Thu Jan 17, 2019 11:47 pm
languages_spoken: english, german
ODROIDs: Go
Location: Germany
Contact:

Re: Wolfenstein 3D (and Spear of Destiny) for Odroid-Go

Unread post by wizzel » Mon Jan 21, 2019 3:54 am

Thanks for the quick answers.
I copied/renamed the original config.sod
and that did the trick. :)

Post Reply

Return to “General Chat”

Who is online

Users browsing this forum: No registered users and 0 guests