NoLimits 2 Motion Memory Driver Tutorial

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby sirnoname » Wed 31. Dec 2014, 13:29

There is no pitch or yaw or roll in the display. (normally a simulator is a acceleration simulator, so the tutorial values are used)
You have somewhere a orientation matrix 4x4 floats for your vehicle. This is not easy to find.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby Mertensbart20 » Thu 1. Jan 2015, 12:28

Hmm, that's not a good thing to hear. Since I have a 3DOF-simulator it is very interesting to let the simulator move as the cart in the game does. Maybe the makers of no limits can provide some information where to find this oriëntation matrix.

Should I know more I'll surely post it here.
Bart
Mertensbart20
X-Sim Supporter
 
Posts: 115
Joined: Sun 29. Apr 2012, 11:52
Location: Belgium
Has thanked: 0 time
Been thanked: 4 times

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby Mertensbart20 » Tue 6. Jan 2015, 21:24

Hello everbody,

In respond to my question "Does No Limits 2 also supply motion data? And if so does it work in the same way as in No Limits 1?" the staff behind No Limits2 responded:

NL2 does not supply motion data so it will not work the same way as NL1 with your motion simulator.

So I wonder if it has any use to find suitable data in No Limits 2 to drive a motion simulator.

Greetings,
Bart
Mertensbart20
X-Sim Supporter
 
Posts: 115
Joined: Sun 29. Apr 2012, 11:52
Location: Belgium
Has thanked: 0 time
Been thanked: 4 times

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby turbo0321 » Sun 23. Aug 2015, 17:29

sirnoname wrote:Greetings to another TUT for X-Sim Motion Memory Driver and NoLimits2

The memory driver, former called force injector or cheeta, is now a part of the motion driver. It is not available in the free version but in the Stage 2 key, which you can get for free with a well written simulator post on X-Sim.de, or a higher supporter key. This post must have some informations about how you build your simulator with some measurements or schematics or wiring informations to help other members here. The goal is to help others, so simple ask yourself if such a post will help you as newcomer.


Ohno, a member here in the forum, liked to get nolimits2 running. After pointing to the tutorial for the motion driver he told me he can not manage this tutorial for nolimits because it is written for nolimits 1 and not 2. I looked at it and found that this game has some differences.
References to be read before continue: The X-Sim.de Memory Driver Tutorial
The memory driver do work for all games but in case of NoLimits it is extremly easy to get the values.
The value can be found with the Cheat Engine, a tool that is normally designed to cheat a game. We use it without changing the values in a game but read it for our simulator.

First difference: NoLimits2 is 64 bit
Yes, some programs really get the step to 64 bit. However this is bad for X-Sim because it has to stay in 32 bit for the other games.
So the lucky solutiuon for nolimits 2 is to install it on a 32 bit computer or a virtual machine and copy the installation folder over the 64 bit version. Then you got two subfolders in the nolimits folder at /programs/nolimits2. If you have only a 32 bit computer this step is not importand.

Second difference: No memory offset, now it is a dynamic pointer.
The tutorial shows how to get the exact address of the values that are shown in the nolimits 1 overlay. In nolimits 2 you have also the overlay with pressing the button F2. However this address change if you restart the game or computer. So there is a memory address where the dynamic value is stored. This tutorial give you the found values of nolimits 2.0.2.2 and the demo (two different offsets).
The good thing is: the offsets of the memory locations are the same in demo and fullversion and should be the same in upcoming versions. So you need only the First memory location where the new address is stored and enter this values in all three values. You can also use the here downloadable memory driver setup .csd as setup help.

Some notice:
Use Windows XP/7, Windows 8 is reported as different memory organisation and has not been verified by myself. So simple spend not much time and use the correct operating system.

Download of memory driver setup for Nolimits 2.0.2.2 Demo and Professional
x-Sim3_nolimits2-0-2-2_memory_driver.zip


How to find the primary offset value if nolimits2 get a higher update:

