trying to port to 4.0 alpha

Discussion particular to FoFiX, its development, and themes
Forum rules
This topic is 9 years and 4 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

trying to port to 4.0 alpha

Postby slantyr » Tue Dec 28, 2010 1:23 pm

as the title says i'm trying to port my bioshock theme to 4.0.x alpha just released

first thing i did was to copy the file structure to include the new folders with the proper files (file names)

i can't switch from the rb style main menu so the maintext image is being cut improperly thanks Ambiguity

i know i have all the right stuff, how do i set up my lobby? thanks wierdpeople/worldrave

also how do i set up a custom setlist to the rb2 style thanks wierdpeople/blazingamer

my customsetlist.py link(link updated. now works!)

Image


some of the images are not scaling with the resolution thanks fuzion
fixed for the next alpha

need some direction as to how the new editor/instrument-difficulty select screen is being handled.

edit: my rockmeter.ini now works but crashes the game

Code: Select all


#BioShock#

[layer1:Image]
texture = dotbase.png
xpos = .152
ypos = .29
xscale = .5
yscale = -.5

[layer2:Image]
texture = dots.png

[layer2:fx0]
type = streak
xpos = .152
ypos = .29
xscale = .5
yscale = -.5

angle = 0
multdiv = True

[layer3:Image]
texture = mult.png

[layer3:fx0]
type = mult
xpos = 0.134
ypos = 0.19
xscale = .5
yscale = -.5


[layer4:Image]
texture = rockmeter.png
xpos = .134
ypos = .22
xscale = .5
yscale = -.5

[layer5:Image]
texture = splight.png
issplights = True
xstatic = 0.772, 0.795, 0.822
ystatic = 0.284, 0.312, 0.329
xstart = 0.841680344, 0.841680344, 0.851971546
xend = 0.867126494, 0.902359625, 0.943112688
ystart = 0.202291056, 0.205626286, 0.20994647
yend = 0.34490625, 0.333114583, 0.302322917
angle = .87, .58, .37, 0, -.34, -.70
scale = 23.0000, 32.0000

[layer6:Image]
texture = rock_med.png

[layer6:fx0]
type = rock
texture = rock_low.png;rock_med.png;rock_hi.png
xpos = .86
ypos = .2
xscale = .5
yscale = -.5

[layer7:Image]
texture = rock_arr.png

[layer7:fx0]
type = rock
xpos = .86
ypos = .136
xscale = .5
yscale = -.5
angle = -(.460 / 2) * math.pi + .460 * math.pi * self.arrowRotation

[layer8:Image]
texture = counter.png
xpos = .15
ypos = .1125
xscale = .5
yscale = -.5

[layer9:Text]

text = streak%10
font = streakFont
xpos = 0.193-wid/2
ypos = 0.667-hgt/2
color = #000000

[layer10:Text]

text = (streak%100-streak%10)/10
font = streakFont
xpos = .161-wid/2
ypos =  0.667-hgt/2

[layer11:Text]

text = (streak%1000-streak%100)/100

font = streakFont
xpos = .132-wid/2
ypos =  0.667-hgt/2

[layer12:Text]
text = score
font = scoreFont
xpos = 0.236-wid
ypos =  0.475
color = #93c351

[layer13:Image]
type = rock
texture = rock_top.png
xpos = .86
ypos = .2
xscale = .5
yscale = -.5

[layer14:Image]
texture = stargrey.png,starwhite.png
isStars = True

[layer15:Image]
texture = stargrey.png
filltype = circle
isPartialStars = True
star_fillup_center_x = 139
star_fillup_center_y = 151
star_fillup_in_radius = 121
star_fillup_out_radius = 138
star_fillup_color = #FFF25E




Code: Select all

[   19.179000] (D) Song D:\FoF\songs\Career\80's\1.2 The Go-Go's - We Got The Beat\song.ini successfully loaded from cache.
[   19.179000] (D) View: Push: PartDiffChooser
[   19.180000] (W) No theme class for partDiff - Loading default...
[   24.559000] (D) View: Pop: PartDiffChooser
[   24.575000] (D) View: Pop: SongChoosingScene
[   24.583000] (D) GuitarScene init...
[   24.584000] (D) Song D:\FoF\songs\Career\80's\1.2 The Go-Go's - We Got The Beat\song.ini successfully loaded from cache.
[   24.584000] (D) View: Push: LoadingSplashScreen
[   24.601000] (D) Battle Objects Enabled: [4, 2, 3, 7, 8, 6, 5]
[   24.602000] (E) Attempted to load theme variable fret_press - no default found.
Traceback (most recent call last):
  File "Theme.pyo", line 58, in __getattr__
