hi,
I can't notice any things wrong here with svn830, I remake all from scratch to verify!
not sure that this really helps you but in case...
building Supermodel with mingw from svn830 (last one actually)
- Code: Select all
make -f Makefiles\Makefile.Win32 NET_BOARD=1
clean before if it needed!
NET_BOARD=1 is needed if you want network to be enabled
note : depending your development environment, you had to edit makefile.win32 to change you sdl2 directory for lib and include
create folders somewhere like this
- Code: Select all
supermodelnettest
|--master
|--config
|--NVRAM
|--slave
|--config
|--NVRAM
copy config\supermodel.ini and config\games.xml from your svn 830 directory to master and slave config folder (it is important to copy games.xml from the corresponding svn build you made)
copy supermodel.exe from your bin build folder to master and slave folder
depending your system config, you may need to copy also SDL2.dll and SDL2_net.dll to master and slave folder (and do not mix these dll from different build especially if it comes from different compiler (msvc, gcc) this may cause crashes)
edit supermodel.ini to setup your network
for example
- Code: Select all
master:
EmulateNet=1
port_in=1977
addr_in="127.0.0.1"
port_out=1978
addr_out="127.0.0.1"
slave:
EmulateNet=1
port_in=1978
addr_in="127.0.0.1"
port_out=1977
addr_out="127.0.0.1"
edit to suit your needs
launch master from his folder
set up its network config in service menu
launch slave from his folder
set up its network config in service menu
note : as I put EmulateNet=1 in supermodel.ini you may need to launch with -no-net option to change network settings in service menu
I've also create a simple batch to launch 2 instances of Supermodel (create a run.bat in master folder)
- Code: Select all
j:
cd \Temp\supnettest\master
start supermodel -show-fps -ppc-frequency=%2 %1 %3 %4
cd \Temp\supnettest\slave
start supermodel -show-fps -ppc-frequency=%2 %1 %3 %4
cd \Temp\supnettest\master
edit directory to suit your needs
goto master folder and with this simple run.bat file, type
- Code: Select all
run.bat spikeofe.zip 50 -no-threads
parameter 1 : rom file
parameter 2 : ppc frequency (50)
parameter 3 : -no-net
parameter 4 : none