Author Topic: A GUI Mod - 1440x1080p and 1920x1080p  (Read 8409 times)

0 Members and 1 Guest are viewing this topic.

Offline djwhite1984

  • Newbie
  • *
  • Posts: 19
A GUI Mod - 1440x1080p and 1920x1080p
« on: May 01, 2011, 06:07:17 AM »
Hello

I started with a concept for 1920x1080 and ended up with 1440x1080.
I think thats a good compromise.

This is a wibbly-wobbly-slimy-whimy version because its a mod and a mod of a mod.
1.) Thanks to Uriel and his WM rev.485 1680x1050 fullscreen configs
His verson is for 485, mine for 593. But I needed his font editing in the Exe, so he gets the credits first.
2.) Because this is his Exe Mod, there is an extra column for pregnancy.
3.) I re-arranged the buttons, tables, .. Logical and with a little knowledge about how the brain reads information - so it should be a little bit faster to manage all the Gangs, Girls and Demons ;)
4.) It's not perfect. I'm just a guy who creates giant concepts in his mind in seconds, who needs 30mins to write all of it down and days, weeks, years to do it in programming :P

Download? - It's right here (old version)


EDIT:
1920x1080p Finished as far as I am able to, until now:
Download? - BOTH VERISONS are here!! (1440x1080p + 1920x1080p)
« Last Edit: May 12, 2011, 02:29:51 PM by djwhite1984 »

Offline trex

  • Donator
  • *****
  • Posts: 143
Re: A GUI Mod - 1440x1080p
« Reply #1 on: May 02, 2011, 03:58:02 AM »
So I finally tried it, and I love it. The pregnancy column is something new (I didn't try Uriel's mod before) and getting that info at a glance is a nifty feature. The layout change threw me for a few seconds, but definitely is an improvement, easier access to tinker with each brothel's settings. Oh, and the text size is considerably larger and much easier to read. Also crisper.


Being 1440, I did get a black box around my gamescreen in fullscreen (no problems though) and I also have a dilemma. This mod is much easier to read and has a imo better UI layout, but I do like the large girl pics you find in THEFUTURE's mod. I found it made differentiating the different girls instantly recognizable, and if this mod had that, it'd be perfect. The lists of girl traits and the job lists are also more expanded out and require less scrolling, but that might be caused by the larger text sizes.


Great mod!

Offline djwhite1984

  • Newbie
  • *
  • Posts: 19
Re: A GUI Mod - 1440x1080p
« Reply #2 on: May 04, 2011, 09:57:57 AM »
Being 1440, I did get a black box around my gamescreen in fullscreen (no problems though) and I also have a dilemma. This mod is much easier to read and has a imo better UI layout, but I do like the large girl pics you find in THEFUTURE's mod. I found it made differentiating the different girls instantly recognizable, and if this mod had that, it'd be perfect. The lists of girl traits and the job lists are also more expanded out and require less scrolling, but that might be caused by the larger text sizes.

70% of the 1920x1080p Mod is done. AND the girls pics are as large as possible. I dont want to miss any text in this game :P
If somebody is working on WM 1.4 with a new GUI .. here I am!

Offline djwhite1984

  • Newbie
  • *
  • Posts: 19