KeyError: 'fret_press'

[   24.643000] (D) themes\BioShock\notes exists!
[   25.886000] (D) Simple tails used; complex tail loading error...
[   26.056000] (D) GuitarScene keysList: [[64, 256, 1024, 4096, 16384, 128, 512, 2048, 8192, 32768]]
[   26.057000] (W) Stage folder does not exist: D:\FoF\themes\BioShock\backgrounds
[   26.062000] (D) loadSong function call (song.py)...
[   26.088000] (D) Song D:\FoF\songs\Career\80's\1.2 The Go-Go's - We Got The Beat\song.ini successfully loaded from cache.
[   26.493000] (D) Retrieving notes from: D:\FoF\songs\Career\80's\1.2 The Go-Go's - We Got The Beat\notes.mid
[   27.167000] (D) No song.ini setting found specifying early_hit_window_size - using automatic detection...
[   27.442000] (D) Last note (number 0) found for player 0 at time 151083.792000
[   28.282000] (N) No song-specific stage found
[   28.283000] (W) No default stage; falling back on a forced Blank stage mode
[   28.283000] (D) BRE score background image loading problem!
[   29.527000] (D) Pause text / selected colors: (1.0, 1.0, 1.0) / (1.0, 0.74901960784313726, 0.0)
[   29.528000] (W) Your theme does not appear to properly support the pause graphical submenu. Check to be sure you have the latest version of your theme.
[   29.529000] (W) Your theme does not appear to properly support the fail graphical submenu. Check to be sure you have the latest version of your theme.
[   29.577000] (D) View: Pop: Menu
[   30.025000] (D) View: Pop: LoadingSplashScreen
[   30.025000] (D) View: Push: GuitarScene
[   30.100000] (E) Terminating due to unhandled exception:
Traceback (most recent call last):
  File "FoFiX.py", line 298, in <module>
  File "FoFiX.py", line 253, in main
  File "GameEngine.pyo", line 1119, in run
  File "GameEngine.pyo", line 1085, in main
  File "View.pyo", line 261, in render
  File "GuitarScene.pyo", line 5243, in render
  File "Scene.pyo", line 101, in render
  File "GuitarScene.pyo", line 3902, in render3D
  File "Stage.pyo", line 634, in render
  File "Rockmeter.pyo", line 677, in render
  File "contextlib.pyo", line 34, in __exit__
  File "View.pyo", line 223, in orthogonalProjection
  File "Rockmeter.pyo", line 673, in render
  File "Rockmeter.pyo", line 168, in render
  File "Rockmeter.pyo", line 133, in updateLayer
  File "Rockmeter.pyo", line 83, in get
ValueError: invalid literal for float(): .87, .58, .37, 0, -.34, -.70



fofix also apears to be cutting the notes for a rb theme instead of gh
not a bug

customtheme.py link
theme.ini (what am i doing wrong)


Code: Select all

[theme]

