forum

osu!StreamCompanion - live pp display / ingame overlay!

posted
Total Posts
613
show more
Kuro-pi
I don't think I've ever logged out of Osu! since I downloaded it. I had to use the fail-safe. Thanks!
Julcia
It works, thank you so much! <3
Ephemeral
Having huge amounts of issues with this (using the experimental full map recognition), it doesn't seem to catch most songs that are downloaded during play when actually being played (captures them fine in song select), or in the editor at all.

Is there an option or a way to have the string output for the now-playing lines be empty when matches aren't found instead of including the tokens in the string?
Topic Starter
Piotrekol
Everything you mentioned should be fixed.
And tokens will now default to empty string when data can't be found.
oSumAtrIX
is it possible to integrate an autoupdater so we don't need to configure StreamCompanion everytime we update?
Topic Starter
Piotrekol
Not sure what do you mean by needing to configure StreamCompanion everytime.
If you just install new version without uninstalling old one it won't reset your configuration.
Topic Starter
Piotrekol
new release is up :)

Added:

  1. Automatic updater
  2. OBS integration using additional plugin with you can install by dropping contents of OBSPlugin.zip(avaliable on github download page) to your OBS install location.
  3. Modded bpm tokens: !mBpm!, !mMaxBpm!, !mMinBpm!
  4. Modded map pp outputs !mSSPP!, !m99PP! etc..
  5. Map formatting config tab got cleaned up
  6. Live map outputs avaliable using OBS plugin:
    !300! - current count of 300 hits
    !100! - current count of 100 hits
    !50! - current count of 50 hits
    !miss! - current count of misses
    !time! - current position in map in seconds
    !combo! - your current combo
    !comboMax! - maximum combo you had in current map play
    !PpIfMapEndsNow! - predicted pp if map would end right now
    !PpIfRestFced! - predicted pp if you would perfect rest of the map
    !AccIfRestFced! - accuracy if you would perfect rest of the map
    To be able to use these(and only these) you need pattern set to be a memory https://i.imgur.com/2TaQmIF.jpg
  7. All map formating patterns, regardless of their memory status are avaliable in obs plugin using pattern name prefixed with "SC-" eg. https://i.imgur.com/Zx5b9De.jpg
Download in first post. Most likely it'll be your last time updating manually.
SatoriKomeiji
Hey!
First up - thanks for all the hard work that went into this. The tool has really transformed the average osu stream content quality (including mine).

Now I'm having some issues with the plugin packed with the latest release.
The obs plugin doesn't seem to do anything for me on the 64bit version of obs, I see no new source types available. I'm already using an MMF text plugin, so I tried reading the memory file from that, but it only reads the first character.
On 32bit version of OBS the plugin seems to make it crash on startup.
Text file versions work great, just having problems with the obs plugin.
Topic Starter
Piotrekol
make sure you're running newest version of obs studio (21.0.1 at the time of writing)
I've tested obs plugin with several users and they had no problems :/

As for MMF plugin- no idea how it handles data but I'm encoding characters in Unicode so maybe that's the cause(this won't change).
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
show more
Please sign in to reply.

New reply