Skip to content

Instantly share code, notes, and snippets.

Jas@CORSAIRONE MINGW64 ~/Documents/GitHub/slippi-desktop-app (upgrade/latest-boilerplate)
$ yarn package
yarn run v1.13.0
$ node ./internals/scripts/CopyDolphin.js && yarn build && electron-builder build --publish never
Copying the windows build of dolphin to package
Finished copying dolphin build!
$ concurrently "yarn build-main" "yarn build-renderer"
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors
[0] Hash: 0af9f117073b14bf8481
jas@jas-vbox-ubuntu:~/Documents/Development/slippi-desktop-app$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
[sudo] password for jas:
## Installing the NodeSource Node.js 10.x repo...
## Populating apt-get cache...
+ apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
[100%] Linking CXX executable ../../../Binaries/dolphin-emu-nogui
[100%] Built target dolphin-emu-nogui
+ cd ../..
+ mv Ishiiruka/build/Binaries/ ./netplay/
+ mkdir ./netplay/Slippi
+ [[ r11 != r10 ]]
sh: 206: [[: not found
+ [[ 1 == 1 ]]
sh: 221: [[: not found
+ SYMLINK_NAME=launch-slippi-r11-netplay
SlpFileWriter.js:101 {command: "0x35", payloadLen: "0xd", bytesWritten: 0}
SlpFileWriter.js:101 {command: "0x36", payloadLen: "0x1a0", bytesWritten: 14}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816087}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816088}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816089}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816090}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816091}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816092}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816093}
SlpFileWriter.js:101 {command: "0x0", payloadLen: "0x0", bytesWritten: 816094}
SlpFileWriter.js:112 {command: "0x36", payloadLen: "0x1a0", bytesWritten: 431, toWrite: Buffer(417)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550276, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550277, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550278, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550279, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550280, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550281, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550282, toWrite: Buffer(1)}
SlpFileWriter.js:112 {command: "0x0", payloadLen: "0x0", bytesWritten: 550283, toWrite: Buffer(1)}
Fizzi@MacBook-Pro-7 ~/D/N/k/bin2h> gcc main.c -m32 -s -Os -o bin2h
main.c:64:48: warning: format specifies type 'unsigned int' but the argument has
type 'size_t' (aka 'unsigned long') [-Wformat]
fprintf(f,"#define %s_size 0x%x\n\n",basename,fsize);
~~ ^~~~~
%zx
1 warning generated.
ld: warning: option -s is obsolete and being ignored
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
Slippi Flight Notes
General
- MAC Address does not get initialized if network thread doesn’t start. Will likely be using USB at Gang
- Should we use something other than MAC Address for console ID? Or should we just initialize and use it as an ID even if not using networking
- A safer method for real-time mode might be to track the frames and keep track of how far behind we are and look for the minimums, if the constant minimum is something like 5 frames, that means we should be able to FFW 5 frames without ever having to wait. Maybe also only ever FFW a single frame at a time, intervals of 15 frames or so? Might create a smoother FFW experience.
Tournament Set-up
- Make sure latest Slippi Nintendont is installed on all the Wiis
- Set up the console times for all the consoles (Vin plz halp ;-;)
{
"name": "slippi-api-js",
"scripts": {
"start": "node start.js",
"deploy": "gcloud app deploy --quiet",
"tail": "gcloud app logs tail -s api-js",
"upload-replays": "node scripts/runScript.js uploadReplays.js"
},
"dependencies": {
"@babel/core": "^7.3.4",
{
"gameIdx": 0,
"settings": {
"isTeams": false,
"isPAL": false,
"stageId": 32,
"players": [
{
"playerIndex": 0,
"port": 1,
[
{
"label": "Openings / Kill",
"player1Value": "4.5",
"player2Value": "2.0"
},
{
"label": "Damage / Opening",
"player1Value": "25.1",
"player2Value": "34.3"