rbmenu = false
menu_x = .90
menu_y = .70
song_list_x = .212
song_listscore_x = .68
song_listcd_list_x = .05
song_listcd_cd_x = .69
song_listcd_cd_y = .73
song_listcd_score_x = .55
song_listcd_score_y = .4
songlistcd_score_color = #C8B560
song_rb2_name_color = #372009
song_rb2_name_selected_color = #C8B560
song_rb2_diff_color = #C8B560
song_rb2_artist_color = #4C7D7E
loading_X = .5
loading_Y = .02
#loading_text_color =
career_title_color = #334455
library_selected_color = #C8B560
library_text_color = #372009
song_name_text_color = #372009
song_name_selected_color = #C8B560
artist_text_color = #4C7D7E
artist_selected_color = #4C7D7E
songlist_score_color = #4C7D7E
#fail_text_color =
fail_selected_color = #C8B560
fail_completed_color = #93c351
opt_selected_color = #C8B560
star_fillup_center_x = 139
star_fillup_center_y = 151
star_fillup_in_radius = 121
star_fillup_out_radius = 138
star_fillup_color = #FFF25E
display_all_grey_stars = false
rockmeter_score_color = #93c351
result_cheats_color = #4C7D7E
result_cheats_info = .5,.32,.002
result_cheats_numbers = .5,.36,.0015
result_cheats_percent = .38,.08,.0015
result_cheats_score = .6,.08,.0015
result_score = .5,.11,0.0025
result_song = .05,.045,.002,#C8B560
result_song_text = %s Completed!
result_star = .5,.39,.1,1
result_stats_accuracy = .5,.63,0.002,#C8B560
result_stats_accuracy_text = Accuracy: %.1f%%
result_stats_diff = .5,.57,0.002,#C8B560
result_stats_diff_text = Difficulty: %s
result_stats_notes = .5,.54,0.002,#C8B560
result_stats_notes_text = Notes Nailed %s
result_stats_part = .5,.66,0.002,#C8B560
result_stats_part_text = Instrument: %s
result_stats_streak = .5,.6,0.002,#C8B560
result_stats_streak_text = Longest Shred: %s
result_menu_x = .1
result_menu_y = .55
rbmenu = true
#sub_menu_x =
#sub_menu_y =
versiontagposX = 0.92
versiontagposY = 0.12
character_create_help_x = .54
character_create_help_y = .65
character_create_help_scale = .0014
character_create_option_x = .7
character_create_option_y = .25
character_create_space = .025
character_create_scale = .0015
character_create_y = 0.25
character_create_x = 0.35
lobby_preview_x = 0.243
lobby_title_font = score
lobby_title_scale = 0.0015
lobby_title_y = 0.5
lobby_title_x = 3
lobby_title_character_y = 0.26
lobby_title_character_x = 0.24
lobby_select_font = font
lobby_select_image_x = 0.77
lobby_select_image_y = 0.355
lobby_select_scale = 0.0014
lobby_select_space = 0.04
lobby_select_y = 0.344
lobby_select_x = 0.9



loading_phrase = For best results, play at maximum volume, especially in the presence of authority figures or the elderly _ People don't want to pay to see you jam _ If the neighbors are complaining about the noise, just turn up the volume until they move away _ If the crowd is screaming for more but the sound guy is shaking his head angrily, just ignore him and play anyway _ Your mom doesn't count as a fan _ Screaming star power is as good a plan as any _ If your singer ain't happy, ain't nobody happy _ Don't let the drummer have the microphone, it will only end in tears _ Life is hard for musicians, for drummers, it's impossible _ If the crowd wants an encore and you've run out of songs, under no circumstances should you try to JAM _ If your drummer is too tired for the encore, then hes too tired for the after party _ Get a mini-fridge in your practice space, it's more important than a bassist _ Don't let your drummer do an extended drum solo, unless you REALLY have to go to the bathroom! _ If the police aren't complaining, you're not playing loud enough _ Never think you were the first band to wear all black on stage _ I used to freak out when my amp caught on fire, but now I kinda dig the tone _ There's something wrong with your bass amp, I can still hear it _ I swear, officer -- the dressing room T.V. just un-bolted itself from the wall and threw itself out the window! _ Maybe a drum machine would show up to practice on time _ Turn that amp up, my ears are barely even bleeding _ Eleven IS louder than ten _ You played great -- they were just booing your outfits _ You're only as good as your last gig -- which sucked _ Smashed guitars just seem to sound better than their non-smashed brethren _ Real guitarists don't sit on the couch while they play _ Good Luck _ It's just tradition to show up 30 minutes late to practice _  They don't really want you to play Free Bird, they're just heckling you _ Going into practice will allow you to nail those tricky solos _ Remember, NO STAIRWAY! _ Never leave your lead singer in charge of the mix _ I'm the drummer, I don't get paid to understand any of this! _ Let's open with our latest single. That way we can get that piece of %&?#! out of the way early! _ Star Power can be a life saver! If you're deep in the red, use Star Power to win the crowd back. _ The louder the better! _ You can buy a real guitar for pretty cheap - maybe it's time to invest _ Play flawlessly to get a score multiplier going. The longer you hold a streak, the higher your multiplier will get _ Overdrive can score you tons of points, slay the crowd, and even save your life _ If you're going to smash a guitar on stage, make sure you have a backup first _ Jack The Ripper is dead, but I'll bet your fingers think otherwise _ If your drummer thinks he has an idea, give him a Kit Kat and let him re-think that _ Dropping your pants on-stage doesn't deploy star power _ If your out of songs and you still have time left in your set .. wrecking your gear is as good a plan as any _ Everything you need to know to be a rocker you learned in kindergarten: -A, B, C, D, E, F, G, 1, 2, 3, 4, Be creative _ Try not to suck this time _ Sleeping with a groupie just means you did a good job _ Mind your effects switch... The Wah-Wah doesn't belong in EVERY song! _ Rock On_ Having trouble?  Check out the tutorials in the training menu._Wanna rock with a friend?  Start a new band in Co-op career._Going into practice can help you nail those tricky solos._If you haven't recorded on a 4-track, you aren't a real band._Make sure the crowd is willing to catch you before you stage dive._Do NOT use homemade pyrotechnics._Showing up 30 minutes late to practice is just tradition._Can I get a little less suck out of the monitors?_Yes, the stage monitors are in fact, diving boards._It can always be much louder._We're a real angry band, but that doesn't mean we don't believe in peace._20 minute free-form jazz odysseys are not O.K._It takes a long time to look like you just woke up._Make sure someone in the band knows how to change a flat tire._ Go out there, rock hard and sell a bunch of t-shirts so we can eat._ If you can hear the police complaining, you aren't playing loud enough_Don't assume the drinks are on the house_It's probably not a good idea to tackle your lead singer_Don't trash your instruments unless you can afford to replace them_All record companies are evil...except the one that offered you a contract_Whoever hits the button faster gets to play lead guitar_Good Luck



