forum

osu!StreamCompanion - live pp display / ingame overlay!

posted
Total Posts
613
show more
SatoriKomeiji
Oh, I somehow missed a major obs update, now I feel stupid. Since I have access to your plugin now, the MMF thing is irrelevant. Thanks :)

Edit:
Actually... now it outputs tokens instead of data during play if memory pooling is enabled. If it's disabled, works as intended. Data shows up correctly in the streamcompanion window and in the text files in both cases.
https://imgur.com/eULpz7b
And to skip this step, here's the console output
21:49:19 - booting up...
21:49:19 - Starting...
21:49:19 - Main classes...
21:49:20 - Modules...
21:49:20 - Keyboard hooked!
21:49:20 - loaded 23 modules, where 11 are providing settings
21:49:20 - Started!
21:49:21 - enabled: True
21:49:22 - Got 933228 & 2321 from memory
21:49:22 - Found data using "Memory" ID: 933228
21:49:34 - Found data using "rawString" ID: 933228
21:49:35 - Found data using "rawString" ID: 933228
21:49:35 - Got artist: "NOMA" title: "Brain Power Long Version" diff: "" status: "Listening"
21:49:42 - enabled: True
21:49:42 - Got artist: "NOMA" title: "Brain Power Long Version" diff: "Overdrive" status: "Watching"
21:49:43 - Got 933228 & 2321 from memory
21:49:43 - Found data using "Memory" ID: 933228
21:50:06 - Found data using "rawString" ID: 933228
21:50:06 - Got artist: "NOMA" title: "Brain Power Long Version" diff: "" status: "Listening"
21:50:11 - enabled: True
21:50:11 - ignoring second MSN string...
21:50:11 - Got 933228 & 273 from memory
21:50:11 - Found data using "Memory" ID: 933228
21:50:41 - Found data using "rawString" ID: 933228
21:50:42 - Got artist: "NOMA" title: "Brain Power Long Version" diff: "" status: "Listening"
Topic Starter
Piotrekol
Data shows up correctly in the streamcompanion window and in the text files in both cases.
To be able to use these(and only these) you need pattern set to be a memory https://i.imgur.com/2TaQmIF.jpg
>(and only these)

You can still use all patterns in obs plugin without setting every single one as a memory one.
https://i.imgur.com/Q7GpX7C.jpg

//edit
I've looked at code again, and you'll be able to use both "normal" and these new tokens in next release.But for now you'll have to do what I wrote.
actually no, not happening. At least for now. This is a bit more complicated.

//edit2
Also these memory patterns outputting when not playing is a bug, with will be fixed in next release(will be empty when not playing)
Topic Starter
Piotrekol
New release is up!

Added:
  1. ClickCounter keys to memory(OBS plugin) output `SC-<filename without .txt>` eg. https://i.imgur.com/qHqtze9.jpg or `SC-M1`, `SC-M2` for mouse outputs - this removes previous text-output OBS lag
  2. You can disable saving of ClickCounter files in settings (Requires restart of SC)
  3. !mHP!
  4. Reordered Command preview values to show all "modded" values as last


Fixed:
  1. pp calculation omitting some of beatmap objects, causing slightly offset pp output
  2. comboMax sometimes getting set to ridiculous value and breaking pp calculation in the process(it is now read from memory instead)
  3. Updater not being able to contact github api anymore


Also it seems like something changed on github, and old updater doesn't work in older versions anymore- most likely you'll have to update manually this time. Link to download can be found in the first post.
Ryuto Setsujin
I can't get the OBS plugin to work. What do I do?
Topic Starter
Piotrekol
Well, you provided no info about anything so all I can do is link this for you: https://github.com/Piotrekol/StreamComp ... gin-output
Ryuto Setsujin
Just figured out how I got the Now Playing thing to appear on my stream. Thank you very much :D
-Master-
I Hope I'm not being boring or reporting it in the wrong section, but comboMax (The Memory One) seems to not work ;w;

https://puu.sh/AgIhd/a77a6cc012.mp4
Topic Starter
Piotrekol
!CurrentMaxCombo!, it got renamed to make space for token with max combo you can get on a map

https://github.com/Piotrekol/StreamComp ... ds-preview

And while I'm here, let me drop this https://streamable.com/mdz2i and this https://osu.ppy.sh/ss/10881505
-Master-
Thank you! :3

Edit:

Man oh man, this looks great, you're an absolute madman

All my kudos to you my friend! :3
Zak
Hey! So sorry if this has been asked, but is the OBS plugin tested to work with Streamlabs OBS? Don't want to risk breaking anything when I try, since when the program acts up for me I have a lot of trouble fixing it.
Topic Starter
Piotrekol
Sadly, I don't think it works(it just doesn't appear in avaliable outputs), and I couldn't find any docs that might explain how/if I could make it work.

Instead, You might be interested in new SC option that allows to show anything inside your osu! window (ingameOverlay - examples in my previous post) - that should be released later today nvm having huge issues atm(obs pls).
Topic Starter
Piotrekol
Another release coming!

