Ai4rei

RO Credentials (ROCred), v1.10.0 - last updated 2017/12/31

Recommended Posts

RO Credentials

rocred.png

  • About
    Simple and tiny client launcher+login. Has no prerequisites and runs on all Windows versions.
  • Known Issues
    [aavc] This tool is not safe for computers running Avast Anti-Virus.
  • Download
    binary, reference source
  • Q & A
  • Is it customizable?
    Yes.
  • How?
    With resource editing tools, such as ResourceHacker. All text and icons can be customized. Settings can be edited in an INI file (included).
  • What is "reference source"?
    You cannot compile it (unless you provide the missing components), but see what functionality the latest binary contains.
  • I want it to be xyz.exe, but it does not read the INI file. Why?
    You have to match the INI name to the EXE name.
    rocred.exe -> rocred.ini
    mytest.exe -> mytest.ini
  • How can I embed an INI file into the EXE?
    Add the INI file as RCDATA resource named CONFIG with ResourceHacker.
  • How do I use background skinning?
    Create a file named bgskin.bmp (magenta #ff00ff is considered transparent). You can also embed the file as BITMAP resource with the name BGSKIN. Window size is adjusted to the bitmap size, position of controls must be set in the INI. Buttons can be skinned as well, see the INI for names.

    rocred-bgskin.jpg
  • Can I add custom buttons, if so, how many?
    Yes, see the INI template for details. There is no defined limit on how many, the only constraints are available memory, GDI resources and INI size limit on some platforms. By the way, custom buttons can be skinned as well.
  • Why does the client not auto-login when I press "Start"?
    The client must be 2010-08-04aRagexeRE or newer and must not have the "Restore Login Window" patch.


80x15by-nc.png
This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.

Edited by Ai4rei
  • Upvote 6

Share this post


Link to post
Share on other sites

Nice release .. luv it.. = )

 

EDIT :

erm .. .. when i use this with  2012-06-18 client.. it can run the client but it doesnt auto login the account..

beside it also ask me to re-enter password before able to login ..

is it because this ROCred doesnt compatible with 2012 client ?? or i setup wrongly ??

 

the ROCred.ini look like this

; ------------------------------------------------------------------
; RO Credentials (ROCred)
; (c) 2012-2013 Ai4rei/AN
;
; ------------------------------------------------------------------

[ROCred]
; Whether or not user name is remembered (0 = No, 1 = Yes).
CheckSave =1

; Remembered user name.

; Client to start when clicking login.
ExeName = 2012-06-18aRagexeRE.exe.patched.exe

; Argument to pass to the client.
ExeType = 1rag1

; Whether or not password should be MD5 hashed (0 = Plaintext, 1 = MD5 hash).
HashMD5 = 0

; Whether second instances are allowed or not (0 = No, 1 = Yes).
SecondInstance = 1
UserName=emistry

Edited by Emistry

Share this post


Link to post
Share on other sites

Nice release .. luv it.. = )

 

EDIT :

erm .. .. when i use this with  2012-06-18 client.. it can run the client but it doesnt auto login the account..

beside it also ask me to re-enter password before able to login ..

is it because this ROCred doesnt compatible with 2012 client ?? or i setup wrongly ??

[...]

Have you diffed 'restore login window' by any chance? If so, the auto-login won't work. The setup looks fine to me.

Version 1.3.0

Added settings to lock down some features, intended for paranoia defaults in embedded INI (see the included INI for details). Fixed the client could fail with error "Requires elevation to execute" when using Start or Replay buttons.

Anyone interested in some basic skinning (background), something to the effect of RO Patcher Lite skinning (put a bgskin.bmp file next to the .exe to try) ?

Version 1.3.1

Fixed missing button labels, when user name was saved.

Share this post


Link to post
Share on other sites
Have you diffed 'restore login window' by any chance? If so, the auto-login won't work. The setup looks fine to me.

i see ....haha thx for it..

now it work perfectly...

Share this post


Link to post
Share on other sites

nice work. /no1

good job! /thx

 

 

i hope that for the next release it can support dual client. /lv

opss my bad. i forgot to edit ini file for it to work... /sry

Edited by reigneil

Share this post


Link to post
Share on other sites

i have a request for your work.

and it is something todo with tab limited to textbox only.

the username and password for faster login.

 hope it will help... thanks

Share this post


Link to post
Share on other sites

Not quite sure if I understand you, but you can already TAB between those two. The fastest login sequence would be:

  • When user name is not remembered (user name textbox is selected on start):

    enter username<TAB>enter password<ENTER>

  • When user name is remembered (password textbox is selected on start):

    enter password<ENTER>

Share this post


Link to post
Share on other sites

what i'm after is when there is a username remembered tabbing take much time for editing this area.

 

in addition can you make a hotkey for it..