the fofix.log says i'm missing fonts that are present in the fonts folder

if this isn't the right place or time for these questions i appologize

please point me in the right direction :)
Last edited by slantyr on Sun Jan 02, 2011 12:00 pm, edited 12 times in total.
Image
Gimme a literocola.
User avatar
Ambiguity
Member
Posts: 2131
Joined: May 3rd, 2009
Reputation: 0

Re: trying to port to 4.0 alpha

Postby Ambiguity » Tue Dec 28, 2010 4:36 pm

slantyr wrote: can't switch from the rb style main menu so the maintext image is being cut improperly

I don't know much about the new coding, but maybe this quote from the GH5 Theme thread will help:
weirdpeople wrote:ok yes it was as i though you have to do it through the CustomTheme.py with:
self.use_solo_submenu = False

then you will will have gh styled menus.

because for some reason the theme.ini setting doesnt work for me even though it is defined in the the theme.py but if anyone wants to try it the theme.ini setting for it is:
use_solo_submenu = False
Image
Image


T3HM3T4L:I've tried to sign up for Rock Band but they just won't allow me. They keep complaining I have to 'be over 18' while I've already been 18 for over half a year, and a sign up where I noted I was born in the '50s STILL GAVE ME THAT MESSAGE

So if anyone could help me get these templates, I'd very much appreciate it. I need it to edit notes and stuff for my Rock Band 2.

aander91:Sorry, but that'd be providing for minors, which is illegal.

T3HM3T4L:But I'm 18 years old... ?

aander91:Nope. Sorry.

T3HM3T4L:Nono, you're getting me wrong, I was asking how come I am still considered a minor?

aander91:Look, we can't just go out giving these things away to people who just say they're over 18 and show no proof, we'd be out of a job.

T3HM3T4L:Nevermind, I'll use EoF for it, I found the way I could use it for that.

Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

Re: trying to port to 4.0 alpha

Postby slantyr » Tue Dec 28, 2010 5:23 pm

that worked! main menu fixed

thanks dude
Image
Gimme a literocola.
User avatar
Ambiguity
Member
Posts: 2131
Joined: May 3rd, 2009
Reputation: 0

Re: trying to port to 4.0 alpha

Postby Ambiguity » Tue Dec 28, 2010 9:18 pm

No problem, glad I could help(by repeating others lol) :).


onmouseout="this.style.cursor='default'" alt="" />



Image
Image