Each new exe file has another primary memory address. The demo has one, the release version has one. A newer version has one. There is no chance that a new exe use the same offset values. So simple read this tutorial with finding the longitudenal force and change the primary address. It is quite easy if you try it.
Lets start with the way you have to use the cheat engine. Download the cheat engine and install it. Run the 32 bit version of the installed Cheat engine. Run the Nolimits 32 bit version and setup window mode with lower resolution, so you can plce the cheat engine and the nolimits window nearby. You can jump out of nolimits with ALT-TAB keys. Start one of the roller coasters. Now press the top left green blinking button in the cheat engine. There you can select the running executable of nolimits. It is clear, each exe can have another name in this list. In the memory driver you must enter the same task name as you found in the cheat engine. Remember to have a look at this names.
Now you are attached to the memory of nolimts2. You now have to open with F2 the nolimits motion data dialog box.
nolimits2-1.jpg
You see there a vertical G-Force. This is the earth G-Force and will stay 1.0 in normal start position. We use this value because it does change very good for searching with cheat engine.
Hint: Remember to remove the 1G with an offset math plugin in the math setup of X-Sim Converter application to get real vertical G-Force change.
Ok, now press P for pause and start a new value scan in the cheat engine. Depending on what number you see in the vertiacl box, you must enter a range of that float value to find it. If there is 1G you search all float values from 0.9 to 1.1 in the game memory.
nolimits2-2.jpg
Ok, first step done, you will see the results in the left listbox. They are much. So unpause the simulation and run the coaster until the 1G change big to over 2. Do not use values lover zero, the cheat engine has a bug here. Pause the simulation again. Now we have for example 3.1G. Insert the next scan from 3.0 to 3.2 (or your values) and press the next button. The listbox do now get less values. Do this until you see the end of the values in the box. Then run the simulation and look if one of the values do make sense to the box. It is only one value that is left and make sense. Rightclick it add it to the addresslist on the bottom. Now righclick this value in the bottom listbox and select the menu entry "Find out what accesses this address. You get a box with different other pointer accessing this found value. Choose the ECX access in the list. The offset +08 is already in your memory driver sample file but write it down if changed.
nolimits2-3.jpg
Ok, now select the ECX entry and select more infos. You will get now a box and you must write down the red marked offset value and the pointer address. This is not the base pointer but we can now search for the base pointer with this value.
nolimits2-4.jpg
Close the dialogs until you get back to the cheat engine main dialog and make a new search with your found pointer address. Setup the search as you see in the below screenshot.
nolimits2-5.jpg
Now search the memory for that exact 4 byte value, which is a simple memory address, and you get exact one result. This is your base pointer and this is the value you have to change in the X-Sim memory driver to get NoLimits2 running with a higher version than 2.0.2.2 or a lower version of it. Change all three. If the offset does not fit, change it. But normally this offsets stay the same. Do not forget to move (dragndrop) the entries on the right top listbox to the lower listbox. Else the values are not sended to the converter application.
nolimits2-6.jpg
nolimits2-7.jpg


Thats all, as said work with other games too, but you must find the correct values in the memory.
Have much fun
(c) X-Sim.de

Si ma è veramente difficile e non capisco se i movimenti escono dalla scheda video o dal gioco?
turbo0321
 
Posts: 2
Joined: Sun 23. Aug 2015, 17:24
Has thanked: 0 time
Been thanked: 0 time

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby pippo23010 » Wed 20. Jan 2016, 00:19

hello guys I wanted to know if the free version of x sim you can use the Motion Memory Driver to extract data with cheat engine?
thank you
pippo23010
 
Posts: 22
Images: 0
Joined: Sun 19. Apr 2015, 17:27
Has thanked: 0 time
Been thanked: 0 time

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby sirnoname » Wed 20. Jan 2016, 22:08

If you have a motion simulator post here with instructions or a worthfull other community work you can ask for a stage 2 key, which enables this feature.
Please read the terms of use where this is explained.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby spyderwash » Sat 5. Nov 2016, 13:42

Now the steam version supports API maybe you can build a plugin without having to memory?
instructions are included in the game to develop skills for I do not do it, maybe sirnoname can update it?
spyderwash
X-Sim Supporter
 
Posts: 201
Images: 10
Joined: Tue 19. Feb 2013, 19:43
Location: ITALY VARESE
Has thanked: 2 times
Been thanked: 0 time

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby sirnoname » Sat 5. Nov 2016, 14:05

Please send me link to this api.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby spyderwash » Sat 5. Nov 2016, 15:07

by downloading the demo version of the game of steam when I press f1 and I get the description bees I read that only works with the paid version, no demo because the telemetry server is not reached by then stean startup settings to put the line
--telemetry
spyderwash
X-Sim Supporter
 
Posts: 201
Images: 10
Joined: Tue 19. Feb 2013, 19:43
Location: ITALY VARESE
Has thanked: 2 times
Been thanked: 0 time

Re: NoLimits 2 Motion Memory Driver Tutorial

Postby sirnoname » Sat 5. Nov 2016, 15:13

No api tutorial, no solution :(
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

PreviousNext

Return to NoLimits Roller Coaster

Who is online

Users browsing this forum: No registered users and 1 guest