Re: A GUI Mod - 1440x1080p
« Reply #3 on: May 04, 2011, 05:00:59 PM »
http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/InterfaceGlobals.cpp
Code: [Select]
503            g_LogFile.write("Loading Turn Summary Screen");
504            g_Turnsummary.AddTextItem(g_interfaceid.TEXT_CURRENTBROTHEL, 0, 0, 900, 32, "", 10);
505            g_Turnsummary.CreateWindow(8,8,786,584,1);
506            g_Turnsummary.AddTextItem(g_interfaceid.STATIC_STATIC, 8, 8, 120, 32, "Category", 15);
507            g_Turnsummary.AddTextItem(g_interfaceid.STATIC_STATIC, 8, 106, 120, 32, "Item", 15);
508            g_Turnsummary.AddTextItem(g_interfaceid.STATIC_STATIC, 8, 266, 120, 32, "Event", 15);
509            g_Turnsummary.AddTextItem(g_interfaceid.TEXT_TSEVENTDESC, 575, 8, 202, 406, "", 12);
510            g_Turnsummary.AddButton("GoTo", g_interfaceid.BUTTON_TSGOTO, 598, 462, 160, 32, true);
511            g_Turnsummary.AddButton("NextWeek", g_interfaceid.BUTTON_TSNEWWEEK, 598, 504, 160, 32, true);
512            g_Turnsummary.AddButton("Back", g_interfaceid.BUTTON_TSCLOSE, 598, 546, 160, 32, true);
513            g_Turnsummary.AddButton("Prev", g_interfaceid.BUTTON_TSPREVBROTHEL, 598, 422, 72, 32, true);
514            g_Turnsummary.AddButton("Next", g_interfaceid.BUTTON_TSNEXTBROTHEL, 686, 422, 72, 32, true);
515            g_Turnsummary.AddListBox(g_interfaceid.LIST_TSCATEGORY, 8, 40, 120, 66, 1, true);
516            g_Turnsummary.AddListBox(g_interfaceid.LIST_TSITEM, 8, 136, 120, 128, 1, true);
517            g_Turnsummary.AddListBox(g_interfaceid.LIST_TSEVENTS, 8, 296, 120, 282, 1, true);
518            g_Turnsummary.AddImage(g_interfaceid.IMAGE_TSIMAGE, "", 136, 8, 434, 570);


That's my problem. TurnSummary is hard coded and I dont know how to compile, like Uriel did it (Fonts, Pregnancy).

AND:
Code: [Select]
504            g_Turnsummary.AddTextItem(g_interfaceid.TEXT_CURRENTBROTHEL, 0, 0, 900, 32, "", 10);
505            g_Turnsummary.CreateWindow(8,8,786,584,1);

Why is the width of the TextItem 900, and itself empty, if the ScreenWidth is 800 ?
Why is it (8,8,786,584,1) ? For 800x600 it should be (7,8,786,584,1) OR (8,8,784,584,1) => width = 800

So it's very tricky for me.  :P

Offline trex

  • Donator
  • *****
  • Posts: 143
Re: A GUI Mod - 1440x1080p
« Reply #4 on: May 04, 2011, 09:32:26 PM »
1920x1080 mod? Fantastic! It's great you're working on another UI mod, The pics I was talking about were the ones you see in girl management (large profile pics on the left side), I don't know if you can, or want to implement the same style as THEFUTURE did there, but I really did like that method. It might be too crowded if you made the lists as long as possible to reduce the need to scroll, but it'd fit in with the improved layout goal you're going for.


Maybe you could help me with this? I played wm with your mod more, I think it reverted the turn summary screen back to the original one. I no longer got those randomly generated descriptions and it reverted back to the original ones. I don't mind that, I'd like to be able to have an option to take/turn those off (New Descriptions/Old Descriptions)(ultimately) but I think a combat system also changed. Excuse my poor descriptions ahead, this is something I need help in getting back to before (much easier to know what actually happened lol)


I used to (Before I used this mod) get a run-down on how many attackers in a rape situation, how many she dispatched, and blue color was attempted and red was successful (rape). I wasn't clear in that one only when it said "6 attackers tried too....She killed 5 of them". OK she handled 5 of them, did the last guy flee or rape her? I never got a "she now has XXX negative trait" when that happened so I presumed it was classed as "Attempted" or failed rape.  Strangely I also had none of my girls be good enough to go into the catacombs. 100comb/mag/constitution/ tough Iron willed girls always got raped. That was odd, I don't think that happened before


Now with this mod, I just get red for rape, AND attempted rape, instead of blue (when a rape failed). It might be tied into that mod (description mod, but IDK). So far I get 3 descriptions of rape, all with a red color.
1. The one item above the red danger list item has a blank description. This I take as the Rape happened, and the sex type below the red danger thing is the sex act it occurred as.
2. The one item above the red danger list item has "She remembered her self defense classes and fought him off". This I think is attempted, but the red danger thing saying "She was beaten and raped" underneath, coupled with that sometimes they pick up negative traits (lists in blue underneath that) makes me wonder.
3. Again, but the description reads "She leaves him bloody and battered but still breathing. Pretty clear that was attempted, I never got a negative trait after that one, but still says she was beaten and raped.
I also can't seem to get any girl good enough to survive even 1 time in the catacombs with this. That also says how many monsters raped her.