like alt+c for close, or alt+s for start alt+r for replay etc.

what do you think?

Share this post


Link to post
Share on other sites

For that case it would be

<SHIFT+TAB>enter username<TAB>enter password<ENTER>

Also:

ENTER = Start

ESC = Close

Replay does not have any shortcut, but since you do not need to enter user/password for that, clicking should be more preferable.

Share this post


Link to post
Share on other sites

i see well i guess a little documentation on how to use it would be helpful. especially for us newbie /no1

Share this post


Link to post
Share on other sites

i see well i guess a little documentation on how to use it would be helpful. especially for us newbie /no1

I hope you are kidding.

Share this post


Link to post
Share on other sites

Experimental Version 1.4.0

Support for background image and control resizing/moving.

binary (replaced by a proper release)

Share this post


Link to post
Share on other sites

Version 1.4.0

Added support for background skinning, see the INI or first post for details.

rocred-merch-skin.jpg

Share this post


Link to post
Share on other sites

Version 1.5.0

Added support for skinning buttons. See the accompanied INI for details on design and restrictions.

Share this post


Link to post
Share on other sites

hi Ai4rei you're really amazing, can you remove the PolicyNoSessionPassword forever please?

Share this post


Link to post
Share on other sites

hi Ai4rei you're really amazing, can you remove the PolicyNoSessionPassword forever please?

What do you mean? If you do not like the option, just do not use it?

Share this post


Link to post
Share on other sites

Version 1.6.0

Per request, added support for providing the server with miscellaneous user information (requires user consent once). When enabled, requires modification of the login packet code on server-side to extract the url-style parameters from the t1 (token) field.

Share this post


Link to post
Share on other sites

Using cliente 2012-04-10 the servers when login dont show the account login, show a null value and give the console error "Login Authentication Failed"

Edited by Zell
  • Upvote 1

Share this post


Link to post
Share on other sites

When you say "You can also embed the file as BITMAP resource with the name BGSKIN" do you mean using Resource Hacker, or using /embed parameter?

 

Can you give an example of how to embed a bgskin and buttons?

 

Update: Figured out it is updating via Resource Hacker, and it is working. Is there any way to embed the buttons too?

 

PS: the 'focus' state of buttons do not work. You have to click to get it to focus - mouse over does not focus it.

Edited by rayn

Share this post


Link to post
Share on other sites

how can i change the the (NAME of the Launcher)

i try to hex but i cant s

Use Resource Hacker to edit the String Table. 

When you say "You can also embed the file as BITMAP resource with the name BGSKIN" do you mean using Resource Hacker, or using /embed parameter?

 

Can you give an example of how to embed a bgskin and buttons?

 

Update: Figured out it is updating via Resource Hacker, and it is working. Is there any way to embed the buttons too?

 

PS: the 'focus' state of buttons do not work. You have to click to get it to focus - mouse over does not focus it.

Yes, Resource Hacker only. For the button names, see the example INI shipped with rocred (ex. filename: btnreplay.bmp / resource: IDB_REPLAY). It's called "focus", because it occurs when the button gains focus (tab or mouse-button pressed), if it would react to mouse-over, it would be called as such; mouseover/mouseout tracking is painful to add with the methods I know (TrackMouseEvent function), that's why i choose focus instead.

Share this post


Link to post
Share on other sites
 

how can i change the the (NAME of the Launcher)

i try to hex but i cant s

Use Resource Hacker to edit the String Table. 

When you say "You can also embed the file as BITMAP resource with the name BGSKIN" do you mean using Resource Hacker, or using /embed parameter?
 
Can you give an example of how to embed a bgskin and buttons?
 
Update: Figured out it is updating via Resource Hacker, and it is working. Is there any way to embed the buttons too?
 
PS: the 'focus' state of buttons do not work. You have to click to get it to focus - mouse over does not focus it.

Yes, Resource Hacker only. For the button names, see the example INI shipped with rocred (ex. filename: btnreplay.bmp / resource: IDB_REPLAY). It's called "focus", because it occurs when the button gains focus (tab or mouse-button pressed), if it would react to mouse-over, it would be called as such; mouseover/mouseout tracking is painful to add with the methods I know (TrackMouseEvent function), that's why i choose focus instead.

 

 

Can you give me instructions in details on how to apply the custom background for this?
I'm new to resource hacker. I can only change the app name and the icons..

But regarding the background, I really don't know how.

 

Edited by Lord Ganja

Share this post


Link to post
Share on other sites
  • Menu "Action" -> "Add a new resource..."
  • Button "Open file with new resource" -> select your background bitmap (.bmp)
  • Field "Resource Type" should turn into BITMAP.
  • Field "Resource Name": Enter BGSKIN
  • Field "Resource Language": Enter 0
  • Button "Add Resource"
  • Menu "File" -> "Save"

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...