Vector - A simple base for emulators

Results 1 to 15 of 15
  1. #1
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts

    Vector - A simple base for emulators

    Hello. Vector is small framework (a lot of it is taken from tea) written to provide a sound base to work from if you were ever to write your own emulator. It is a step-up from Nucleus (another project I wrote a week or two ago).

    Installing:
    • Edit src/main/resources/hibernate.cfg.xml to your liking
    • Edit src/main/resources/vector.properties to your liking (for server stuff)
    • mvn compile in the root dir
    • java -jar your-generated-jar.jar


    IT IS NOT READY FOR PRODUCTION YET, IT IS FOR DEVELOPERS TO WORK OFF.

    Features (Vector is pretty bareboned atm):
    • Session Management (Client Manager)
    • GameSession class
    • Network Encoder
    • Async connections w/ netty
    • A very basic plugin loader
    • Configuration parsing

    It uses Hibernate for database persistence and Netty for network I/O

    It is still in development, and is extremely rudimentary. It may need some cleaning up.
    If you wish to use it:

    .zip download:
    https://github.com/downloads/Jinz0/vector/vector.zip

    git repo:
    https://github.com/Jinz0/vector

    Building instructions:
    1. Open cmd or terminal
    2. cd to the directory where you unpacked it
    3. type "mvn compile" (without quotes)

    Note:
    You must have maven installed before hand.

    Have fun!

    I know I'm not the best coder in the world - so this may not be amazing or brilliant

    Warning

    You may get null pointer exceptions when you try and run this. It's an issue that can be solved by running the jar (if you build it) from within the directory. Basically, run it where the src folder is located.
    Last edited by Caustik; 24-03-12 at 04:58 PM.


  2. #2
    swagggggg Livar is offline
    MemberRank
    Oct 2008 Join Date
    United KingdomLocation
    2,272Posts

    Re: Vector - A simple base for emulators

    Look's great, even better with Async sockets!

  3. #3
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: Vector - A simple base for emulators

    Me likey!

  4. #4
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts

    Re: Vector - A simple base for emulators

    Thanks guys :D
    Been looking into how im going to implement the plugin system (hook jars at runtime or use XML scripts)
    I even had an idea about compiling XML with a from-scratch compiler (I'll write it)...
    Idk if I'm high or just happy x]
    Posted via Mobile Device

  5. #5
    Account Upgraded | Title Enabled! RoyZ is offline
    MemberRank
    Jul 2011 Join Date
    BelgiumLocation
    316Posts

    Re: Vector - A simple base for emulators

    very nice and usefull tnx :)

  6. #6
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts

    Re: Vector - A simple base for emulators

    Thanks for the great comments guys ;)
    Added a cache class (thanks Jordan)
    https://github.com/Jinz0/vector

  7. #7
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: Vector - A simple base for emulators

    Out of curiosity. Why did you call it Vector?

  8. #8
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts
    Quote Originally Posted by Quackster View Post
    Out of curiosity. Why did you call it Vector?
    Not sure tbh. Vector sounded good at the time, lol
    Posted via Mobile Device

  9. #9
    Chasing 99 Red Balloons Jordan is offline
    MemberRank
    Jan 2008 Join Date
    UKLocation
    1,763Posts

    Re: Vector - A simple base for emulators

    If your using the cache from Crowley you have to leave the license in the file.

  10. #10
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts

    Re: Vector - A simple base for emulators

    Quote Originally Posted by Jordan View Post
    If your using the cache from Crowley you have to leave the license in the file.
    Added them :)

  11. #11
    Live Ocottish Sverlord Joopie is online now
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Re: Vector - A simple base for emulators

    Quote Originally Posted by Caustik View Post
    Not sure tbh. Vector sounded good at the time, lol
    Posted via Mobile Device
    Vector sounds like the name of a dude from the movie Despicable Me xD

  12. #12
    this is title Shredinator is offline
    MemberRank
    May 2011 Join Date
    399Posts

    Re: Vector - A simple base for emulators

    Vector-graphics

  13. #13
    Chasing 99 Red Balloons Jordan is offline
    MemberRank
    Jan 2008 Join Date
    UKLocation
    1,763Posts

    Re: Vector - A simple base for emulators

    Having a main class called Vector is a bit silly considering Vectors are part of the Java API :p

  14. #14
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts
    Quote Originally Posted by Jordan View Post
    Having a main class called Vector is a bit silly considering Vectors are part of the Java API :p
    I was thinking this too... how peculiar!

    Thanks for the contribution though :3


    Sent from my iPhone using Tapatalk

  15. #15
    i didnt do this. Donkjam is offline
    MemberRank
    Jul 2007 Join Date
    4,494Posts

    Re: Vector - A simple base for emulators

    Looks nice adil, take it this is what i kept seeing screened for?
    Posted via Mobile Device



Advertisement