Skip to content

Commit

Permalink
Add x86 build of DKWolf
Browse files Browse the repository at this point in the history
  • Loading branch information
10yard committed Apr 16, 2021
1 parent e377d9c commit 3d31760
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ copy COPYING dist\ /Y
echo **** create empty roms folder
xcopy roms\---* dist\roms /S /i /Y

echo **** create minimal dkmame folder
xcopy dkwolf\dkwolf* dist\dkwolf\ /Y
echo **** create minimal dkwolf folder
xcopy dkwolf\dkwolf.exe dist\dkwolf\ /Y
xcopy dkwolf\*.txt dist\dkwolf\ /Y
xcopy dkwolf\*.md dist\dkwolf\ /Y
xcopy dkwolf\playback.bat dist\dkwolf\ /Y
xcopy dkwolf\plugins dist\dkwolf\plugins /S /i /Y
xcopy dkwolf\changes dist\dkwolf\changes /S /i /Y

echo **** build the exe in virtual environment ****
venv\Scripts\pyinstaller launch.py --onefile --clean --noconsole --icon artwork\dkafe.ico
venv\Scripts\pyinstaller launch.py --onefile --clean --console --icon artwork\dkafe.ico

echo **** clean up
rmdir build /s /Q
Expand Down
6 changes: 3 additions & 3 deletions build32.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ copy COPYING dist\ /Y
echo **** create empty roms folder
xcopy roms\---* dist\roms /S /i /Y

echo **** create minimal dkmame folder
xcopy dkwolf\dkwolf* dist\dkwolf\ /Y
echo **** create minimal dkwolf folder
xcopy dkwolf\dkwolf32.exe dist\dkwolf\dkwolf.exe* /Y
xcopy dkwolf\*.txt dist\dkwolf\ /Y
xcopy dkwolf\*.md dist\dkwolf\ /Y
xcopy dkwolf\playback.bat dist\dkwolf\ /Y
xcopy dkwolf\plugins dist\dkwolf\plugins /S /i /Y
xcopy dkwolf\changes dist\dkwolf\changes /S /i /Y

echo **** build the exe in virtual environment ****
venv32\Scripts\pyinstaller launch.py --onefile --clean --noconsole --icon artwork\dkafe.ico --name launch32
venv32\Scripts\pyinstaller launch.py --onefile --clean --console --icon artwork\dkafe.ico --name launch32

echo **** clean up
rmdir build /s /Q
Expand Down
Binary file added dkwolf/dkwolf32.exe
Binary file not shown.
3 changes: 2 additions & 1 deletion dkwolf/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ The changes are:
A useful reference to compiling MAME can be found at:
http://forum.arcadecontrols.com/index.php?topic=149545.0

MAME build tools are available at https://github.com/mamedev/buildtools/releases

To build with dkong only driver the SOURCES flag was used in the makefile along with REGENIE i.e.
SOURCES=src/mame/drivers/dkong.cpp
REGENIE=1
Expand All @@ -58,7 +60,6 @@ Other optimisations/flags were
OPTIMIZE=3
SYMBOLS=0
STRIP_SYMBOLS=1
PTR64=1
TOOLS=0

Build time was less than 10 minutes!
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Steps to install the default frontend are as follows. Also refer to **How to se

### Windows

1. Download the latest DKAFE binary release for Windows and extract content to a folder
1. Download the latest DKAFE binary release for Windows and extract content to a folder. It is recommended to download the 64bit version unless you have an old machine.

2. Run "launch.exe".

Expand Down Expand Up @@ -418,6 +418,7 @@ See build.sh and rpi4/rpi_notes.txt for building a Raspberry Pi binary.
Refer to readme.txt in the **/DKWolf** folder.



![DKAFE slots](https://github.com/10yard/dkafe/blob/master/artwork/about/arcade.jpg)


Expand Down
4 changes: 2 additions & 2 deletions rpi4/dkafe_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# 5) Hide the Pi desktop
# 6) Hide the Pi mouse cursor
# 7) Use headphone jack for audio
# 8) Force 640x480 mode on boot (good for scan line generators)
# 8) Force 640x480 mode on boot (for scan line generators)
# 9) Map GPIO to keyboard input controls
# 10) Disable non-essential Services
# 11) Disable networking services (WiFi, SSH)
Expand Down Expand Up @@ -221,7 +221,7 @@ def main():
os.system(f"sudo cp {CONFIG_FILE} {CONFIG_FILE_BU}")
if os.path.exists(CONFIG_FILE_BU):
# 8) Force 640x480 mode on boot
answer = yesno("Force 640x480 mode on boot (good for scan line generators) ?")
answer = yesno("Force 640x480 mode on boot (for scan line generators)")
if answer:
changes_made = True
with open(CONFIG_FILE, "w") as f_out:
Expand Down

0 comments on commit 3d31760

Please sign in to comment.