How closely can I copy a game without getting in trouble? [duplicate]

This question already has an answer here:

  • How closely can a game legally resemble another? 11 answers

I’m making a clone game of Zelda, my favorite franchise, and am wondering if what I’m doing will still earn me a cease order.

Obviously I’m not using any of the names from the original series, and my game allows character creation with clothing that will allow you to look slightly like Link if you unlock it. With the skin name being something like “Woodland warrior shirt/hat/boots.

I’m also copying the UI for links awakening pretty closely and the way dungeons look is about the same.

However, I’m making all my own textures/assets from scratch.

Will I be allowed to release this game, with the title “Legend of Dungeons …”?

Main concerns are: similar UI, Font, Some skins resemble characters slightly, and textures, even though they’re all made by my hand?

Trouble implementing outflow boundary condition when trying to solve a pde using NDSolve

Trying to solve the following pde: $ \partial_{t}y + c\partial_{c}y = 0$ (for simplicity $ c=1$ ).

For the initial data I am using a Gaussian. The problem surges when I am trying to implement the outflow boundary condition as it was suggested to me, namely $ \frac{\partial{y}}{\partial{t}} =0$ at $ x =0$ .

So far my code is pretty simple:

 v = 1 ; L = 2;   With[{y = y[t, x]},   eq = D[y, t] + vD[y, x] == 0;  ic = y == Exp[-x^2] /. t -> 0;  bc = {D[y, x] == 0 /. x -> 0 }];    mol[n_Integer, o_: "Pseudospectral"] := {"MethodOfLines",   "SpatialDiscretization" -> {"TensorProductGrid", "MaxPoints" -> n,   "MinPoints" -> n, "DifferenceOrder" -> o}};   sol = NDSolveValue[{eq, ic, bc}, y, {t, 0, 1}, {x, 0, L},   Method -> mol[100, 4]];  {t0, tend} = sol["Domain"][[1]];   Manipulate[  Plot[sol[t, x], {x, 0, L}, PlotRange -> {-10, 10}], {t, 0, tend}]; 

It stems from answers to questions previously asked here, and I intend later to test finite difference methods (BTCS/FTCS) as done in Schemes for nonlinear advection equation.

However I am not being able to evolve the equation do to confusion when trying to implement the BC, I get the following:

  NDSolveValue: Boundary condition $  y^{(0,1)}[t,0]$   should have derivatives of order lower than the differential order of the partial    differential equation.  

This is expected as I am not sure what would be the best way to impose BC on the problem.

If anyone has any suggestions they would be welcolmed.

Thanks.

Trouble reading FITS with Mathematica 12

I’ve been using Mathematica to process FITS for years, but it has changed in version 12. Import now yields an Association rather than an Image. OK, extract item 1 from the Association, that’s an Image. But it isn’t right.

ImageData[Import["test.fits"][[1]]] 

yields a matrix full of tiny numbers like 2.81374*10^-307. This is impossible. The header has:

BITPIX = 32 / array data type

BSCALE = 1

BZERO = 2147483648

This is the conventional declaration of 32 bit unsigned integers. Apparently, these are misinterpreted as floating point.

Is this a bug, or have I missed another change?

Trouble with or statements and short circuiting

I’ve my code as follows:

class Main { public static void main(String[] args) { boolean s; boolean x = true; System.out.println(x || s); } }

I’ve learned that or statements in java short-circuit once the computer finds any value to be true. Here, I’ve declared but not initialized s, but I’ve done both with x. I put an or statement with x at the front, but the computer displays an error, citing that s hasn’t been initialized. Why’s this occurring? Shouldn’t it automatically display a true once it realizes that x is true, and satisfies the or statement? Thanks.

Trouble while running gem5 in full system mode [on hold]

I am not able to run gem5 in full system mode. I have followed the commands below —— rohit@rohit:~$ mkdir full_system_images

rohit@rohit:~$ cd full_system_images

rohit@rohit:~/full_system_IMAGES$ wget http://www.m5sim.org/dist/current/x86/x86-system.tar.bz2

rohit@rohit:~/full_system_IMAGES$ tarjxf x86-system.tar.bz2

rohit@rohit:~/full_system_IMAGES$ echo “export M5_PATH=/home/rohit/full_system_imagrohit@rohit:~/full_system_IMAGES” >> ~/.bashrc

rohit@rohit:~/full_system_IMAGES$ gedit ~/.bashrc

rohit@rohit:~/full_system_IMAGES$ echo $ M5_PATH

rohit@rohit:~/full_system_IMAGES$ cd

rohit@rohit:~$ cd gem5

rohit@rohit:~/gem5$ build/X86/gem5.opt configs/example/fs.py –disk-image=/home/rohit/full_system_images/disks/linux-x86.img

After running this command, I got error as——–