If there is anyway I can keep the original descriptions but have the first combat and notification style, It'd be the perfect mix (for me). This might not be possible if they are all the same, so even if I can get it reverted with the new descriptors and the first style (that I described here), that'd be good too. A bit off topic, but this only happened when I changed mods (strangely, but maybe it's all tied in with the UI changes)


Either way, keep up the good work!

Offline djwhite1984

  • Newbie
  • *
  • Posts: 19
Re: A GUI Mod - 1440x1080p
« Reply #5 on: May 05, 2011, 06:25:22 AM »
yeah. I know the reason why.
=> 1. Post, 1.) His verson is for 485, mine for 593.
So the data of the download and the menus are for 593 (sliders etc.) but the EXE is 485 like the TurnSummary.
The format is hardcoded and the new functions in it, too, of course :P So there is no Copy-Paste option for me.
And the revision here (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster) is 612, so if I learn how to compile, it's possible to publish an even newer version than the official one  :P .
But thats just a theory / fantasy  ;D
Because I'll need Uriels support first ... and his pregnancy column, font sizes.

Offline xorgroth

  • Newbie
  • *
  • Posts: 40
  • Not active, RIP WM
Re: A GUI Mod - 1440x1080p
« Reply #6 on: May 06, 2011, 06:50:53 AM »
Not even sure if the last svn actually built or not. Think I had some issues with it but easy to fix after going through it a few times with some patience. As for compiling the game itself, just need the trunk. Then VS2010 express, going from memory but think its Build menu-->Build solution and let it do its thing. Errors might pop up but google is your friend.

-Xorg

Offline djwhite1984

  • Newbie
  • *
  • Posts: 19
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #7 on: May 12, 2011, 04:45:46 PM »
UPDATE

Offline Uriel

  • Full Member
  • ***
  • Posts: 175
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #8 on: May 13, 2011, 04:36:38 PM »
Hi. What's left to do?
BTW, what's the current WM status? Still missing devs?

Offline djwhite1984

  • Newbie
  • *
  • Posts: 19
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #9 on: May 13, 2011, 04:48:13 PM »
Hi. What's left to do?
BTW, what's the current WM status? Still missing devs?

Because I cant compile I cant edit the TurnSummary.
I'm a "math guy" not a "programmer"
I would need a TurnSummary.XML / .TXT so i can calculate - and so on ;)
And it would be nice if the FontSize of Lists and so on is inside the Font.txt
So I am able to create new WindowSizes from 1024x768 > 1920x1080

And there are new versions like rev635 but its unofficial.
On the other hand DocClox posted in his blog that he played Whore Master - just for fun - in his free time.
Perhaps its a motivation, that more and more people are getting active.

 

Offline Uriel

  • Full Member
  • ***
  • Posts: 175
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #10 on: May 13, 2011, 05:18:33 PM »
I'll try adding my changes and compiling teh .exe again. What revision and resolution you want? 1920x1080? Or are you going for 1440x1080 now? Also i haven't played new WM versions, so i don't know which of the new versions are stable enough to actually play it.

Offline trex

  • Donator
  • *****
  • Posts: 143
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #11 on: May 14, 2011, 12:33:04 AM »
Well quite a few people have been playing with r635, there hasn't been any big new bugs with it, so it's possibly stable enough to be used, and 1920x1080 would be the target resolution for this mod. Great to see you back.

Offline GonDra

  • Full Member
  • ***
  • Posts: 154
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #12 on: May 14, 2011, 08:05:38 AM »
r635 seems stable enough, although i didn't test it too much (a few game months i think only), change log suggests mostly code cleanup and bug-fixing got done the last few revisions.

@Uriel:
If you compile your changes into rev635  would you add the changes I made into the exe? That way we won't have a dozen different rev635 exes with different feature sets lying around in the forums. (post with download (sources and diffs are included) here: http://pinkpetal.org/index.php?topic=394.msg12880#msg12880)

Offline Barinthus

  • Newbie
  • *
  • Posts: 49
Re: A GUI Mod - 1440x1080p and 1920x1080p
« Reply #13 on: May 14, 2011, 02:24:47 PM »
Wow there's a newer version - I'll be sure to try it out.  Also, those new scripts too.