T3HM3T4L:I've tried to sign up for Rock Band but they just won't allow me. They keep complaining I have to 'be over 18' while I've already been 18 for over half a year, and a sign up where I noted I was born in the '50s STILL GAVE ME THAT MESSAGE

So if anyone could help me get these templates, I'd very much appreciate it. I need it to edit notes and stuff for my Rock Band 2.

aander91:Sorry, but that'd be providing for minors, which is illegal.

T3HM3T4L:But I'm 18 years old... ?

aander91:Nope. Sorry.

T3HM3T4L:Nono, you're getting me wrong, I was asking how come I am still considered a minor?

aander91:Look, we can't just go out giving these things away to people who just say they're over 18 and show no proof, we'd be out of a job.

T3HM3T4L:Nevermind, I'll use EoF for it, I found the way I could use it for that.

weirdpeople
Member
Posts: 1104
Joined: August 16th, 2008
Location: Texas
Reputation: 14
Contact:

Re: trying to port to 4.0 alpha

Postby weirdpeople » Tue Dec 28, 2010 10:21 pm

ill look through all of your stuff for you

and about the notes currently all themes are forced rockband, sorry but thats the way it is currently. So thats why your main menu text was messed up, and your notes you will have to remake them for the rock band type.

for the new lobby there are alot of new theme settings for it, i would have to look through the theme.py and pull them out of there to tell you all of them.

I may be able to help you on the setlist forcing it to rb2 style

i see several errors in your rockmeter.ini when i looked through it
first it looks like you used one of the other megalight themes other than megalight v4 as a basis for it, and someone i think it was fuzion didnt convert them correctly to the new format rockmeter.ini, and doesnt work right. So your rm.ini may need to be re wrote i might be able to do that for you, and stars, i dont know how they work as of yet with the newer system, so i will have to talk to blazingGamer about that Next time he gets on the irc, just so you know.

-- Edit: Wed Dec 29, 2010 4:22 am --

i have been thinking how to make the starpower lights in the rockmeter.ini, but it would be to much for me to do right now. I could do it, it might just take a while, and im busy on the rb3 theme.
Developer of clone hero, and Former FoFiX developer
Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

Re: trying to port to 4.0 alpha

Postby slantyr » Wed Dec 29, 2010 10:34 am

thanks for the reply weirdpeople.

forced rb that explains alot
doesn't that mean my meters wont work no matter what's in the rm.ini

making a rb style set of notes is easy enough, but won't look as good.
hopefully we'll get our spinnotes and splightening back on the next release

the customsetlist.py i have, used to work for the rb2 setlist. maybe (hopefully) it's close. i need help

i don't understand why it's not using any of the images in the lobby folder
i can look through the theme.py for settings, thanks for pointing that out
edit: ajusted the options in my customtheme.py to reflect the get (-val-) from the theme.py
looks like it worked some but it's not fliping through the screens

other things i notice,

the log says there's no default stage but there is one in the stages folder
the log says i'm missing fonts present in the fonts folder

every little bit helps ambiguity ;)
Image
weirdpeople
Member
Posts: 1104
Joined: August 16th, 2008
Location: Texas
Reputation: 14
Contact:

Re: trying to port to 4.0 alpha

Postby weirdpeople » Thu Dec 30, 2010 6:32 am

slantyr wrote:i don't understand why it's not using any of the images in the lobby folder
i can look through the theme.py for settings, thanks for pointing that out
edit: ajusted the options in my customtheme.py to reflect the get (-val-) from the theme.py
looks like it worked some but it's not fliping through the screens

For the lobby the image names have changed, and you will probably have to completely re make everything for the lobby. I guess ill post something that worldrave typed up in the bottom of his CustomTheme.py that i got when i was working with him for that little while on the gh5 theme, that explains all the images used for the new lobby.

Spoiler:# Notes to self for Lobby Wiki-
#
# Theme mechanics:
# In your theme folder, any images that you place in a "lobby" subfolder will be loaded.
# The following files are supported in the default theme render - NONE are required:
# * background.png - background image
# * panel.png - the background of each character's panel
# * keyboard_panel.png - the background of the character panel currently being controlled by the keyboard; left and right to change
# * keyboard.png - image shown on the panel of the character controlled by the keyboard; left and right to change
# * selected.png - highlight behind selected characters
# * newchar_av.png - avatar image shown when "Create New Character" is selected
# * default_av.png - avatar image shown when selected character has no avatar
# * save_char.png - if present, shows this image instead of "Saved Characters" in the character select menu