Added:
  1. ingame overlay - display any StreamCompanion pattern inside osu! - works both in windowed and fullscreen, optimized for low-end PCs. More info in the wiki here
  2. Updated pp algorithm to account for recent changes regarding HD
Fixed:
  1. patterns shouldn't break anymore
  2. msn crash when no data was sent(but was expected)
  3. hot loading of some beatmaps failing
  4. beatmap existence checks in live pp calculator
  5. reset SC database when it can't be loaded for whatever reason(previously you had to manually delete it/reinstall SC)
  6. Fix more file in use crashes
  7. SC (with enabled memory pooling) sometimes causing osu! to freak out and soft-reload its db(no data loss, but depending on amount of maps it could take some time)
  8. !OsuFileLocation! token not accounting for custom Songs folder location
Midiru
Lol, it is not updating now. Program just restarting and again offers update....
Topic Starter
Piotrekol
Sorry about that, I somehow missed that bug report barrage(lets just say you weren't only one affected..)

Fixed:
  1. Crash on adding new click counter keys
  2. Occasional live pp calculator crash when getting map max combo
Start Stream Companion to get update notification, or download installer from link in the first post in this thread.

DimaMyronets wrote:

Lol, it is not updating now. Program just restarting and again offers update....
You might have updated when I was replacing .21 ver with .23 one on github - one of the fixes mentioned weren't actually in so I just replaced that release
ThatsNotAName
The in game overlay seems to flicker when it previews on OBS. Is this just me?
Low framerate gif of it happening here
Topic Starter
Piotrekol
It does flicker in obs(with game capture) and I haven't found a way around it - yet - other than using windowed osu!+window capture(with isn't what you want to do if you don't want ingame input lag)
No solution for now :( (use obs plugin to display that data directly on stream instead)

..derp
DarkProjector

Piotrekol wrote:

It does flicker in obs(with game capture) and I haven't found a way around it - yet - other than using windowed osu!+window capture(with isn't what you want to do if you don't want ingame input lag)
No solution for now :( (use obs plugin to display that data directly on stream instead)
Did you try this?:
Topic Starter
Piotrekol
..I totally forgot that this option exists in obs - thanks for that, I'll add that to wiki later.
- Zuramaru -
I don't know if I'm doing something incorrectly, but for the life of me I can't get the in game overlay to work. I've made sure that the "Enable ingame overlay" option is checked and that I've restarted SC after enabling it, but no text comes up when I check the "show in osu!" button in the output patterns tab. I'm not sure if for some reason I'm setting x and y coordinates past my game resolution, but I don't believe I am, since it's 1440x900 windowed.

http://puu.sh/AIcF4.PNG
http://puu.sh/AIcFM.PNG
https://puu.sh/AIcGN.PNG
Topic Starter
Piotrekol
Weird, make sure that you are testing these patterns when playing a map(since that's the save event they both have).
You could also try creating new pattern and without editing anything in it, show it in osu! and set its position to 50 50 - does that work?

If that's still not it, You could either:
  1. wait until next release for actual overlay errors to start poping up(assuming it's that)
  2. go to SC folder and while having SC closed edit these 2 values in settings.ini file:
    console = True
    LogLevel = 200
    That'll create additional console window with will contain some extra info - including eventual overlay errors
- Zuramaru -

Piotrekol wrote:

Weird, make sure that you are testing these patterns when playing a map(since that's the save event they both have).
You could also try creating new pattern and without editing anything in it, show it in osu! and set its position to 50 50 - does that work?

If that's still not it, You could either:
  1. wait until next release for actual overlay errors to start poping up(assuming it's that)
  2. go to SC folder and while having SC closed edit these 2 values in settings.ini file:
    console = True
    LogLevel = 200
    That'll create additional console window with will contain some extra info - including eventual overlay errors
No, no text draws at all, and I don't get any obvious errors in the console, so I really don't know what it is. I can try reinstalling SC.
Rai Hu
Uhh.. This never happened to me before when I downloaded and used osu!stream companion, but now windows is telling me it's a trojan and won't allow me to download it? Weird
Topic Starter
Piotrekol

Ninuju wrote:

Uhh.. This never happened to me before when I downloaded and used osu!stream companion, but now windows is telling me it's a trojan and won't allow me to download it? Weird
On top of being obfuscated, it now contains code that allows SC to potentially "add" any code(dll) into any application(but it's coded in such way that it's only going to add overlay to osu!) - maybe that's whats tiggering it. No idea.

Krypto wrote:

No, no text draws at all, and I don't get any obvious errors in the console, so I really don't know what it is. I can try reinstalling SC.
I did some testing.
Do you happen to be running multiple osu! instances(or simply changing location of your osu!) or have you reinstalled your osu! on current system?
Go to your osu! folder and look for "freetype.dll", does it exist?
- Zuramaru -

Piotrekol wrote:

Ninuju wrote:

Uhh.. This never happened to me before when I downloaded and used osu!stream companion, but now windows is telling me it's a trojan and won't allow me to download it? Weird
On top of being obfuscated, it now contains code that allows SC to potentially "add" any code(dll) into any application(but it's coded in such way that it's only going to add overlay to osu!) - maybe that's whats tiggering it. No idea.

Krypto wrote:

No, no text draws at all, and I don't get any obvious errors in the console, so I really don't know what it is. I can try reinstalling SC.
I did some testing.
Do you happen to be running multiple osu! instances(or simply changing location of your osu!) or have you reinstalled your osu! on current system?
Go to your osu! folder and look for "freetype.dll", does it exist?
Yeah, my osu folder is on a different drive and not in the default location. I only have one instance of osu running as far as I know. osu!SC does pick up my osu folder is in my D drive though. I’m not home atm, but I’ll edit my post if I have the freetype.dll or not.

EDIT: I do have freetype.dll in my osu folder.
Dr3w_1337
10/10 nice trojan... GJ!

RIP Windows
Topic Starter
Piotrekol
Yeah... no. Try pulling source code from github, compiling it yourself in Release version and scan resulting exe

... and you shall receive something like this: https://www.virustotal.com/#/file/ecb2b ... /detection

I have no clue what caused this, I'll spend some time today/tomorrow to figure out what code is causing it.

//edit

Removed like 90% of the SC code and detection ratio did not change (I removed each module code itself, not only references in initalizer)
Guess this was right time(nice timing...-.-) to begin working on plugin system with will allow for:
- main exe to remain unobfuscated
- each plugin(currently modules) to be in its own file (and majority of these will also remain unobfuscated)
https://github.com/Piotrekol/StreamComp ... ts/plugins
ETA? somewhere this week I guess.
TRV
osu!StreamCompanion keeps on closing out when I start a map.
Zak
Same here, most maps I play it just crashes immediately.
BillyBaka

Piotrekol wrote:

Data shows up correctly in the streamcompanion window and in the text files in both cases.


To be able to use these(and only these) you need pattern set to be a memory https://i.imgur.com/2TaQmIF.jpg


>(and only these)

You can still use all patterns in obs plugin without setting every single one as a memory one.
https://i.imgur.com/Q7GpX7C.jpg

//edit
I've looked at code again, and you'll be able to use both "normal" and these new tokens in next release.But for now you'll have to do what I wrote.
actually no, not happening. At least for now. This is a bit more complicated.

//edit2
Also these memory patterns outputting when not playing is a bug, with will be fixed in next release(will be empty when not playing)



thanks for this awsome tool but my question is : is this supposed to still work ? the live pp i mean

i try to display live pp if fc.. what happens is my settings window are not the same as i cant check memory thing .. i guessed it just recognise itself now in some update but i have the red text saying : use obs plug ins... which i think i installed correctly .. whats happening in the preview of the !PpIfRestFced! just under it .. sometimes it updates to a fix number and it would stuck there or it ll just display change map to preview ...

then in obs i can select text SC which i guess use the plug in set it to SC -whatever in setting

and i never got it to show in obs

thanks for the help

Ryunosukeh
Hey i have the Problem that it everytime says this http://prntscr.com/kd4kzm

"Issues

SC says I'm not playing anything no matter what I do!
Make sure that MSN is enabled ingame.
Run SC and osu! on same permission level (both as normal user, or both as administrator)
Make sure that your antivirus isn't doing something weird(especially sandboxing) - try adding exception in it."

I tryed all that but nothing happend so please help me :C
-Asuki-Chan-
absolutely useless in this time and age doesnt even work
VenomThor2
panda dome says its virus lul
sealos
Well when I try to install it i get a error - "The drive or UNC share you selected does not exist or is not accessible. Please select another"
RhytmicPantsu
i cant seem to get the PP thing to work.. is there anything else i need to keep in mind? got the OBS plugin an i set the source to the name, but it always stays like this
Topic Starter
Piotrekol

VenomThor2 wrote:

panda dome says its virus lul
Everything used to compile SC is contained on github & it's built with appveyor(you can see build process).
If you still don't want to use it despite that, you're free to compile yourself from source.

chad6828 wrote:

Well when I try to install it i get a error - "The drive or UNC share you selected does not exist or is not accessible. Please select another"
You might have deleted SC folder manually instead of uninstalling it in the past - that's what google is telling me(and all I can help with given info).

Emerald-chan wrote:

is there anything else i need to keep in mind?
That obs message is default one and basically means that file doesn't exist in memory = SC haven't created it(it'll do it when first write to that file happens).

In SC settings, are both memory checkboxes checked?
hop on discord if you need help figuring this out https://discord.gg/N854wYZ
Asteos
Hello, can I somehow start a new line in np_ file, using formating line in Output patterns tab?
I want to get something like this in np_playing_details file:
example
CS:4
AR:4
OD:3
HP:7
Topic Starter
Piotrekol
Sure, use !lb! for line breaks
CS:!cs! !lb!AR:!ar! !lb!OD:!od! !lb!HP:!hp!
spaces are there just for readability - you can remove these if necessary
Asteos
Thank you! Good job with this program :)
hxjz233
Nice program! Is it or will it be compatible with mania? (including the pp system and ranks on every hit, where there is no 300g and 200 in osu!std):)
LazyOPerson
I keep trying to open stream companion but it always says "osu!stream companion is already running!" and i cant do anything.
show more
Please sign in to reply.

New reply