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:
- Open cmd or terminal
- cd to the directory where you unpacked it
- type "mvn compile" (without quotes)
Note:
You must have maven installed before hand.
Have fun! :8:
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.
Re: Vector - A simple base for emulators
Look's great, even better with Async sockets! :thumbup1:
Re: Vector - A simple base for emulators
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
Re: Vector - A simple base for emulators
very nice and usefull tnx :)
Re: Vector - A simple base for emulators
Thanks for the great comments guys ;)
Added a cache class (thanks Jordan)
https://github.com/Jinz0/vector
Re: Vector - A simple base for emulators
Out of curiosity. Why did you call it Vector?
Re: Vector - A simple base for emulators
If your using the cache from Crowley you have to leave the license in the file.
Re: Vector - A simple base for emulators
Quote:
Originally Posted by
Jordan
If your using the cache from Crowley you have to leave the license in the file.
Added them :)
Re: Vector - A simple base for emulators
Quote:
Originally Posted by
Caustik
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
Re: Vector - A simple base for emulators
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
Re: Vector - A simple base for emulators
Looks nice adil, take it this is what i kept seeing screened for?
Posted via Mobile Device