The reason some of those variables didn't work is because you got the wrong thing out of the theme.py you need the self.var not the one in get() for use in the CustomTheme.py.

Hit lightning isnt tied to theme type anymore, unlike some things that still are, so you should be good on that. I also read through the code and it doesn't look like spin notes are tied to theme type ether, so just put them in the notes folder and you should be good.

The reason why there is no default stage, is because the stages folder was changed to the backgrounds folder, and then the old fof stages were brought back, using the stages folder.

I don't know how it wouldn't look as good with the rock band notes format, because i would think they would look the same if they were made right

I have never messed with the customsetlist stuff too much, so i dont know how to force it rb2 yet, but for me it looks like the CustomSetlist.py you uploaded should be working in rb2 mode.

But to fix your setlist you should be able to put import Song above or below those other 2 imports in the CustomSetlist.py and it should fix it hopefully.
Developer of clone hero, and Former FoFiX developer
Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

Re: trying to port to 4.0 alpha

Postby slantyr » Thu Dec 30, 2010 10:41 am

good information, i will have to remake my lobby images.
at least fofix is using them now

adding this to my customsetlist.py

Code: Select all

from Song import _

didn't work

about the notes, i was saying the static ones don't look as good as spinnotes ;)
both the spinnotes and spinnotesbattle are in the notes folder
just checked the option and they're supposedly on so, i don't know

moved the stages to a backgrounds folder and they work now
Image
weirdpeople
Member
Posts: 1104
Joined: August 16th, 2008
Location: Texas
Reputation: 14
Contact:

Re: trying to port to 4.0 alpha

Postby weirdpeople » Thu Dec 30, 2010 5:29 pm

no you did it wrong for the import past this exactly:

Code: Select all

import Song


then if that doesnt work try:

Code: Select all

import Song as Song
Developer of clone hero, and Former FoFiX developer
Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

Re: trying to port to 4.0 alpha

Postby slantyr » Thu Dec 30, 2010 6:59 pm

i think that worked but now it's stopping on the shadowfont


Code: Select all

Traceback (most recent call last):
  File "FoFiX.py", line 298, in <module>
  File "FoFiX.py", line 253, in main
  File "GameEngine.pyo", line 1119, in run
  File "GameEngine.pyo", line 1085, in main
  File "View.pyo", line 261, in render
  File "SongChoosingScene.pyo", line 1020, in render
  File "contextlib.pyo", line 34, in __exit__
  File "View.pyo", line 223, in orthogonalProjection
  File "SongChoosingScene.pyo", line 1011, in render
  File "SongChoosingScene.pyo", line 988, in renderSetlist
  File "D:\FoF\fofix-4.0.0alpha1\data\themes\BioShock\CustomSetlist.py", line 41, in renderUnselectedItem
AttributeError: 'Data' object has no attribute 'shadowfont'

Image
User avatar
blazingamer
Member
Posts: 2018
Joined: November 17th, 2007
Location: Pennsylvania
Reputation: 0
Contact:

Re: trying to port to 4.0 alpha

Postby blazingamer » Thu Dec 30, 2010 8:55 pm

It should be shadowFont, not shadowfont.

Rockmeters will work no matter what theme type because they are not tied in with theme type. All rockmeters are designed by hand, there are no hard coded rockmeters.

Image stages go in backgrounds folder, stage.ini backgrounds go into stage folder.

We're forcing the RB theme format throughout the code because in most cases the layout of images, such as notes, were more flexible and didn't need random conditions to handle them like the gh note layout did. Look at MegaLight V4 because it is the most complete of the themes that comes standard with 4.0.
Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

Re: trying to port to 4.0 alpha

Postby slantyr » Thu Dec 30, 2010 11:35 pm

thanks for the reply blazing,

i agree that mearging to one theme system is the right move

is there some way i can specify spinnotes in my theme?
maybe the spinnotes should be adapted to the rb style sheet for starpower also (just thinking)

so my rockmeter.ini can be fixed. thats awsome news
i need to figure out what parts are crashing the game so i can at least work with it

