Skip to content

Commit

Permalink
0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakads committed Nov 8, 2019
1 parent ff6a938 commit 283c007
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@ For details, check out the [wiki](https://github.com/jakads/Randosu/wiki)
- More randomization options
- Friendlier UI using TKinter
- Auto-select .osu file to randomize using osu client (something like osu!StreamCompanion's Now Playing feature)
- Chances of switching -> Proportions of switching
- Make scatter only avoid 16+th jacks
- Calculate the end of sliders to prevent sliderends going out of bounds
* Any help about this is greatly appreciated
Binary file modified Randosu.exe
Binary file not shown.
5 changes: 3 additions & 2 deletions functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def intro():
'hi',
'yes',
'epic',
'The Ultmiate Map Radnomizer for all modes in osu!'
'More visual layouts coming soon:tm:',
]
introweight = [30] + [10] + [1] * (len(introlist) - 2)
return choices(introlist, introweight)[0]
Expand All @@ -34,7 +34,8 @@ def crash():
'I hate myself.',
'When you mix up the pattern too intensely',
'damn',
'h'
'h',
'the fuck'
]
return choices(crashlist)[0]

Expand Down
2 changes: 1 addition & 1 deletion randosu.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
crashlog = f'CrashLog_{datetime.now().strftime("%Y%m%d%H%M%S")}.log'
with open(crashlog,mode='w',encoding='utf-8') as c:
c.write(crash())
c.write(f'Target File: {sys.argv[1]}\n')
c.write(f'\n\nTarget File: {sys.argv[1]}\n')
c.write('If you would like to tell the dev about this issue, please attach the file above with this crash report.\n')
c.write('DO NOT EDIT ANYTHING WRITTEN HERE.\n\n')
c.write(traceback.format_exc())
Expand Down
6 changes: 3 additions & 3 deletions src/mania.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def randosu(path, content):

i=0

f = open('test.log',mode='w',encoding='utf-8')
# f = open('test.log',mode='w',encoding='utf-8')

# Int, Boolean List for checking the previous occupation (used for Scatter)
# Defaults to [False, False, ..., False]
Expand Down Expand Up @@ -267,9 +267,9 @@ def randosu(path, content):

i += 1

f.write(f'{randcol} | {n["ms"]}, {ceil(mpb/4)}, {bestcol}, {goodcol}, {leftcol}\n')
# f.write(f'{randcol} | {n["ms"]}, {ceil(mpb/4)}, {bestcol}, {goodcol}, {leftcol}\n')

f.close()
# f.close()
with open(filename,'w',encoding='utf-8') as osu:
col = [int(512*(2*column+1)/(2*keys)) for column in range(keys)]

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.2.0

0 comments on commit 283c007

Please sign in to comment.