Source Code for SMBX 1.3
This is research prove ground branch made by Wohlstand, used for the development of Moondust Engine. Can be freely used as a ready for work reference for anything.
This project requires the "Microsoft Visual Basic 6.0" IDE for a build. You can find it around the Internet on various software historical or abandonware related sites. I have used VB6 SP6 (An SP6 included with an install CD image that I had). The best environment for a work the Windows XP suggested, however, knowing the fact that Redigit has worked on SMBX with using a Windows Vista.
- Clone this repository to your end (using any GIT client)
- Download regular SMBX 1.3 package: here or here
- Download the config pack for Moondust Project (needed for music and sounds): here
- Open the SMBX archive and unpack next folders into the root of this repository: battle, graphics, worlds
- Open the config pack archive, open the "SMBX/data" folder and unpack next folders into the root of this repository: music, sound
- Open the Mario.vbp project file directly from the repository root, it should be loaded in VB6 IDE. Note that the root of the repository must be a working directory!
- Try to run the game by clicking the run ">" icon. A game should work.
- A tip: please do debug work with a disabled sound, otherwise, VB6 will crash once you'll press the "stop" button.
- If you want to get the .exe file from this, you need to open the "File -> Make smbx-r.exe" menu item.
- Note: while the build process, VB6's window will be stuck, keep patience, it should build the executable in the final.
--no-frame-skip
- Disable frame skipping--no-sound
- Disable the sound engine--runWhenUnfocused
- Allow game to work without of the focus--game
- Run the game without launcher menu--leveleditor
- Run the editor without launcher menu--compat-mode
- Enable the strict compatibility mode (certain gameplay fixes will be disabled)--record-enable
- Enable the recording of the gameplay into special .rec demo files--testlevel=<level file path>
- Run the level editor and start the level test immediately
<level file path>
- Run the level test in a same way as a normal game, without level editor launching--num-players=X
- Set number of players (from 1 to 2) in the test mode game--char1=X
- Set character number (from 1 to 5) for player 1--char2=X
- Set character number (from 1 to 5) for player 2--state1=X
- Set state number (from 1 to 7) for player 1--state2=X
- Set state number (from 1 to 7) for player 2--mount-type1=X
- Set mount type (from 0 to 3) for player 1--mount-type2=X
- Set mount type (from 0 to 3) for player 2--mount1=X
- Set mount id (from 0, and depends on a type) for player 1--mount1=X
- Set mount id (from 0, and depends on a type) for player 2--stars=X
- Set the initial number of stars at the running level--battle-mode
- Start the level testing in a battle mode--god-mode
- Enable the god mode while level testing--grab-all
- Enable the ability to grab every NPC while level testing
--console
- Show console dialogue--show-fps
- Enable the framerate value printing at the left-top corner--max-fps
- Disable the frame limitting mechanism and run the game as fast as possible