Traceback (most recent call last): File “”, line 1, in

File “build/X86/python/m5/main.py”, line 457, in main exec(filecode, scope)

File “configs/example/fs.py”, line 342, in test_sys = build_test_system(np)

File “configs/example/fs.py”, line 93, in build_test_system cmdline=cmdline)

File “/home/rohit/gem5/configs/common/FSConfig.py”, line 607, in makeLinuxX86System makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)

File “/home/rohit/gem5/configs/common/FSConfig.py”, line 532, in makeX86System disk0.childImage(mdesc.disk())

File “/home/rohit/gem5/configs/common/Benchmarks.py”, line 59, in disk return disk(self.diskname)

File “/home/rohit/gem5/configs/common/SysPaths.py”, line 62, in call raise IOError(“Can’t find a path to system files.”)

IOError: Can’t find a path to system file.

Please, help me to fix this problem.

Having trouble with SPServices AutoComplete pulling from specific columns

I have 2 issues really. I have set this up successfully for some of my fields on my Nintex form. The autocomplete works perfectly.

Issue 1: I attempted to set this up on another field on another list. The field will not find anything when you start typing. I thought possibly I had the wrong crawled property, but I tried everything I could think of with no success.

Issue 2: I attempted to use a different column from the second list from Issue 1 to see if it was a column issue. I did get results, but they were not correct. In fact, I am unable to find ANYWHERE that the information in the auto-correct is displaying.

I can get the field to work if I connect it to the same columns as the other fields that are working. So it doesn’t appear to be a field or code issue. It seems that it either doesn’t like the list or the specific column.

I also tried to create a completely new list with column names I know are not being used anywhere else in our farm, but this didn’t work either.

I have no idea what’s going on. It’s quite puzzling. Below is my code.

NWF$  (document).ready(function() { //The source data for the autocomplete is the Journals list   //Store the journal titles in a array variable   var externalParties = []; NWF$  ().SPServices({     operation: "GetListItems",     async: false,     listName: "Vendor IDs",     CAMLViewFields: "<ViewFields><FieldRef Name='Vendor Name' /></ViewFields>", //the name needs to be changed accordingly        completefunc: function(xData, Status) {         NWF$  (xData.responseXML).SPFilterNode("z:row").each(function() {             externalParties.push(NWF$  (this).attr("ows_VendorName").substring(8));         });     } }); //journalinput is added on the control in the NF   NWF$  ("#" + journalinput4).autocomplete({     source: externalParties }); }); 

Having trouble understanding the use of a label in Assembly

I am currently having trouble understanding what this label means in Assembly as it has no variable size with it. In the following program that declares several variables in the stack offset the variable is named SCMP_VARSIZE. I have seen many other variables that have a postfix of VARSIZE attached to them and can’t understand why it is used in programs.

/Stack Usage:     OFFSET 0 SCMP_RETVAL DS.B 1 ; Return value SCMP_VARSIZE SCMP_PRY DS.W 1 ; Preserve Register Y SCMP_PRX DS.W 1 ; Preserve Register X SCMP_RA DS.W 1 ; return address SCMP_STR1 DS.W 1 ; address of first string SCMP_STR2 DS.W 1 ; address of first string  strcmp: pshx ; preserve registers         pshy         leas -SCMP_VARSIZE,sp         clr SCMP_RETVAL,sp ... 

The program compares two strings but that is not important here. I just don’t understand what the VARSIZE label is used for in assembly programs.

Having trouble with getting a image to a fit on a face of a cube

I have little problem from a unity project that I’m working on. I’m making a 3d art gallery which will be further developed to VR application. In the 3d scene I created paint canvas as a game object (cube) but having trouble, getting the images fit through out the whole canvas. When i try to apply image as applying a material it is treated as a texture and only small proposition of image is visible in the canvas

And also i am planing to make a UI so that customer can upload pics and application automatically get the images and render the gallery. So I’m kind of stuck in the image to object part.

notebooks couple, double trouble

I’d really like a solution for my problem. I have two notebooks: one is an Asus f540sa-xx220T an the other is a Compaq 15-s004nl. The compaq was working very well but doesn’t start anymore because of a hard drive recent problem. The Asus starts but it’s working so slow that you can’t do anything anymore. The thing is I don’t want to throw them away. I really want to save at least one. So the idea was to open them and maybe exchange the inside pieces. Do like a super notebook 2.0 taking like the hard drive to change the broken one and maybe upgrading the ram, you know. The thing is the pieces doesn’t really seem compatible. For example I didn’t find a place for the ram and stuff in the other computer and all the stuff is so different. My idea is even possible? It’s really different from the PC work. If upgade is not possible than what could I do? The notebooks have been open on the table for one day already. Some advice? P. S. I’d like not to spend money if it’s possible =))