News: 11 March 2016 - Forum Rules

Author Topic: Help with compiling Star Fox  (Read 529 times)

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Help with compiling Star Fox
« on: September 23, 2021, 07:20:38 pm »
I got stuck at compiling the source code of Star Fox, every time I got a heap error when trying to compile BANK5.ASM, someone suggested that using ARGSFXX.EXE from within ARGSF140.ZIP can solve the error and the compilation should continue but no dice...

EDIT

This is the steps to compile Star Fox:
1. You need vDos installed and the source extracted in there named for example "SF"
2. Extract the folder BIN from the StarFox2 source code to the vDos dir
3. Extract ARGSFXX.EXE from within ARGSF140.ZIP in the BIN folder
4. Set a path to the BIN folder in vDos by typing PATH C:\BIN
5. Rip the file from v1.2 of a North American StarFox ROM using an hex editor. Copy the bytes from 0x7C6E-0x7F96 from the ROM into a new file and save it as "AND.PCR" to "SF\DATA"
6. Open VARS.INC with a text editor and change the 9 line from "contest equ 1" to "contest equ 0", this will compile the normal game instead of the Contest Edition
7. Change into the SF directory and run the command MAKE SG.ROM
8. After getting an error at compiling BANK5.ASM, open MAKEFILE and change the 5 line from "ASM=SASMX" to "ASM=ARGSFXX" and compile again
9. You will receive yet another error so restore the line above to its original value and compile again

After this SG.ROM should be created on the SF dir...
« Last Edit: September 29, 2021, 12:59:51 pm by Marcelo_20XX »

Everything

  • Jr. Member
  • **
  • Posts: 38
    • View Profile
Re: Help with compiling Star Fox
« Reply #1 on: September 29, 2021, 08:52:13 am »
Are you getting an error message?

If you're using the leaked source code, I believe there is a file missing. You can rip the file from v1.2 of a North American StarFox ROM using a hex editor. Copy the bytes from 0x7C6E-0x7F96 from the ROM into a new file and save it as "AND.PCR" in the "SG" directory. The file should be 808 bytes long. It should start with 08 1A 57 86 and it should end with 00 00 08 00.

You might also want to contact the folks working on Star Fox Exploration Showcase. There's a discord link on kando's twitter (@kandowontu).

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 41
    • View Profile
Re: Help with compiling Star Fox
« Reply #2 on: September 29, 2021, 12:40:24 pm »
Yes, I was missing one file, which is the Andross Game Over Screen. But also I needed to quick edit the MAKEFILE to reflect the change in compilers when dealing with the BANK5 issue, thank you, that solved the problem, I will update my first post