again i think we got a little farther with the customsetlist.py
now stops here

Code: Select all

[   11.510000] (D) View: Pop: LoadingSplashScreen
[   13.530000] (D) View: Push: SongChoosingScene
[   13.530000] (D) View: Pop: Lobby
[   13.541000] (E) Terminating due to unhandled exception:
Traceback (most recent call last):
  File "FoFiX.py", line 298, in <module>
  File "FoFiX.py", line 253, in main
  File "GameEngine.pyo", line 1119, in run
  File "GameEngine.pyo", line 1085, in main
  File "View.pyo", line 261, in render
  File "SongChoosingScene.pyo", line 1020, in render
  File "contextlib.pyo", line 34, in __exit__
  File "View.pyo", line 223, in orthogonalProjection
  File "SongChoosingScene.pyo", line 1011, in render
  File "SongChoosingScene.pyo", line 988, in renderSetlist
  File "D:\FoF\fofix-4.0.0alpha1\data\themes\BioShock\CustomSetlist.py", line 91, in renderUnselectedItem
NameError: global name 'glColor4f' is not defined



will take a good hard look at ml v4
Last edited by slantyr on Fri Dec 31, 2010 9:24 am, edited 1 time in total.
Image
weirdpeople
Member
Posts: 1104
Joined: August 16th, 2008
Location: Texas
Reputation: 14
Contact:

Re: trying to port to 4.0 alpha

Postby weirdpeople » Fri Dec 31, 2010 3:48 am

slantyr wrote:again i think we got a little farther with the customsetlist.py
now stops here

Code: Select all

[   11.510000] (D) View: Pop: LoadingSplashScreen
[   13.530000] (D) View: Push: SongChoosingScene
[   13.530000] (D) View: Pop: Lobby
[   13.541000] (E) Terminating due to unhandled exception:
Traceback (most recent call last):
  File "FoFiX.py", line 298, in <module>
  File "FoFiX.py", line 253, in main
  File "GameEngine.pyo", line 1119, in run
  File "GameEngine.pyo", line 1085, in main
  File "View.pyo", line 261, in render
  File "SongChoosingScene.pyo", line 1020, in render
  File "contextlib.pyo", line 34, in __exit__
  File "View.pyo", line 223, in orthogonalProjection
  File "SongChoosingScene.pyo", line 1011, in render
  File "SongChoosingScene.pyo", line 988, in renderSetlist
  File "D:\FoF\fofix-4.0.0alpha1\data\themes\BioShock\CustomSetlist.py", line 91, in renderUnselectedItem
NameError: global name 'glColor4f' is not defined



add this to the top of your CustomSetlist where you put the import Song as Song

Code: Select all

from OpenGL.raw.GL import glColor3f
from OpenGL.raw.GL import glColor4f
import string


then it should work for good this time

Maybe after i do a few things i could make a rough rockmeter.ini for you as a place to start, since im uploading what im releasing for my rb3 theme as i speak.
Developer of clone hero, and Former FoFiX developer
Uncle Fester
User avatar
slantyr
Member
Posts: 759
Joined: March 10th, 2008
Location: the great white north
Reputation: 0

Re: trying to port to 4.0 alpha

Postby slantyr » Fri Dec 31, 2010 9:22 am

eureka! it worked, updated the link in the OP

i'd like to figure out how to nudge all of the text down some

Image


when i changed the resolution to try and get a sharper screenshot i noticed that some of the images aren't being scaled anymore
these images appear to only scale as intended in the 640x480 resolution

maintext
version tag
options panel

in the rb2 settlist it was
label
diff image

where has the editor/instrument-difficulty select screen gone?
Image
weirdpeople
Member
Posts: 1104
Joined: August 16th, 2008
Location: Texas
Reputation: 14
Contact:

Re: trying to port to 4.0 alpha

Postby weirdpeople » Fri Dec 31, 2010 7:28 pm

slantyr wrote:where has the editor/instrument-difficulty select screen gone?

its there, but the code for it was re wrote, so there are new images and stuff for it

as for the main menu not scaling yeah, i have this problem too, and blazin' would have to answer that one because I dont know why it doesn't scale either
Developer of clone hero, and Former FoFiX developer

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 2 guests